﻿/* ═══════════════════════════════════════
   LE BASTION — Premium Design System
   ═══════════════════════════════════════ */

:root {
  --accent: #D4AF37;
  --accent-rgb: 212, 175, 55;
  --accent-2: #A67C00;
  --accent2-rgb: 166, 124, 0;

  /* Or métallique — simule les reflets d'un médaillon gravé */
  --gold-metal: linear-gradient(105deg,
    #3D2B00  0%,
    #A67C00 12%,
    #D4AF37 28%,
    #FFF0A0 42%,
    #F5D060 50%,
    #FFE566 58%,
    #C9A227 72%,
    #8C6500 88%,
    #3D2B00 100%
  );

  /* Version hover — reflet décalé */
  --gold-metal-h: linear-gradient(105deg,
    #5A3E00  0%,
    #C9A227 14%,
    #FFE566 30%,
    #FFFACD 44%,
    #FFE566 58%,
    #D4AF37 74%,
    #A67C00 88%,
    #5A3E00 100%
  );

  /* Gradient texte or (pour background-clip: text) */
  --gold-text: linear-gradient(to bottom,
    #FFE566 0%,
    #D4AF37 35%,
    #A67C00 65%,
    #D4AF37 100%
  );

  /* Bord doré — pour pseudo-éléments */
  --gold-border: linear-gradient(135deg,
    #A67C00 0%,
    #D4AF37 25%,
    #FFE566 50%,
    #D4AF37 75%,
    #A67C00 100%
  );

  /* Legacy aliases */
  --gold-gradient: var(--gold-metal);
  --gold-gradient-h: var(--gold-metal-h);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0A0908;
  color: #e8dcc8;
  line-height: 1.6;
  overflow-x: hidden;
  /* subtle radial glow at top corners */
  background-image:
    radial-gradient(ellipse 70% 40% at 15% -5%, rgba(var(--accent-rgb), .07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 35% at 85% 105%, rgba(var(--accent2-rgb), .07) 0%, transparent 60%);
  background-attachment: fixed;
}


body.menu-open { overflow: hidden; }

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), .6) rgba(10, 9, 8, .9);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(10, 9, 8, .92), rgba(10, 9, 8, .75));
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFE566, #D4AF37 40%, #A67C00 70%, #5A3E00);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFFACD, #FFE566 30%, #D4AF37 70%, #A67C00);
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.15; }

/* ── Utilities ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo--centered {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  z-index: 2;
}

.logo--centered .logo-mark {
  width: 124px;
  height: 124px;
  border-radius: 18px;
  border: none;
  box-shadow: none;
}

.nav-left,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  z-index: 3;
}

.nav-left {
  justify-content: flex-start;
  gap: 12px;
}

.nav-right {
  justify-content: flex-end;
  gap: 12px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.logo-mark--image {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.logo-text-wrap { display: flex; flex-direction: column; }

.logo-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 11px;
  color: #5a4a30;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #7a6a50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  color: #7a6a50;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .8;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: #fff;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 210px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 9, 8, .96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 20;
}

.nav-dropdown-menu a {
  display: block;
  color: #c8b898;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #c8b898;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 9, 8, .96);
  backdrop-filter: blur(14px);
  padding: 22px;
  display: none;
}

.mobile-menu.is-open { display: block; }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.menu-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: #c8b898;
  cursor: pointer;
}

.mobile-links {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-links a {
  text-decoration: none;
  color: #c8b898;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 0;
}

.mobile-games-dropdown summary {
  list-style: none;
  color: #c8b898;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-games-dropdown summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
  transition: transform .2s;
  flex-shrink: 0;
}

.mobile-games-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
  opacity: 1;
}

.mobile-games-dropdown summary::-webkit-details-marker { display: none; }

.mobile-games-dropdown a {
  display: block;
  text-decoration: none;
  color: #9a8870;
  font-size: 16px;
  font-weight: 600;
  padding: 7px 0 7px 18px;
}

.mobile-games-dropdown a:hover {
  color: #fff;
}

.mobile-cta { margin-top: 10px; }


.theme-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.theme-picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 9, 8, .95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px) scale(.96);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 35;
}

.theme-picker.is-open .theme-picker-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.theme-bubble {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 0;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.theme-picker-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16);
}

.theme-picker-toggle:hover,
.theme-picker-toggle:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .32), inset 0 0 0 1px rgba(0, 0, 0, .16);
}

.theme-bubble:hover,
.theme-bubble:focus-visible {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, .5);
  outline: none;
}

.theme-bubble.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

/* Le sélecteur de thème est désactivé — palette Noir & Or unique */
.theme-picker { display: none !important; }
.mobile-theme-btn { display: none !important; }

.theme-bubble--neo { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }
.theme-bubble--ember { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }
.theme-bubble--aurora { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }
.theme-bubble--crimson { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }
.theme-bubble--glacier { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }
.theme-bubble--noirgold { background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%); }

.mobile-theme-btn { margin-bottom: 10px; }
.mobile-theme-btn .theme-picker-panel {
  left: 0;
  right: auto;
}

/* ── Animation reflet métallique ── */
@keyframes gold-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(90deg,
    #C9A227  0%,
    #D4AF37 20%,
    #FFF0A0 40%,
    #F5D060 50%,
    #FFF0A0 60%,
    #D4AF37 80%,
    #C9A227 100%
  );
  background-size: 200% auto;
  animation: gold-shimmer 4s linear infinite;
  color: #1a1000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.18);
}

.btn-primary:hover {
  animation-duration: 1.5s;
  filter: brightness(1.08) contrast(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(212, 175, 55, .5),
    0 2px 8px rgba(255, 224, 100, .3),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(.96);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, .06);
  color: #e8dcc8;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}

.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: #5865f2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, filter .2s, box-shadow .2s;
}

.btn-discord:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #1C1814;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #e8dcc8;
}

.user-logout {
  border: none;
  background: transparent;
  color: #9a8870;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}

.user-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.is-hidden { display: none !important; }
.mobile-auth-btn { margin-bottom: 10px; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 35%, black 30%, transparent 82%);
  opacity: .5;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, transparent 32%, rgba(12, 10, 6, .42) 100%),
    radial-gradient(circle at 20% 18%, rgba(var(--accent-rgb), .09), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(var(--accent2-rgb), .08), transparent 40%);
  animation: hero-breathe 6.4s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.hero-glow--cyan {
  width: 620px;
  height: 480px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .11) 0%, transparent 70%);
}

.hero-glow--purple {
  width: 500px;
  height: 400px;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, rgba(var(--accent2-rgb), .12) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); }
  50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 6.5vw, 74px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: #7a6a50;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-pills {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-pill {
  font-size: 12px;
  color: #9a8870;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .03);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-pill .bi {
  color: rgba(var(--accent-rgb), .85);
  font-size: 12px;
}

.hero-reel {
  margin: 20px auto 0;
  width: min(320px, 94%);
  height: 56px;
}

.hero-reel-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero-reel-outline {
  fill: none;
  stroke: rgba(var(--accent-rgb), .72);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .22));
}

.hero-reel-dot {
  fill: rgba(var(--accent-rgb), 0.5);
}

.hero-reel-glow {
  fill: rgba(var(--accent-rgb), 1);
}

@keyframes hero-breathe {
  0%, 100% { opacity: .9; }
  50% { opacity: .6; }
}

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .07);
  flex-shrink: 0;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

.stat-value em {
  font-style: normal;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: #5a4a30;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stat-label .bi {
  color: rgba(var(--accent-rgb), .8);
  font-size: 12px;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  padding: 96px 0;
}

/* Offset anchor jumps to account for sticky navbar + centered oversized logo. */
.section[id] {
  scroll-margin-top: 132px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.profile-eyebrow-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  letter-spacing: .18em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--accent-rgb), .22);
}

.profile-eyebrow-title .bi {
  font-size: 20px;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--accent);
}

.profile-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(212, 175, 55, .25);
}

.section-desc {
  color: #7a6a50;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════ */
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: #141210;
  border: 1px solid rgba(212, 175, 55, .12);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.feature-card--live {
  grid-column: 1 / -1;
  width: min(100%, 980px);
  justify-self: center;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), .16), transparent 38%),
    linear-gradient(135deg, rgba(12, 10, 6, .98), rgba(14, 11, 5, .97));
}

.twitch-live-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 430px);
  gap: 24px;
  align-items: center;
  padding: 26px;
}

.twitch-live-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.twitch-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0A0908;
  background: linear-gradient(135deg, #FFE566, #D4AF37);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), .22);
}

.twitch-live-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.twitch-live-head .feature-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 60px;
  height: 60px;
  border-radius: 18px;
}

.twitch-live-name {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 6px;
}

.twitch-live-channel {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.twitch-live-description {
  margin: 0;
  max-width: 560px;
  color: #b8c7df;
  font-size: 15px;
}

.twitch-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.twitch-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .05);
  color: #d8e8ff;
  font-size: 13px;
}

.twitch-live-pill strong {
  color: #fff;
  font-weight: 700;
}

.twitch-live-actions {
  flex-wrap: wrap;
}

.twitch-preview-link {
  display: block;
  width: 100%;
}

.twitch-preview-link--live {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.twitch-preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 5, 3, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.twitch-preview-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0D0B09;
}

@media (max-width: 780px) {
  .twitch-live-layout {
    grid-template-columns: 1fr;
  }

  .twitch-live-head {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .twitch-live-head {
    flex-direction: column;
  }

  .feature-card--live {
    width: 100%;
  }

  .twitch-live-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.feature-card:hover {
  border-color: rgba(var(--accent-rgb), .2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .2);
  color: var(--accent);
  transition: background .25s, border-color .25s;
}

.feature-card:hover .feature-icon {
  background: rgba(var(--accent-rgb), .15);
  border-color: rgba(var(--accent-rgb), .35);
}

.feature-title {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.feature-desc {
  color: #7a6a50;
  font-size: 14px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   GAME CARDS
   ═══════════════════════════════════════ */
.game-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.game-card {
  background: #141210;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .28s, box-shadow .28s;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}

.game-thumb {
  height: 155px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
}

.lol-thumb {
  background:
    linear-gradient(180deg, rgba(6, 5, 3, .15) 0%, rgba(6, 5, 3, .7) 100%),
    url('medias/lol.webp') center/cover no-repeat;
}

.scum-thumb {
  background:
    linear-gradient(180deg, rgba(6, 5, 3, .15) 0%, rgba(6, 5, 3, .7) 100%),
    url('medias/scum.webp') center/cover no-repeat;
}

.mc-thumb {
  background:
    linear-gradient(180deg, rgba(6, 5, 3, .15) 0%, rgba(6, 5, 3, .7) 100%),
    url('medias/minecraft.webp') center/cover no-repeat;
}

.game-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.game-status.live { color: #4ade80; }
.game-status.soon { color: #f59e0b; }
.game-status.offline { color: #ef4444; }

.game-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
}

.game-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.game-desc {
  color: #7a6a50;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.game-footer {
  padding-top: 0;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.game-cta {
  margin-top: 18px;
}

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, .06);
  color: #7a6a50;
}

/* ═══════════════════════════════════════
   GLASS CARD (reusable)
   ═══════════════════════════════════════ */
.glass-card {
  background: rgba(20, 18, 16, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  background-clip: padding-box;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(166, 124, 0, .25)  0%,
    rgba(212, 175, 55, .6)  30%,
    rgba(255, 229, 102, .4) 50%,
    rgba(212, 175, 55, .6)  70%,
    rgba(166, 124, 0, .25)  100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.site-auth-notice-wrap {
  margin-top: 22px;
  margin-bottom: 8px;
}

.site-auth-notice {
  padding: 18px 20px;
  border-color: rgba(var(--accent-rgb), .26);
}

.site-auth-notice.is-warning {
  border-color: rgba(245, 158, 11, .35);
  box-shadow: 0 16px 34px rgba(245, 158, 11, .12);
}

.site-auth-notice.is-error {
  border-color: rgba(239, 68, 68, .35);
  box-shadow: 0 16px 34px rgba(239, 68, 68, .12);
}

.site-auth-notice__content {
  display: grid;
  gap: 10px;
}

.site-auth-notice__title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 28px);
}

.site-auth-notice__desc {
  margin: 0;
  max-width: 70ch;
}

.site-auth-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 15px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Headers principaux des onglets profil — style identique à "Mon profil" */
.profile-panel > .card-header,
.profile-admin-head .card-header {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--accent-rgb), .22);
}

.profile-panel > .card-header .bi,
.profile-admin-head .card-header .bi {
  font-size: 20px;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--accent);
}

.widget-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
}

/* ═══════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════ */
.community-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-list { display: flex; flex-direction: column; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.info-row:last-child { border-bottom: none; }

.info-row dt {
  font-size: 13px;
  color: #5a4a30;
  flex-shrink: 0;
}

.info-row dd {
  font-size: 13px;
  color: #9a8870;
  font-weight: 500;
  text-align: right;
}

.status-card { padding: 20px 24px; }

.status-label {
  font-size: 11px;
  font-weight: 700;
  color: #5a4a30;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.status-content {
  font-size: 14px;
  color: #7a6a50;
  line-height: 1.6;
}

.status-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-dot--online  { background: #22c55e; box-shadow: 0 0 6px #22c55e88; }
.status-dot--offline { background: #f59e0b; box-shadow: 0 0 6px #f59e0b88; }

.stagger-item {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  animation: stagger-in .82s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(70ms * var(--stagger-index, 0));
}

@keyframes stagger-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════
   CREDIBILITY + TESTIMONIALS
   ═══════════════════════════════════════ */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.partner-chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #9a8870;
  font-size: 12px;
  font-weight: 600;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: #141210;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  padding: 22px;
}

.quote {
  color: #c8b898;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-meta strong {
  display: block;
  color: #e8dcc8;
  font-size: 14px;
}

.quote-meta small {
  color: #7a6a50;
  font-size: 12px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar--img {
  object-fit: cover;
  background: none;
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  padding: 14px 16px;
}

.faq-item summary {
  color: #e8dcc8;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 9px;
  color: #7a6a50;
  font-size: 14px;
}

/* ═══════════════════════════════════════
   SCUM PAGE
   ═══════════════════════════════════════ */
.scum-page {
  padding-bottom: 70px;
}

.scum-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
}

.scum-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 86% 16%, rgba(var(--accent-rgb), .14), transparent 70%),
    radial-gradient(ellipse 45% 40% at 8% 95%, rgba(var(--accent2-rgb), .15), transparent 72%);
  pointer-events: none;
}

.scum-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.scum-title {
  margin-bottom: 22px;
  max-width: 700px;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

.scum-subtitle {
  margin: 0;
  max-width: 680px;
  font-size: 1.2rem;
  line-height: 1.75;
}

.scum-hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scum-kpis {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 14px;
  max-width: 580px;
}

.scum-kpi-card {
  padding: 26px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(20, 18, 16, .75);
}

.scum-kpi-card strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  font-size: 28px;
}

.scum-kpi-card span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  color: #9a8870;
}

.scum-hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
}

.scum-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.scum-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 5, 3, .2) 0%, rgba(6, 5, 3, .68) 100%);
}

.scum-visual-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(6, 5, 3, .75);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fdf0c0;
  font-size: 12px;
  font-weight: 600;
}

.icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.scum-kpi-card .icon-inline {
  gap: 20px;
}

.scum-kpi-card .icon-inline .bi {
  margin-right: 4px;
}

.icon-inline .bi {
  color: rgba(var(--accent-rgb), .95);
  font-size: .95em;
  filter: drop-shadow(0 2px 8px rgba(var(--accent-rgb), .35));
}

.card-header .icon-inline .bi {
  font-size: 16px;
  color: var(--accent);
  -webkit-text-fill-color: initial;
  background: none;
  filter: drop-shadow(0 2px 8px rgba(var(--accent-rgb), .5));
  flex-shrink: 0;
}

.profile-mini-card .card-header {
  margin-bottom: 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-row dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-row dt .bi {
  color: rgba(var(--accent-rgb), .9);
}

.scum-aspects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scum-aspect-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(20, 18, 16, .84);
  transition: transform .24s, box-shadow .24s, border-color .24s;
}

.scum-aspect-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .42);
}

.scum-aspect-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.scum-aspect-body {
  padding: 18px;
}

.scum-aspect-body h3 {
  color: #fdf6e8;
  font-size: 18px;
  margin-bottom: 8px;
}

.scum-aspect-body p {
  color: #9a8870;
  font-size: 14px;
  line-height: 1.65;
}

.scum-timeline-section {
  padding-top: 28px;
}

.scum-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scum-list-card {
  height: 100%;
}

.scum-boutique-image-card {
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scum-boutique-image-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.scum-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
}

.scum-bullet-list li {
  color: #9a8870;
  font-size: 14px;
  line-height: 1.55;
}

.scum-bullet-list li strong {
  color: #e8dcc8;
}

.scum-bullet-list--cols {
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.scum-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vip-page {
  padding-top: 20px;
  padding-bottom: 34px;
}

.vip-hero {
  padding-top: 36px;
}

.vip-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  gap: 14px;
  align-items: start;
  justify-content: center;
}

.vip-card {
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  align-content: start;
  --vip-accent-rgb: var(--accent-rgb);
  --vip-accent2-rgb: var(--accent2-rgb);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vip-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 10% 0%, rgba(var(--vip-accent-rgb), .22) 0%, rgba(var(--vip-accent-rgb), 0) 55%),
    radial-gradient(110% 70% at 100% 100%, rgba(var(--vip-accent2-rgb), .16) 0%, rgba(var(--vip-accent2-rgb), 0) 58%);
  z-index: 0;
}

.vip-card > * {
  position: relative;
  z-index: 1;
}

.vip-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--vip-accent-rgb), .45);
  box-shadow: 0 20px 38px rgba(6, 5, 3, .48), 0 0 0 1px rgba(var(--vip-accent-rgb), .14);
}

.vip-card--scum {
  --vip-accent-rgb: var(--accent-rgb);
  --vip-accent2-rgb: var(--accent2-rgb);
}

.vip-card--minecraft {
  --vip-accent-rgb: var(--accent2-rgb);
  --vip-accent2-rgb: var(--accent-rgb);
}

.vip-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.vip-steps li {
  color: #c8b898;
  line-height: 1.5;
}

.vip-benefits {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.vip-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fdf0c0;
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(15, 12, 6, .48);
}

.vip-benefits li i {
  color: rgb(var(--vip-accent-rgb));
}

.scum-step {
  background: rgba(20, 18, 16, .88);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 20px;
}

.scum-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.scum-step h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}

.scum-step p {
  color: #9a8870;
  font-size: 14px;
  line-height: 1.6;
}

.scum-info-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.vip-card {
  display: grid;
  gap: 16px;
}

.vip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--vip-accent-rgb), .22);
}

.vip-hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 6px;
}

.vip-hero-logo {
  width: min(100%, 220px);
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(var(--vip-accent-rgb), .32);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 12px 28px rgba(6, 5, 3, .28);
}

.vip-card-head h3 {
  margin: 0;
  color: #fdf6e8;
  font-size: 22px;
  font-family: 'Orbitron', sans-serif;
}

.vip-price {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(var(--vip-accent-rgb), .22), rgba(var(--vip-accent2-rgb), .18));
  border: 1px solid rgba(var(--vip-accent-rgb), .35);
  color: #e8dcc8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.vip-intro {
  margin: 0;
}

.vip-bullet-list {
  gap: 11px;
}

.vip-actions {
  margin-top: 6px;
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.vip-checkout-form {
  width: 100%;
}

.vip-note {
  margin: 0;
  font-size: 12px;
  color: #7a6a50;
}

.scum-vip-cta {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .96), rgba(var(--accent2-rgb), .92));
  border: 1px solid rgba(var(--accent-rgb), .42);
  box-shadow: 0 14px 32px rgba(var(--accent-rgb), .22);
}

.scum-vip-cta:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 36px rgba(var(--accent-rgb), .30);
}

.scum-vip-cta__badge {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(10, 9, 8, .18);
  color: #fff;
  flex-shrink: 0;
}

.scum-vip-cta__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.scum-vip-cta__text strong {
  color: #0A0908;
  font-size: 15px;
  line-height: 1.1;
}

.scum-vip-cta__text small {
  color: rgba(10, 9, 8, .78);
  font-size: 12px;
  font-weight: 700;
}

.payment-result-page {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  padding: 48px 24px;
}

.payment-result-card {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  --result-rgb: var(--accent-rgb);
  --result-rgb-2: var(--accent2-rgb);
}

.payment-result-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(var(--result-rgb), .20) 0%, rgba(var(--result-rgb), 0) 56%),
    radial-gradient(120% 70% at 100% 100%, rgba(var(--result-rgb-2), .16) 0%, rgba(var(--result-rgb-2), 0) 60%);
  z-index: 0;
}

.payment-result-card > * {
  position: relative;
  z-index: 1;
}

.payment-result-card.is-success {
  --result-rgb: 34, 197, 94;
  --result-rgb-2: var(--accent-rgb);
}

.payment-result-card.is-cancel {
  --result-rgb: 249, 115, 22;
  --result-rgb-2: 239, 68, 68;
}

.payment-result-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--result-rgb), .96), rgba(var(--result-rgb-2), .84));
  box-shadow: 0 14px 30px rgba(6, 5, 3, .34);
}

.payment-result-copy {
  display: grid;
  gap: 10px;
}

.payment-result-copy .section-title {
  margin-bottom: 0;
}

.payment-result-copy .section-desc {
  margin: 0;
  max-width: 68ch;
}

.payment-result-copy .section-desc p {
  margin: 0;
}

.maintenance-body {
  min-height: 100vh;
  background:
    radial-gradient(60% 60% at 0% 0%, rgba(var(--accent-rgb), .16) 0%, rgba(6, 5, 3, 0) 60%),
    radial-gradient(50% 50% at 100% 0%, rgba(var(--accent2-rgb), .14) 0%, rgba(6, 5, 3, 0) 58%),
    linear-gradient(180deg, rgba(6, 5, 3, .98), rgba(6, 5, 3, 1));
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 40px 24px;
}

.maintenance-card {
  max-width: 940px;
  gap: 24px;
  padding: 32px;
  --result-rgb: var(--accent-rgb);
  --result-rgb-2: var(--accent2-rgb);
  box-shadow: 0 24px 70px rgba(6, 5, 3, .42);
}

.maintenance-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: rgba(15, 12, 6, .72);
  color: #fdf0c0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.maintenance-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .65);
}

.maintenance-hero {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.maintenance-brand {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.maintenance-logo-wrap {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .18), rgba(var(--accent2-rgb), .16));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 34px rgba(6, 5, 3, .32);
}

.maintenance-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.maintenance-copy {
  gap: 12px;
}

.maintenance-copy .section-desc {
  display: grid;
  gap: 10px;
  max-width: 64ch;
}

.maintenance-muted {
  color: rgba(148, 163, 184, .76);
  font-size: 14px;
}

.maintenance-actions {
  padding-top: 4px;
}

.payment-result-highlight {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--result-rgb), .24);
  background: linear-gradient(135deg, rgba(var(--result-rgb), .12), rgba(14, 11, 5, .78));
}

.payment-result-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: #fdf6e8;
  font-size: 15px;
}

.payment-result-highlight p {
  margin: 0;
  color: #c8b898;
  line-height: 1.6;
}

.payment-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.payment-result-step {
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 11, 5, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.payment-result-step strong {
  display: block;
  margin-bottom: 6px;
  color: #fdf6e8;
  font-size: 15px;
}

.payment-result-step p {
  margin: 0;
  color: #9a8870;
  font-size: 13px;
  line-height: 1.55;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-result-help {
  margin: 4px 0 0;
  color: rgba(148, 163, 184, .72);
  font-size: 12px;
  text-align: center;
  opacity: .82;
}

@media (max-width: 760px) {
  .payment-result-page,
  .maintenance-page {
    padding: 30px 16px;
  }

  .maintenance-card {
    padding: 24px;
  }

  .maintenance-hero {
    grid-template-columns: 1fr;
  }

  .payment-result-grid {
    grid-template-columns: 1fr;
  }

  .payment-result-actions > * {
    width: 100%;
    justify-content: center;
  }
}

.server-overview-card {
  display: grid;
  gap: 20px;
  padding: 30px;
}

.server-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.server-overview-panel,
.server-status-panel,
.server-rules-panel {
  border: 1px solid rgba(212, 175, 55, .12);
  background: rgba(14, 11, 6, .72);
  border-radius: 16px;
}

.server-overview-panel {
  padding: 18px 20px 8px;
}

.server-overview-panel .card-header {
  margin-bottom: 8px;
}

.server-status-panel {
  padding: 18px 20px 8px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
}

.server-status-panel .card-header {
  margin-bottom: 8px;
}

.server-status-content {
  display: grid;
  gap: 8px;
}

.server-status-list .info-row {
  padding: 13px 0;
}

.server-status-list .info-row dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8b898;
}

.server-status-list .info-row dd {
  color: #e8dcc8;
  max-width: 60%;
}

.server-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.server-status-badge.is-online {
  color: #dcfce7;
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .28);
}

.server-status-badge.is-offline {
  color: #fde68a;
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .26);
}

.server-status-warning {
  margin: 2px 0 0;
  font-size: 12px;
  color: #fbbf24;
  line-height: 1.5;
}

.server-rules-panel {
  margin-top: 0;
  padding: 18px 20px;
}

.scum-rules {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.scum-rules h3 {
  color: #fdf6e8;
  font-size: 15px;
  margin-bottom: 10px;
}

.scum-section-text {
  color: #9a8870;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.scum-rules ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.scum-rules li {
  color: #9a8870;
  font-size: 14px;
}

.scum-side-image {
  padding: 0;
  overflow: hidden;
}

.scum-side-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
}

.scum-final-cta {
  margin-top: 16px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 80px;
}

.scum-final-cta h2 {
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
}

.scum-final-cta p {
  color: #9a8870;
  max-width: 620px;
}

/* ═══════════════════════════════════════
   MINECRAFT — EN CONSTRUCTION
   ═══════════════════════════════════════ */
.mc-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 84px - 180px);
  padding: 80px 24px;
}

.mc-construction-inner {
  text-align: center;
  max-width: 600px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.mc-construction-icon {
  font-size: 64px;
  color: rgba(var(--accent-rgb), .9);
  filter: drop-shadow(0 4px 24px rgba(var(--accent-rgb), .35));
}

.mc-construction-inner .section-title {
  margin: 0;
}

.mc-construction-inner .section-desc {
  margin: 0;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: #090807;
  border-top: 1px solid rgba(212, 175, 55, .08);
  margin-top: 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 14px;
  color: #5a4a30;
  line-height: 1.65;
  max-width: 260px;
  margin-top: 4px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #7a6a50;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: #5a4a30;
  text-decoration: none;
  margin-bottom: 11px;
  transition: color .2s;
}

.footer-link:hover { color: #9a8870; }

.footer-dropdown {
  margin-bottom: 11px;
}

.footer-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.footer-dropdown summary::-webkit-details-marker { display: none; }

.footer-dropdown summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .7;
  transition: transform .2s, opacity .2s;
}

.footer-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.footer-sub-link {
  margin: 8px 0 0 14px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #3d3020;
}

/* ═══════════════════════════════════════
   PROFILE DASHBOARD
   ═══════════════════════════════════════ */
.profile-body {
  min-height: 100vh;
}

body.modal-open,
.profile-body.modal-open {
  overflow: hidden;
}

.profile-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 34px;
}

.profile-sidebar {
  position: sticky;
  top: 18px;
  height: fit-content;
  display: grid;
  gap: 22px;
}

.profile-sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-logo-mark {
  width: 54px;
  height: 54px;
}

.profile-sidebar-title {
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.profile-sidebar-subtitle {
  color: #7a6a50;
  font-size: 13px;
}

.profile-menu {
  display: grid;
  gap: 8px;
}

.profile-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: #c8b898;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.profile-menu-link:hover,
.profile-menu-link.is-active {
  color: #fff;
  border-color: rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .11);
}

.profile-sidebar-actions {
  display: grid;
  gap: 9px;
}

.profile-content {
  display: grid;
  gap: 18px;
}

.profile-panels {
  display: block;
}

.profile-panel {
  display: none;
}

.profile-panel.is-active {
  display: block;
}

.profile-content > .profile-panel {
  display: none;
}

.profile-content > .profile-panel.is-active {
  display: grid;
}

.profile-panels > .profile-panel {
  display: none;
}

.profile-panels > .profile-panel.is-active {
  display: block;
}

.profile-hero {
  display: grid;
  gap: 20px;
}

.profile-user-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  object-fit: cover;
  background: #141210;
}

.profile-meta {
  margin: 0;
  max-width: none;
}

.profile-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-overview-account {
  border-color: rgba(var(--accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(12, 10, 6, .92), rgba(14, 11, 5, .72)),
    radial-gradient(circle at top left, rgba(var(--accent-rgb), .12), transparent 55%);
  position: relative;
  overflow: hidden;
}

.profile-overview-account::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent2-rgb), .7));
}

/* Badge identité — même style que grade-badge */
.discord-identity-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .18), rgba(var(--accent2-rgb), .10));
  border: 1px solid rgba(var(--accent-rgb), .35);
  margin-bottom: 14px;
}

.discord-identity-name {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D4AF37;
}

.discord-identity-tag {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #D4AF37;
  background: rgba(212, 175, 55, .15);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 5px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.profile-overview-account .info-row {
  border-bottom-color: rgba(var(--accent-rgb), .10);
}

.profile-overview-account .info-row dt {
  font-size: .78rem !important;
  color: rgba(255, 255, 255, .75) !important;
}

.profile-overview-account .info-row dd {
  font-size: .78rem !important;
  color: #D4AF37 !important;
  font-weight: 600 !important;
}

.profile-vip-card {
  border-color: rgba(var(--accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(12, 10, 6, .92), rgba(14, 11, 5, .72)),
    radial-gradient(circle at bottom right, rgba(var(--accent-rgb), .12), transparent 55%);
  position: relative;
  overflow: hidden;
}

.profile-vip-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent2-rgb), .7));
}

/* En-tête interne VIP — style grade-badge */
.profile-vip-card .profile-data-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-vip-card .profile-data-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .18), rgba(var(--accent2-rgb), .10));
  border: 1px solid rgba(var(--accent-rgb), .35);
}

.profile-vip-card .profile-data-heading strong {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D4AF37;
}

.profile-vip-card .profile-data-card > p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

.profile-vip-card .profile-data-card > p strong {
  color: #D4AF37;
}

.profile-kpi-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 11, 5, .6);
  padding: 14px;
}

.profile-kpi-card span {
  display: block;
  color: #7a6a50;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.profile-kpi-card strong {
  color: #fff;
  font-size: 19px;
  font-family: 'Orbitron', sans-serif;
}

.profile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #c8b898;
  font-size: 12px;
  font-weight: 700;
}

.profile-badge--pending {
  color: #fdf6e8;
  border-color: rgba(148, 163, 184, .3);
  background: rgba(148, 163, 184, .16);
}

.profile-badge--ok {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, .4);
  background: rgba(34, 197, 94, .18);
}

.profile-badge--warn {
  color: #fde68a;
  border-color: rgba(245, 158, 11, .4);
  background: rgba(245, 158, 11, .18);
}

.profile-inline-desc {
  margin: 0;
  max-width: none;
  text-align: left;
}

.profile-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.profile-inline-actions--end {
  justify-content: flex-end;
}

.profile-community-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-lol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-lol-grid--secondary {
  margin-top: 10px;
}

.profile-lol-grid--secondary .profile-mini-card:only-child {
  grid-column: 1 / -1;
}

.profile-lol-grid--compact {
  gap: 8px;
}

.profile-lol-grid--compact .profile-mini-card {
  padding: 10px;
}

.profile-lol-grid--compact .profile-stack-list {
  gap: 4px;
}

.profile-lol-grid--compact .profile-data-card p {
  margin-top: 2px;
  font-size: 12px;
}

.profile-stack-list {
  display: grid;
  gap: 10px;
}

.profile-lol-player-search-card {
  padding: 16px;
}

.profile-lol-player-search-form {
  margin: 0;
}

.profile-lol-player-search-input {
  width: 100%;
  min-height: 66px;
  font-size: 1.2rem;
  border-radius: 18px;
  padding: 0 22px;
}

.profile-lol-player-results {
  margin-top: 14px;
  gap: 8px;
}

.profile-lol-player-results .profile-data-card {
  cursor: pointer;
}

.profile-lol-player-pagination {
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.profile-lol-player-page-label {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e8dcc8;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-data-card {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  padding: 12px;
}

.profile-data-card strong {
  color: #fff;
  font-size: 14px;
}

.profile-data-card p {
  margin-top: 4px;
  color: #9a8870;
  font-size: 13px;
}

.profile-data-card.is-win {
  border-color: rgba(34, 197, 94, .28);
  background: rgba(34, 197, 94, .08);
}

.profile-data-card.is-loss {
  border-color: rgba(239, 68, 68, .24);
  background: rgba(239, 68, 68, .08);
}

.profile-data-card.is-remake {
  border-color: rgba(148, 163, 184, .22);
  background: rgba(148, 163, 184, .05);
}

.profile-member-giveaway-card.is-joined {
  border-color: rgba(34, 197, 94, .28);
  background: rgba(34, 197, 94, .08);
}

.profile-member-giveaway-card.is-upcoming {
  border-color: rgba(245, 158, 11, .24);
  background: rgba(245, 158, 11, .08);
}

.profile-data-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* Single-row card layout: icon · name · stats · badge all inline */
.profile-data-card--row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
}

.profile-data-card--row .profile-data-heading {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.profile-data-card--row .profile-data-heading strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.profile-data-card--row .profile-data-card-stats {
  color: #9a8870;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-data-card--row .profile-badge {
  flex-shrink: 0;
}

.profile-data-card--row .profile-rank-emblem-frame {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
}

.profile-data-card--row .profile-rank-emblem {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: none;
  flex-shrink: 0;
}

.profile-data-card--row .profile-champion-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

/* Ranked queues : deux lignes avec grand emblème */
.profile-data-card--ranked .profile-rank-emblem-frame {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

.profile-data-card--ranked .profile-rank-emblem {
  width: 220px;
  height: 220px;
  object-fit: contain;
  flex-shrink: 0;
}


.profile-data-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.profile-rank-emblem-frame {
  width: 124px;
  height: 124px;
  border-radius: 22px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  flex-shrink: 0;
}

.profile-rank-emblem {
  width: 190px;
  height: 190px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28));
  transform: scale(1.28) translateY(6px);
  transform-origin: center;
}

.profile-champion-icon,
.profile-champion-splash {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
}

.profile-champion-splash {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.profile-data-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: #c8b898;
  font-size: 12px;
}

.profile-lol-clash-team .status-label {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #D4AF37;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-lol-clash-team .status-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, .2);
}

.profile-lol-clash-team {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* =============================================
   META TAB — visual components
   ============================================= */

.meta-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.meta-patch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(212, 175, 55, .08));
  border: 1px solid rgba(212, 175, 55, .3);
  color: #FFE566;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
}

.meta-updated-label {
  color: #5a4a30;
  font-size: 12px;
}

.meta-narrative {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(212, 175, 55, .05);
  border: 1px solid rgba(212, 175, 55, .12);
  color: #9a8870;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 4px;
}

.meta-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 10px;
}

.meta-section-header span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #D4AF37;
  text-transform: uppercase;
  white-space: nowrap;
}

.meta-section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, .15);
}

/* Champion hero grid */
.meta-champion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 540px) {
  .meta-champion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.meta-champion-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 11, 5, .8);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.meta-champion-card:hover {
  border-color: rgba(212, 175, 55, .3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.meta-champion-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, .5);
}

.meta-champion-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s;
}

.meta-champion-card:hover .meta-champion-card-img-wrap img {
  transform: scale(1.06);
}

.meta-champion-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(14, 11, 5, .92) 100%);
  pointer-events: none;
}

.meta-champion-card-rank {
  position: absolute;
  top: 7px;
  left: 8px;
  z-index: 2;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, .45);
  border-radius: 5px;
  padding: 2px 6px;
  backdrop-filter: blur(4px);
}

.meta-champion-card-tier {
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
}

.meta-champion-card-info {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-champion-card-name {
  font-weight: 700;
  color: #e8dcc8;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-champion-card-role {
  font-size: 10px;
  color: #5a4a30;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.meta-champion-card-stats {
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}

.meta-stat-pick { color: #D4AF37; }
.meta-stat-wr   { color: #4ade80; }

/* Winrate bar (reused in both champion cards and wr list) */
.meta-winrate-bar-wrap {
  margin-top: 5px;
}

.meta-winrate-bar-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}

.meta-winrate-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #D4AF37, #22c55e);
  transition: width .8s cubic-bezier(.4, 0, .2, 1);
}

/* Role strength chart */
.meta-role-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-role-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-role-label {
  width: 58px;
  font-size: 12px;
  color: #9a8870;
  text-align: right;
  flex-shrink: 0;
}

.meta-role-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}

.meta-role-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .9s cubic-bezier(.4, 0, .2, 1);
}

.meta-role-pct {
  width: 34px;
  font-size: 12px;
  color: #5a4a30;
  flex-shrink: 0;
}

/* Top winrate ranked list */
.meta-winrate-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.meta-wr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: background .15s, border-color .15s;
}

.meta-wr-row:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .1);
}

.meta-wr-rank {
  width: 20px;
  text-align: center;
  font-size: 11px;
  color: #5a4a30;
  flex-shrink: 0;
  font-weight: 700;
}

.meta-wr-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
}

.meta-wr-info {
  flex: 1;
  min-width: 0;
}

.meta-wr-name {
  font-size: 13px;
  font-weight: 600;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-wr-sub {
  font-size: 11px;
  color: #7a6a50;
  margin-top: 1px;
}

.meta-wr-bar-wrap {
  width: 100px;
  flex-shrink: 0;
}

.meta-wr-value {
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
  flex-shrink: 0;
  font-family: 'Orbitron', sans-serif;
  min-width: 46px;
  text-align: right;
}

.meta-wr-tier {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
}

/* Items grid */
.meta-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.meta-item-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: background .15s, border-color .15s;
}

.meta-item-card:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .1);
}

.meta-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(14, 11, 5, .8);
}

.meta-item-info {
  flex: 1;
  min-width: 0;
}

.meta-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-item-sub {
  font-size: 11px;
  color: #7a6a50;
  margin-top: 2px;
}

.meta-item-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.meta-item-wr {
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
  font-family: 'Orbitron', sans-serif;
}

.meta-item-pick {
  font-size: 11px;
  color: #7a6a50;
}

/* Rune list */
.meta-rune-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-rune-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: background .15s, border-color .15s;
}

.meta-rune-row:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .1);
}

.meta-rune-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 2px;
}

.meta-rune-info {
  flex: 1;
  min-width: 0;
}

.meta-rune-name {
  font-size: 13px;
  font-weight: 600;
  color: #e8dcc8;
}

.meta-rune-roles {
  font-size: 11px;
  color: #7a6a50;
  margin-top: 2px;
}

.meta-rune-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
  min-width: 60px;
}

.meta-rune-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #A67C00, #E8C84A);
  transition: width .9s cubic-bezier(.4, 0, .2, 1);
}

.meta-rune-usage {
  font-size: 12px;
  font-weight: 700;
  color: #E8C84A;
  flex-shrink: 0;
  min-width: 40px;
  text-align: right;
  font-family: 'Orbitron', sans-serif;
}

/* Tips list */
.meta-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-tips-list li {
  display: block;
  padding: 11px 14px 11px 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .05);
  font-size: 13px;
  color: #9a8870;
  line-height: 1.6;
  position: relative;
}

.meta-tips-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4AF37;
  position: absolute;
  left: 14px;
  top: 18px;
  flex-shrink: 0;
}

.meta-tips-list li strong {
  color: #e8dcc8;
}

/* Patch notes card */
.meta-patch-notes-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .07), rgba(139, 92, 246, .07));
  border: 1px solid rgba(212, 175, 55, .18);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
  margin-bottom: 6px;
}

.meta-patch-notes-card:hover {
  border-color: rgba(212, 175, 55, .35);
  background: linear-gradient(135deg, rgba(212, 175, 55, .13), rgba(139, 92, 246, .13));
}

.meta-patch-notes-icon {
  font-size: 26px;
  flex-shrink: 0;
  color: #D4AF37;
}

.meta-patch-notes-text strong {
  display: block;
  color: #e8dcc8;
  font-size: 14px;
  font-weight: 700;
}

.meta-patch-notes-text span {
  color: #7a6a50;
  font-size: 12px;
}

.meta-patch-notes-arrow {
  margin-left: auto;
}

/* ── Meta: Bans ───────────────────────────────────────────── */
.meta-ban-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .meta-ban-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
  }

  .meta-ban-rank {
    width: 22px;
    font-size: 12px;
    font-weight: 700;
    color: #5a4a30;
    text-align: center;
    flex-shrink: 0;
  }

  .meta-ban-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(239, 68, 68, .4);
    flex-shrink: 0;
    background: rgba(239, 68, 68, .08);
  }

  .meta-ban-info {
    flex: 1;
    min-width: 0;
  }

  .meta-ban-name {
    font-size: 13px;
    font-weight: 600;
    color: #e8dcc8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .meta-ban-reason {
    font-size: 11px;
    color: #7a6a50;
    margin-top: 1px;
  }

  .meta-ban-bar-track {
    width: 100px;
    height: 5px;
    border-radius: 3px;
    background: rgba(239, 68, 68, .12);
    overflow: hidden;
    flex-shrink: 0;
  }

  .meta-ban-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
  }

  .meta-ban-rate {
    font-size: 12px;
    font-weight: 700;
    color: #f87171;
    font-family: 'Orbitron', sans-serif;
    width: 44px;
    text-align: right;
    flex-shrink: 0;
  }


  /* ── Meta: Compositions ───────────────────────────────────── */
  .meta-comp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  @media (max-width: 540px) {
    .meta-comp-grid { grid-template-columns: 1fr; }
  }

  .meta-comp-card {
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color .2s;
  }

  .meta-comp-card:hover {
    border-color: rgba(212, 175, 55, .25);
  }

  .meta-comp-header {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .meta-comp-icon {
    font-size: 22px;
    flex-shrink: 0;
  }

  .meta-comp-title {
    font-size: 13px;
    font-weight: 700;
    color: #e8dcc8;
  }

  .meta-comp-strength {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    flex-shrink: 0;
  }

  .meta-comp-desc {
    font-size: 12px;
    color: #7a6a50;
    line-height: 1.5;
  }

  .meta-comp-champs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .meta-comp-champ-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 11px;
    color: #9a8870;
  }

  .meta-comp-champ-pill img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
  }

  .meta-comp-phases {
    display: flex;
    gap: 6px;
  }

  .meta-comp-phase {
    flex: 1;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 4px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
  }


  /* ── Meta: Duos ───────────────────────────────────────────── */
  .meta-duo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  @media (max-width: 540px) {
    .meta-duo-list { grid-template-columns: 1fr; }
  }

  .meta-duo-card {
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color .2s;
  }

  .meta-duo-card:hover {
    border-color: rgba(168, 85, 247, .3);
  }

  .meta-duo-icons {
    position: relative;
    width: 52px;
    height: 36px;
    flex-shrink: 0;
  }

  .meta-duo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(168, 85, 247, .4);
    position: absolute;
    background: rgba(168, 85, 247, .1);
  }

  .meta-duo-icon:first-child {
    left: 0;
    top: 0;
    z-index: 2;
  }

  .meta-duo-icon:last-child {
    left: 18px;
    top: 2px;
    z-index: 1;
    border-color: rgba(212, 175, 55, .4);
  }

  .meta-duo-info {
    flex: 1;
    min-width: 0;
  }

  .meta-duo-names {
    font-size: 13px;
    font-weight: 700;
    color: #e8dcc8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .meta-duo-lane {
    font-size: 11px;
    color: #7a6a50;
    margin-top: 2px;
  }

  .meta-duo-wr {
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    font-family: 'Orbitron', sans-serif;
    flex-shrink: 0;
  }

  .meta-duo-synergy {
    font-size: 10px;
    color: #9a8870;
    font-style: italic;
    margin-top: 3px;
  }

  .meta-duo-rank {
    color: #5a4a30;
    font-size: 18px;
    flex-shrink: 0;
  }


.profile-lol-clash-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-lol-clash-list-head .status-label {
  margin: 0;
}

.profile-lol-clash-list-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-lol-clash-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(15, 12, 6, .45);
  color: #c8b898;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.profile-lol-clash-filter-toggle input {
  width: 14px;
  height: 14px;
  accent-color: #D4AF37;
}

.profile-lol-clash-filter-toggle:has(input:disabled) {
  opacity: .55;
  cursor: not-allowed;
}

.profile-lol-clash-team--aram {
  border: 1px solid rgba(234, 179, 8, .25);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(133, 77, 14, .28), transparent 55%),
    linear-gradient(180deg, rgba(20, 14, 4, .95), rgba(24, 17, 5, .92));
}

.profile-lol-clash-team--normal {
  border: 1px solid rgba(212, 175, 55, .2);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(30, 64, 175, .22), transparent 55%),
    linear-gradient(180deg, rgba(8, 16, 32, .95), rgba(9, 18, 36, .92));
}

.profile-lol-clash-team--normal .status-label {
  color: #FFE566;
}

.profile-lol-clash-team--normal .status-label::after {
  background: rgba(212, 175, 55, .2);
}

.profile-lol-clash-team--normal .profile-data-card-head {
  border-bottom-color: rgba(212, 175, 55, .2);
}

.profile-lol-clash-team--normal .profile-lol-clash-item:has(.profile-lol-clash-item-player:not(.profile-lol-clash-item-player--empty)) {
  border-color: rgba(212, 175, 55, .25);
  background: linear-gradient(90deg, rgba(15, 12, 6, .5), rgba(166, 124, 0, .2));
}

/* ── Boutons thème ARAM (jaune) ─────────────────────────── */
.profile-lol-clash-team--aram .btn-primary {
  background: #ca8a04;
  color: #fff;
  border: none;
}
.profile-lol-clash-team--aram .btn-primary:hover {
  background: #eab308;
  filter: none;
  box-shadow: 0 8px 28px rgba(234, 179, 8, .35);
}
.profile-lol-clash-team--aram .btn-ghost {
  background: rgba(234, 179, 8, .08);
  color: #fde68a;
  border-color: rgba(234, 179, 8, .3);
}
.profile-lol-clash-team--aram .btn-ghost:hover {
  background: rgba(234, 179, 8, .16);
  border-color: rgba(234, 179, 8, .55);
}

/* ── Boutons thème Normal ───────────────────────── */
.profile-lol-clash-team--normal .btn-primary {
  background: linear-gradient(90deg,
    #3D2B00 0%, #A67C00 15%, #D4AF37 28%, #FFF0A0 42%,
    #F5D060 50%, #FFE566 58%, #C9A227 72%, #8C6500 85%, #3D2B00 100%
  );
  background-size: 200% auto;
  animation: gold-shimmer 4s linear infinite;
  color: #1a1000;
  border: none;
}
.profile-lol-clash-team--normal .btn-primary:hover {
  animation-duration: 1.5s;
  filter: brightness(1.08);
  box-shadow: 0 8px 28px rgba(212, 175, 55, .5);
}
.profile-lol-clash-team--normal .btn-ghost {
  background: rgba(212, 175, 55, .08);
  color: #e8dcc8;
  border-color: rgba(212, 175, 55, .3);
}
.profile-lol-clash-team--normal .btn-ghost:hover {
  background: rgba(212, 175, 55, .16);
  border-color: rgba(212, 175, 55, .55);
}

.profile-lol-clash-team .profile-data-card-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.profile-lol-clash-team .profile-data-card-meta {
  margin-top: 12px;
}

.profile-lol-clash-team .profile-data-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(15, 12, 6, .55);
}

.profile-lol-clash-panels {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.profile-lol-clash-panel {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 12px;
  background: rgba(10, 18, 34, .6);
}

.profile-lol-clash-panel .status-label {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-lol-clash-panel .status-label::after {
  content: '';
  flex: 1;
  height: 1px;
}

.profile-lol-clash-panel--member {
  border-color: rgba(212, 175, 55, .4);
  background: linear-gradient(180deg, rgba(37, 99, 235, .15), rgba(10, 18, 34, .7));
}

.profile-lol-clash-panel--member .status-label {
  color: #FFE566;
}

.profile-lol-clash-panel--member .status-label::after {
  background: rgba(212, 175, 55, .25);
}

.profile-lol-clash-panel--creator {
  border-color: rgba(245, 158, 11, .4);
  background: linear-gradient(180deg, rgba(245, 158, 11, .15), rgba(10, 18, 34, .7));
}

.profile-lol-clash-panel--creator .status-label {
  color: #fcd34d;
}

.profile-lol-clash-panel--creator .status-label::after {
  background: rgba(245, 158, 11, .25);
}

.profile-lol-clash-panel--creator .btn-primary {
  background: #d97706;
  color: #fff;
  border: none;
}

.profile-lol-clash-panel--creator .btn-primary:hover {
  background: #f59e0b;
  filter: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, .35);
}

.profile-lol-clash-panel--creator .btn-ghost {
  background: rgba(245, 158, 11, .1);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, .38);
}

.profile-lol-clash-panel--creator .btn-ghost:hover {
  background: rgba(245, 158, 11, .18);
  border-color: rgba(245, 158, 11, .62);
}

.profile-lol-clash-subtitle {
  margin-top: 10px;
}

.profile-lol-clash-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: #c8b898;
  font-size: 13px;
}

.profile-lol-clash-list--slots {
  gap: 6px;
}

.profile-lol-clash-list--candidates {
  gap: 6px;
}

.profile-lol-clash-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  padding: 8px 12px;
  background: rgba(15, 12, 6, .5);
}

.profile-lol-clash-item:has(.profile-lol-clash-item-player:not(.profile-lol-clash-item-player--empty)) {
  border-color: rgba(212, 175, 55, .22);
  background: linear-gradient(90deg, rgba(15, 12, 6, .5), rgba(140, 109, 0, .2));
}

.profile-lol-clash-item--candidate {
  justify-content: flex-start;
  border-color: rgba(167, 139, 250, .2);
  background: rgba(91, 33, 182, .08);
}

.profile-lol-clash-item-slot {
  color: #9a8870;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 11px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.profile-lol-clash-slot-role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-lol-clash-slot-icon-image {
  width: 15px;
  height: 15px;
  object-fit: contain;
  opacity: .95;
}

.profile-lol-clash-lane-icon-btn {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-lol-clash-slot-text {
  display: inline-block;
}

.profile-lol-clash-item-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #e5edf8;
  font-weight: 600;
}

.profile-lol-clash-item-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.profile-lol-clash-inline-action {
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.1;
}

.profile-lol-clash-player-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-lol-clash-item-player--empty {
  color: #5a4a30;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
}

.profile-lol-clash-position {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .35);
  background: rgba(212, 175, 55, .16);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.clash-summoner-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  vertical-align: middle;
  flex-shrink: 0;
  border: 1px solid rgba(148, 163, 184, .35);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .18), rgba(15, 12, 6, .95));
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.clash-summoner-icon.is-missing {
  opacity: .65;
  filter: grayscale(.25);
}

@media (max-width: 720px) {
  .profile-lol-clash-list-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-lol-clash-list-filters {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-lol-clash-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-lol-clash-item-player {
    width: 100%;
  }

  .profile-lol-clash-item-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-lol-clash-player-label {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
}

.profile-lol-clash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-lol-clash-actions--creator-roster {
  margin-top: 8px;
}

.profile-lol-clash-actions--creator-join {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.profile-lol-clash-join-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.profile-lol-clash-join-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.55));
}

.profile-lol-clash-add-form {
  margin-top: 12px;
  border: 1px solid rgba(245, 158, 11, .25);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(245, 158, 11, .06);
}

.profile-lol-clash-add-form::before {
  content: '\f4fc\00a0 Ajouter un joueur';
  font-family: 'Bootstrap Icons', sans-serif;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 10px;
}

.profile-lol-clash-add-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}

.profile-lol-clash-add-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-lol-clash-add-label > span {
  font-size: 11px;
  font-weight: 700;
  color: #9a8870;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-lol-clash-add-btn {
  white-space: nowrap;
  align-self: end;
}

.profile-lol-match-card {
  margin-top: 12px;
}

.profile-match-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.profile-match-toolbar .status-label {
  margin-bottom: 0;
  margin-right: auto;
}

.profile-match-history-status {
  margin: 0;
  font-size: 11px;
  color: #9a8870;
}

.profile-match-filter-label {
  font-size: 11px;
  color: #9a8870;
}

.profile-match-filter-select {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(14, 11, 5, .65);
  color: #e8dcc8;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
}

/* ── Match card compact header ── */
.profile-match-card {
  padding: 10px 12px;
}

.profile-match-header {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.profile-match-header--compact {
  border-radius: 10px;
  background: rgba(41, 57, 90, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.profile-match-left-rail {
  width: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  flex: 0 1 132px;
}

.profile-match-result-label {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.profile-match-result-label.is-win {
  color: #86efac;
}

.profile-match-result-label.is-loss {
  color: #fca5a5;
}

.profile-match-result-label.is-remake {
  color: #9a8870;
  letter-spacing: .06em;
  font-size: 11px;
  text-transform: uppercase;
}

.profile-match-main-summary {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.profile-match-player-summary {
  min-width: 0;
  width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 210px;
}

.profile-match-champ-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
}

.profile-match-header-body {
  min-width: 120px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-match-header-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-match-champ-name {
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-match-queue {
  font-size: 12px;
  color: #D4AF37;
  font-weight: 700;
}

.profile-match-duration {
  font-size: 12px;
  color: #c8b898;
}

.profile-match-rail-separator {
  display: block;
  height: 1px;
  width: 70px;
  margin: 3px 0;
  background: rgba(148, 163, 184, .35);
}

.profile-match-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
  font-size: 11px;
  color: #9a8870;
}

.profile-match-header-meta strong {
  color: #c8b898;
  font-size: 11px;
}

.profile-match-date {
  color: #5a4a30;
}

.profile-match-inline-build {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  overflow: hidden;
  flex: 1 1 170px;
}

.profile-match-inline-build .profile-spells-runes {
  flex-shrink: 0;
}

.profile-match-inline-build .profile-match-items {
  grid-template-columns: repeat(7, 24px);
  gap: 4px;
}

.profile-match-inline-build .profile-item-slot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.profile-match-inline-build .profile-spell-slot,
.profile-match-inline-build .profile-rune-slot,
.profile-match-inline-build .profile-rune-slot--keystone {
  width: 22px;
  height: 22px;
}

.profile-match-side-meta {
  width: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: #c8b898;
  flex: 0 1 96px;
}

.profile-match-side-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-match-side-meta-date,
.profile-match-side-meta-time {
  display: block;
}

.profile-match-side-meta-time {
  color: #9a8870;
}

.profile-match-team-preview {
  width: 220px;
  padding: 8px 10px;
  flex: 0 1 220px;
  min-width: 170px;
}

.profile-match-team-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-match-team-preview-col {
  display: grid;
  gap: 4px;
}

.profile-match-team-preview-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 5px;
  padding: 1px 2px;
}

a.profile-match-team-preview-row:hover {
  background: rgba(148, 163, 184, .14);
}

.profile-match-team-preview-row span {
  font-size: 12px;
  color: #c8b898;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-match-team-preview-icon {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  flex-shrink: 0;
}

.profile-match-toggle {
  width: 44px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0 10px 10px 0;
  background: rgba(212, 175, 55, .2);
  color: #9a8870;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 1450px) {
  .profile-match-team-preview {
    width: 180px;
    flex-basis: 180px;
    min-width: 150px;
    padding: 8px;
  }

  .profile-match-team-preview-grid {
    gap: 5px;
  }

  .profile-match-team-preview-row span {
    font-size: 11px;
  }

  .profile-match-side-meta {
    display: none;
  }
}

@media (max-width: 1280px) {
  .profile-match-team-preview {
    display: none;
  }

  .profile-match-main-summary {
    border-right: none;
  }
}

.profile-match-toggle i {
  transition: transform .2s ease;
}

.profile-match-card.is-expanded .profile-match-toggle i {
  transform: rotate(180deg);
}

.profile-match-details {
  margin-top: 10px;
}

.profile-badge--loss {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, .4);
  background: rgba(239, 68, 68, .18);
}

.profile-match-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.profile-match-section-title {
  margin: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #c8b898;
  font-weight: 700;
}

.profile-match-items {
  display: grid;
  grid-template-columns: repeat(7, 30px);
  gap: 6px;
}

.profile-match-stuff-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-match-stuff-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  align-items: start;
  justify-content: flex-start;
}

.profile-match-stuff-main,
.profile-match-runes-wrap {
  min-width: 0;
}

.profile-match-vision-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #c8b898;
}

.profile-match-runes-inline {
  margin-top: 0;
  display: grid;
  gap: 5px;
  min-width: 150px;
  max-width: 230px;
}

.profile-match-runes-head {
  margin: 0 0 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #c8b898;
  font-weight: 700;
}

.profile-match-runes-line {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 24px;
}

.profile-match-runes-line--shards {
  margin-top: 1px;
}

.profile-match-runes-label {
  width: 12px;
  flex-shrink: 0;
  text-align: center;
  font-size: 11px;
  color: #9a8870;
  font-weight: 700;
}

.profile-match-runes-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.profile-match-runes-inline .profile-rune-slot {
  width: 22px;
  height: 22px;
}

.profile-match-runes-empty {
  font-size: 11px;
  color: #7a6a50;
}

.profile-spells-runes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-spell-row,
.profile-rune-row {
  display: flex;
  gap: 4px;
}

.profile-spell-slot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}

.profile-spell-slot--empty {
  display: inline-block;
  background: rgba(255, 255, 255, .02);
  border-style: dashed;
  opacity: .45;
}

.profile-rune-slot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .35);
}

.profile-rune-slot--keystone {
  width: 32px;
  height: 32px;
}

.profile-rune-slot--empty {
  display: inline-block;
  background: rgba(255, 255, 255, .02);
  border-style: dashed;
  opacity: .45;
}

.profile-item-slot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}

.profile-item-slot--empty {
  display: inline-block;
  background: rgba(255, 255, 255, .02);
  border-style: dashed;
  opacity: .55;
}

.profile-team-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-team-column {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, .02);
}

.profile-team-column--blue {
  border-color: rgba(212, 175, 55, .28);
  background: rgba(212, 175, 55, .08);
}

.profile-team-column--red {
  border-color: rgba(239, 68, 68, .28);
  background: rgba(239, 68, 68, .08);
}

.profile-team-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.profile-team-list {
  display: grid;
  gap: 6px;
}

.profile-team-player {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 11, 5, .45);
}

.profile-team-player:hover {
  border-color: rgba(var(--accent-rgb), .5);
}

.profile-team-player i {
  margin-left: 10px;
  color: #c8b898;
  font-size: 14px;
}

.profile-team-player-main {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.profile-team-player-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.profile-team-player-body strong {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-team-player-body span {
  font-size: 11px;
  color: #c8b898;
}

.profile-team-loadout {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.profile-team-loadout-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.profile-team-mini-square,
.profile-team-mini-item {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
}

.profile-team-mini-rune {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .35);
  flex-shrink: 0;
}

.profile-team-mini-square--empty,
.profile-team-mini-item--empty,
.profile-team-mini-rune--empty {
  display: inline-block;
  border-style: dashed;
  opacity: .45;
}

.profile-team-tag {
  opacity: .8;
}

.profile-team-champion-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .profile-match-header {
    flex-direction: column;
  }

  .profile-match-header--compact {
    gap: 0;
  }

  .profile-match-left-rail {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-right: 0;
    padding-bottom: 6px;
  }

  .profile-match-main-summary {
    width: 100%;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .profile-match-player-summary {
    width: 100%;
  }

  .profile-match-header-body {
    max-width: 100%;
  }

  .profile-match-inline-build {
    width: 100%;
  }

  .profile-match-side-meta {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .profile-match-team-preview {
    width: 100%;
  }

  .profile-match-toggle {
    width: 100%;
    height: 32px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 10px 10px;
  }

  .profile-match-stuff-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-team-comp-grid {
    grid-template-columns: 1fr;
  }

  .profile-team-player-main {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-team-loadout {
    justify-items: start;
  }

  .profile-admin-head {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-admin-user-grid {
    grid-template-columns: 1fr;
  }
}

.profile-lol-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.profile-lol-hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-lol-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
  flex-shrink: 0;
}

.profile-lol-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 8px;
}

.profile-lol-title {
  margin-bottom: 8px;
}

.profile-lol-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.profile-lol-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.profile-kpis--lol {
  margin-bottom: 14px;
}

.profile-kpis--admin {
  margin-bottom: 14px;
}

.profile-game-subnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.profile-player-view-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.profile-game-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: #c8b898;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
}

.profile-game-tab .bi {
  font-size: 14px;
  line-height: 1;
}

.profile-game-tab:hover,
.profile-game-tab.is-active {
  color: #fff;
  border-color: rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .11);
}

.profile-game-subpanel {
  display: none;
}

.profile-game-subpanel.is-active {
  display: block;
}

@media (max-width: 640px) {
  .profile-game-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-admin-subnav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.profile-admin-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: #c8b898;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
}

.profile-admin-tab .bi {
  font-size: 14px;
  line-height: 1;
}

.profile-admin-tab:hover,
.profile-admin-tab.is-active {
  color: #fff;
  border-color: rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .11);
}

.profile-admin-sections {
  display: block;
}

.profile-admin-subpanel {
  display: none;
}

.profile-admin-subpanel.is-active {
  display: block;
}

.profile-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.profile-admin-search {
  min-width: min(100%, 320px);
}

.profile-admin-report {
  display: grid;
  gap: 12px;
}

.profile-admin-report-body {
  display: grid;
  gap: 12px;
}

.profile-admin-report-text {
  margin: 0;
  color: #fdf0c0;
  line-height: 1.6;
}

.profile-admin-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.profile-admin-report-box {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

.profile-admin-report-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a8870;
  font-weight: 700;
}

.profile-admin-report-box strong {
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}

.profile-admin-report-box small {
  color: #9a8870;
  line-height: 1.45;
  word-break: break-word;
}

.profile-admin-report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-admin-report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-end;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.profile-admin-status-group,
.profile-admin-report-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-admin-report-buttons {
  justify-content: flex-end;
}

.profile-admin-inline-label {
  font-size: 12px;
  color: #9a8870;
  font-weight: 600;
}

.profile-admin-status-select {
  min-width: 150px;
}

.profile-admin-event-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: linear-gradient(180deg, rgba(15, 12, 6, .92) 0%, rgba(16, 13, 7, .98) 100%);
}

.profile-admin-event-card.is-raid {
  border-color: rgba(45, 212, 191, .28);
  box-shadow: 0 10px 24px rgba(30, 22, 5, .18);
}

.profile-admin-event-card.is-inactive {
  border-color: rgba(245, 158, 11, .24);
  opacity: .88;
}

.profile-admin-event-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-admin-event-chips,
.profile-admin-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-admin-event-desc {
  margin: 0;
  color: #fdf0c0;
  line-height: 1.6;
}

.profile-admin-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.profile-admin-event-box {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

.profile-admin-event-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a8870;
  font-weight: 700;
}

.profile-admin-event-box strong {
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}

.profile-admin-event-box small {
  color: #c8b898;
  line-height: 1.5;
  word-break: break-word;
}

.profile-admin-event-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-admin-event-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--event-accent, #D4AF37);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
  flex-shrink: 0;
}

.profile-admin-event-actions {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 720px) {
  .profile-admin-report-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-admin-status-group,
  .profile-admin-report-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-admin-status-select {
    width: 100%;
  }

  .profile-admin-event-grid {
    grid-template-columns: 1fr;
  }
}

.profile-admin-user-card {
  display: grid;
  gap: 12px;
}

.profile-admin-user-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-admin-icon-btn {
  min-width: 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.profile-admin-icon-btn .bi {
  font-size: 16px;
  transition: transform .2s ease;
}

.profile-admin-expand-btn[aria-expanded="true"] .bi {
  transform: rotate(180deg);
}

.profile-admin-user-details {
  display: grid;
  gap: 12px;
}

.profile-admin-user-details[hidden] {
  display: none !important;
}

.profile-admin-user-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-admin-user-box {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  padding: 10px;
}

.profile-admin-user-box strong {
  display: block;
  margin-bottom: 6px;
}

.profile-admin-user-box p {
  margin: 4px 0 0;
}

.profile-admin-user-quick-actions,
.profile-admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.profile-admin-user-quick-actions {
  justify-content: flex-end;
}

.profile-admin-delete-btn {
  color: #fecaca;
  border-color: rgba(248, 113, 113, .35);
  background: rgba(127, 29, 29, .14);
}

.profile-admin-delete-btn:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, .55);
  background: rgba(127, 29, 29, .22);
}

.profile-admin-delete-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.profile-admin-user-edit-panel {
  display: none;
  gap: 12px;
  padding-top: 4px;
}

.profile-admin-user-edit-panel[hidden] {
  display: none !important;
}

.profile-admin-user-card.is-editing .profile-admin-user-edit-panel {
  display: grid;
}

.profile-admin-user-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-admin-user-card.is-editing .profile-data-card-meta,
.profile-admin-user-card.is-editing .profile-badges,
.profile-admin-user-card.is-editing .profile-admin-user-details {
  display: none;
}

.profile-admin-field {
  min-width: min(100%, 220px);
}

.profile-admin-help {
  margin: 0;
  font-size: 12px;
  color: #9a8870;
}

.profile-admin-inline-editor {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.profile-admin-inline-editor[hidden] {
  display: none !important;
}

.profile-admin-reminder-form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.profile-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  align-items: stretch;
  justify-items: center;
  overflow-y: auto;
  padding: 0;
}

.profile-admin-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 5, 3, .82);
  cursor: pointer;
}

.profile-admin-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100vw - 24px));
  min-height: calc(100dvh - 24px);
  margin: 12px auto;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 24px;
  overflow: visible;
  overscroll-behavior: contain;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .46);
}

.profile-admin-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 10px;
  background: inherit;
}

.profile-admin-reminder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

/* When lol-tracker is injected into the kpis grid container, expand to full width */
#lolTrackerSummary:has(.lol-tracker) {
  display: block;
}
/* Hide the "Forme recente" wrapper when insights is empty */
#lolTrackerInsights:empty {
  display: none;
}
#lolTrackerInsights[style*="none"] {
  display: none !important;
}
/* Also hide parent article when insights is hidden */
#lolTrackerInsights[style*="none"] + *,
#lolTrackerInsights:empty {
  display: none;
}
.profile-mini-card:has(#lolTrackerInsights:empty),
.profile-mini-card:has(#lolTrackerInsights[style*="none"]) {
  display: none;
}

/* =====================================================
   LOL TRACKER PRO — design meta.gg / op.gg inspired
   ===================================================== */

/* Layout global du tracker */
.lol-tracker {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header: score + stats principales */
.lol-tracker-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: var(--card-bg, #1C1814);
  border: 1px solid rgba(212, 175, 55, .1);
  border-radius: 14px;
  padding: 22px 24px;
}

/* Score circulaire */
.lol-tracker-score-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.lol-tracker-score-ring svg {
  transform: rotate(-90deg);
}
.lol-tracker-score-ring__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 8; }
.lol-tracker-score-ring__fill  { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.lol-tracker-score-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.lol-tracker-score-ring__value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}
.lol-tracker-score-ring__sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .55;
}

/* Couleur du score */
.lol-tracker-score--bad    .lol-tracker-score-ring__fill { stroke: #e34234; }
.lol-tracker-score--bad    .lol-tracker-score-ring__value { color: #e34234; }
.lol-tracker-score--ok     .lol-tracker-score-ring__fill { stroke: #f0a818; }
.lol-tracker-score--ok     .lol-tracker-score-ring__value { color: #f0a818; }
.lol-tracker-score--good   .lol-tracker-score-ring__fill { stroke: #3fb950; }
.lol-tracker-score--good   .lol-tracker-score-ring__value { color: #3fb950; }

/* Bloc KPI inline dans le header */
.lol-tracker-header-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.lol-tracker-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
}
.lol-tracker-stat__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .5;
}
.lol-tracker-stat__value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.lol-tracker-stat__delta {
  font-size: 11px;
  font-weight: 600;
}
.lol-tracker-stat__delta.is-up   { color: #3fb950; }
.lol-tracker-stat__delta.is-down { color: #e34234; }
.lol-tracker-stat__delta.is-same { color: #f0a818; }

/* Barre de tendance */
.lol-tracker-trend-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg, #1C1814);
  border: 1px solid rgba(212, 175, 55, .1);
  border-radius: 14px;
  padding: 16px 20px;
}
.lol-tracker-trend-bar__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .55;
  white-space: nowrap;
}
.lol-tracker-trend-bar__dots {
  display: flex;
  gap: 4px;
  flex: 1;
}
.lol-tracker-trend-bar__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lol-tracker-trend-bar__dot.is-win  { background: #3fb950; }
.lol-tracker-trend-bar__dot.is-loss { background: #e34234; }
.lol-tracker-trend-bar__trend {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.lol-tracker-trend-bar__trend.is-up   { color: #3fb950; }
.lol-tracker-trend-bar__trend.is-down { color: #e34234; }
.lol-tracker-trend-bar__trend.is-same { color: #f0a818; }

/* Grille de sections */
.lol-tracker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .lol-tracker-header { grid-template-columns: 1fr; }
  .lol-tracker-grid   { grid-template-columns: 1fr; }
}

/* Section générique */
.lol-tracker-section {
  background: var(--card-bg, #1C1814);
  border: 1px solid rgba(212, 175, 55, .1);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lol-tracker-section--full {
  grid-column: 1 / -1;
}
.lol-tracker-section__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .5;
  margin: 0 0 4px;
}

/* Barres de stats vs cibles */
.lol-tracker-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lol-tracker-metric__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
}
.lol-tracker-metric__name { opacity: .7; }
.lol-tracker-metric__values { display: flex; align-items: baseline; gap: 6px; font-weight: 700; }
.lol-tracker-metric__target { font-size: 10px; opacity: .45; font-weight: 400; }
.lol-tracker-metric__bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.lol-tracker-metric__bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .5s ease;
}
.lol-tracker-metric__bar-fill.is-good { background: #3fb950; }
.lol-tracker-metric__bar-fill.is-warn { background: #f0a818; }
.lol-tracker-metric__bar-fill.is-bad  { background: #e34234; }

/* Win vs Loss */
.lol-tracker-winloss {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lol-tracker-winloss__col {
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lol-tracker-winloss__col--win  { background: rgba(63,185,80,.1); border: 1px solid rgba(63,185,80,.25); }
.lol-tracker-winloss__col--loss { background: rgba(227,66,52,.1);  border: 1px solid rgba(227,66,52,.25); }
.lol-tracker-winloss__head {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.lol-tracker-winloss__col--win  .lol-tracker-winloss__head { color: #3fb950; }
.lol-tracker-winloss__col--loss .lol-tracker-winloss__head { color: #e34234; }
.lol-tracker-winloss__row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: .8;
}
.lol-tracker-winloss__row strong { font-weight: 700; opacity: 1; }

/* Champions */
.lol-tracker-champ-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lol-tracker-champ {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}
.lol-tracker-champ__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255,255,255,.08);
}
.lol-tracker-champ__info { display: flex; flex-direction: column; gap: 2px; }
.lol-tracker-champ__name { font-size: 13px; font-weight: 700; }
.lol-tracker-champ__stats { font-size: 11px; opacity: .6; }
.lol-tracker-champ__wr {
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.lol-tracker-champ__wr.is-good { color: #3fb950; }
.lol-tracker-champ__wr.is-warn { color: #f0a818; }
.lol-tracker-champ__wr.is-bad  { color: #e34234; }
.lol-tracker-champ__tip {
  grid-column: 2 / -1;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  padding: 5px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  border-left: 2px solid rgba(240,168,24,.5);
  margin-top: -4px;
}

/* Recommandations */
.lol-tracker-reco-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lol-tracker-reco {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border-left: 3px solid;
}
.lol-tracker-reco:nth-child(1) { border-color: #e34234; }
.lol-tracker-reco:nth-child(2) { border-color: #f0a818; }
.lol-tracker-reco:nth-child(3) { border-color: #3fb950; }
.lol-tracker-reco:nth-child(n+4) { border-color: rgba(255,255,255,.2); }
.lol-tracker-reco__icon { font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.lol-tracker-reco__text { font-size: 12px; line-height: 1.55; opacity: .85; }

/* Rôle badge */
.lol-tracker-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(99,102,241,.18);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,.3);
}

/* Forme récente — dots */
.lol-tracker-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lol-tracker-form__dots {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.lol-tracker-form__dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}
.lol-tracker-form__dot.is-win  { background: rgba(63,185,80,.2);  color: #3fb950; border: 1px solid rgba(63,185,80,.4); }
.lol-tracker-form__dot.is-loss { background: rgba(227,66,52,.15); color: #e34234; border: 1px solid rgba(227,66,52,.3); }
.lol-tracker-form__note { font-size: 10px; opacity: .35; font-style: italic; }

/* Tendance comparaison */
.lol-tracker-trend-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.lol-tracker-trend-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lol-tracker-trend-col__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  opacity: .45;
  margin-bottom: 2px;
}
.lol-tracker-trend-col__stat {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
.lol-tracker-trend-col__stat strong { font-weight: 700; }
.lol-tracker-trend-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 18px;
}
.lol-tracker-trend-arrow__delta {
  font-size: 11px;
  font-weight: 700;
}
.lol-tracker-trend-arrow__delta.is-up   { color: #3fb950; }
.lol-tracker-trend-arrow__delta.is-down { color: #e34234; }
.lol-tracker-trend-arrow__delta.is-same { color: #f0a818; }

/* Score breakdown */
.lol-tracker-breakdown {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lol-tracker-breakdown__item {
  display: grid;
  grid-template-columns: 100px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.lol-tracker-breakdown__name { opacity: .65; }
.lol-tracker-breakdown__bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.lol-tracker-breakdown__fill {
  height: 100%;
  border-radius: 99px;
  transition: width .6s ease;
}
.lol-tracker-breakdown__fill.is-good { background: linear-gradient(90deg, #3fb950, #2ea043); }
.lol-tracker-breakdown__fill.is-warn { background: linear-gradient(90deg, #f0a818, #d48c0a); }
.lol-tracker-breakdown__fill.is-bad  { background: linear-gradient(90deg, #e34234, #c0392b); }
.lol-tracker-breakdown__score { font-weight: 700; text-align: right; font-size: 12px; }

/* Champion grid 2-col */
.lol-tracker-champ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .lol-tracker-champ-grid { grid-template-columns: 1fr; }
}
.lol-tracker-champ-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
}
.lol-tracker-champ-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lol-tracker-champ-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
}
.lol-tracker-champ-card__info { flex: 1; min-width: 0; }
.lol-tracker-champ-card__name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lol-tracker-champ-card__games { font-size: 10px; opacity: .5; }
.lol-tracker-champ-card__wr {
  font-size: 15px;
  font-weight: 800;
}
.lol-tracker-champ-card__wr.is-good { color: #3fb950; }
.lol-tracker-champ-card__wr.is-warn { color: #f0a818; }
.lol-tracker-champ-card__wr.is-bad  { color: #e34234; }
.lol-tracker-champ-card__wr-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.lol-tracker-champ-card__wr-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .5s ease;
}
.lol-tracker-champ-card__wr-fill.is-good { background: #3fb950; }
.lol-tracker-champ-card__wr-fill.is-warn { background: #f0a818; }
.lol-tracker-champ-card__wr-fill.is-bad  { background: #e34234; }
.lol-tracker-champ-card__stats {
  display: flex;
  gap: 8px;
  font-size: 11px;
  opacity: .7;
  flex-wrap: wrap;
}
.lol-tracker-champ-card__stat-item { white-space: nowrap; }
.lol-tracker-champ-card__tips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lol-tracker-champ-card__tip {
  font-size: 11px;
  color: rgba(255,200,100,.75);
  padding: 4px 8px;
  background: rgba(240,168,24,.08);
  border-radius: 5px;
  border-left: 2px solid rgba(240,168,24,.4);
  line-height: 1.4;
}

/* Coach highlight — top conseil */
.lol-tracker-coach {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.08));
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 14px;
}
.lol-tracker-coach__icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.lol-tracker-coach__body { flex: 1; }
.lol-tracker-coach__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a5b4fc;
  margin-bottom: 5px;
}
.lol-tracker-coach__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.lol-tracker-coach__priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(227,66,52,.18);
  color: #e34234;
  border: 1px solid rgba(227,66,52,.3);
  margin-top: 6px;
}

/* Footer tracker */
.lol-tracker-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  font-size: 11px;
  opacity: .55;
  flex-wrap: wrap;
  gap: 6px;
}

/* ═══ ROLE BREAKDOWN GRID ═══ */
.lol-tracker-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
}
.lol-tracker-role-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s;
}
.lol-tracker-role-card:hover { border-color: rgba(255,255,255,.18); }
.lol-tracker-role-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lol-tracker-role-card__emoji { font-size: 22px; line-height: 1; }
.lol-tracker-role-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.lol-tracker-role-card__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.lol-tracker-role-card__games {
  font-size: 11px;
  opacity: .55;
  white-space: nowrap;
}
.lol-tracker-role-card__score {
  display: flex;
  align-items: baseline;
  gap: 1px;
  flex-shrink: 0;
}
.lol-tracker-role-card__score.is-good .lol-tracker-role-card__score-val { color: #3fb950; }
.lol-tracker-role-card__score.is-warn .lol-tracker-role-card__score-val { color: #f0a818; }
.lol-tracker-role-card__score.is-bad  .lol-tracker-role-card__score-val { color: #e34234; }
.lol-tracker-role-card__score-val { font-size: 20px; font-weight: 800; }
.lol-tracker-role-card__score-sub { font-size: 10px; opacity: .5; }
.lol-tracker-role-card__wr {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.lol-tracker-role-card__wr.is-good { background: rgba(63,185,80,.15); color: #3fb950; }
.lol-tracker-role-card__wr.is-warn { background: rgba(240,168,24,.15); color: #f0a818; }
.lol-tracker-role-card__wr.is-bad  { background: rgba(227,66,52,.15);  color: #e34234; }
.lol-tracker-role-card__stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lol-tracker-role-card__stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  flex-wrap: wrap;
}
.lol-tracker-role-card__stat span:first-child { opacity: .6; width: 46px; flex-shrink: 0; }
.lol-tracker-role-card__stat strong { font-size: 12px; }
.lol-tracker-role-card__target { opacity: .4; font-size: 10px; }
.lol-tracker-role-card__stat .lol-tracker-metric__bar {
  width: 100%;
  flex-basis: 100%;
}

/* ═══ ROLE TABS ═══ */
.lol-role-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lol-role-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lol-role-tabs__btn {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #d8deff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .18s ease;
}

.lol-role-tabs__btn:hover {
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

.lol-role-tabs__btn.is-active {
  background: rgba(37, 99, 235, .22);
  border-color: rgba(212, 175, 55, .75);
  color: #eaf2ff;
}

.lol-role-tabs__emoji {
  font-size: 14px;
  line-height: 1;
}

.lol-role-tabs__count {
  font-size: 11px;
  opacity: .75;
}

.lol-role-tabs__panels {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 12px;
}

.lol-role-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lol-role-tab-panel__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.lol-role-tab-kpi {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lol-role-tab-kpi span {
  font-size: 11px;
  opacity: .62;
}

.lol-role-tab-kpi strong {
  font-size: 15px;
  color: #f6f8ff;
}

.lol-role-tab-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.lol-role-tab-box {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lol-role-tab-box__title {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .58;
}

.lol-role-tab-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.lol-role-tab-box__row span {
  opacity: .72;
}

.lol-role-tab-box__row strong {
  color: #f1f5ff;
  font-weight: 700;
  text-align: right;
}

.lol-role-tab-advice {
  display: grid;
  gap: 7px;
}

.lol-role-tab-advice__item {
  border-left: 3px solid rgba(240,168,24,.7);
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.lol-role-tab-empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 10px;
  opacity: .7;
  font-size: 12px;
}

/* ===============================
   LOL TRACKER V2 (clean/meta-like)
   =============================== */
.lol-tracker--v2 {
  gap: 14px;
}

.lol-tracker--v2 .lol-tracker-header {
  border: 1px solid rgba(212, 175, 55, .2);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(212, 175, 55, .13), transparent 45%),
    linear-gradient(180deg, rgba(15, 12, 6, .78), rgba(6, 5, 3, .7));
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.lol-tracker--v2 .lol-tracker-section,
.lol-tracker--v2 .lol-tracker-footer,
.lol-tracker--v2 .lol-role-tabs__panels,
.lol-tracker--v2 .lol-role-tab-kpi,
.lol-tracker--v2 .lol-role-tab-box,
.lol-tracker--v2 .lol-tracker-champ-card,
.lol-tracker--v2 .lol-tracker-reco,
.lol-tracker--v2 .lol-tracker-coach,
.lol-tracker--v2 .lol-tracker-stat,
.lol-tracker--v2 .lol-tracker-trend-col__stat {
  border-color: rgba(148, 163, 184, .18);
  background: linear-gradient(180deg, rgba(15, 12, 6, .6), rgba(6, 5, 3, .5));
}

.lol-tracker--v2 .lol-tracker-section {
  padding: 14px 16px;
  gap: 10px;
}

.lol-tracker--v2 .lol-tracker-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .12em;
  color: #FFE566;
  opacity: .95;
}

.lol-tracker--v2 .lol-tracker-section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, .3), rgba(212, 175, 55, 0));
}

.lol-tracker--v2 .lol-role-tabs__list {
  gap: 6px;
  padding-bottom: 2px;
}

.lol-tracker--v2 .lol-role-tabs__btn {
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 11px;
  letter-spacing: .02em;
  border-color: rgba(148, 163, 184, .2);
  background: rgba(15, 12, 6, .5);
}

.lol-tracker--v2 .lol-role-tabs__btn.is-active {
  border-color: rgba(212, 175, 55, .75);
  background: linear-gradient(135deg, rgba(212, 175, 55, .25), rgba(37, 99, 235, .14));
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .25) inset;
}

.lol-tracker--v2 .lol-role-tabs__count {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(15, 12, 6, .7);
  border: 1px solid rgba(148, 163, 184, .25);
  opacity: 1;
  color: #c8b898;
}

.lol-tracker--v2 .lol-role-tab-panel__kpis {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 7px;
}

.lol-tracker--v2 .lol-role-tab-kpi {
  padding: 10px;
  border-radius: 8px;
}

.lol-tracker--v2 .lol-role-tab-kpi span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9a8870;
  opacity: .95;
}

.lol-tracker--v2 .lol-role-tab-kpi strong {
  font-size: 16px;
  letter-spacing: -.01em;
}

.lol-tracker--v2 .lol-role-tab-panel__grid {
  gap: 7px;
}

.lol-tracker--v2 .lol-role-tab-box {
  border-radius: 8px;
  padding: 10px;
}

.lol-tracker--v2 .lol-role-tab-box__title {
    color: #D4AF37;
}

.lol-tracker--v2 .lol-role-tab-box__row {
  border-bottom: 1px dashed rgba(148, 163, 184, .18);
  padding-bottom: 5px;
}

.lol-tracker--v2 .lol-role-tab-box__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lol-tracker--v2 .lol-role-tab-box__row span {
  color: #9a8870;
}

.lol-tracker--v2 .lol-role-tab-advice__item {
  border-left-color: rgba(212, 175, 55, .8);
  border-radius: 6px;
  line-height: 1.45;
  color: #fdf0c0;
}

.lol-tracker--v2 .lol-tracker-champ-grid {
  gap: 8px;
}

.lol-tracker--v2 .lol-tracker-champ-card {
  border-radius: 8px;
}

.lol-tracker--v2 .lol-tracker-footer {
  border-radius: 8px;
  color: #9a8870;
  opacity: .95;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 768px) {
  .lol-tracker--v2 .lol-tracker-header {
    padding: 14px;
  }

  .lol-tracker--v2 .lol-tracker-section {
    padding: 12px;
  }

  .lol-tracker--v2 .lol-role-tabs__btn {
    padding: 7px 9px;
    font-size: 10px;
  }
}

/* ===============================
   LOL TRACKER V3 (full redesign)
   =============================== */
.lol-tracker--v3 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lol-tracker--v3 .lol-tracker-control {
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, rgba(15, 12, 6, .8), rgba(6, 5, 3, .74));
}

.lol-tracker--v3 .lol-tracker-control .meta-section-header {
  margin: 2px 0 10px;
}

.lol-tracker--v3 .lol-role-tabs {
  gap: 10px;
}

.lol-tracker--v3 .lol-role-tabs__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.lol-tracker--v3 .lol-role-tabs__btn {
  border-radius: 10px;
  min-height: 58px;
  padding: 8px 10px;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(14, 11, 5, .72);
  color: #fdf0c0;
}

.lol-tracker--v3 .lol-role-tabs__btn:hover {
  border-color: rgba(212, 175, 55, .55);
  transform: translateY(-2px);
}

.lol-tracker--v3 .lol-role-tabs__btn.is-active {
  border-color: rgba(212, 175, 55, .9);
  background: linear-gradient(135deg, rgba(212, 175, 55, .35), rgba(30, 64, 175, .25));
  color: #eff6ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22), inset 0 1px 0 rgba(255,255,255,.12);
}

.lol-tracker--v3 .lol-role-tabs__emoji {
  font-size: 15px;
}

.lol-tracker--v3 .lol-role-tabs__count {
  margin-top: 1px;
  font-size: 10px;
  background: rgba(15, 12, 6, .76);
  border: 1px solid rgba(148, 163, 184, .32);
  padding: 1px 7px;
}

.lol-tracker--v3 .lol-role-tabs__panels {
  border-color: rgba(212, 175, 55, .18);
  background: rgba(212, 175, 55, .04);
}

.lol-tracker--v3 .lol-tracker-hero {
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 14px;
  padding: 16px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(37, 99, 235, .2), transparent 40%),
    linear-gradient(180deg, rgba(15, 12, 6, .85), rgba(6, 5, 3, .78));
  display: grid;
  gap: 14px;
}

.lol-tracker--v3 .lol-tracker-hero__identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.lol-tracker--v3 .lol-tracker-hero__who {
  min-width: 0;
}

.lol-tracker--v3 .lol-tracker-hero__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lol-tracker--v3 .lol-tracker-hero__name {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.lol-tracker--v3 .lol-tracker-hero__sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: #9a8870;
}

.lol-tracker--v3 .lol-tracker-hero__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.lol-tracker--v3 .lol-tracker-hero-kpi {
  border: 1px solid rgba(148, 163, 184, .2);
  background: rgba(15, 12, 6, .6);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lol-tracker--v3 .lol-tracker-hero-kpi span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9a8870;
}

.lol-tracker--v3 .lol-tracker-hero-kpi strong {
  font-size: 17px;
  color: #fdf6e8;
  line-height: 1.1;
}

.lol-tracker--v3 .lol-tracker-hero-kpi small {
  font-size: 11px;
  color: #9a8870;
}

.lol-tracker--v3 .lol-tracker-grid--v3 {
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
}

.lol-tracker--v3 .lol-tracker-section {
  border: 1px solid rgba(148, 163, 184, .2);
  background: linear-gradient(180deg, rgba(15, 12, 6, .65), rgba(6, 5, 3, .55));
  border-radius: 12px;
  padding: 12px;
  gap: 9px;
}

.lol-tracker--v3 .lol-tracker-section__title {
  font-size: 10px;
  color: #D4AF37;
  opacity: 1;
  letter-spacing: .11em;
}

.lol-tracker--v3 .lol-tracker-v3-trend {
  display: grid;
  gap: 6px;
}

.lol-tracker--v3 .lol-tracker-v3-trend__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}

.lol-tracker--v3 .lol-tracker-v3-trend__row span {
  color: #9a8870;
}

.lol-tracker--v3 .lol-tracker-v3-trend__row strong {
  color: #f5ead6;
}

.lol-tracker--v3 .lol-tracker-footer {
  border-radius: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9a8870;
  opacity: 1;
}

@media (max-width: 1050px) {
  .lol-tracker--v3 .lol-tracker-grid--v3 {
    grid-template-columns: 1fr;
  }

  .lol-tracker--v3 .lol-role-tabs__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .lol-tracker--v3 .lol-tracker-hero__identity {
    grid-template-columns: 1fr;
  }

  .lol-tracker--v3 .lol-tracker-score-ring {
    margin-inline: auto;
  }

  .lol-tracker--v3 .lol-tracker-hero__name-row {
    justify-content: center;
  }

  .lol-tracker--v3 .lol-tracker-hero__sub {
    text-align: center;
  }

  .lol-tracker--v3 .lol-role-tabs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Unavailable state */
.lol-tracker-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  opacity: .65;
}
.lol-tracker-unavailable__icon { font-size: 40px; }
.lol-tracker-unavailable__title { font-size: 16px; font-weight: 700; margin: 0; }
.lol-tracker-unavailable__msg { font-size: 13px; margin: 0; }

.profile-admin-field--wide {
  grid-column: 1 / -1;
}

.profile-admin-reminder-form textarea.input {
  min-height: 120px;
  resize: vertical;
}

.profile-admin-reminder-card {
  display: grid;
  gap: 14px;
  border-left: 3px solid var(--reminder-accent, rgba(var(--accent-rgb), .8));
}

.profile-admin-reminder-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-admin-reminder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-admin-reminder-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.profile-admin-reminder-box {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

.profile-admin-reminder-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a8870;
  font-weight: 700;
}

.profile-admin-reminder-box strong {
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}

.profile-admin-reminder-box small {
  color: #c8b898;
  line-height: 1.5;
  word-break: break-word;
}

.profile-admin-reminder-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-admin-reminder-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--reminder-dot, #D4AF37);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
  flex-shrink: 0;
}

.profile-admin-reminder-actions {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.profile-admin-recurring-card {
  display: grid;
  gap: 14px;
  border-left: 3px solid var(--recurring-accent, rgba(var(--accent-rgb), .8));
}

.profile-admin-recurring-head,
.profile-admin-giveaway-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-admin-recurring-chips,
.profile-admin-giveaway-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-admin-recurring-actions,
.profile-admin-giveaway-actions {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.profile-admin-giveaway-card {
  display: grid;
  gap: 14px;
  border-left: 3px solid var(--giveaway-accent, rgba(250, 204, 21, .8));
}

.profile-admin-giveaway-prize {
  margin: 0;
  color: #fef3c7;
  font-weight: 700;
}

.profile-admin-reminder-message {
  margin: 0;
  white-space: pre-wrap;
}

.profile-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: #c8b898;
  font-size: 13px;
  font-weight: 600;
}

.profile-news-preview {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

.profile-news-preview__frame {
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, .12);
  background: rgba(14, 11, 5, .45);
  overflow: auto;
}

.profile-news-preview__frame > :first-child {
  margin-top: 0;
}

.profile-news-preview__frame > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .profile-admin-user-edit-grid,
  .profile-admin-reminder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-admin-reminder-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-admin-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .profile-admin-user-grid,
  .profile-admin-user-edit-grid,
  .profile-admin-reminder-grid {
    grid-template-columns: 1fr;
  }

  .profile-lol-clash-add-form-fields {
    grid-template-columns: 1fr;
  }

  .profile-lol-clash-add-btn {
    width: 100%;
  }

  .profile-lol-clash-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-lol-clash-actions--creator-join {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-lol-clash-panel {
    padding: 9px;
  }

  .profile-admin-user-quick-actions,
  .profile-admin-user-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.profile-mini-card {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 11, 5, .55);
  border-radius: 12px;
  padding: 16px;
}

.profile-mini-card .card-header {
  margin-bottom: 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Grade widget ─────────────────────────────────────────────────── */
.profile-grade-card {
  border-color: rgba(var(--accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(12, 10, 6, .92), rgba(14, 11, 5, .72)),
    radial-gradient(circle at top right, rgba(var(--accent-rgb), .12), transparent 55%);
  position: relative;
  overflow: hidden;
}

.profile-grade-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent2-rgb), .7));
}

.grade-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .18), rgba(var(--accent2-rgb), .10));
  border: 1px solid rgba(var(--accent-rgb), .35);
  margin-bottom: 14px;
}

.grade-badge--max {
  background: linear-gradient(135deg, rgba(212, 175, 55, .28), rgba(166, 124, 0, .16));
  border-color: rgba(212, 175, 55, .6);
  box-shadow: 0 0 18px rgba(212, 175, 55, .15);
}

.grade-badge__label {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D4AF37;
}

.grade-badge__crown {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #D4AF37;
  background: rgba(212, 175, 55, .15);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 5px;
  padding: 2px 7px;
}

.grade-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.grade-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}

.grade-stat-header span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .75);
}

.grade-stat-header span:first-child .bi {
  color: rgba(var(--accent-rgb), .9);
  font-size: .95em;
  filter: drop-shadow(0 2px 6px rgba(var(--accent-rgb), .35));
}

.grade-stat-value {
  font-variant-numeric: tabular-nums;
  color: #D4AF37;
  font-weight: 600;
}

.grade-progress-track {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.grade-progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent2, #A67C00), var(--accent, #D4AF37));
  transition: width .5s ease;
  min-width: 2px;
}

.grade-next-label {
  font-size: .76rem;
  color: rgba(255, 255, 255, .45);
  text-align: center;
  margin-top: 2px;
}

.grade-next-label strong {
  color: rgba(var(--accent-rgb), .9);
}
/* ──────────────────────────────────────────────────────────────────── */

.profile-connect-card {
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--accent-rgb), .22);
  background:
    linear-gradient(180deg, rgba(12, 10, 6, .92), rgba(14, 11, 5, .72)),
    radial-gradient(circle at top left, rgba(var(--accent-rgb), .16), transparent 52%);
  box-shadow: 0 16px 34px rgba(6, 5, 3, .22);
}

.profile-connect-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .95), rgba(var(--accent2-rgb), .9));
}

.profile-connect-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-connect-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

.profile-connect-card__icon.is-lol {
  background: linear-gradient(135deg, rgba(245, 158, 11, .95), rgba(234, 88, 12, .9));
}

.profile-connect-card__icon.is-scum {
  background: linear-gradient(135deg, rgba(34, 197, 94, .95), rgba(16, 185, 129, .9));
}

.profile-connect-card__icon.is-twitch {
  background: linear-gradient(135deg, rgba(168, 85, 247, .95), rgba(124, 58, 237, .9));
}

.profile-connect-card__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.profile-connect-card__message {
  margin: 0 0 18px;
}

.profile-connect-card__message a {
  color: var(--accent);
  text-decoration-color: rgba(var(--accent-rgb), .6);
  text-underline-offset: 3px;
  font-weight: 700;
}

.profile-connect-card__message a:hover,
.profile-connect-card__message a:focus-visible {
  color: #e8cc6a;
  text-decoration-color: rgba(var(--accent-rgb), .9);
}

.profile-connect-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #fdf0c0;
  font-size: 12px;
  font-weight: 700;
}

.profile-chip--warn {
  color: #fde68a;
  border-color: rgba(245, 158, 11, .38);
  background: rgba(245, 158, 11, .16);
}

.profile-connect-form {
  display: grid;
  gap: 12px;
}

.profile-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, .7fr);
  gap: 10px;
}

.profile-field {
  display: grid;
  gap: 6px;
}

.profile-field > span {
  color: #c8b898;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.profile-connect-form .input,
.profile-connect-form select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 10, 6, .82);
  color: #fdf6e8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.profile-connect-form .input:focus,
.profile-connect-form select:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
}

.profile-rank-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(12, 10, 6, .55);
}

.profile-rank-chip {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(15, 12, 6, .72);
  color: #c8b898;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.profile-rank-chip:hover {
  border-color: rgba(var(--accent-rgb), .6);
  color: #fdf6e8;
  transform: translateY(-1px);
}

.profile-rank-chip.is-active {
  border-color: rgba(212, 175, 55, .68);
  background: linear-gradient(180deg, rgba(212, 175, 55, .23), rgba(30, 22, 5, .45));
  color: #ecfeff;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .18) inset;
}

.profile-rank-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .2);
}

.profile-connect-note {
  margin: 10px 0 0;
  color: #9a8870;
  font-size: 12px;
  line-height: 1.5;
}

.profile-scum-history-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(6px, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 86px;
  margin-top: 8px;
}

.profile-scum-history-bar {
  display: block;
  width: 100%;
  height: var(--bar-height, 10%);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(132, 204, 22, .95) 0%, rgba(34, 197, 94, .75) 100%);
  border: 1px solid rgba(163, 230, 53, .35);
}

#scumNextEvent {
  margin-bottom: 12px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ecfeff;
  border: 1px solid rgba(45, 212, 191, .24);
  background: linear-gradient(135deg, rgba(30, 22, 5, .72) 0%, rgba(15, 12, 6, .92) 100%);
}

.profile-scum-next-event__eyebrow {
  color: #99f6e4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-scum-next-event__countdown {
  color: #fdf6e8;
  font-size: 18px;
  line-height: 1.35;
}

.profile-scum-next-event__range {
  color: #c8b898;
  font-size: 13px;
}

.profile-scum-event-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: linear-gradient(180deg, rgba(15, 12, 6, .92) 0%, rgba(16, 13, 7, .98) 100%);
}

.profile-scum-event-card.is-raid {
  border-color: rgba(45, 212, 191, .28);
  box-shadow: 0 10px 24px rgba(30, 22, 5, .18);
}

.profile-scum-event-head {
  display: grid;
  gap: 10px;
}

.profile-scum-event-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-scum-event-title {
  color: #fdf6e8;
  font-size: 18px;
  line-height: 1.3;
}

.profile-scum-event-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 12, 6, .82);
  color: #fdf0c0;
  font-size: 13px;
  line-height: 1.4;
}

.profile-scum-event-desc {
  margin: 0;
  color: #c8b898;
  line-height: 1.6;
  white-space: pre-line;
}

.profile-mini-list {
  margin: 8px 0 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

.profile-mini-list li {
  color: #9a8870;
  font-size: 13px;
}

.profile-status-list {
  display: grid;
  gap: 14px;
}

.profile-admin-review-input {
  width: 100%;
  min-height: 82px;
  margin-top: 10px;
}

.profile-theme-panel {
  margin-bottom: 14px;
}

.profile-theme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-theme-btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  border-radius: 999px;
}

.profile-theme-btn.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

.profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.is-disabled {
  pointer-events: none;
  opacity: .65;
}

.site-report-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 3200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.site-report-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .5);
  background: var(--gold-metal);
  background-size: 200% auto;
  animation: gold-shimmer 4s linear infinite;
  color: #1a1200;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(212, 175, 55, .3), 0 2px 8px rgba(0, 0, 0, .5);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(12px);
}

.site-report-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, .45), 0 2px 8px rgba(0, 0, 0, .5);
}

.site-report-fab i {
  color: #1a1200;
}

.site-report-panel {
  width: min(420px, calc(100vw - 24px));
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), .14), transparent 42%),
    linear-gradient(180deg, rgba(14, 11, 5, .98), rgba(12, 10, 6, .96));
  box-shadow: 0 24px 60px rgba(6, 5, 3, .52);
}

.site-report-panel.is-hidden {
  display: none;
}

.site-report-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.site-report-panel__eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-report-panel__title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.site-report-panel__desc {
  margin: 0 0 14px;
  color: #9a8870;
  font-size: 13px;
  line-height: 1.55;
}

.site-report-close {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.site-report-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.site-report-tab {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: #c8b898;
  font-weight: 700;
}

.site-report-tab.is-active {
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .14);
  color: #fff;
}

.site-report-userline {
  margin: 0 0 12px;
  color: #b6c4da;
  font-size: 12px;
  line-height: 1.5;
}

.site-report-userline a {
  color: var(--accent);
}

.site-report-form {
  display: grid;
  gap: 12px;
}

.site-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site-report-field {
  display: grid;
  gap: 6px;
}

.site-report-field > span {
  color: #fdf0c0;
  font-size: 12px;
  font-weight: 700;
}

.site-report-field .input,
.site-report-field textarea.input {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 10, 6, .82);
  color: #fdf6e8;
}

.site-report-field textarea.input {
  min-height: 110px;
  resize: vertical;
}

.site-report-field .input:focus,
.site-report-field textarea.input:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
}

.site-report-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.site-report-status.is-visible {
  display: block;
}

.site-report-status.is-success {
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .24);
  color: #dcfce7;
}

.site-report-status.is-error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .24);
  color: #fecaca;
}

.site-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .community-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scum-hero-grid { grid-template-columns: 1fr; }
  .scum-aspects-grid { grid-template-columns: 1fr 1fr; }
  .scum-event-grid { grid-template-columns: 1fr; }
  .vip-grid { grid-template-columns: 1fr; }
  .scum-timeline { grid-template-columns: 1fr 1fr; }
  .scum-info-grid { grid-template-columns: 1fr; }
  .vip-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .server-overview-grid {
    grid-template-columns: 1fr;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-kpis {
    grid-template-columns: 1fr;
  }
  .profile-community-grid {
    grid-template-columns: 1fr;
  }
  .profile-lol-grid {
    grid-template-columns: 1fr;
  }
  .profile-lol-hero {
    flex-direction: column;
  }
  .profile-lol-hero-main {
    align-items: flex-start;
  }
  .profile-lol-toolbar {
    width: 100%;
    justify-content: flex-start;
  }
  .profile-lol-badges {
    justify-content: flex-start;
  }
  .profile-connect-grid {
    grid-template-columns: 1fr;
  }

  .profile-rank-picker {
    gap: 6px;
  }

  .profile-rank-chip {
    padding: 7px 10px;
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  .site-report-widget {
    right: 12px;
    left: 12px;
    align-items: stretch;
  }

  .site-report-panel {
    width: auto;
  }

  .site-report-grid {
    grid-template-columns: 1fr;
  }

  .site-report-actions > * {
    width: 100%;
    justify-content: center;
  }

  .menu-toggle { display: inline-flex; }
  .nav-inner {
    height: 72px;
    padding: 0 16px;
  }
  .logo--centered .logo-mark {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }
  .nav-left,
  .nav-right {
    flex: 0 0 auto;
    z-index: 4;
  }
  .nav-right {
    margin-left: auto;
  }
  .nav-links { display: none; }
  .nav-cta-group { display: none; }
  .auth-area { display: none; }
  .nav-inner .btn-primary,
  .nav-inner .theme-picker { display: none; }
  .hero-title { font-size: clamp(30px, 9vw, 52px); }
  .hero-vignette { opacity: .85; }
  .stats-inner { gap: 0; }
  .stat { padding: 12px 24px; }
  .stat-sep { height: 0; width: 60px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-pills { margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .scum-hero { padding: 50px 0 30px; }
  .scum-kpis { grid-template-columns: 1fr; max-width: none; }
  .scum-aspects-grid { grid-template-columns: 1fr; }
  .scum-bullet-list--cols { grid-template-columns: 1fr; }
  .scum-timeline { grid-template-columns: 1fr; }
  .profile-quick-actions { grid-template-columns: 1fr; }
  .profile-user-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-connect-card__head {
    align-items: flex-start;
  }
  .profile-connect-form .profile-inline-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* -- LoL Custom Tooltip ------------------------------------------- */
#lol-tooltip {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  max-width: 280px;
  padding: 8px 12px;
  background: #1C1814;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  font-family: inherit;
}

#lol-tooltip.lol-tt-visible {
  opacity: 1;
  transform: translateY(0);
}

.lol-tt-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #c8aa6e;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.lol-tt-desc {
  display: block;
  font-size: 11px;
  color: #a0b4cc;
  line-height: 1.5;
}

/* =====================================================
   LOL TRACKER V4 — meta-tab visual alignment
   ===================================================== */

.lol-tracker--v4 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #e8dcc8;
}

/* ── Role tab buttons (primary nav) ── */
.tracker-role-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}
.tracker-role-tabs::-webkit-scrollbar { display: none; }

.tracker-role-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,.22);
  background: rgba(96,165,250,.06);
  color: #9a8870;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tracker-role-tab-btn:hover {
  background: rgba(96,165,250,.13);
  border-color: rgba(96,165,250,.45);
  color: #c8b898;
}

.tracker-role-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(96,165,250,.22), rgba(59,130,246,.14));
  border-color: rgba(96,165,250,.75);
  color: #e8dcc8;
  box-shadow: 0 0 0 1px rgba(96,165,250,.2), 0 4px 14px rgba(96,165,250,.15);
}

.tracker-role-tab-count {
  font-size: 10px;
  font-family: inherit;
  opacity: .65;
  font-weight: 600;
}

/* ── AI badge ── */
.trk-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #D4AF37 0%, #A67C00 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.trk-ai-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  animation: trk-ai-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes trk-ai-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── Tab panels ── */
.tracker-tab-panels { display: flex; flex-direction: column; }

.tracker-tab-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.tracker-tab-panel.is-active { display: flex; }

/* ── Score strip (compact score + KPI bar) ── */
.tracker-score-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(96,165,250,.05);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.tracker-score-block { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }

.tracker-score-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #D4AF37;
  font-weight: 700;
}

.tracker-score-value {
  font-size: 34px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  line-height: 1;
}
.tracker-score-value.is-good { color: #4ade80; }
.tracker-score-value.is-ok   { color: #f0a818; }
.tracker-score-value.is-bad  { color: #f87171; }

/* ── Minecraft Dashboard ─────────────────────────────────────────────────── */

.mc-kpis {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  margin-top: 16px;
}

.mc-stats-update-label {
  font-size: 0.7rem;
  opacity: 0.45;
  margin-top: 6px;
  margin-bottom: 0;
}

.mc-section {
  margin-top: 22px;
}

.mc-section-label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Jobs list */
.mc-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-job-card {
  background: rgba(14, 11, 5, .6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.mc-job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mc-job-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e8dcc8;
}

.mc-job-level {
  font-size: 0.8rem;
  color: #9a8870;
  font-family: 'Orbitron', sans-serif;
}

.mc-xp-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}

.mc-xp-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #D4AF37, #A67C00);
  transition: width .4s ease;
}

.mc-job-xp {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  text-align: right;
}

/* Warps list */
.mc-warps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mc-warp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, .15);
  border: 1px solid rgba(212, 175, 55, .3);
  font-size: 0.82rem;
  color: #FFE566;
}

.mc-warp-chip .mc-warp-visits {
  font-size: 0.72rem;
  opacity: 0.65;
}

/* Auction House list */
.mc-ah-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-ah-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 11, 5, .6);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
}

.mc-ah-item {
  color: #e8dcc8;
}

.mc-ah-price {
  color: #fbbf24;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Last seen label (hero section) */
.mc-last-seen {
  font-size: 0.72rem;
  opacity: 0.5;
  margin-top: 3px;
}

/* Crates grid */
.mc-crates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.mc-crate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(14, 11, 5, .6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.mc-crate-icon { font-size: 1.5rem; }
.mc-crate-name { font-size: 0.76rem; color: #9a8870; }
.mc-crate-count { font-size: 1.1rem; font-weight: 700; color: #e8dcc8; font-family: 'Orbitron', sans-serif; }

/* Kits / GKits grid */
.mc-kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.mc-kit-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: rgba(14, 11, 5, .6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 12px;
}

/* ═══════════════════════════════════════════════════════
   MINECRAFT PUBLIC PAGE
   ═══════════════════════════════════════════════════════ */

/* Hero */
.mc-hero {
  background:
    radial-gradient(ellipse 55% 55% at 85% 10%, rgba(var(--accent-rgb), .12), transparent 70%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(var(--accent2-rgb), .12), transparent 72%);
}

.mc-hero-content { position: relative; z-index: 1; }

.mc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mc-badge--beta {
  background: rgba(234, 179, 8, .15);
  border: 1px solid rgba(234, 179, 8, .4);
  color: #fbbf24;
}

.mc-badge--java {
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .3);
  color: var(--accent);
}

.mc-accent {
  color: var(--accent);
}

/* Connection box */
.mc-connect-box {
  margin-top: 28px;
  background: rgba(14, 11, 5, .7);
  border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.mc-connect-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mc-connect-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.mc-connect-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7a6a50;
  margin-bottom: 2px;
}

.mc-connect-ip {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: #e8dcc8;
  background: transparent;
  border: none;
}

.mc-connect-port {
  color: #7a6a50;
}

.mc-connect-info {
  flex: 1;
}

.mc-copy-btn {
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1rem;
  padding: 6px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  line-height: 1;
}

.mc-copy-btn:hover {
  background: rgba(var(--accent-rgb), .2);
}

.mc-copy-btn.copied {
  color: #fff;
  background: rgba(var(--accent-rgb), .3);
}

.mc-zone-placeholder {
  min-height: 180px;
  border-radius: 14px 14px 0 0;
  margin: -1px -1px 0;
  width: calc(100% + 2px);
}

.mc-zone-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
}

.mc-img-placeholder {
  width: 100%;
  min-height: 340px;
  border-radius: 20px;
  background: rgba(20, 18, 16, .75);
  border: 2px dashed rgba(var(--accent-rgb), .25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #5a4a30;
  font-size: 0.9rem;
}

.mc-img-placeholder-icon {
  font-size: 2.5rem;
  color: rgba(var(--accent-rgb), .3);
}

/* Features grid */
.mc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mc-feature-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
}

.mc-feature-card p {
  font-size: 0.88rem;
  color: #9a8870;
  margin: 0;
  line-height: 1.6;
}

.mc-feature-icon {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

/* Changelog */
.mc-changelog-section {
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(var(--accent-rgb), .04), transparent 70%);
}

.mc-changelog {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-changelog-entry {
  padding: 28px;
}

.mc-changelog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mc-changelog-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #7a6a50;
}

.mc-changelog-tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.mc-tag--new {
  background: rgba(var(--accent-rgb), .15);
  border: 1px solid rgba(var(--accent-rgb), .3);
  color: var(--accent);
}

.mc-tag--fix {
  background: rgba(234, 179, 8, .12);
  border: 1px solid rgba(234, 179, 8, .3);
  color: #fbbf24;
}

.mc-changelog-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 18px;
}

/* Inline changelog image placeholder */
.mc-changelog-image {
  min-height: 200px;
  margin-bottom: 20px;
  border-radius: 14px;
}

/* Enchant chips */
.mc-enchant-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.mc-enchant-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #c4b5fd;
}

/* Items grid */
.mc-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mc-item-card {
  background: rgba(14, 11, 5, .6);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mc-item-icon {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.mc-item-card strong {
  font-size: 0.83rem;
  color: #e8dcc8;
}

.mc-item-card span {
  font-size: 0.76rem;
  color: #7a6a50;
}

/* Points shop */
.mc-points-shop {
  margin-top: 22px;
  background: rgba(14, 11, 5, .5);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  overflow: hidden;
}

.mc-shop-changes {
  margin-top: 22px;
  background: rgba(14, 11, 5, .5);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  overflow: hidden;
}

.mc-points-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8b898;
}

.mc-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
}

.mc-points-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  gap: 8px;
}

.mc-points-item:last-child { border-bottom: none; }

.mc-points-name {
  font-size: 0.83rem;
  color: #e8dcc8;
}

.mc-points-cost {
  font-size: 0.8rem;
  font-family: 'Orbitron', sans-serif;
  color: #fbbf24;
  white-space: nowrap;
}

/* Nested grid in changelog entry */
.mc-changelog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

/* Beta banner */
.mc-beta-banner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border-left: 4px solid #fbbf24;
}

.mc-beta-banner-icon {
  font-size: 2.2rem;
  color: #fbbf24;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.mc-beta-banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 10px;
}

.mc-beta-banner-body p {
  font-size: 0.93rem;
  color: #9a8870;
  margin: 0 0 20px;
  line-height: 1.7;
}

.mc-beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .mc-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-changelog-grid { grid-template-columns: 1fr; }
  .mc-shop-layout { grid-template-columns: 1fr; }
  .mc-vip-layout { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .mc-features-grid { grid-template-columns: 1fr; }
  .mc-connect-box { max-width: 100%; }
  .mc-beta-banner { flex-direction: column; gap: 16px; }
  .mc-changelog-entry { padding: 20px 16px; }
  .mc-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Minecraft server status static rows ── */
.server-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 12px;
}

.server-status-row:last-child {
  border-bottom: none;
}

.server-status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a8870;
  font-size: 0.88rem;
}

.server-status-value {
  color: #e8dcc8;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}

.status-badge--online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dcfce7;
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .3);
}

.status-badge--online::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
}

.status-badge--offline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fecaca;
  background: rgba(239, 68, 68, .16);
  border: 1px solid rgba(239, 68, 68, .3);
}

.status-badge--offline::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  flex-shrink: 0;
}

.status-badge--loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a8870;
  background: rgba(148, 163, 184, .1);
  border: 1px solid rgba(148, 163, 184, .2);
}

/* ── WIP / En construction ── */
.mc-wip-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  border-color: rgba(250, 204, 21, 0.25);
}

.mc-wip-icon {
  font-size: 2.8rem;
  color: #facc15;
  flex-shrink: 0;
}

.mc-wip-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 6px;
}

.mc-wip-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ── Boutique ── */
.mc-shop-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mc-shop-block {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mc-shop-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 1.1rem;
}

.mc-shop-block-head i {
  font-size: 1.3rem;
}

.mc-shop-block-head h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

.mc-shop-block-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: -8px 0 0;
  line-height: 1.6;
}

/* ── VIP ── */
.mc-vip-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.mc-vip-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-color: rgba(250, 204, 21, 0.3);
}

.mc-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .08em;
  width: fit-content;
}

.mc-vip-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
}

.mc-vip-list {
  flex: 1;
}

.mc-vip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mc-vip-list li i {
  color: #facc15;
  margin-top: 2px;
  flex-shrink: 0;
}

.mc-vip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mc-vip-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mc-vip-info-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-kit-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-kit-avail {
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
}

.mc-kit-wait {
  font-size: 0.75rem;
  color: #fb923c;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .mc-kpis {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
  .mc-kits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tracker-score-max {
  font-size: 14px;
  opacity: .45;
  font-weight: 500;
  margin-left: 2px;
}

.tracker-score-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

.tracker-kpi-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
}

.tracker-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tracker-kpi__label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #D4AF37;
  font-weight: 700;
}

.tracker-kpi__value {
  font-size: 16px;
  font-weight: 700;
  color: #e8dcc8;
}

.tracker-kpi__sub {
  font-size: 10px;
  color: #5a4a30;
}

/* ── Role strength bars (FORCE PAR RÔLE style) ── */
.tracker-role-bars { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }

.tracker-role-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.tracker-role-bar-label {
  font-size: 12px;
  font-weight: 700;
  color: #9a8870;
  width: 60px;
  flex-shrink: 0;
}

.tracker-role-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}

.tracker-role-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .5s ease;
}

.tracker-role-bar-pct {
  font-size: 12px;
  font-weight: 700;
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

.tracker-metric-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tracker-metric-hint {
  font-size: 10px;
  color: #5a4a30;
  font-style: italic;
}

.tracker-metric-val-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tracker-metric-val { font-weight: 700; font-size: 14px; }
.tracker-metric-target { font-size: 10px; color: #5a4a30; }

.tracker-metric-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 1px 6px;
  border-radius: 99px;
}
.tracker-metric-status.ok   { background: rgba(74,222,128,.15); color: #4ade80; }
.tracker-metric-status.warn { background: rgba(240,168,24,.15);  color: #f0a818; }
.tracker-metric-status.bad  { background: rgba(248,113,113,.15); color: #f87171; }

.tracker-score-sublabel {
  font-size: 11px;
  color: #7a6a50;
  margin-top: 2px;
}

.tracker-stats-hint {
  font-size: 10px;
  color: #5a4a30;
  font-weight: 400;
  font-style: italic;
}

.tracker-champ-rank {
  font-size: 11px;
  font-weight: 700;
  color: #5a4a30;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}

.tracker-champ-games-label {
  font-size: 10px;
  color: #5a4a30;
  text-align: right;
}

/* ── Metric rows (vs targets) ── */
.tracker-metric-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tracker-metric-row:last-child { border-bottom: none; }

.tracker-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  gap: 8px;
}

.tracker-metric-name { color: #9a8870; font-weight: 600; }

.tracker-metric-bar-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.tracker-metric-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .5s ease;
}
.tracker-metric-bar-fill.is-good { background: #4ade80; }
.tracker-metric-bar-fill.is-warn { background: #f0a818; }
.tracker-metric-bar-fill.is-bad  { background: #f87171; }

.tracker-check { font-size: 11px; }
.tracker-check.ok  { color: #4ade80; }
.tracker-check.bad { color: #f87171; }

/* ── Stats grid (early / impact) ── */
.tracker-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .tracker-stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tracker-stats-grid { grid-template-columns: 1fr; }
}

.tracker-stats-group {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 12px 14px;
}

.tracker-stats-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #D4AF37;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212,175,55,.12);
}

.tracker-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.tracker-stats-row:last-child { border-bottom: none; }

.tracker-stats-row-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.tracker-stats-row-name {
  font-size: 12px;
  font-weight: 600;
  color: #c8b898;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracker-stats-row-hint {
  font-size: 10px;
  color: #5a4a30;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracker-stats-row-val {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* legacy compat */
.tracker-stats-row span { color: #7a6a50; flex: 1; }
.tracker-stats-row > strong { color: #e8dcc8; font-weight: 700; text-align: right; white-space: nowrap; }

/* ── Trend rows ── */
.tracker-trend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tracker-trend-row:last-of-type { border-bottom: none; margin-bottom: 6px; }
.tracker-trend-label { color: #7a6a50; }
.tracker-trend-val { font-weight: 700; color: #e8dcc8; }
.tracker-trend-val.is-up   { color: #4ade80; }
.tracker-trend-val.is-down { color: #f87171; }
.tracker-trend-val.is-same { color: #f0a818; }

/* ── Champion rows (TOP WINRATE style) ── */
.tracker-champ-row {
  display: grid;
  grid-template-columns: 22px 36px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tracker-champ-row:last-child { border-bottom: none; }

.tracker-champ-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
}

.tracker-champ-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.tracker-champ-name {
  font-size: 13px;
  font-weight: 700;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-champ-meta { font-size: 11px; color: #5a4a30; }

.tracker-champ-wr-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.tracker-champ-wr-val { font-size: 14px; font-weight: 800; }
.tracker-champ-wr-val.is-good { color: #4ade80; }
.tracker-champ-wr-val.is-warn { color: #f0a818; }
.tracker-champ-wr-val.is-bad  { color: #f87171; }

.tracker-champ-wr-bar {
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.tracker-champ-wr-fill { height: 100%; border-radius: 99px; }
.tracker-champ-wr-fill.is-good { background: #4ade80; }
.tracker-champ-wr-fill.is-warn { background: #f0a818; }
.tracker-champ-wr-fill.is-bad  { background: #f87171; }

/* ── Advice bullets (CONSEILS DU PATCH style) ── */
.tracker-advice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}

.tracker-advice-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #9a8870;
  line-height: 1.6;
}

.tracker-advice-item::before {
  content: '●';
  color: #D4AF37;
  flex-shrink: 0;
  font-size: 8px;
  margin-top: 5px;
}

/* ── Footer ── */
.tracker-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #3d3020;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.trk-refresh-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.trk-refresh-btn:hover:not(:disabled) {
  background: rgba(99,102,241,.25);
  color: #c7d2fe;
}
.trk-refresh-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ── Empty state ── */
.tracker-empty {
  padding: 24px;
  text-align: center;
  color: #5a4a30;
  font-size: 13px;
  font-style: italic;
  margin: 0;
}

@media (max-width: 500px) {
  .tracker-role-tabs { gap: 4px; }
  .tracker-role-tab-btn { padding: 8px 10px; font-size: 10px; }
  .tracker-kpi-row { gap: 12px; }
}

/* ── Trend KPI sub-labels ── */
.tracker-kpi__sub.is-up   { color: #4ade80; font-weight: 700; }
.tracker-kpi__sub.is-down { color: #f87171; font-weight: 700; }
.tracker-kpi__sub.is-same { color: #f0a818; font-weight: 700; }

/* ─────────────────────────────────────────────────
   TRACKER V4 ENHANCEMENTS — new components
   ───────────────────────────────────────────────── */

/* ── Global Header ── */
.trk-global-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(96,165,250,.09) 0%, rgba(59,130,246,.04) 100%);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

/* ── Score Ring ── */
.trk-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.trk-ring svg { display: block; }
.trk-ring__track {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 9;
}
.trk-ring__fill {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dasharray .7s ease;
}
.trk-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.trk-ring__val {
  font-size: 26px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  line-height: 1;
}
.trk-ring__sub {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #5a4a30;
  font-weight: 700;
}
.trk-ring__tier {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Global identity / KPIs ── */
.trk-global-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trk-global-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.trk-global-name {
  font-size: 20px;
  font-weight: 800;
  color: #e8dcc8;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .02em;
}
.trk-global-rank {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  color: #D4AF37;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.1);
  letter-spacing: .04em;
}
.trk-global-games {
  font-size: 11px;
  color: #5a4a30;
}
.trk-global-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trk-gkpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  min-width: 56px;
}
.trk-gkpi__lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #5a4a30;
  font-weight: 700;
}
.trk-gkpi__val {
  font-size: 16px;
  font-weight: 700;
  color: #e8dcc8;
  line-height: 1;
}

/* ── W/L bubbles ── */
.trk-global-wl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.trk-wl-bubble {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  padding: 8px 14px;
  border-radius: 10px;
  min-width: 68px;
  justify-content: center;
}
.trk-wl-bubble span {
  font-size: 12px;
  font-weight: 700;
  opacity: .7;
}
.trk-wl-bubble--win {
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.28);
  color: #4ade80;
}
.trk-wl-bubble--loss {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.24);
  color: #f87171;
}

/* ── Form dots ── */
.trk-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
}
.trk-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.trk-form__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #D4AF37;
}
.trk-form__stat {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}
.trk-form__wins  { color: #4ade80; }
.trk-form__sep   { color: #5a4a30; }
.trk-form__losses{ color: #f87171; }
.trk-form__of    { color: #5a4a30; font-weight: 400; font-size: 11px; }
.trk-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.trk-dot {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  cursor: default;
  transition: transform .12s;
}
.trk-dot:hover { transform: scale(1.18); }
.trk-dot--win    { background: rgba(74,222,128,.18);  border: 1px solid rgba(74,222,128,.4);  color: #4ade80; }
.trk-dot--loss   { background: rgba(248,113,113,.14); border: 1px solid rgba(248,113,113,.32);color: #f87171; }
.trk-dot--remake { background: rgba(241,245,249,.06); border: 1px solid rgba(241,245,249,.15);color: #9a8870; }

/* ── Spider / Radar chart ── */
.trk-spider-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.trk-spider-wrap--role {
  margin-bottom: 6px;
}
.trk-spider-svg {
  display: block;
  max-width: 220px;
  overflow: visible;
}
.trk-spider-ring {
  fill: none;
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
}
.trk-spider-axis {
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
}
.trk-spider-fill {
  fill: rgba(96,165,250,.18);
  stroke: none;
}
.trk-spider-stroke {
  fill: none;
  stroke: rgba(96,165,250,.75);
  stroke-width: 2;
  stroke-linejoin: round;
}
.trk-spider-lbl {
  text-anchor: middle;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: 'Inter', sans-serif;
}
.trk-spider-sublbl {
  text-anchor: middle;
  font-size: 8px;
  font-family: 'Inter', sans-serif;
  opacity: .8;
}
.trk-spider-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.trk-spider-legend__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #7a6a50;
}

/* ── General tab 2-col layout ── */
.trk-general-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  margin-bottom: 6px;
}
.trk-general-left  { display: flex; flex-direction: column; gap: 8px; }
.trk-general-right { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 720px) {
  .trk-general-grid { grid-template-columns: 1fr; }
  .trk-global-header { gap: 12px; }
  .trk-global-wl { flex-direction: row; }
}

/* ── Win vs Loss comparison ── */
.trk-wl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.trk-wl-head {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trk-wl-head-col {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
}
.trk-wl-head-col--win  { color: #4ade80; }
.trk-wl-head-col--loss { color: #f87171; }
.trk-wl-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.trk-wl-row:last-child { border-bottom: none; }
.trk-wl-lbl {
  font-size: 11px;
  color: #7a6a50;
  align-self: center;
}
.trk-wl-val {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  align-self: center;
}

/* ── Role bar WR column ── */
.tracker-role-bar-wr {
  font-size: 11px;
  font-weight: 700;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Champion advice cards ── */
.trk-champ-adv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}
.trk-ca-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  transition: border-color .18s;
}
.trk-ca-card:hover { border-color: rgba(96,165,250,.35); }
.trk-ca-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trk-ca-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.trk-ca-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.trk-ca-name {
  font-size: 14px;
  font-weight: 700;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trk-ca-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.trk-ca-tips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trk-ca-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  color: #9a8870;
  line-height: 1.5;
  padding: 6px 9px;
  background: rgba(240,168,24,.07);
  border-left: 2px solid rgba(240,168,24,.4);
  border-radius: 6px;
}
.trk-ca-tip-ico {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1.4;
}

/* ── AI Coach panel ── */
.trk-coach {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(99,102,241,.1) 0%, rgba(168,85,247,.06) 100%);
  border: 1px solid rgba(99,102,241,.28);
  border-radius: 14px;
  margin-bottom: 6px;
}
.trk-coach__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trk-coach__bot {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.trk-coach__title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #e8dcc8;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .02em;
}
.trk-coach__sub {
  font-size: 11px;
  color: #7a6a50;
}
.trk-coach__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trk-coach__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid;
}
.trk-coach__item--urgent {
  background: rgba(248,113,113,.07);
  border-color: rgba(248,113,113,.25);
}
.trk-coach__item--warn {
  background: rgba(240,168,24,.07);
  border-color: rgba(240,168,24,.25);
}
.trk-coach__item--info {
  background: rgba(96,165,250,.06);
  border-color: rgba(96,165,250,.18);
}
.trk-coach__item--ok {
  background: rgba(74,222,128,.06);
  border-color: rgba(74,222,128,.2);
}
.trk-coach__ico {
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.trk-coach__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.trk-coach__priority {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #D4AF37;
}
.trk-coach__item--urgent .trk-coach__priority { color: #f87171; }
.trk-coach__item--warn   .trk-coach__priority { color: #f0a818; }
.trk-coach__item--ok     .trk-coach__priority { color: #4ade80; }
.trk-coach__text {
  font-size: 12.5px;
  color: #c8b898;
  line-height: 1.55;
}
.trk-coach__section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trk-coach__cat-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  background: rgba(99,102,241,.12);
  border-radius: 8px;
  border-left: 3px solid rgba(99,102,241,.55);
  margin-top: 4px;
}
.trk-coach__cat-icon {
  font-size: 15px;
  line-height: 1;
}
.trk-coach__cat-label {
  font-size: 11px;
  font-weight: 700;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex: 1;
}
.trk-coach__cat-count {
  font-size: 10px;
  color: #4a5568;
  font-weight: 600;
}

@media (max-width: 600px) {
  .trk-champ-adv { grid-template-columns: 1fr; }
  .trk-coach { padding: 14px; }
  .trk-ring { width: 90px; height: 90px; }
  .trk-ring__val { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   Deep analysis — matchups ennemis
═══════════════════════════════════════════════════════════ */
.trk-mu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.trk-mu-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9a8870;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #2a1e10;
}
.trk-mu-col--good .trk-mu-col-title { color: #4ade80; }
.trk-mu-col--bad  .trk-mu-col-title { color: #f87171; }
.trk-mu-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 6px;
  background: #110e08;
  margin-bottom: 4px;
}
.trk-mu-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #3d3020;
}
.trk-mu-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.trk-mu-name {
  font-size: 12px;
  font-weight: 600;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trk-mu-games {
  font-size: 10px;
  color: #7a6a50;
}
.trk-mu-wr {
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.trk-mu-all {
  margin-top: 6px;
}
.trk-mu-all summary {
  font-size: 11px;
  color: #D4AF37;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  user-select: none;
}
.trk-mu-all summary:hover { background: #2a1e10; }
.trk-mu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 4px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   Deep analysis — stuff par champion
═══════════════════════════════════════════════════════════ */
.trk-di-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: #110e08;
  border-radius: 8px;
  margin-bottom: 6px;
}
.trk-di-champ {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 130px;
}
.trk-di-champ-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #3d3020;
  flex-shrink: 0;
}
.trk-di-champ-name {
  font-size: 12px;
  font-weight: 600;
  color: #e8dcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trk-di-champ-games {
  display: block;
  font-size: 10px;
  color: #7a6a50;
}
.trk-di-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.trk-di-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: default;
}
.trk-di-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #3d3020;
}
.trk-di-badge {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.trk-di-freq {
  font-size: 9px;
  color: #7a6a50;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   Deep analysis — chemins de runes
═══════════════════════════════════════════════════════════ */
.trk-rp-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trk-rp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: #110e08;
  border-radius: 6px;
}
.trk-rp-left {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 120px;
  flex-shrink: 0;
}
.trk-rp-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.trk-rp-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.trk-rp-bar-wrap {
  flex: 1;
  height: 6px;
  background: #2a1e10;
  border-radius: 3px;
  overflow: hidden;
}
.trk-rp-bar {
  height: 100%;
  border-radius: 3px;
  transition: width .3s ease;
}
.trk-rp-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.trk-rp-freq {
  font-size: 11px;
  color: #7a6a50;
  width: 32px;
  text-align: right;
}
.trk-rp-wr {
  font-size: 13px;
  font-weight: 700;
  width: 44px;
  text-align: right;
}

@media (max-width: 700px) {
  .trk-mu-cols { grid-template-columns: 1fr; }
  .trk-di-row { flex-direction: column; align-items: flex-start; }
  .trk-di-champ { width: 100%; }
}
