/* Mon Espace — hub compte InterFilm (noir / or) */
#monEspacePage {
  --me-bg: #000;
  --me-panel: #121212;
  --me-panel-2: #161616;
  --me-border: rgba(255, 255, 255, 0.1);
  --me-border-soft: rgba(255, 255, 255, 0.08);
  --me-muted: #a1a1aa;
  --me-gold: #e8c547;
  --me-gold-bright: #f5d76e;
  --me-gold-soft: rgba(232, 197, 71, 0.16);
  --me-violet: #e8c547;
  --me-violet-soft: rgba(232, 197, 71, 0.14);
  --me-violet-deep: #c9a227;
  --me-radius: 16px;
  --me-font: 'Outfit', system-ui, sans-serif;
  --me-display: 'Outfit', system-ui, sans-serif;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  position: fixed;
  inset: 0;
  z-index: 999999980;
  display: none;
  color: #fff;
  font-family: var(--me-font);
  background: #000;
}
#monEspacePage.is-open {
  display: flex;
  animation: meFadeIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes meFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.mon-espace-open { overflow: hidden; }

.me-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* ── Sidebar ── */
.me-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 18px 20px;
  border-right: 1px solid var(--me-border-soft);
  background: linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: 0;
  overflow: auto;
}
.me-side-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 6px 4px;
}
.me-side-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  overflow: visible;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.me-side-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: block;
  position: relative;
  z-index: 1;
}
.me-side-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: contain;
  border-radius: 0;
  z-index: 2;
  aspect-ratio: 1 / 1;
}
.me-side-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.me-side-name {
  margin: 0;
  font-family: var(--me-font);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  word-break: break-word;
  line-height: 1.15;
}
.me-side-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--me-border);
  background: #141414;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.me-side-edit:hover {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}
.me-side-meta {
  font-size: 12px;
  color: var(--me-muted);
  line-height: 1.45;
  margin: 0;
}
.me-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 197, 71, 0.3);
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.16), rgba(232, 197, 71, 0.04));
  color: #f0d97a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.me-vip-badge svg {
  flex-shrink: 0;
  color: #e8c547;
  filter: drop-shadow(0 1px 2px rgba(232, 197, 71, 0.35));
}
.me-vip-badge[hidden] { display: none !important; }
.me-vip-badge--cta {
  border-color: rgba(232, 197, 71, 0.35);
  background: transparent;
  color: #e8c547;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}
.me-vip-badge--cta:hover { background: var(--me-gold-soft); }

.me-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  flex: 1;
}
.me-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  line-height: 1.2;
}
.me-nav-btn svg {
  flex-shrink: 0;
  opacity: 0.75;
  width: 18px;
  height: 18px;
  transition: opacity 0.18s, color 0.18s;
}
.me-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transform: translateX(2px);
}
.me-nav-btn:hover svg { opacity: 1; }
.me-nav-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: none;
}
.me-nav-btn.is-active svg {
  opacity: 1;
  color: #111;
}
.me-side-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--me-border-soft);
}
.me-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.me-logout:hover {
  color: #ff8a96;
  background: rgba(232, 48, 74, 0.08);
}

/* ── Main ── */
.me-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 28px 32px 36px;
  position: relative;
}
.me-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--me-muted);
  opacity: 1;
}
.me-title {
  margin: 0 0 22px;
  font-family: var(--me-font);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}
.me-view { display: none; }
.me-view.is-active {
  display: block;
  animation: meViewIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes meViewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.me-card {
  background: var(--me-panel);
  border: 1px solid var(--me-border-soft);
  border-radius: var(--me-radius);
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
.me-card--dashed {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.02);
}
.me-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}
.me-empty-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}
.me-empty-text {
  margin: 0 0 18px;
  color: var(--me-muted);
  font-size: 14px;
  line-height: 1.5;
}
.me-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
}
.me-btn:hover { transform: translateY(-1px); }
.me-btn--light {
  background: linear-gradient(135deg, #fff, #e8e4ff);
  color: #12121c;
}
.me-btn--light:hover { filter: brightness(1.03); }
.me-btn--gold {
  background: linear-gradient(135deg, #e8c547, #d4a017);
  color: #1a1408;
}
.me-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--me-border-soft);
  color: #fff;
}
.me-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.me-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.me-stat {
  background: var(--me-panel);
  border: 1px solid var(--me-border-soft);
  border-radius: 16px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.me-stat::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--me-gold), transparent);
  opacity: 0.7;
}
.me-stat:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.me-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.me-stat span {
  font-size: 12px;
  color: var(--me-muted);
  font-weight: 600;
}

.me-vip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background:
    linear-gradient(135deg, rgba(232, 197, 71, 0.12), rgba(0, 0, 0, 0.35)),
    #121212;
  margin-bottom: 18px;
}
.me-vip-banner p { margin: 4px 0 0; font-size: 13px; color: var(--me-muted); }
.me-vip-banner strong { color: var(--me-gold); font-size: 14px; }
.me-vip-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.me-vip-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--me-gold);
  font-size: 13px;
  font-weight: 750;
}

.me-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  align-items: start;
}
.me-media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 0.2s;
}
.me-media-card:hover { transform: translateY(-3px); }
.me-media-card:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.65);
  outline-offset: 3px;
  border-radius: 14px;
}
.me-media-poster-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #161622;
  aspect-ratio: 2 / 3;
}
.me-media-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: #161622;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.me-media-card:hover .me-media-poster {
  transform: scale(1.03);
  box-shadow: none;
}
.me-media-title {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.me-media-sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--me-muted);
}
.me-media-rm {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.me-settings-list { display: flex; flex-direction: column; }
.me-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--me-border-soft);
}
.me-settings-row:last-child { border-bottom: none; }
.me-settings-row strong { display: block; font-size: 14px; }
.me-settings-row span { font-size: 12px; color: var(--me-muted); }
.me-toggle {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.me-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.me-toggle.is-on { background: var(--me-gold); }
.me-toggle.is-on::after { transform: translateX(20px); }

.me-discord-btn {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #5865F2;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.me-discord-btn:hover { filter: brightness(1.08); }

/* ── Modifier le profil ── */
.me-profil-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.me-profil-preview-sticky { position: sticky; top: 8px; }
.me-profil-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.me-profil-preview-label {
  font-size: 11px;
  color: var(--me-muted);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.me-profil-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--me-border-soft);
}
.me-profil-tabs .pe-tab {
  flex: 1;
  min-width: 100px;
  border: none;
  border-radius: 12px;
  padding: 11px 10px;
  background: transparent;
  color: var(--me-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.me-profil-tabs .pe-tab:hover { color: #fff; }
.me-profil-tabs .pe-tab.active {
  background: #fff;
  color: #111;
  border-color: #fff;
  box-shadow: none;
}
.me-profil-panel {
  background: var(--me-panel);
  border: 1px solid var(--me-border-soft);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.me-field { margin-bottom: 24px; }
.me-field:last-child { margin-bottom: 0; }
.me-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--me-muted);
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.me-field-label .me-vip-tag {
  color: var(--me-gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.me-input,
.me-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--me-border-soft);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.me-input {
  font-size: 17px;
  font-weight: 800;
}
.me-textarea {
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  min-height: 110px;
}
.me-input:focus,
.me-textarea:focus {
  border-color: rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.06);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.1);
}
.me-input::placeholder,
.me-textarea::placeholder { color: rgba(255, 255, 255, 0.28); }

#monEspacePage .cm-pe-preview-card {
  background: var(--pp-bg, #14141c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
#monEspacePage .cm-pe-preview-card .cm-public-profile-body,
#monEspacePage .cm-pe-preview-card .cm-pe-preview-body {
  background: transparent !important;
}
#monEspacePage .pe-colors,
#monEspacePage #peProfileBgPalette {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#monEspacePage .pe-color {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, border-color 0.15s;
}
#monEspacePage .pe-color:hover { transform: scale(1.08); }
#monEspacePage .pe-color.active {
  border-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.35);
}
#monEspacePage #decoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 12px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-right: 6px;
}
#monEspacePage .pe-fonts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
#monEspacePage .pe-banner-pick,
#monEspacePage .pe-banner-recrop {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 750;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}
#monEspacePage .pe-banner-pick:hover,
#monEspacePage .pe-banner-recrop:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
#monEspacePage .pe-save-btn.me-btn--light {
  background: #fff !important;
  color: #111 !important;
  box-shadow: none;
}

.me-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--me-border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.me-close-x:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

#monEspacePage #editMainProfileModal.me-profil-embed {
  position: static !important;
  inset: auto !important;
  display: block !important;
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  z-index: auto !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
#monEspacePage #editMainProfileModal .pe-shell {
  max-width: none;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
#monEspacePage:not(.is-open) #editMainProfileModal {
  display: none !important;
}


.me-side-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.me-side-email {
  margin: 0;
  font-size: 12px;
  color: var(--me-muted);
  line-height: 1.35;
  word-break: break-all;
}
.me-side-email[hidden] { display: none !important; }


/* ── Mobile : version référence noir / or ── */
@media (max-width: 960px) {
  #monEspacePage {
    --me-bg: #000;
    --me-panel: #121212;
    --me-panel-2: #161616;
    --me-border: rgba(255, 255, 255, 0.1);
    --me-border-soft: rgba(255, 255, 255, 0.08);
    --me-muted: #a1a1aa;
    --me-gold: #e8c547;
    --me-gold-bright: #f5d76e;
    --me-gold-soft: rgba(232, 197, 71, 0.14);
    --me-violet: #e8c547;
    --me-violet-soft: rgba(232, 197, 71, 0.14);
    --me-violet-deep: #c9a227;
    --me-display: 'Outfit', system-ui, sans-serif;
    color: #fff;
    background: #000;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  }
  .me-shell {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 14px 20px;
    box-sizing: border-box;
    position: relative;
  }
  .me-close-x {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
  }
  .me-close-x:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  .me-sidebar {
    flex-shrink: 0;
    border-right: none;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 4px 40px 14px 0;
    gap: 16px;
    overflow: visible;
  }
  .me-side-profile {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 0;
  }
  .me-side-info {
    align-items: flex-start;
    flex: 1;
    min-width: 0;
  }
  .me-side-avatar-wrap,
  .me-side-avatar {
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .me-side-avatar {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
  .me-side-name-row {
    justify-content: flex-start;
  }
  .me-side-name {
    font-family: var(--me-font);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
  .me-side-edit {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
  }
  .me-vip-badge {
    border-color: rgba(232, 197, 71, 0.4);
    background: transparent;
    color: #f5d76e;
    border-radius: 999px;
  }
  .me-vip-badge--cta:hover {
    background: rgba(232, 197, 71, 0.14);
  }
  .me-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .me-nav::-webkit-scrollbar { display: none; }
  .me-nav-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0e0e0e;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    transform: none;
    box-shadow: none;
  }
  .me-nav-btn:hover {
    color: #fff;
    background: #0e0e0e;
    border-color: rgba(255, 255, 255, 0.22);
  }
  .me-nav-btn.is-active {
    background: #fff;
    border-color: #fff;
    color: #111;
    box-shadow: none;
  }
  .me-nav-btn.is-active svg { color: #111; opacity: 1; }
  .me-side-foot {
    display: block;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .me-logout { color: rgba(255,255,255,0.45); }
  .me-main {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 8px 0 24px;
  }
  .me-kicker {
    font-family: var(--me-font);
    letter-spacing: 0.14em;
    color: var(--me-muted);
  }
  .me-title {
    font-family: var(--me-font);
    font-weight: 800;
    letter-spacing: -0.04em;
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }
  .me-card,
  .me-stat {
    background: #121212;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: none;
  }
  .me-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .me-vip-banner {
    border-color: rgba(232, 197, 71, 0.4);
    background: linear-gradient(135deg, rgba(232, 197, 71, 0.1), rgba(0, 0, 0, 0.35));
    border-radius: 16px;
  }
  .me-btn--gold {
    background: #e8c547;
    color: #111;
  }
  .me-btn--light { background: #fff; color: #111; }
  .me-toggle.is-on { background: #e8c547; }
  .me-profil-layout { grid-template-columns: 1fr; }
  .me-profil-preview-sticky { position: static; }
  .me-profil-tabs .pe-tab {
    border-radius: 999px;
    background: #0e0e0e;
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
  }
  .me-profil-tabs .pe-tab.active {
    background: #fff;
    border-color: #fff;
    color: #111;
  }
  #monEspacePage .pe-save-btn.me-btn--light {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none;
  }
}
