/* TeamKit — page Jeux v3 (7 sept. 2026). Préfixe jx-. Même famille visuelle que /servers (sv-). */
.jx-main { padding-top: 80px; }
.jx-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.jx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-primary); }
.jx-eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.jx-sec { padding: 44px 0; }
.jx-sec h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin: 6px 0 0; color: var(--text-primary); text-wrap: balance; }
.jx-sec-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.jx-sec-h p { color: var(--text-muted); max-width: 60ch; margin: 6px 0 0; }
.jx-crumb { font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); margin-bottom: 14px; }
.jx-crumb a { color: var(--accent-primary); text-decoration: none; }
.jx-crumb span { opacity: .45; margin: 0 6px; }

/* ---- Héros ---- */
.jx-hero { position: relative; overflow: hidden; padding: 40px 0 36px; border-bottom: 1px solid var(--border-color); }
.jx-hero::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(ellipse at 20% 30%, rgba(0,240,255,.13), transparent 55%), radial-gradient(ellipse at 85% 10%, rgba(123,44,191,.28), transparent 55%); pointer-events: none; }
.jx-hero .container { position: relative; }
.jx-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.jx-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; margin: 14px 0; color: var(--text-primary); text-wrap: balance; }
.jx-lead { color: var(--text-secondary); font-size: 1.1rem; max-width: 46ch; margin: 0; line-height: 1.5; }
.jx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.jx-live { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 18px 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.jx-live-h { display: flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 12px; }
.jx-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-success); animation: jxPulse 1.8s infinite; }
@keyframes jxPulse { 0% { box-shadow: 0 0 0 0 rgba(0,255,136,.55); } 70% { box-shadow: 0 0 0 9px rgba(0,255,136,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); } }
.jx-live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jx-live-grid div { display: flex; flex-direction: column; }
.jx-live-grid b { font-size: 1.7rem; color: var(--text-primary); line-height: 1.05; }
.jx-live-grid span { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.jx-live-f { display: block; margin-top: 12px; font-size: .85rem; color: var(--accent-primary); text-decoration: none; font-weight: 600; }

/* ---- Outils ---- */
.jx-tools { display: grid; grid-template-columns: 260px 1fr auto; gap: 10px; align-items: start; margin-bottom: 18px; }
.jx-search { padding: 9px 12px; max-width: none; }
.jx-sort { padding: 9px 12px; max-width: 240px; }
.jx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jx-chip { background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 99px; padding: 6px 11px; font-size: .8rem; cursor: pointer; font-family: inherit; transition: all .15s; }
.jx-chip:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.jx-chip.is-active { background: rgba(0,240,255,.12); border-color: var(--accent-primary); color: var(--text-primary); }
.jx-chip small { color: var(--text-muted); margin-left: 3px; }

/* ---- Cartes ---- */
.jx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jx-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.jx-card::before { content: attr(data-ico); position: absolute; right: -10px; top: -18px; font-size: 5.6rem; line-height: 1; opacity: .09; transform: rotate(-8deg); pointer-events: none; }
.jx-card:hover { transform: translateY(-3px); border-color: var(--accent-primary); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.jx-card.is-live { border-color: rgba(0,255,136,.35); }
.jx-card.is-hidden { display: none; }
.jx-ico { font-size: 2.1rem; line-height: 1; }
.jx-name { font-family: var(--font-display); font-size: .98rem; font-weight: 700; color: var(--text-primary); line-height: 1.25; }
.jx-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: var(--bg-secondary); color: var(--text-muted); }
.jx-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.jx-pill.is-on { color: var(--accent-success); background: rgba(0,255,136,.1); }
.jx-pill.is-srv { color: var(--text-secondary); }
.jx-tag { font-size: .84rem; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jx-w { margin-top: auto; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .8px; text-transform: uppercase; color: var(--text-muted); }
.jx-w.is-leger { color: var(--accent-success); }
.jx-w.is-moyen { color: var(--accent-primary); }
.jx-w.is-lourd, .jx-w.is-tres-lourd { color: var(--accent-warning); }
.jx-empty { grid-column: 1 / -1; color: var(--text-muted); text-align: center; padding: 30px 0; }
.jx-note { margin: 14px 0 0; font-size: .88rem; color: var(--text-muted); }

/* ---- Appel ---- */
.jx-cta-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: center; background: linear-gradient(135deg, rgba(123,44,191,.16), rgba(0,240,255,.08)); border: 1px solid rgba(0,240,255,.25); border-radius: 18px; padding: 26px; }
.jx-cta-box p { margin: 6px 0 0; color: var(--text-secondary); max-width: 52ch; }
.jx-cta-box .jx-cta { margin-top: 0; justify-content: flex-end; }

@media (max-width: 980px) { .jx-grid { grid-template-columns: repeat(3, 1fr); } .jx-hero-grid { grid-template-columns: 1fr; gap: 22px; } .jx-tools { grid-template-columns: 1fr; } .jx-sort { max-width: none; } .jx-cta-box { grid-template-columns: 1fr; } .jx-cta-box .jx-cta { justify-content: flex-start; } }
@media (max-width: 640px) { .jx-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .jx-card { padding: 14px 12px 12px; } .jx-name { font-size: .9rem; } .jx-live-grid b { font-size: 1.4rem; } .jx-sec { padding: 32px 0; } }
@media (max-width: 400px) { .jx-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .jx-dot { animation: none; } .jx-card { transition: none; } }

/* Vignette officielle du jeu en tête de carte (2 oct. 2026, assets/jeux/<slug>/vignette.webp), bord à bord */
.jx-card.has-img::before { content: none; }
.jx-img { display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 460 / 215; object-fit: cover; margin: -16px -16px 4px; background: #0d0f16; }
@media (max-width: 640px) { .jx-img { width: calc(100% + 24px); margin: -14px -12px 4px; } }
