/* Lanceur · page d'attente « Aurore » · fenêtre de launcher « Captures libres » (launchers-v4/2-captures-libres)
   Composant isolé : tout vit sous .launcher-slot, classes et id préfixés lc-. Aucun style global.
   Polices d'interface : Plus Jakarta Sans, Inter, JetBrains Mono ; polices de jeu (Pixelify Sans, Cinzel, Bungee,
   Jersey 10) : toutes chargées par index.html (Google Fonts).
   Accord avec la page (fin de fichier) : inclinaison légère, halo Pastel nuit derrière la fenêtre, plein écran.
   Signature : coins « pixel » en escalier (.lc-px), biseaux d'inventaire, cartouche « mode photo » sous chaque capture. */

.launcher-slot {
  --lc-ui: 'Plus Jakarta Sans', system-ui, sans-serif;
  --lc-body: 'Inter', system-ui, sans-serif;
  --lc-mono: 'JetBrains Mono', ui-monospace, monospace;
  --lc-game: 'Jersey 10', 'JetBrains Mono', monospace;
  --lc-ease: cubic-bezier(.22, .8, .24, 1);
  --lc-s: 1;
  /* largeur en page : ~78 % de la maquette (1100 px) en bureau, 820 px à 1280, 864 px à 1440, 880 px à 1920 ;
     la fenêtre reste dessinée à 1100 × 660 et mise à l'échelle (--lc-s, launcher.js) */
  position: relative; z-index: 2; width: min(clamp(820px, 60vw, 880px), 100% - 32px); margin-inline: auto;
  font-family: var(--lc-body); -webkit-font-smoothing: antialiased;
}
:where(.launcher-slot) *, :where(.launcher-slot) *::before, :where(.launcher-slot) *::after { box-sizing: border-box; }
:where(.launcher-slot) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
:where(.launcher-slot) :focus-visible { outline: 2px solid var(--lc-acc, #BBA8FF); outline-offset: 2px; }

/* Coins pixel en escalier : deux marches de --lc-n */
.lc-px {
  --lc-n: 3px;
  clip-path: polygon(
    0 calc(var(--lc-n) * 2), var(--lc-n) calc(var(--lc-n) * 2), var(--lc-n) var(--lc-n), calc(var(--lc-n) * 2) var(--lc-n), calc(var(--lc-n) * 2) 0,
    calc(100% - var(--lc-n) * 2) 0, calc(100% - var(--lc-n) * 2) var(--lc-n), calc(100% - var(--lc-n)) var(--lc-n), calc(100% - var(--lc-n)) calc(var(--lc-n) * 2), 100% calc(var(--lc-n) * 2),
    100% calc(100% - var(--lc-n) * 2), calc(100% - var(--lc-n)) calc(100% - var(--lc-n) * 2), calc(100% - var(--lc-n)) calc(100% - var(--lc-n)), calc(100% - var(--lc-n) * 2) calc(100% - var(--lc-n)), calc(100% - var(--lc-n) * 2) 100%,
    calc(var(--lc-n) * 2) 100%, calc(var(--lc-n) * 2) calc(100% - var(--lc-n)), var(--lc-n) calc(100% - var(--lc-n)), var(--lc-n) calc(100% - var(--lc-n) * 2), 0 calc(100% - var(--lc-n) * 2));
}
.lc-pix, .lc-head { display: block; flex: none; image-rendering: pixelated; }

/* ---------- Thèmes (variables posées sur .lc-win) ---------- */
.lc-win {
  --lc-acc: #9BE15D; --lc-acc-hi: #D6F7B4; --lc-acc-lo: #4E9A2E; --lc-acc-ink: #11200A;
  --lc-shade: 10, 14, 10;
  --lc-ink: #F1F6EA; --lc-dim: rgba(241, 246, 234, .68); --lc-faint: rgba(241, 246, 234, .42);
  --lc-img-filter: saturate(1.04) contrast(1.04) brightness(.94);
}
.lc-win[data-theme="ombrecime"] {
  --lc-acc: #FFB15C; --lc-acc-hi: #FFE0B8; --lc-acc-lo: #C0602A; --lc-acc-ink: #2A1206;
  --lc-shade: 18, 11, 8;
  --lc-ink: #FBF1E6; --lc-dim: rgba(251, 241, 230, .7); --lc-faint: rgba(251, 241, 230, .44);
  --lc-img-filter: saturate(1.02) contrast(1.05) brightness(.92);
}
.lc-win[data-theme="briqueville"] {
  --lc-acc: #5CD6F2; --lc-acc-hi: #C8F4FC; --lc-acc-lo: #2475AE; --lc-acc-ink: #06202C;
  --lc-shade: 8, 12, 20;
  --lc-ink: #EAF4FA; --lc-dim: rgba(234, 244, 250, .7); --lc-faint: rgba(234, 244, 250, .44);
  --lc-img-filter: saturate(1.06) contrast(1.04) brightness(.92);
}

/* ---------- Scène et mise à l'échelle ---------- */
.lc-stage { position: relative; width: 100%; height: calc(660px * var(--lc-s)); }
.lc-win {
  position: absolute; top: 0; left: calc(50% - 550px * var(--lc-s));
  width: 1100px; height: 660px;
  transform: scale(var(--lc-s)); transform-origin: 0 0;
  border-radius: 12px; overflow: hidden;
  background: rgb(var(--lc-shade)); color: var(--lc-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px -30px rgba(0, 0, 0, .78), 0 18px 40px -20px rgba(0, 0, 0, .6);
  isolation: isolate; user-select: none; -webkit-user-select: none;
  transition: opacity .45s var(--lc-ease), filter .45s var(--lc-ease);
}
.lc-win::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 40;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* ---------- Art : captures en jeu, fondu enchaîné lent ---------- */
.lc-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lc-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.4s ease-in-out; filter: var(--lc-img-filter);
  transform: scale(1.04); will-change: opacity, transform;
}
.lc-img.lc-on { opacity: 1; }
.lc-img.lc-instant { transition: none; }
.lc-img.lc-kb-run { animation: lc-kb 11s linear forwards; }
@keyframes lc-kb { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.11) translate3d(-1.2%, -.8%, 0); } }
.lc-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--lc-shade), .78) 0%, rgba(var(--lc-shade), .2) 12%, rgba(var(--lc-shade), 0) 24%),
    linear-gradient(90deg, rgba(var(--lc-shade), .82) 0%, rgba(var(--lc-shade), .5) 30%, rgba(var(--lc-shade), 0) 56%),
    linear-gradient(0deg, rgba(var(--lc-shade), .94) 0%, rgba(var(--lc-shade), .55) 24%, rgba(var(--lc-shade), 0) 46%);
}
.lc-dim { position: absolute; inset: 0; pointer-events: none; background: rgba(var(--lc-shade), .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--lc-ease); }
.lc-win:not([data-view="accueil"]) .lc-dim { opacity: 1; }

/* ---------- Barre de titre ---------- */
.lc-titlebar { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: center; padding: 0 6px 0 16px; gap: 6px; }
.lc-brand { display: flex; align-items: center; gap: 9px; padding-right: 14px; margin-right: 6px; border-right: 2px solid rgba(255, 255, 255, .08); height: 26px; }
.lc-brand-ic { width: 24px; height: 24px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); }
.lc-brand b { font-family: var(--lc-game); font-weight: 400; font-size: 21px; letter-spacing: .04em; line-height: 1; }
.lc-brand small { font-family: var(--lc-ui); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lc-faint); }
.lc-tabs { position: relative; display: flex; height: 48px; }
.lc-tab { position: relative; height: 48px; padding: 0 10px; font-family: var(--lc-ui); font-weight: 700; font-size: 12.5px; color: var(--lc-faint); transition: color .2s; }
.lc-tab:hover { color: var(--lc-dim); }
.lc-tab[aria-selected="true"] { color: var(--lc-ink); }
.lc-tabs-ink {
  position: absolute; left: 0; bottom: 8px; height: 3px; width: 1px;
  background: var(--lc-acc); box-shadow: 0 2px 0 var(--lc-acc-lo);
  transform-origin: 0 0; transform: translateX(var(--lc-ix, 10px)) scaleX(var(--lc-iw, 50));
  transition: transform .4s steps(8, end), background .6s;
}
.lc-spacer { flex: 1; }
.lc-gems, .lc-acct {
  display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px;
  background: rgba(var(--lc-shade), .55);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .09), inset 0 2px 0 rgba(255, 255, 255, .06);
  font-family: var(--lc-ui); font-weight: 700; font-size: 12px; color: var(--lc-ink); transition: background .2s;
}
.lc-gems .lc-pix { width: 16px; height: 16px; }
.lc-gems b { font-family: var(--lc-mono); font-weight: 500; font-size: 12px; }
.lc-acct { padding-left: 5px; }
.lc-gems:hover, .lc-acct:hover, .lc-acct[aria-expanded="true"] { background: rgba(var(--lc-shade), .85); }
.lc-av { position: relative; display: block; width: 24px; height: 24px; }
.lc-av .lc-head { width: 100%; height: 100%; }
.lc-acct svg:last-child { width: 10px; height: 10px; opacity: .6; transition: transform .25s; }
.lc-acct[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lc-ctl { display: flex; margin-left: 4px; }
.lc-ctl button { display: grid; place-items: center; width: 38px; height: 32px; color: var(--lc-dim); transition: background .2s, color .2s; }
.lc-ctl button:hover { background: rgba(255, 255, 255, .1); color: var(--lc-ink); }
.lc-ctl button.lc-x:hover { background: #D9434E; color: #fff; }
.lc-ctl svg { width: 11px; height: 11px; }

/* Menus */
.lc-menu {
  position: absolute; z-index: 30; min-width: 250px; padding: 6px;
  background: rgba(var(--lc-shade), .94); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), inset 0 2px 0 rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .18s, transform .22s var(--lc-ease), visibility 0s .22s;
}
.lc-menu.lc-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .18s, transform .22s var(--lc-ease), visibility 0s; }
.lc-menu-acct { top: 46px; right: 122px; }
.lc-menu-head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; border-bottom: 2px solid rgba(255, 255, 255, .07); margin-bottom: 4px; }
.lc-av-l { width: 38px; height: 38px; }
.lc-menu-head b { display: block; font-family: var(--lc-ui); font-size: 13px; }
.lc-menu-head small { display: block; font-size: 11px; color: var(--lc-dim); margin-top: 2px; }
.lc-mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; font-size: 12.5px; color: var(--lc-ink); transition: background .15s; }
.lc-mi:hover { background: rgba(255, 255, 255, .08); }
.lc-mi svg { width: 15px; height: 15px; opacity: .7; flex: none; }
.lc-mi.lc-danger { color: #FF9AA2; }
.lc-mi-sep { height: 2px; margin: 4px 6px; background: rgba(255, 255, 255, .07); }

/* ---------- Vues ---------- */
.lc-main { position: absolute; inset: 48px 0 84px 0; z-index: 10; }
.lc-view {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .4s var(--lc-ease), transform .5s var(--lc-ease), visibility 0s .5s;
}
.lc-view.lc-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--lc-ease) .06s, transform .5s var(--lc-ease) .06s, visibility 0s; }

/* Accueil : identité du serveur */
.lc-id { position: absolute; left: 34px; top: 14px; width: 520px; }
.lc-logo { display: block; width: 470px; height: auto; margin-left: -4px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); overflow: visible; }
.lc-tag { margin: 4px 0 12px; max-width: 46ch; font-family: var(--lc-ui); font-weight: 600; font-size: 14px; line-height: 1.45; color: var(--lc-ink); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.lc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lc-chip {
  --lc-n: 2px; height: 24px; display: inline-flex; align-items: center; padding: 0 9px;
  font-family: var(--lc-mono); font-size: 11px; color: var(--lc-ink);
  background: rgba(var(--lc-shade), .62); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1);
}
.lc-chip-acc { background: var(--lc-acc); color: var(--lc-acc-ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--lc-acc-lo); }
.lc-ip {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 14px; margin-bottom: 12px;
  background: rgba(var(--lc-shade), .78); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), inset 0 2px 0 rgba(255, 255, 255, .07), inset 0 -3px 0 rgba(0, 0, 0, .35);
}
.lc-ip-l { font-family: var(--lc-game); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-faint); }
.lc-ip code { font-family: var(--lc-mono); font-size: 15px; font-weight: 500; color: var(--lc-acc-hi); letter-spacing: .01em; user-select: text; -webkit-user-select: text; }
.lc-copy {
  --lc-n: 2px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px;
  font-family: var(--lc-ui); font-weight: 700; font-size: 12px; color: var(--lc-ink);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), inset 0 -2px 0 rgba(0, 0, 0, .3);
  transition: background .2s, color .2s;
}
.lc-copy svg { width: 13px; height: 13px; }
.lc-copy:hover { background: rgba(255, 255, 255, .17); }
.lc-copy.lc-copied { background: var(--lc-acc); color: var(--lc-acc-ink); }
.lc-event { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--lc-dim); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.lc-event .lc-pix { width: 20px; height: 20px; animation: lc-bob 2.4s steps(4, end) infinite; }
.lc-event b { color: var(--lc-ink); font-family: var(--lc-ui); }
@keyframes lc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.lc-id.lc-enter > * { animation: lc-in .7s var(--lc-ease) both; }
.lc-id.lc-enter > :nth-child(2) { animation-delay: .06s; }
.lc-id.lc-enter > :nth-child(3) { animation-delay: .1s; }
.lc-id.lc-enter > :nth-child(4) { animation-delay: .14s; }
.lc-id.lc-enter > :nth-child(5) { animation-delay: .18s; }
@keyframes lc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Cartouche « mode photo » : lieu, jeu, auteur, licence + progression des captures */
.lc-shot { position: absolute; right: 26px; bottom: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 420px; }
.lc-cap { display: flex; flex-direction: column; align-items: flex-end; text-align: right; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.lc-cap b { display: block; font-family: var(--lc-game); font-weight: 400; font-size: 20px; letter-spacing: .03em; color: var(--lc-ink); }
.lc-cap span { --lc-n: 2px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 8px; white-space: nowrap; font-family: var(--lc-mono); font-size: 10px; color: rgba(255, 255, 255, .86); text-shadow: none; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.lc-cap svg { width: 12px; height: 12px; flex: none; }
.lc-cap.lc-cap-in { animation: lc-in .8s var(--lc-ease) both; }
.lc-segs { display: flex; gap: 5px; }
.lc-seg { position: relative; width: 38px; height: 12px; display: grid; align-items: center; }
.lc-seg::before { content: ''; height: 4px; background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .45); }
.lc-seg i { position: absolute; left: 0; right: 0; top: 4px; height: 4px; background: var(--lc-acc); transform-origin: 0 0; transform: scaleX(0); }
.lc-seg.lc-seg-done i { transform: scaleX(1); }
.lc-seg.lc-seg-now i { animation: lc-seg 8s linear forwards; }
@keyframes lc-seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Amis en ligne */
.lc-friends {
  position: absolute; right: 26px; top: 20px; width: 226px; padding: 10px 10px 6px;
  background: rgba(var(--lc-shade), .7); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 2px 0 rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(0, 0, 0, .3);
}
.lc-friends h4, .lc-friends .lc-fh { color: inherit;  display: flex; align-items: center; justify-content: space-between; margin: 0 2px 6px; font-family: var(--lc-game); font-weight: 400; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-dim); }
.lc-friends h4 small, .lc-friends .lc-fh small { font-family: var(--lc-mono); font-size: 10.5px; color: var(--lc-acc); }
.lc-fr { display: flex; align-items: center; gap: 9px; padding: 5px 2px; }
.lc-fr .lc-head { width: 28px; height: 28px; }
.lc-fr b { display: block; font-family: var(--lc-ui); font-size: 12px; line-height: 1.2; }
.lc-fr small { display: block; font-size: 10.5px; color: var(--lc-faint); line-height: 1.3; }

/* Actualités en pied de héros */
.lc-news-h { position: absolute; left: 34px; bottom: 150px; display: flex; align-items: baseline; gap: 12px; font-family: var(--lc-game); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-dim); }
.lc-news-h button { font-family: var(--lc-ui); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--lc-acc); }
.lc-news-h button:hover { text-decoration: underline; text-underline-offset: 3px; }
.lc-news { position: absolute; left: 34px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 196px); gap: 12px; }
.lc-card {
  --lc-n: 3px; position: relative; display: flex; flex-direction: column; height: 126px;
  background: rgba(var(--lc-shade), .82); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 -3px 0 rgba(0, 0, 0, .4);
  transition: transform .25s steps(3, end), box-shadow .2s;
  animation: lc-in .7s var(--lc-ease) both;
}
.lc-card:nth-child(2) { animation-delay: .06s; } .lc-card:nth-child(3) { animation-delay: .12s; }
.lc-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--lc-acc), inset 0 -3px 0 rgba(0, 0, 0, .4); }
.lc-card-img { display: block; height: 58px; margin: 2px 2px 0; overflow: hidden; }
.lc-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--lc-ease); }
.lc-card:hover .lc-card-img img { transform: scale(1.06); }
.lc-card-t { display: block; padding: 7px 10px 0; }
.lc-card-t em { display: block; font-style: normal; font-family: var(--lc-game); font-size: 14px; letter-spacing: .07em; text-transform: uppercase; color: var(--lc-acc); line-height: 1; }
.lc-card-t b { display: block; margin-top: 2px; font-family: var(--lc-ui); font-size: 12px; line-height: 1.3; color: var(--lc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-card-t small { display: block; margin-top: 1px; font-family: var(--lc-mono); font-size: 9.5px; color: var(--lc-faint); }

/* Panneaux des autres vues */
.lc-panel { position: absolute; inset: 18px 30px 16px; }
.lc-h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-family: var(--lc-game); font-weight: 400; font-size: 30px; letter-spacing: .04em; line-height: 1; color: var(--lc-ink); }
.lc-h2 small { font-family: var(--lc-body); font-size: 12.5px; letter-spacing: 0; color: var(--lc-dim); }
.lc-glass {
  background: rgba(var(--lc-shade), .66);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 2px 0 rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(0, 0, 0, .3);
}

/* Actualités */
.lc-feed { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; height: calc(100% - 46px); }
.lc-feat { display: flex; flex-direction: column; overflow: hidden; }
.lc-feat-img { position: relative; flex: 1; min-height: 0; margin: 2px 2px 0; overflow: hidden; }
.lc-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: lc-in .6s var(--lc-ease) both; }
.lc-feat-cap { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; font-family: var(--lc-mono); font-size: 9.5px; color: #fff; background: rgba(0, 0, 0, .55); }
.lc-feat-cap svg { width: 11px; height: 11px; }
.lc-feat-b { padding: 14px 18px 16px; }
.lc-meta { display: flex; align-items: center; gap: 8px; font-family: var(--lc-mono); font-size: 10.5px; color: var(--lc-faint); }
.lc-meta em { --lc-n: 2px; font-style: normal; padding: 3px 7px 2px; font-family: var(--lc-game); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-acc-ink); background: var(--lc-acc); line-height: 1; }
.lc-feat h3 { margin: 8px 0 6px; font-family: var(--lc-ui); font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.lc-feat p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--lc-dim); }
.lc-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--lc-ui); font-size: 12px; font-weight: 700; color: var(--lc-acc); }
.lc-more svg { width: 12px; height: 12px; }
.lc-list { display: flex; flex-direction: column; padding: 6px; overflow: hidden; }
.lc-li { display: flex; align-items: center; gap: 11px; padding: 8px; transition: background .15s; }
.lc-li:hover { background: rgba(255, 255, 255, .05); }
.lc-li[aria-current="true"] { background: rgba(255, 255, 255, .08); box-shadow: inset 3px 0 0 var(--lc-acc); }
.lc-li img { flex: none; width: 74px; height: 46px; object-fit: cover; }
.lc-li b { display: block; font-family: var(--lc-ui); font-size: 12px; line-height: 1.3; }
.lc-li small { display: flex; gap: 8px; margin-top: 3px; font-family: var(--lc-mono); font-size: 10px; color: var(--lc-faint); }
.lc-li small em { font-style: normal; color: var(--lc-acc); }

/* Boutique */
.lc-bal { --lc-n: 2px; margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; font-family: var(--lc-body); background: rgba(var(--lc-shade), .7); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); }
.lc-bal .lc-pix { width: 16px; height: 16px; }
.lc-bal b { font-family: var(--lc-mono); font-size: 13px; font-weight: 500; }
.lc-bal small { font-size: 11px; color: var(--lc-dim); }
.lc-shopwrap { display: grid; grid-template-columns: 1fr 238px; gap: 14px; height: calc(100% - 46px); }
.lc-shop { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; }
.lc-item {
  --lc-rc: #A8B3BF; position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 12px 12px; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lc-rc) 16%, rgba(var(--lc-shade), .7)), rgba(var(--lc-shade), .74) 62%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lc-rc) 36%, transparent), inset 0 2px 0 rgba(255, 255, 255, .07), inset 0 -3px 0 rgba(0, 0, 0, .35);
}
.lc-item[data-r="rare"] { --lc-rc: #5BA8FF; }
.lc-item[data-r="epique"] { --lc-rc: #B07CFF; }
.lc-item[data-r="legendaire"] { --lc-rc: #FFC34D; }
.lc-slotbox {
  display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 9px;
  background: rgba(0, 0, 0, .34); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .4), inset 0 -2px 0 rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(255, 255, 255, .05);
}
.lc-item-ic { width: 48px; height: 48px; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .4)); transition: transform .3s steps(3, end); }
.lc-item:hover .lc-item-ic { transform: translateY(-3px) rotate(-6deg); }
.lc-item-b em { display: block; font-style: normal; font-family: var(--lc-game); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-rc); line-height: 1; }
.lc-item-b b { display: block; margin-top: 3px; font-family: var(--lc-ui); font-size: 12.5px; line-height: 1.25; }
.lc-item-b small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--lc-faint); }
.lc-buy {
  --lc-n: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; width: 100%; height: 30px;
  font-family: var(--lc-mono); font-size: 12px; font-weight: 500; color: var(--lc-ink);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), inset 0 -3px 0 rgba(0, 0, 0, .35);
  transition: background .15s, transform .1s;
}
.lc-buy .lc-pix { width: 14px; height: 14px; }
.lc-buy svg:not(.lc-pix) { width: 13px; height: 13px; }
.lc-buy:hover { background: var(--lc-acc); color: var(--lc-acc-ink); }
.lc-buy:active { transform: translateY(1px); }
.lc-buy[aria-pressed="true"] { background: color-mix(in srgb, var(--lc-acc) 22%, transparent); color: var(--lc-acc-hi); font-family: var(--lc-ui); font-weight: 700; font-size: 11.5px; }
.lc-gempacks { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.lc-gempacks h3 { margin: 0 0 4px; font-family: var(--lc-game); font-weight: 400; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--lc-dim); }
.lc-gp {
  --lc-n: 2px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .07), inset 0 -3px 0 rgba(0, 0, 0, .3); transition: background .15s;
}
.lc-gp:hover { background: rgba(255, 255, 255, .11); }
.lc-gp span { font-family: var(--lc-mono); font-size: 14px; font-weight: 500; }
.lc-gp span small { font-family: var(--lc-body); font-size: 10.5px; color: var(--lc-faint); }
.lc-gp em { font-style: normal; font-family: var(--lc-game); font-size: 14px; color: var(--lc-acc); letter-spacing: .04em; }
.lc-gp b { margin-left: auto; font-family: var(--lc-ui); font-size: 13px; }
.lc-gp-best { box-shadow: inset 0 0 0 2px var(--lc-acc), inset 0 -3px 0 rgba(0, 0, 0, .3); }
.lc-gempacks p { margin: auto 0 0; font-size: 11px; line-height: 1.5; color: var(--lc-faint); }

/* Classement */
.lc-cats { display: flex; gap: 6px; margin: -4px 0 12px; }
.lc-cats button {
  --lc-n: 2px; height: 30px; padding: 0 13px; font-family: var(--lc-ui); font-weight: 700; font-size: 12px; color: var(--lc-dim);
  background: rgba(var(--lc-shade), .6); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); transition: background .2s, color .2s;
}
.lc-cats button[aria-checked="true"] { background: var(--lc-acc); color: var(--lc-acc-ink); box-shadow: inset 0 -3px 0 var(--lc-acc-lo); }
.lc-ranks { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; height: calc(100% - 88px); }
.lc-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; padding: 0 6px; }
.lc-pod { display: flex; flex-direction: column; align-items: center; text-align: center; animation: lc-in .6s var(--lc-ease) both; }
.lc-pod .lc-head { width: 66px; height: 66px; margin-bottom: 6px; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); }
.lc-pod-1 .lc-head { width: 86px; height: 86px; }
.lc-pod b { font-family: var(--lc-ui); font-size: 13px; }
.lc-pod .lc-n { margin: 2px 0 8px; font-family: var(--lc-mono); font-size: 11.5px; color: var(--lc-acc-hi); }
.lc-pod .lc-n small { color: var(--lc-faint); font-size: 10px; }
.lc-step {
  --lc-n: 3px; display: grid; place-items: start center; width: 100%; padding-top: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.lc-step i { font-style: normal; font-family: var(--lc-game); font-size: 34px; line-height: 1; color: var(--lc-ink); text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
.lc-pod-1 .lc-step { height: 118px; background: linear-gradient(180deg, color-mix(in srgb, var(--lc-acc) 60%, transparent), color-mix(in srgb, var(--lc-acc) 16%, transparent)); }
.lc-pod-1 .lc-step i { color: var(--lc-acc-ink); text-shadow: 2px 2px 0 rgba(255, 255, 255, .3); }
.lc-pod-2 .lc-step { height: 86px; }
.lc-pod-3 .lc-step { height: 62px; }
.lc-ranklist { display: flex; flex-direction: column; padding: 6px 8px; }
.lc-rk { display: grid; grid-template-columns: 26px 26px 1fr 120px 104px; align-items: center; gap: 10px; height: 36px; padding: 0 6px; border-bottom: 2px solid rgba(255, 255, 255, .04); }
.lc-rk i { font-style: normal; font-family: var(--lc-game); font-size: 18px; color: var(--lc-faint); text-align: right; }
.lc-rk .lc-head { width: 26px; height: 26px; }
.lc-rk b { font-family: var(--lc-ui); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-rk .lc-n { font-family: var(--lc-mono); font-size: 11.5px; text-align: right; }
.lc-rk .lc-n small { color: var(--lc-faint); font-size: 10px; }
.lc-bar-v { height: 6px; background: rgba(255, 255, 255, .08); }
.lc-bar-v span { display: block; height: 100%; width: 100%; transform-origin: 0 0; transform: scaleX(var(--lc-w)); background: repeating-linear-gradient(90deg, var(--lc-acc) 0 6px, transparent 6px 8px); }
.lc-rk-gap { margin-top: auto; padding: 0 0 2px 22px; font-size: 14px; line-height: 1; color: var(--lc-faint); }
.lc-rk-me { border: 0; background: color-mix(in srgb, var(--lc-acc) 14%, transparent); box-shadow: inset 3px 0 0 var(--lc-acc); }
.lc-rk-me i, .lc-rk-me b { color: var(--lc-acc-hi); }

/* Paramètres */
.lc-set { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; height: calc(100% - 46px); }
.lc-set-col { display: flex; flex-direction: column; gap: 14px; }
.lc-box { padding: 16px 18px; }
.lc-box h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 4px; font-family: var(--lc-ui); font-size: 14px; font-weight: 800; }
.lc-box h3 output { font-family: var(--lc-mono); font-size: 15px; font-weight: 500; color: var(--lc-acc-hi); }
.lc-box > p { margin: 0 0 10px; font-size: 12px; line-height: 1.5; color: var(--lc-dim); }
.lc-range { position: relative; height: 32px; margin-top: 2px; }
.lc-range-track { position: absolute; left: 0; right: 0; top: 11px; height: 10px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .4); overflow: hidden; }
.lc-range-ok { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(111, 227, 155, .34) 0 4px, rgba(111, 227, 155, .14) 4px 8px); }
.lc-range-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: repeating-linear-gradient(90deg, var(--lc-acc) 0 10px, var(--lc-acc-lo) 10px 12px); transform-origin: 0 0; transform: scaleX(var(--lc-r, .3)); transition: transform .12s; }
.lc-range input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lc-range-thumb {
  position: absolute; top: 4px; left: calc(var(--lc-r, .3) * 100% - 9px); width: 18px; height: 24px;
  background: #fff; box-shadow: inset 0 -4px 0 #B9C2CC, 0 3px 0 rgba(0, 0, 0, .45);
  pointer-events: none; transition: left .12s;
}
.lc-range input:focus-visible ~ .lc-range-thumb { outline: 2px solid var(--lc-acc); outline-offset: 2px; }
.lc-scale { display: flex; justify-content: space-between; font-family: var(--lc-mono); font-size: 9.5px; color: var(--lc-faint); margin-top: 2px; }
.lc-advice { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 9px 12px; font-size: 12px; line-height: 1.5; background: rgba(255, 255, 255, .05); box-shadow: inset 3px 0 0 #6FE39B; }
.lc-advice i { flex: none; width: 8px; height: 8px; margin-top: 5px; background: #6FE39B; }
.lc-advice[data-level="warn"] { box-shadow: inset 3px 0 0 #FFC56B; } .lc-advice[data-level="warn"] i { background: #FFC56B; }
.lc-advice[data-level="low"] { box-shadow: inset 3px 0 0 #FF8A8A; } .lc-advice[data-level="low"] i { background: #FF8A8A; }
.lc-seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lc-seg2 button { --lc-n: 2px; height: 32px; text-align: center; font-family: var(--lc-ui); font-weight: 700; font-size: 12px; color: var(--lc-dim); background: rgba(255, 255, 255, .06); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); transition: background .2s, color .2s; }
.lc-seg2 button[aria-checked="true"] { background: var(--lc-acc); color: var(--lc-acc-ink); box-shadow: inset 0 -3px 0 var(--lc-acc-lo); }
.lc-java-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--lc-dim); min-height: 36px; }
.lc-java-note code { font-family: var(--lc-mono); font-size: 11px; color: var(--lc-ink); background: rgba(255, 255, 255, .07); padding: 2px 6px; }
.lc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 2px solid rgba(255, 255, 255, .05); }
.lc-row:first-of-type { border-top: 0; padding-top: 2px; }
.lc-row-b { display: block; }
.lc-row b { display: block; font-family: var(--lc-ui); font-size: 12.5px; font-weight: 700; }
.lc-row small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--lc-dim); line-height: 1.4; }
.lc-select { --lc-n: 2px; position: relative; }
.lc-select select { appearance: none; -webkit-appearance: none; height: 32px; padding: 0 30px 0 11px; border: 0; font-family: var(--lc-mono); font-size: 11.5px; color: var(--lc-ink); background: rgba(255, 255, 255, .09); cursor: pointer; }
.lc-select select option { background: #1b1a26; color: #eee; }
.lc-select::after { content: ''; position: absolute; right: 12px; top: 12px; width: 6px; height: 6px; border-right: 2px solid var(--lc-dim); border-bottom: 2px solid var(--lc-dim); transform: rotate(45deg); pointer-events: none; }
.lc-switch { position: relative; flex: none; width: 40px; height: 22px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(255, 255, 255, .08); transition: background .2s; }
.lc-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; box-shadow: inset 0 -3px 0 #B9C2CC; transition: transform .2s steps(3, end); }
.lc-switch[aria-checked="true"] { background: var(--lc-acc); }
.lc-switch[aria-checked="true"]::after { transform: translateX(18px); }
.lc-path { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.lc-path code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--lc-mono); font-size: 11px; color: var(--lc-dim); background: rgba(0, 0, 0, .25); padding: 8px 10px; }
.lc-btn-s { --lc-n: 2px; flex: none; height: 31px; padding: 0 12px; font-family: var(--lc-ui); font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .1); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); transition: background .2s; }
.lc-btn-s:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Pied : statut, liens, modpack, JOUER ---------- */
.lc-bar {
  position: absolute; z-index: 15; left: 0; right: 0; bottom: 0; height: 84px; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 24px;
  background: linear-gradient(180deg, rgba(var(--lc-shade), .74), rgba(var(--lc-shade), .94)); backdrop-filter: blur(12px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06);
}
.lc-prog { position: absolute; left: 0; right: 0; top: 0; height: 4px; opacity: 0; transition: opacity .3s; }
.lc-prog i { position: absolute; inset: 0; transform-origin: 0 0; transform: scaleX(var(--lc-p, 0)); background: repeating-linear-gradient(90deg, var(--lc-acc) 0 10px, transparent 10px 12px); transition: transform .12s linear; }
.lc-win:not([data-state="pret"]) .lc-prog { opacity: 1; }
.lc-status { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.lc-online { display: flex; align-items: center; gap: 7px; font-family: var(--lc-ui); font-weight: 700; }
.lc-online i { width: 8px; height: 8px; background: #6FE39B; box-shadow: 0 0 0 3px rgba(111, 227, 155, .2); animation: lc-blink 2.4s steps(2, end) infinite; }
@keyframes lc-blink { 50% { box-shadow: 0 0 0 3px rgba(111, 227, 155, .05); } }
.lc-heads { display: flex; padding-left: 4px; }
.lc-heads .lc-head { width: 24px; height: 24px; margin-left: -6px; filter: drop-shadow(1px 0 0 rgba(var(--lc-shade), 1)); }
.lc-n { font-family: var(--lc-mono); font-size: 12px; }
.lc-n small { color: var(--lc-faint); }
.lc-ping { display: flex; align-items: center; gap: 6px; color: var(--lc-dim); }
.lc-ping svg { width: 14px; height: 12px; }
.lc-ping rect { fill: rgba(255, 255, 255, .2); }
.lc-ping rect.lc-lit { fill: #6FE39B; }
.lc-vsep { width: 2px; height: 26px; background: rgba(255, 255, 255, .08); }
.lc-links { display: flex; gap: 2px; }
.lc-link { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; font-family: var(--lc-ui); font-size: 12px; font-weight: 600; color: var(--lc-dim); transition: color .2s, background .2s; }
.lc-link:hover { color: var(--lc-ink); background: rgba(255, 255, 255, .06); }
.lc-link svg { width: 14px; height: 14px; }
.lc-play-zone { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lc-slot { position: relative; width: 252px; height: 56px; }
.lc-pack {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 6px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 -3px 0 rgba(0, 0, 0, .3);
  transition: opacity .3s, transform .3s var(--lc-ease), background .2s;
}
.lc-pack:hover, .lc-pack[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.lc-pack-ic { flex: none; width: 44px; height: 44px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3); }
.lc-pack-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-pack-t { flex: 1; min-width: 0; }
.lc-pack-t small { display: block; font-family: var(--lc-game); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-faint); line-height: 1; }
.lc-pack-t b { display: block; font-family: var(--lc-ui); font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-pack-v { display: block; font-family: var(--lc-mono); font-size: 10px; color: var(--lc-acc-hi); white-space: nowrap; }
.lc-pack > svg { width: 11px; height: 11px; opacity: .6; flex: none; }
.lc-readout { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 4px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .3s, transform .3s var(--lc-ease); }
.lc-win:not([data-state="pret"]) .lc-pack { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.lc-win:not([data-state="pret"]) .lc-readout { opacity: 1; transform: none; pointer-events: auto; }
.lc-steps { display: flex; align-items: center; gap: 5px; font-family: var(--lc-game); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--lc-faint); }
.lc-steps svg { width: 7px; height: 7px; opacity: .5; }
.lc-steps .lc-done { color: var(--lc-dim); }
.lc-steps .lc-now { color: var(--lc-acc); }
.lc-detail { font-family: var(--lc-mono); font-size: 11.5px; color: var(--lc-dim); white-space: nowrap; }
.lc-detail b { color: var(--lc-ink); font-weight: 500; }
.lc-detail button { margin-left: 8px; font-family: var(--lc-ui); font-size: 11.5px; font-weight: 700; color: var(--lc-acc); text-decoration: underline; text-underline-offset: 2px; }

/* JOUER : une touche épaisse, biseautée, qui s'enfonce et se remplit pendant la mise à jour */
.lc-play { position: relative; width: 224px; height: 62px; padding-bottom: 6px; }
.lc-play-body {
  --lc-n: 4px; position: absolute; inset: 0; display: block; overflow: hidden;
  background: linear-gradient(180deg, var(--lc-acc-hi) 0 4px, var(--lc-acc) 4px calc(100% - 10px), var(--lc-acc-lo) calc(100% - 10px));
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .28), inset 0 0 0 2px rgba(0, 0, 0, .35);
  transition: transform .08s, background .3s;
}
.lc-play-body {
  clip-path: polygon(0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px));
}
.lc-play:hover .lc-play-body { filter: brightness(1.07); }
.lc-play:active .lc-play-body { transform: translateY(3px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28), inset 0 0 0 2px rgba(0, 0, 0, .35); }
.lc-play-face { position: absolute; inset: 0 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--lc-acc-ink); }
.lc-play-l { font-family: var(--lc-game); font-size: 40px; line-height: .8; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 0 rgba(255, 255, 255, .35); }
.lc-play-s { margin-top: 3px; font-family: var(--lc-mono); font-size: 10px; font-weight: 500; opacity: .78; }
.lc-play-pct { font-family: var(--lc-game); font-size: 34px; line-height: .85; letter-spacing: .04em; }
.lc-play-pct small { font-size: 20px; }
.lc-play-fill { position: absolute; inset: 0; display: none; clip-path: inset(0 calc((1 - var(--lc-p, 0)) * 100%) 0 0); background: linear-gradient(180deg, var(--lc-acc-hi) 0 4px, var(--lc-acc) 4px calc(100% - 10px), var(--lc-acc-lo) calc(100% - 10px)); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .28); transition: clip-path .12s linear; }
.lc-win:not([data-state="pret"]) .lc-play-body { background: rgba(255, 255, 255, .08); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .3), inset 0 0 0 2px rgba(255, 255, 255, .1); cursor: default; }
.lc-win:not([data-state="pret"]) .lc-play-body > .lc-play-face { color: var(--lc-ink); }
.lc-win:not([data-state="pret"]) .lc-play-fill { display: block; }
.lc-win[data-state="enjeu"] .lc-play-body { background: color-mix(in srgb, #6FE39B 20%, rgba(var(--lc-shade), 1)); }
.lc-win[data-state="enjeu"] .lc-play-fill { display: none; }
.lc-live { font-size: 30px; display: inline-flex; align-items: center; gap: 9px; color: #9CF2BC; text-shadow: none; }
.lc-live::before { content: ''; width: 9px; height: 9px; background: #6FE39B; animation: lc-blink 1.6s steps(2, end) infinite; }

/* Menu des modpacks (s'ouvre vers le haut) */
.lc-menu-pack { right: 252px; bottom: 76px; width: 330px; transform: translateY(6px); }
.lc-menu h4 { margin: 4px 8px 6px; font-family: var(--lc-game); font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-faint); }
.lc-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; transition: background .15s; }
.lc-opt:hover { background: rgba(255, 255, 255, .07); }
.lc-opt img { flex: none; width: 46px; height: 32px; object-fit: cover; }
.lc-opt span { flex: 1; min-width: 0; }
.lc-opt b { display: block; font-family: var(--lc-ui); font-size: 12.5px; }
.lc-opt small { display: block; font-family: var(--lc-mono); font-size: 10px; color: var(--lc-faint); margin-top: 2px; }
.lc-opt svg { width: 14px; height: 14px; color: var(--lc-acc); opacity: 0; }
.lc-opt[aria-checked="true"] { background: rgba(255, 255, 255, .06); }
.lc-opt[aria-checked="true"] svg { opacity: 1; }

/* Fenêtre fermée / réduite */
.lc-closed { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--lc-ease) .15s; }
.lc-closed p { margin: 0 0 14px; font-family: var(--lc-ui); font-size: 14px; color: rgba(255, 255, 255, .7); }
.lc-closed button { height: 38px; padding: 0 18px; font-family: var(--lc-ui); font-weight: 700; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); }
.lc-stage.lc-shut .lc-win { opacity: 0; filter: blur(6px); pointer-events: none; }
.lc-stage.lc-shut .lc-closed { opacity: 1; pointer-events: auto; }

/* ---------- Sous la fenêtre : thèmes et crédits ---------- */
.lc-under { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.lc-themes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lc-th { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px 0 5px; border-radius: 99px; font-family: var(--lc-ui); font-weight: 600; font-size: 13px; color: rgba(247, 245, 255, .6); transition: background .25s, color .25s; }
.lc-th:hover { color: rgba(247, 245, 255, .9); }
.lc-th[aria-checked="true"] { background: rgba(255, 255, 255, .1); color: #F7F5FF; }
.lc-th img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 2px transparent; transition: box-shadow .25s; }
.lc-th[aria-checked="true"] img { box-shadow: 0 0 0 2px var(--lc-th-c, #BBA8FF); }
.lc-th small { font-size: 11px; font-weight: 500; opacity: .6; }
.lc-credit { margin: 0; max-width: 760px; text-align: center; font-size: 11px; line-height: 1.55; color: rgba(247, 245, 255, .5); font-family: var(--lc-body); }
.lc-credit a { color: rgba(247, 245, 255, .78); text-underline-offset: 2px; }
.lc-expand { display: none; height: 34px; padding: 0 14px; border-radius: 99px; font-family: var(--lc-ui); font-weight: 600; font-size: 12.5px; color: #F7F5FF; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* ---------- Plein écran (mobile surtout) ---------- */
.launcher-slot.lc-full { position: static; z-index: auto; }
.launcher-slot.lc-full .lc-stage { position: fixed; inset: 0; z-index: 9999; height: auto; background: rgba(8, 8, 16, .94); backdrop-filter: blur(8px); }
.launcher-slot.lc-full .lc-under, .launcher-slot.lc-full .lc-halo { display: none; }
.launcher-slot.lc-full .lc-win { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--lc-rot, 0deg)) scale(var(--lc-fs, 1)); transform-origin: 50% 50%; }
.lc-unfull { display: none; position: fixed; z-index: 10000; top: 12px; right: 12px; height: 36px; padding: 0 14px; border-radius: 99px; font-family: var(--lc-ui); font-weight: 700; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .14); }
.launcher-slot.lc-full .lc-unfull { display: block; }
@media (max-width: 760px) {
  .lc-under { margin-top: 18px; }
  .lc-themes { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
  .lc-th small { display: none; }
  .lc-expand { display: inline-flex; align-items: center; }
}

/* ---------- Pause hors écran et mouvement réduit ---------- */
.lc-win.lc-paused *, .lc-win.lc-paused *::before, .lc-win.lc-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .launcher-slot .lc-img { animation: none !important; transform: scale(1.04); }
  .launcher-slot .lc-seg.lc-seg-now i { animation: none; transform: scaleX(1); }
  .launcher-slot .lc-event .lc-pix, .launcher-slot .lc-online i, .launcher-slot .lc-live::before { animation: none !important; }
  .launcher-slot .lc-card, .launcher-slot .lc-pod, .launcher-slot .lc-cap, .launcher-slot .lc-id.lc-enter > *, .launcher-slot .lc-feat-img img { animation: none !important; opacity: 1; transform: none; }
  .launcher-slot *, .launcher-slot *::before, .launcher-slot *::after { transition-duration: .01ms !important; }
}

/* =====================================================================
   Accord avec la page Aurore (palette.css) : héros « Constellation »
   ===================================================================== */

/* Inclinaison : un léger redressement au défilement et un relief de 2° au plus sous la souris (launcher.js).
   Le `transform` est écrit en ligne par une seule boucle requestAnimationFrame, lissée en JS : aucune transition
   CSS sur transform ici, et aucune variable héritée (elles recalculaient le style de toute la fenêtre à chaque
   image). Le perspective() est dans le transform : aucun ancêtre n'a besoin d'un perspective. will-change
   permanent : la couche reste la même pendant tout le mouvement (le basculer à chaque survol la recréait). */
.lc-tilt {
  position: relative;
  transform-origin: 50% 100%;
  will-change: transform;
}
/* Liseré éclairé au survol : lumiere.css / lumiere.js (calque .lu-ring, aucun transform sur .lc-tilt) */
/* Plein écran : plus aucune transformation au-dessus de la scène fixe */
.launcher-slot.lc-full .lc-tilt { transform: none !important; translate: none; will-change: auto; }
/* l'arrivée ne se rejoue pas quand le slot change de place (plein écran) : un déplacement relance les animations CSS */
.js .launcher-slot.lc-moved .lc-tilt { animation: none; }

/* Arrivée (translate et opacity : n'entre pas en conflit avec l'inclinaison ; rien ne reste après) */
@keyframes lc-arrive { from { opacity: 0; translate: 0 18px; } }
.js .launcher-slot .lc-tilt { animation: lc-arrive 1.3s var(--ease, ease-out) .9s backwards; }

/* Halo derrière la fenêtre : la lueur de l'horizon remonte sous le launcher */
.lc-halo {
  position: absolute; z-index: -1; left: -3%; right: -3%; top: calc(60px * var(--lc-s)); height: calc(640px * var(--lc-s)); pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 0%, color-mix(in srgb, var(--a2, #B8A3FF) 42%, transparent), transparent 72%),
    radial-gradient(50% 50% at 0% 55%, color-mix(in srgb, var(--a1, #96B4FF) 22%, transparent), transparent 70%),
    radial-gradient(50% 50% at 100% 55%, color-mix(in srgb, var(--a3, #FFB49A) 22%, transparent), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, color-mix(in srgb, var(--a3, #FFB49A) 34%, transparent), transparent 72%);
  filter: blur(40px);
}
/* Fenêtre : liseré et ombre teintés Pastel nuit, l'intérieur garde l'identité du jeu */
.launcher-slot .lc-win {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--tint, #E6E2FF) 16%, transparent),
    0 1px 0 0 rgba(255, 255, 255, .1) inset,
    0 50px 120px -36px rgba(0, 0, 0, .85),
    0 30px 90px -40px color-mix(in srgb, var(--a2, #B8A3FF) 60%, transparent);
}
/* Mention sous la fenêtre */
.lc-note { margin: 0; text-align: center; font: 400 12px var(--f-mono, var(--lc-mono)); color: var(--subtle, #9894B3); }

/* Joueurs de la constellation : éclat du statut à chaque arrivée */
.lc-status .lc-n { transition: color .4s, text-shadow .4s; }
.lc-status.lc-bump > .lc-n { color: #9DF0BC; text-shadow: 0 0 10px rgba(111, 227, 155, .55); }

/* Mobile : la fenêtre est une vignette, un toucher l'ouvre en plein écran */
@media (max-width: 760px) {
  .launcher-slot:not(.lc-full) .lc-win { cursor: zoom-in; }
  .launcher-slot:not(.lc-full) .lc-win * { pointer-events: none; }
  .lc-credit { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .launcher-slot .lc-tilt { animation: none; }
  .lc-tilt { transform: none; will-change: auto; }
}
