@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #101216;
  --bg-elevated: #16191f;
  --bg-card: #1b1f26;
  --border: #262b34;
  --text: #eceef1;
  --text-dim: #9aa1ad;
  --accent: #e7b64c;
  --accent-strong: #f4c85c;
  --accent-ink: #211a05;
  --light: #4f9d8f;
  --club: #4f8ded;
  --pro: #c9556f;
  --danger: #d9564a;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 15% -10%, rgba(231,182,76,0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(79,141,237,0.06), transparent 55%);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

a { color: inherit; text-decoration: none; }
p { color: var(--text-dim); max-width: 62ch; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16,18,22,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #b9852b);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(16,18,22,0.35) 4px 5px);
  border-radius: 7px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg-elevated); }
.nav-links a.active { color: var(--text); background: var(--bg-elevated); }
.nav-user {
  display: flex; align-items: center; gap: 10px;
}
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .12s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { border-color: #3a4150; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-danger { border-color: rgba(217,86,74,0.4); color: #f0a89f; background: rgba(217,86,74,0.08); }
.btn-danger:hover { border-color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-steam, .btn-discord {
  gap: 10px;
}
.btn-steam { background: #101f2e; border-color: #1b3350; }
.btn-steam:hover { border-color: #2b5486; }
.btn-discord { background: #1c1f3a; border-color: #333a6b; }
.btn-discord:hover { border-color: #5865f2; }

/* --- Hero --- */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(231,182,76,0.12), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
  opacity: 0;
  animation: rise .6s ease forwards;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  max-width: 16ch;
  opacity: 0;
  animation: rise .7s ease forwards .08s;
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 52ch;
  margin-top: 18px;
  opacity: 0;
  animation: rise .7s ease forwards .16s;
}
.hero-actions {
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
  opacity: 0;
  animation: rise .7s ease forwards .24s;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-row {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
  opacity: 0;
  animation: rise .7s ease forwards .3s;
}
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; }
.stat-label { color: var(--text-dim); font-size: 0.86rem; }

/* --- Section --- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #333a45; }

.member-card { display: flex; flex-direction: column; gap: 14px; }
.member-top { display: flex; align-items: center; gap: 12px; }
.member-avatar { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border); object-fit: cover; }
.member-avatar-fallback {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text-dim);
}
.member-name { font-weight: 600; }
.member-handle { color: var(--text-dim); font-size: 0.85rem; }
.member-meta { font-size: 0.85rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 4px; }
.member-bio { font-size: 0.9rem; color: var(--text-dim); }

/* --- Badges --- */
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-top4-light { color: var(--light); background: rgba(79,157,143,0.12); border-color: rgba(79,157,143,0.3); }
.badge-top4-club { color: var(--club); background: rgba(79,141,237,0.12); border-color: rgba(79,141,237,0.3); }
.badge-top4-pro { color: var(--pro); background: rgba(201,85,111,0.12); border-color: rgba(201,85,111,0.3); }
.badge-champion-light { color: var(--light); background: rgba(79,157,143,0.18); border-color: rgba(79,157,143,0.5); }
.badge-champion-club { color: var(--club); background: rgba(79,141,237,0.18); border-color: rgba(79,141,237,0.5); }
.badge-champion-pro { color: var(--pro); background: rgba(201,85,111,0.18); border-color: rgba(201,85,111,0.5); }
.badge-serie-light { color: var(--light); background: rgba(79,157,143,0.14); }
.badge-serie-club { color: var(--club); background: rgba(79,141,237,0.14); }
.badge-serie-pro { color: var(--pro); background: rgba(201,85,111,0.14); }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
input[type=text], input[type=number], input[type=datetime-local], textarea, select {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 90px; }
.hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.field-error { color: #f0a89f; font-size: 0.85rem; margin-top: 6px; }

.auth-card {
  max-width: 440px;
  margin: 80px auto;
  padding: 36px;
}
.auth-card .btn { margin-bottom: 12px; }
.auth-note {
  background: rgba(231,182,76,0.08);
  border: 1px solid rgba(231,182,76,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.87rem;
  color: var(--accent-strong);
  margin: 18px 0;
}

.divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.8rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* --- Car picker --- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.car-option { cursor: pointer; }
.car-option input { position: absolute; opacity: 0; pointer-events: none; }
.car-option .card { padding: 0; overflow: hidden; }
.car-option img { width: 100%; height: 100px; object-fit: cover; background: var(--bg-elevated); }
.car-option .car-name { padding: 10px 12px; font-size: 0.88rem; font-weight: 500; }
.car-option input:checked + .card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* --- Tables --- */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--text-dim); font-weight: 500; font-size: 0.8rem; text-transform: none; }
tr:hover td { background: var(--bg-elevated); }

/* --- Misc --- */
.tag-serie {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.9rem; }
.alert-error { background: rgba(217,86,74,0.1); border: 1px solid rgba(217,86,74,0.3); color: #f0a89f; }
.alert-success { background: rgba(79,157,143,0.1); border: 1px solid rgba(79,157,143,0.3); color: #9fdccf; }

.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { font-size: 2.2rem; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .auth-card { margin: 40px auto; padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   V2 — fond d'image, animations, refontes diverses
   ═══════════════════════════════════════════════════════════════════════ */

/* --- Fond d'image du site --- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.22;
  will-change: opacity, transform;
  transition: opacity .1s linear;
}
.site-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16,18,22,0.55) 0%, rgba(16,18,22,0.85) 60%, var(--bg) 100%);
  pointer-events: none;
}

/* --- Page transition --- */
.page-enter { animation: pageFade .45s ease both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- Boutons : animation générale --- */
.btn-anim {
  position: relative;
  overflow: hidden;
  transition: transform .16s cubic-bezier(.2,.8,.3,1.3), box-shadow .2s ease, border-color .15s ease, background .15s ease;
}
.btn-anim:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 8px 20px rgba(0,0,0,0.28); }
.btn-anim:active { transform: translateY(0) scale(0.98); }
.btn-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.btn-anim:active::after { opacity: 1; transition: none; }

.btn-locked {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-dim);
  cursor: not-allowed;
}

/* --- Discord / Steam : boutons distinctifs et animés --- */
.btn-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border-color: #4752c4;
  color: #fff;
  font-weight: 600;
}
.btn-discord:hover { background: linear-gradient(135deg, #6a74ff, #5865f2); box-shadow: 0 8px 24px rgba(88,101,242,0.35); }
.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  border-color: #2a475e;
  color: #66c0f4;
  font-weight: 600;
}
.btn-steam:hover { background: linear-gradient(135deg, #223a52, #316a8f); box-shadow: 0 8px 24px rgba(102,192,244,0.25); }
.linked-ok { border-color: rgba(79,157,143,0.5); color: #9fdccf; background: rgba(79,157,143,0.1); }

.required-star { color: var(--danger); font-weight: 700; }
.optional-tag { color: var(--text-dim); font-weight: 400; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }

.char-counter { text-align: right; font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }
.char-counter.is-near-limit { color: var(--accent); }

/* --- Liens Discord/Steam dans les listes --- */
.profile-links { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-link { font-size: 0.82rem; padding: 2px 0; border-bottom: 1px solid transparent; transition: border-color .15s ease, color .15s ease; }
.profile-link-discord { color: #8b93f8; }
.profile-link-discord:hover { border-color: #8b93f8; }
.profile-link-steam { color: #66c0f4; }
.profile-link-steam:hover { border-color: #66c0f4; }

.result-link { color: var(--accent); border-bottom: 1px dotted var(--accent); }
.result-link:hover { color: var(--accent-strong); }

/* --- Notifications --- */
.notif-bell { position: relative; font-size: 1.15rem; padding: 4px 6px; }
.notif-dot {
  position: absolute; top: -2px; right: -2px;
  background: var(--danger); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  border-radius: 999px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.notif-item { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-item .notif-date { font-size: 0.78rem; color: var(--text-dim); }

/* --- Zone dangereuse --- */
.danger-zone { border-color: rgba(217,86,74,0.35); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-dim); cursor: pointer; }
.checkbox-row input { margin-top: 3px; }

/* --- Modération : cartes restylées --- */
.mod-list { display: flex; flex-direction: column; gap: 12px; }
.mod-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.mod-card-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mod-name { font-weight: 600; font-size: 1.02rem; }
.mod-sub { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; align-items: center; }
.status-pill { font-size: 0.76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-active { color: #9fdccf; background: rgba(79,157,143,0.12); }
.status-banned { color: #f0a89f; background: rgba(217,86,74,0.12); }
.status-suspended { color: var(--accent-strong); background: rgba(231,182,76,0.12); }

.mod-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mod-btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .14s ease, filter .15s ease;
}
.mod-btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.mod-btn-neutral { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.mod-btn-danger { background: var(--danger); color: #fff; }
.mod-btn-danger-outline { background: transparent; color: #f0a89f; border: 1px solid rgba(217,86,74,0.4); }
.mod-btn-warning { background: var(--accent); color: var(--accent-ink); }

.mod-panel {
  display: none;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  flex-wrap: wrap;
}
.mod-panel.is-open { display: flex; }
.mod-panel input[type=text] { flex: 1; min-width: 200px; }

/* --- Stepper (durée de suspension) --- */
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-elevated); }
.stepper-btn {
  width: 34px; height: 38px;
  background: transparent; border: none; color: var(--text);
  font-size: 1.1rem; cursor: pointer; transition: background .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.stepper-btn:hover { background: rgba(255,255,255,0.06); }
.stepper-input {
  width: 60px; text-align: center; border: none; background: transparent;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  -moz-appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.stepper-suffix { padding: 0 12px; color: var(--text-dim); font-size: 0.82rem; border-left: 1px solid var(--border); height: 38px; display: flex; align-items: center; }

/* --- Hero plein écran (accueil) --- */
.hero-full {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.hero-full-inner { max-width: 700px; }
.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  opacity: 0;
  animation: rise .8s ease forwards .1s;
}
.hero-full .hero-eyebrow { justify-content: center; display: flex; }
.hero-full .lead { margin: 20px auto 0; }
.hero-full .hero-actions { justify-content: center; }

.scroll-hint {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.8rem;
  opacity: 0;
  animation: rise .8s ease forwards .5s;
}
.scroll-hint-arrow { animation: bounce 1.8s ease-in-out infinite; font-size: 1.1rem; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* --- Bandeau compétition active (bas de l'accueil) --- */
.comp-banner {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(22,25,31,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.comp-banner-track { flex: 1; overflow: hidden; }
.comp-slide {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  animation: rise .35s ease;
}
.comp-slide-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.comp-slide-date { color: var(--text-dim); font-size: 0.85rem; }
.comp-arrow {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  flex-shrink: 0;
}
.comp-arrow:hover { transform: scale(1.1); border-color: var(--accent); }

@media (max-width: 640px) {
  .comp-banner { flex-wrap: wrap; }
  .hero-full { min-height: 80vh; }
}

/* --- Sélecteur de membres (recherche live) --- */
.member-search { position: relative; }
.member-search-input { width: 100%; }
.member-search-input[readonly] { border-color: rgba(79,157,143,0.5); color: #9fdccf; }
.member-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: var(--shadow);
}
.member-search-item { padding: 9px 12px; font-size: 0.88rem; cursor: pointer; }
.member-search-item:hover { background: var(--bg-card); }
.member-search-clear {
  display: none;
  position: absolute; right: 8px; top: 8px;
  background: transparent; border: none; color: var(--text-dim);
  cursor: pointer; font-size: 0.9rem;
}
.member-search-row { position: relative; margin-bottom: 10px; }

/* --- Bracket / classement juges --- */
.bracket-rounds { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 16px; }
.bracket-round { min-width: 220px; display: flex; flex-direction: column; gap: 16px; }
.bracket-round-title { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.bracket-match { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.bracket-slot { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 0.88rem; border-bottom: 1px solid var(--border); gap: 8px; }
.bracket-slot:last-child { border-bottom: none; }
.bracket-slot.is-empty { color: var(--text-dim); font-style: italic; }
.bracket-slot.is-winner { background: rgba(231,182,76,0.08); }
.bracket-advance-btn {
  background: var(--accent); color: var(--accent-ink); border: none;
  width: 26px; height: 26px; border-radius: 50%; font-size: 0.9rem; cursor: pointer;
  flex-shrink: 0; transition: transform .15s ease;
}
.bracket-advance-btn:hover { transform: scale(1.15); }

/* --- Voitures custom / présélection --- */
.pending-badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.deleted-account { color: var(--text-dim); font-style: italic; cursor: help; }

.event-banner { border-radius: var(--radius); overflow: hidden; max-height: 320px; margin-bottom: 20px; }
.event-banner img { width: 100%; height: 100%; object-fit: cover; max-height: 320px; }
.notif-choice { margin-top: 20px; padding: 16px; background: var(--bg-elevated); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.notif-options { display: flex; gap: 20px; margin-top: 12px; flex-wrap: wrap; padding-left: 4px; }

/* --- Lien "étiré" sur toute la carte, sans imbriquer de <a> --- */
.stretched-link { position: absolute; inset: 0; z-index: 1; }
.member-card { position: relative; }
.member-card .profile-link, .member-card .member-name { position: relative; z-index: 2; }
.comp-card { position: relative; }

/* ═══════════════════════════════════════════════════════════════════════
   V3 — bandeau single-slide, sections verticales, composants modernisés
   ═══════════════════════════════════════════════════════════════════════ */

/* --- Sections plus verticales / plus de scroll --- */
.section-tall { padding: 100px 0; }
.vertical-steps { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.vstep {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color .2s ease, transform .2s ease;
}
.vstep-link { text-decoration: none; }
.vstep:hover { border-color: var(--accent); transform: translateX(4px); }
.vstep-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #b9852b);
  color: var(--accent-ink); font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.vstep h3 { font-size: 1.15rem; margin-bottom: 6px; }
.vstep p { margin: 0; }

/* --- Bandeau compétitions : une seule diapo visible (classe .is-active) --- */
.comp-slide { display: none; align-items: center; gap: 18px; flex-wrap: wrap; width: 100%; }
.comp-slide.is-active { display: flex; animation: rise .35s ease; }
.comp-slide-img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.comp-slide-info { flex: 1; min-width: 180px; }
.comp-slide-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.comp-slide-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.85rem; }
.comp-countdown { color: var(--accent-strong); font-weight: 600; }

/* --- Composants modernisés (inspiration glassmorphism / glow) --- */
.card.reveal, .mod-card, .comp-banner {
  backdrop-filter: blur(6px);
}
.btn-primary.btn-anim {
  background: linear-gradient(135deg, var(--accent), #d99f36);
  box-shadow: 0 0 0 rgba(231,182,76,0);
}
.btn-primary.btn-anim:hover {
  box-shadow: 0 0 24px rgba(231,182,76,0.45);
}

/* Interrupteur à bascule (toggle) style moderne, pour un usage futur éventuel */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 999px; transition: background .2s ease;
}
.toggle-slider::before {
  content: ""; position: absolute; height: 18px; width: 18px; left: 2px; top: 2px;
  background: var(--text-dim); border-radius: 50%; transition: transform .2s ease, background .2s ease;
}
.toggle-switch input:checked + .toggle-slider { background: rgba(231,182,76,0.25); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--accent); }

@media (max-width: 640px) {
  .section-tall { padding: 64px 0; }
  .vstep { flex-direction: column; gap: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   V4 — modal, toasts, loader, dropdown profil, checkbox custom, recherche,
   boutons revus, titre néon, scroll fluide
   ═══════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }
body { scroll-behavior: smooth; }

/* --- Modal --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,9,11,0.72);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px; width: 100%;
  max-height: 86vh; overflow-y: auto;
  padding: 28px;
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .25s cubic-bezier(.2,.8,.25,1), opacity .25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: color .15s ease, transform .15s ease;
}
.modal-close:hover { color: var(--text); transform: rotate(90deg); }
.modal-box { position: relative; }

/* --- Toasts (haut à gauche) --- */
.toast-stack {
  position: fixed; top: 18px; left: 18px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 340px;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  animation: toastIn .3s cubic-bezier(.2,.8,.25,1) both;
  font-size: 0.88rem;
}
.toast.toast-error { border-left-color: var(--danger); }
.toast.toast-success { border-left-color: #4f9d8f; }
.toast.is-leaving { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity:0; transform: translateX(-24px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { to { opacity:0; transform: translateX(-24px); } }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-close { margin-left: auto; background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1rem; }

/* --- Loader (jaune) --- */
.page-loader-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  z-index: 400;
  box-shadow: 0 0 8px rgba(231,182,76,0.7);
  transition: width .3s ease;
}
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid rgba(231,182,76,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center { display: flex; align-items: center; justify-content: center; padding: 40px; }

/* --- Dropdown profil --- */
.profile-menu { position: relative; }
.profile-menu-trigger {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  padding: 4px 6px; border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.profile-menu-trigger:hover { background: var(--bg-elevated); }
.profile-menu-caret { font-size: 0.65rem; color: var(--text-dim); transition: transform .2s ease; }
.profile-menu.is-open .profile-menu-caret { transform: rotate(180deg); }
.profile-menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  overflow: hidden;
  z-index: 60;
}
.profile-menu.is-open .profile-menu-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.profile-menu-item {
  display: block; width: 100%; text-align: left;
  padding: 11px 16px; font-size: 0.87rem;
  background: none; border: none; color: var(--text);
  cursor: pointer; font-family: inherit;
  transition: background .12s ease;
}
.profile-menu-item:hover { background: var(--bg-card); }
.profile-menu-item.is-danger { color: #f0a89f; }
.profile-menu-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* --- Checkbox custom (sans barré du texte) --- */
.checkbox-fancy { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; color: var(--text-dim); user-select: none; }
.checkbox-fancy input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-fancy .box {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, background .15s ease;
}
.checkbox-fancy .box svg {
  width: 12px; height: 12px; opacity: 0; transform: scale(.5);
  transition: opacity .15s ease, transform .15s ease;
}
.checkbox-fancy input:checked + .box { border-color: var(--accent); background: rgba(231,182,76,0.15); }
.checkbox-fancy input:checked + .box svg { opacity: 1; transform: scale(1); }
.checkbox-fancy input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Barre de recherche --- */
.search-bar { position: relative; display: flex; align-items: center; }
.search-bar svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--text-dim); pointer-events: none; }
.search-bar input {
  padding-left: 38px;
  border-radius: 999px;
  transition: box-shadow .2s ease, border-color .2s ease, width .2s ease;
}
.search-bar input:focus { box-shadow: 0 0 0 3px rgba(231,182,76,0.18); border-color: var(--accent); }

/* --- Boutons revus : un peu moins arrondis, glow au survol --- */
.btn { border-radius: 8px; }
.btn-primary.btn-anim {
  border: none;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent) 60%, #c99b3f);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: .01em;
  position: relative;
}
.btn-primary.btn-anim:hover {
  box-shadow: 0 0 0 1px rgba(231,182,76,0.5), 0 10px 30px rgba(231,182,76,0.35);
  transform: translateY(-2px);
}
.btn-hero-cta {
  padding: 14px 30px;
  font-size: 1.02rem;
  border-radius: 8px;
}

/* --- Titre néon "Academy Grand Prix" --- */
.hero-title.glow-title {
  color: var(--accent-strong);
  text-shadow:
    0 0 6px rgba(244,200,92,0.6),
    0 0 22px rgba(244,200,92,0.45),
    0 0 60px rgba(231,182,76,0.3);
  animation: titleFlicker 4s ease-in-out infinite;
}
@keyframes titleFlicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.85; }
  98% { opacity: 1; }
}

/* --- Tag "Inscrit" --- */
.tag-registered {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(79,157,143,0.15); color: #9fdccf;
  border: 1px solid rgba(79,157,143,0.4);
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}

/* --- Footer sobre --- */
.footer-simple { display: flex; align-items: center; justify-content: center; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .hero-title.glow-title { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   V5 — composants adaptés de designs Uiverse (recréés en CSS natif, adaptés
   à la palette du site), moins arrondis comme demandé.
   ═══════════════════════════════════════════════════════════════════════ */

/* --- Dropdown profil (inspiré red-mayfly-78) --- */
.profile-menu-panel { padding: 6px; }
.profile-menu-item {
  border-radius: 6px;
  position: relative;
  display: flex; align-items: center; gap: 8px;
}
.profile-menu-item::before {
  content: "";
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 3px; border-radius: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .15s ease;
}
.profile-menu-item:hover::before, .profile-menu-item:focus::before { opacity: 1; }
.profile-menu-item:hover { background: var(--bg-card); }

/* --- Checkbox custom (inspiré wise-elephant-53, sans texte barré) --- */
.checkbox-fancy .box { position: relative; overflow: visible; }
.checkbox-fancy input:checked + .box {
  animation: checkPop .3s ease-out;
}
.checkbox-fancy .box::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(231,182,76,0.35);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.checkbox-fancy input:checked + .box::after {
  animation: checkRipple .5s ease-out;
}
@keyframes checkPop { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes checkRipple { 0% { transform: scale(0); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* --- Loader (inspiré green-mayfly-76, en jaune) : 4 points qui fusionnent --- */
.spinner {
  width: 28px; height: 28px;
  color: var(--accent);
  position: relative;
  background: radial-gradient(7px, currentColor 94%, #0000);
  border: none; border-radius: 0;
  animation: none;
}
.spinner::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(6.3px at bottom right, #0000 94%, currentColor) top left,
    radial-gradient(6.3px at bottom left, #0000 94%, currentColor) top right,
    radial-gradient(6.3px at top right, #0000 94%, currentColor) bottom left,
    radial-gradient(6.3px at top left, #0000 94%, currentColor) bottom right;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  animation: spinnerMerge 1.5s infinite cubic-bezier(0.3,1,0,1);
}
.spinner-lg { width: 44px; height: 44px; background: radial-gradient(11px, currentColor 94%, #0000); }
.spinner-lg::before { background-size: 22px 22px; }
@keyframes spinnerMerge {
  33% { inset: -7px; transform: rotate(0deg); }
  66% { inset: -7px; transform: rotate(90deg); }
  100% { inset: 0; transform: rotate(90deg); }
}

/* --- Titre "Academy Grand Prix" : lignes qui se déploient (inspiré curvy-crab-71) --- */
.hero-title.glow-title { position: relative; display: inline-block; padding: 0.15em 0; }
.hero-title.glow-title::before, .hero-title.glow-title::after {
  content: "";
  position: absolute; left: 50%; width: 0%; height: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(231,182,76,0.7);
  transition: width 1.1s cubic-bezier(.2,.8,.2,1), left 1.1s cubic-bezier(.2,.8,.2,1);
  animation: titleLineIn 1.1s cubic-bezier(.2,.8,.2,1) .3s forwards;
}
.hero-title.glow-title::before { top: 0; }
.hero-title.glow-title::after { bottom: 0; }
@keyframes titleLineIn { from { width: 0%; left: 50%; } to { width: 100%; left: 0%; } }

/* --- Boutons "voir les compétitions" : sweep diagonal (inspiré chatty-bulldog-58), en jaune --- */
.btn-sweep {
  padding: 0.9em 1.8em;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color .5s ease, transform .2s ease;
  z-index: 0;
}
.btn-sweep::before {
  content: "";
  position: absolute; left: -50px; top: 0;
  width: 0; height: 100%;
  background: var(--accent);
  transform: skewX(20deg);
  z-index: -1;
  transition: width .5s ease;
}
.btn-sweep:hover {
  color: var(--accent-ink);
  transform: scale(1.04);
  box-shadow: 4px 6px 20px -4px rgba(231,182,76,0.5);
}
.btn-sweep:hover::before { width: 250%; }

/* --- Boutons génériques : léger halo radial au survol (inspiré wise-goat-75) --- */
.btn-anim { position: relative; overflow: hidden; z-index: 0; }
.btn-anim::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(231,182,76,0.22) 0%, rgba(231,182,76,0) 70%);
  transform: scale(0);
  transition: transform .5s ease;
  z-index: -1;
  pointer-events: none;
}
.btn-anim:hover::before { transform: scale(3); }

/* --- Toast (inspiré heavy-cobra-18) --- */
.toast {
  background: var(--bg-card);
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  align-items: center;
}
.toast-icon {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 1rem;
}
.toast-title { color: var(--text); font-weight: 600; font-size: 0.86rem; }
.toast-desc { color: var(--text-dim); font-size: 0.78rem; margin-top: 1px; }
.toast-body { display: flex; flex-direction: column; }

/* --- Bouton lien externe (flèche diagonale) --- */
.external-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-bottom: 1px dotted var(--border);
  transition: color .15s ease, border-color .15s ease;
}
.external-link-btn:hover { color: var(--accent); border-color: var(--accent); }
.external-link-btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   V6 — chat, équipes
   ═══════════════════════════════════════════════════════════════════════ */

.conversation-page { display: flex; flex-direction: column; height: calc(100vh - 180px); min-height: 500px; }
.conversation-header { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; flex-wrap: wrap; }
.conversation-title { display: flex; align-items: center; gap: 10px; font-weight: 600; flex: 1; }

.chat-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 6px 4px 16px; }
.chat-msg { max-width: 72%; display: flex; flex-direction: column; gap: 3px; }
.chat-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.chat-msg-author { font-size: 0.76rem; color: var(--text-dim); padding-left: 4px; }
.chat-bubble { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; padding: 10px 14px; }
.chat-msg.is-mine .chat-bubble { background: rgba(231,182,76,0.14); border-color: rgba(231,182,76,0.3); border-radius: 14px 14px 4px 14px; }
.chat-msg.is-system .chat-bubble { background: rgba(231,182,76,0.08); border-style: dashed; }
.chat-body { white-space: pre-line; word-break: break-word; font-size: 0.92rem; }
.chat-attachment { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--accent); }
.chat-meta { font-size: 0.72rem; color: var(--text-dim); padding: 0 6px; display: flex; align-items: center; gap: 6px; }
.seen-icon { font-size: 0.85rem; }

.chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-input-row textarea { flex: 1; resize: none; max-height: 140px; border-radius: 14px; }
.chat-tool-btn {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  width: 42px; height: 42px; font-size: 1.1rem; cursor: pointer; flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}
.chat-tool-btn:hover { background: var(--bg-card); transform: translateY(-1px); }

.emoji-picker {
  position: absolute; bottom: 60px; left: 0;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
  box-shadow: var(--shadow); z-index: 30;
}
.emoji-item { background: none; border: none; font-size: 1.3rem; cursor: pointer; border-radius: 6px; padding: 4px; transition: background .12s ease; }
.emoji-item:hover { background: var(--bg-card); }

.file-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.file-chip { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; display: flex; align-items: center; gap: 6px; }
.file-chip button { background: none; border: none; color: var(--text-dim); cursor: pointer; }

/* --- Pop-up upload avec glisser-déposer --- */
.upload-modal-overlay {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(8,9,11,0.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.upload-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.upload-modal-box { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; max-width: 420px; width: 100%; }
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 40px 20px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone.is-dragover { border-color: var(--accent); background: rgba(231,182,76,0.08); }

/* --- Équipes --- */
.team-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(79,141,237,0.14); color: var(--club);
  border: 1px solid rgba(79,141,237,0.35);
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.team-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.team-avatar { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }

.admin-nav-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.admin-nav-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.admin-nav-group h3 { font-size: 0.95rem; margin-bottom: 12px; }
.admin-nav-group .btn { margin: 0 6px 8px 0; }
