/* Installation : boîtier 3D, plateforme, cover-flow, assistant. Tout est préfixé « ix- » pour ne rien mélanger avec le reste. */
@property --p {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}

/* ---------- boîtier de jeu en 3D ---------- */
.ix-stage {
  position: relative;
  perspective: 1300px;
  perspective-origin: 50% 40%;
  height: 100%;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.ix-rig {
  position: relative;
  width: 360px;
  height: 203px;
  transform-style: preserve-3d;
  animation: ix-flt 4.2s ease-in-out infinite;
}
@keyframes ix-flt {
  50% {
    transform: translateY(-12px);
  }
}
.ix-case {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, -6deg)) rotateY(var(--ry, -24deg));
  transition: transform 0.18s ease-out;
}
.ix-case .f {
  position: absolute;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
}
.ix-case .fr {
  inset: 0;
  transform: translateZ(20px);
  border-radius: 6px;
  background-image: var(--art);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.ix-case .fr:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.1));
}
.ix-case .bk {
  inset: 0;
  transform: rotateY(180deg) translateZ(20px);
  background: #15131c;
}
.ix-case .lf {
  width: 40px;
  height: 203px;
  left: 160px;
  transform: rotateY(-90deg) translateZ(180px);
  background: linear-gradient(90deg, #0d0c12, var(--ac) 140%);
}
.ix-case .rt {
  width: 40px;
  height: 203px;
  left: 160px;
  transform: rotateY(90deg) translateZ(180px);
  background: #101018;
}
.ix-case .tp {
  width: 360px;
  height: 40px;
  top: 81px;
  transform: rotateX(90deg) translateZ(101px);
  background: #1a1822;
}
.ix-case .bt {
  width: 360px;
  height: 40px;
  top: 81px;
  transform: rotateX(-90deg) translateZ(101px);
  background: #0a0910;
}
.ix-case .lf b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font:
    800 13px "Bricolage Grotesque",
    sans-serif;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
}
.ix-shadow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 260px;
  height: 52px;
  transform: translateX(-50%) rotateX(80deg);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent);
  filter: blur(6px);
}
.ix-plat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  margin: -110px 0 0 -180px;
  transform: rotateX(76deg) translateZ(-170px);
}
.ix-plat .disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 26%, transparent), rgba(255, 255, 255, 0.02) 62%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ix-plat .ring {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: conic-gradient(var(--ac) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%);
}
.ix-plat .sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--ac) 60%, transparent) 100%);
  animation: ix-spin 2.6s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
  -webkit-mask: radial-gradient(circle, transparent 20%, #000 21%);
  mask: radial-gradient(circle, transparent 20%, #000 21%);
}
@keyframes ix-spin {
  to {
    transform: rotate(360deg);
  }
}
.ix-stage.scan .sweep,
.ix-stage.busy .sweep {
  opacity: 0.85;
}
.ix-stage.ready .ring,
.ix-stage.update .ring,
.ix-stage.repair .ring {
  --p: 100;
}
.ix-stage.busy .ring {
  animation: ix-fill 3.2s cubic-bezier(0.3, 0.7, 0.3, 1) forwards;
}
@keyframes ix-fill {
  from {
    --p: 0;
  }
  to {
    --p: 94;
  }
}
.ix-stage.busy .ix-case {
  animation: ix-glowc 1.2s ease-in-out infinite;
}
@keyframes ix-glowc {
  50% {
    filter: drop-shadow(0 0 36px var(--ac)) brightness(1.15);
  }
}
.ix-stage.error .ix-rig {
  animation: ix-shake 0.5s;
}
@keyframes ix-shake {
  20%,
  60% {
    transform: translateX(-8px);
  }
  40%,
  80% {
    transform: translateX(8px);
  }
}
/* pièces qui rentrent dans le boîtier pendant l'installation */
.ix-part {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 52px;
  margin: -26px 0 0 -74px;
  border-radius: 14px;
  background: rgba(20, 18, 27, 0.92);
  border: 1px solid var(--gb);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font:
    700 12px "DM Sans",
    sans-serif;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
}
.ix-part i {
  font-style: normal;
  font-size: 19px;
}
.ix-part small {
  display: block;
  font-weight: 400;
  color: var(--m);
  font-size: 10.5px;
}
.ix-stage.busy .ix-part {
  animation: ix-in 2.6s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}
.ix-stage.busy .ix-part:nth-child(2) {
  animation-delay: 0.85s;
}
.ix-stage.busy .ix-part:nth-child(3) {
  animation-delay: 1.7s;
}
@keyframes ix-in {
  0% {
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 320px) rotateY(var(--r));
  }
  18% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translate3d(0, 0, 10px) rotateY(0) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.3);
  }
}
.ix-tick {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translate(-50%, -30px) scale(0.3);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--ok);
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #052e16;
  opacity: 0;
  transition: 0.5s cubic-bezier(0.2, 1.4, 0.3, 1);
  box-shadow: 0 0 60px rgba(74, 222, 128, 0.6);
}
.ix-stage.ready .ix-tick {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ---------- page jeu ---------- */
.ix-game {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) 1.2fr;
  gap: 14px;
  align-items: start;
}
.ix-hero {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 560px;
  background: radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--ac) 18%, #17141f), #0c0b11 72%);
  border: 1px solid var(--gb);
}
.ix-hint {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--m);
  font-size: 12px;
}
.ix-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ix-card {
  background: rgba(20, 18, 27, 0.74);
  border: 1px solid var(--gb);
  border-radius: 22px;
  padding: 18px 22px;
}
.ix-card h1 {
  font:
    800 30px "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ix-card h4 {
  font:
    800 15px "Bricolage Grotesque",
    sans-serif;
  margin-bottom: 6px;
}
.ix-card p {
  color: #cfc9d6;
  margin-top: 8px;
  font-size: 14.5px;
}
.ix-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12.5px;
  margin-bottom: 12px;
}
.ix-state.ok {
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
}
.ix-state.wa {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}
.ix-state.er {
  background: rgba(248, 113, 113, 0.16);
  color: #f87171;
}
.ix-state.bl {
  background: color-mix(in srgb, var(--ac) 20%, transparent);
  color: var(--ac);
}
.ix-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.ix-big {
  height: 58px;
  padding: 0 34px;
  font-size: 17px;
}
.ix-steps .st {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 2px;
  border-top: 1px solid var(--gb);
}
.ix-steps .st:first-child {
  border: 0;
}
.ix-steps .d {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--m);
  flex: none;
}
.ix-steps .st.ok .d {
  background: #4ade80;
  color: #052e16;
  font-weight: 800;
}
.ix-steps .st.run .d {
  background: var(--ac);
  color: #1a1203;
  animation: ix-pulse 1s infinite;
}
.ix-steps .st.bad .d {
  background: #f87171;
  color: #2a0707;
}
@keyframes ix-pulse {
  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--ac) 25%, transparent);
  }
}
.ix-steps b {
  font-weight: 600;
}
.ix-steps small {
  color: var(--m);
  margin-left: auto;
  font-size: 12.5px;
  text-align: right;
}
.ix-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ix-file {
  font:
    12px Consolas,
    monospace;
  color: #cfc9d6;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 7px 10px;
  margin-top: 6px;
  word-break: break-all;
}
.ix-list {
  margin-top: 6px;
  padding-left: 18px;
  color: #cfc9d6;
  font-size: 13.5px;
}
.ix-bar {
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 14px;
}
.ix-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ac), var(--ac2));
  animation: ix-bar 3.2s cubic-bezier(0.3, 0.7, 0.3, 1) forwards;
}
@keyframes ix-bar {
  to {
    width: 94%;
  }
}
.ix-drop {
  margin-top: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  color: var(--m);
  transition: 0.25s;
}
.ix-drop.hot {
  border-color: var(--ac);
  color: #fff;
  background: color-mix(in srgb, var(--ac) 10%, transparent);
}
.ix-drop b {
  display: block;
  color: #fff;
  font:
    800 17px "Bricolage Grotesque",
    sans-serif;
  margin-bottom: 4px;
}
.ix-tg {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--gb);
}
.ix-tg:first-of-type {
  border: 0;
}
.ix-tg div {
  flex: 1;
}
.ix-tg b {
  font-weight: 600;
  display: block;
}
.ix-tg small {
  color: var(--m);
}
.ix-sw {
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: var(--ac);
  position: relative;
  cursor: pointer;
  flex: none;
  transition: 0.25s;
}
.ix-sw:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: 0.25s;
}
.ix-sw.off {
  background: rgba(255, 255, 255, 0.18);
}
.ix-sw.off:after {
  right: 21px;
}
.ix-btn.dis {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- bandeau d'installation (page d'un jeu) ---------- */
.ix-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  padding: 10px 16px 10px 20px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--ac) 14%, rgba(20, 18, 27, 0.8));
  border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent);
}
.ix-notice span:first-child {
  flex: 1;
  font-weight: 500;
}

/* ---------- assistant de premier démarrage ---------- */
.ix-wiz {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  padding: 10px 56px 20px;
  min-height: 640px;
}
.ix-wiz h1 {
  font:
    800 42px "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ix-wiz p {
  color: #cfc9d6;
  font-size: 16px;
  margin-top: 12px;
  max-width: 520px;
}
.ix-found {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* hauteur fixe (environ 7 jeux, moins si la fenêtre est petite) : la fenêtre ne grandit plus avec le nombre de jeux, la liste défile */
  max-height: min(536px, calc(100vh - 440px));
  min-height: 150px;
  overflow-y: auto;
  padding: 2px 8px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.ix-fd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-radius: 18px;
  background: rgba(20, 18, 27, 0.74);
  border: 1px solid var(--gb);
  animation: ix-slide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes ix-slide {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
}
.ix-fd .im {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--art) center/cover;
  flex: none;
}
.ix-fd b {
  display: block;
  font-weight: 700;
}
.ix-fd small {
  color: var(--m);
  word-break: break-all;
}
.ix-fd .sp {
  flex: 1;
}
.ix-cb {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ac);
  display: grid;
  place-items: center;
  color: #1a1203;
  font-weight: 800;
  cursor: pointer;
  flex: none;
}
.ix-cb.off {
  background: rgba(255, 255, 255, 0.12);
  color: transparent;
}

/* ---------- réglages ---------- */
.ix-dir {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--gb);
}
.ix-dir .im {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--art) center/cover;
  flex: none;
}
.ix-dir div {
  flex: 1;
  min-width: 0;
}
.ix-dir b {
  display: block;
}
.ix-dir small {
  color: var(--m);
  font:
    12px Consolas,
    monospace;
  word-break: break-all;
}

/* ---------- confirmation du retrait (dans la carte du jeu) ---------- */
.ix-confirm {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.ix-confirm b {
  display: block;
  margin-bottom: 6px;
}

/* progression réelle (téléchargement d'un paquet) : plus d'animation de durée fixe */
.ix-stage.busy.real .ring {
  animation: none;
}
.ix-bar.real span {
  animation: none;
  transition: width 0.3s;
}

/* ---- TNT Box : quatre étapes ---- */
.tn {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tn-hero h2 {
  font-size: 22px;
  margin: 4px 0 6px;
}
.tn-hero p {
  opacity: 0.8;
  line-height: 1.55;
}
.tn-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #2b3040;
  border-radius: 14px;
  background: #12151c;
}
.tn-step.now {
  border-color: var(--accent, #ff4b3a);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #ff4b3a) 40%, transparent);
}
.tn-step.wait {
  opacity: 0.5;
}
.tn-step.done {
  border-color: #1f6b45;
}
.tn-n {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #1b1e26;
  border: 1px solid #2b3040;
}
.tn-step.now .tn-n {
  background: var(--accent, #ff4b3a);
  color: #fff;
  border-color: transparent;
}
.tn-step.done .tn-n {
  background: #1f6b45;
  color: #fff;
  border-color: transparent;
}
.tn-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tn-b b {
  font-size: 16px;
}
.tn-b p {
  opacity: 0.8;
  line-height: 1.5;
}
.tn-prog {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.tn-live {
  padding: 12px 16px;
  border-left: 3px solid var(--accent, #ff4b3a);
  background: #12151c;
  border-radius: 6px;
  line-height: 1.5;
}
.tn-live p {
  opacity: 0.85;
  margin-top: 4px;
}
.ix-notice.er {
  border-color: #f87171;
}
/* Studio TNT Box dans la fenêtre */
.tn-frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 12px;
  background: #0a0a0c;
}
/* ---- Guides des jeux ---- */
.gd {
  max-width: 860px;
}
.gd-t {
  font-size: 22px;
  margin: 4px 0 6px;
}
.gd-s {
  opacity: 0.8;
  line-height: 1.55;
  margin-bottom: 10px;
}
.gd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gd-ul {
  margin: 4px 0 4px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.5;
}
.gd-ul code,
.gd-body code {
  background: #1a1d26;
  border: 1px solid #2b3040;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12.5px;
}
.gd-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gd-body p {
  opacity: 0.85;
  line-height: 1.5;
}
.gd-note {
  border-left: 3px solid #4b5470;
  background: #12151c;
  border-radius: 6px;
  padding: 8px 12px;
  line-height: 1.45;
}
.gd-note.warn {
  border-color: #f59e0b;
}
.gd-note.info {
  border-color: var(--accent, #22d3ee);
}
.gd-link {
  color: var(--accent, #22d3ee);
  cursor: pointer;
  text-decoration: underline;
}
/* ---- Touches des jeux Zombies ---- */
.zk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  /* même présentation que les cartes au-dessus : coins arrondis, fin trait, vrai espace autour du texte (fond opaque : la barre reste lisible quand la liste défile dessous) */
  padding: 14px 18px;
  margin-bottom: 10px;
  border: 1px solid var(--gb);
  border-radius: 16px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #14121b;
}
.zk-state {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zk-state small {
  opacity: 0.7;
}
.zk-note {
  color: #f59e0b;
  opacity: 1 !important;
}
.zk-hud {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.85;
}
.zk-btn {
  background: #1b1e26;
  color: inherit;
  border: 1px solid #2b3040;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}
.zk-btn:hover {
  border-color: #4b5470;
}
.zk-main {
  background: var(--accent, #22d3ee);
  color: #06121a;
  border-color: transparent;
  font-weight: 700;
}
.zk-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zk-row.off {
  opacity: 0.45;
}
.zk-row > b {
  flex: 1 1 auto;
  min-width: 0;
}
.zk-param {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.85;
}
.zk-param input {
  width: 72px;
  background: #0e1016;
  color: inherit;
  border: 1px solid #2b3040;
  border-radius: 6px;
  padding: 5px 6px;
  font: inherit;
  text-align: right;
}
.zk-key {
  min-width: 128px;
  background: #12151c;
  color: inherit;
  border: 1px solid #2b3040;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.zk-key.empty {
  opacity: 0.6;
  font-weight: 400;
}
.zk-key.cap {
  border-color: var(--accent, #22d3ee);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent, #22d3ee) 35%, transparent);
}

/* TNT Box : message d'erreur et astuce */
.tn-err {
  color: #f87171;
  margin-top: 8px;
}
.tn-tip {
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.5;
  padding: 0 4px;
}

/* ---- Mises à jour par jeu ---- */
.chip.up {
  background: rgba(255, 46, 147, 0.16);
  color: #ff6fb3;
}
.up-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.3);
}
.up-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 10px var(--ac);
  flex: none;
}
.up-grow {
  flex: 1;
  min-width: 0;
}
.up-sp {
  flex: 1;
}
.up-card .up-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.up-card h4 {
  margin: 0;
}
.up-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.up-chip.ok {
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
}
.up-chip.up {
  background: rgba(255, 46, 147, 0.16);
  color: #ff6fb3;
}
.up-chip.er {
  background: rgba(248, 113, 113, 0.16);
  color: var(--er);
}
.up-seg {
  display: inline-flex;
  border: 1px solid var(--gb);
  border-radius: 99px;
  overflow: hidden;
}
.up-seg span {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--m);
  cursor: pointer;
}
.up-seg span.on {
  background: var(--t);
  color: #111;
}
.up-note {
  color: var(--m);
  font-size: 12.5px;
  margin: 6px 0 0;
}
.up-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.up-line small {
  display: block;
  color: var(--m);
}
.up-ico {
  font-size: 20px;
  flex: none;
}
.up-ver {
  color: var(--m);
}
.up-log {
  margin-top: 8px;
}
.up-warn {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.28);
  font-size: 13px;
}
.up-actions {
  margin-top: 12px;
}
.up-link {
  color: #ff6fb3;
  cursor: pointer;
}
.up-foot {
  margin: 12px 0 0;
  color: var(--m);
  font-size: 12.5px;
}
.up-h {
  margin: 16px 0 6px;
  font-size: 14px;
}
.up-rowg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.up-rowg small {
  color: var(--m);
}
/* ---- Zombies : pause en jeu, presets ---- */
.zk-pre {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.zk-pre .zk-ct {
  flex: 1;
  min-width: 220px;
}
.zk-pre small {
  display: block;
  color: var(--m);
}
.zk-pre .zk-full {
  flex-basis: 100%;
  margin: 0;
}

/* ---- Signaler un problème ---- */
.rp-card.rp-crash {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.07);
}
.rp-msg.ok {
  color: var(--ok);
}
.rp-msg.er {
  color: var(--er);
}

/* ---------- page Réglages ---------- */
.st-h1 {
  font:
    800 38px "Bricolage Grotesque",
    sans-serif;
  margin: 6px 0 4px;
}
.st-lead {
  color: var(--m);
  margin: 0 0 18px;
}
.st-sub {
  color: var(--m);
  font-size: 13px;
  margin: 0 0 10px;
}
.st-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--gb);
}
.st-row .st-tx {
  flex: 1;
  min-width: 0;
}
.st-row .st-tx b {
  display: block;
  font-weight: 600;
}
.st-row .st-tx small {
  display: block;
  color: var(--m);
}
.st-adv {
  padding: 0;
}
.st-adv summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
}
.st-adv summary::-webkit-details-marker {
  display: none;
}
.st-adv summary b {
  font:
    800 17px "Bricolage Grotesque",
    sans-serif;
}
.st-adv summary b:after {
  content: " ▾";
  color: var(--m);
}
.st-adv[open] summary b:after {
  content: " ▴";
}
.st-adv summary small {
  color: var(--m);
}
.st-advbody {
  padding: 0 14px 6px;
}
