:root {
  --purple:       #9147ff;
  --purple-dark:  #6318c7;
  --purple-deeper:#1a0533;
  --purple-mid:   #2d0f5e;
  --pink:         #bf94ff;
  --white:        #f0e6ff;
  --gray:         #b3a3cc;
  --dark:         #0e0118;
}

/* ── LIGHT MODE ──────────────────────────────── */
body.light-mode {
  --dark:         #f4eeff;
  --purple-deeper:#ece0ff;
  --purple-mid:   #ddd0ff;
  --white:        #1a0533;
  --gray:         #6b5080;
  --pink:         #7c3fd4;
  background: var(--dark);
  color: var(--white);
}
body.light-mode nav {
  background: rgba(244,238,255,0.92);
  border-bottom-color: rgba(145,71,255,0.2);
}
body.light-mode .mobile-menu {
  background: rgba(244,238,255,0.98);
  border-color: rgba(145,71,255,0.2);
}
body.light-mode .mobile-menu a { color: var(--white); }
body.light-mode .egg-inner,
body.light-mode .egg2-inner {
  background: linear-gradient(135deg, #ddd0ff, #ece0ff);
  border-color: rgba(145,71,255,0.35);
}
body.light-mode .egg-close { background: rgba(0,0,0,0.07); border-color: rgba(0,0,0,0.12); color: #6b5080; }
body.light-mode .egg-video-item { background: #d0c0f0; }
body.light-mode .stat-card { background: rgba(145,71,255,.1); border-color: rgba(145,71,255,.2); }
body.light-mode .stats-wrap { background: rgba(255,255,255,.7); border-color: rgba(145,71,255,.2); }
body.light-mode .about-card { background: rgba(145,71,255,.07); border-color: rgba(145,71,255,.2); }
body.light-mode .about-card p { color: var(--gray); }
body.light-mode .support-card { background: rgba(145,71,255,.06); border-color: rgba(145,71,255,.2); }
body.light-mode .support-card p { color: var(--gray); }
body.light-mode .hero-next-live { background: rgba(145,71,255,.1); border-color: rgba(145,71,255,.3); }
body.light-mode .section-divider { background: linear-gradient(90deg,transparent,rgba(145,71,255,.3),transparent); }
body.light-mode .day-card { background: rgba(145,71,255,.06); border-color: rgba(145,71,255,.2); }
body.light-mode .day-card.active { background: rgba(145,71,255,.15); }
body.light-mode .day-card.today { background: rgba(145,71,255,.28); }
body.light-mode .schedule-note { background: rgba(145,71,255,.06); border-color: rgba(145,71,255,.18); }
body.light-mode .clip-card { background: rgba(145,71,255,.06); border-color: rgba(145,71,255,.2); }
body.light-mode .clip-thumb { background: #c8b0f0; }
body.light-mode .live-status-banner.is-offline { background: rgba(145,71,255,.08); }
body.light-mode .hero-photo-card { background: linear-gradient(135deg,#ddd0ff,#ece0ff); }
body.light-mode .hero-deco-card { background: rgba(244,238,255,0.95); border-color: rgba(145,71,255,.3); }
body.light-mode .photo-badge { background: rgba(244,238,255,.92); border-color: rgba(145,71,255,.3); }
body.light-mode footer { border-top-color: rgba(145,71,255,.2); }
body.light-mode .footer-social-link { background: rgba(145,71,255,.08); border-color: rgba(145,71,255,.2); }
body.light-mode ::-webkit-scrollbar-track { background: var(--dark); }
body.light-mode .support-kofi { border-top-color: rgba(145,71,255,.2); }
body.light-mode .nav-logo { color: var(--white); }
body.light-mode .nav-links a { color: var(--gray); }
body.light-mode .nav-links a:hover { color: var(--white); }
body.light-mode .nav-icon { color: var(--gray); }
body.light-mode .tag { background: rgba(145,71,255,.12); border-color: rgba(145,71,255,.25); }

/* ── THEME TOGGLE BUTTON ─────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(145,71,255,0.25);
  background: rgba(145,71,255,0.1);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(145,71,255,0.22); border-color: rgba(145,71,255,.5); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; }
body.menu-open,
body.egg-open { overflow: hidden; }
img { max-width: 100%; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── EASTER EGG 3 ────────────────────────────── */
#easter-egg-3 {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#easter-egg-3.open { display: flex; }
.egg3-inner { max-width: 680px; }
.egg3-badge {
  background: rgba(50,255,150,0.15) !important;
  border-color: rgba(50,255,150,0.4) !important;
  color: #50ffb0 !important;
}
.egg3-videos-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ── COIN BAS-GAUCHE (trigger egg 3) ────────── */
#corner-trigger-3 {
  position: fixed;
  bottom: 0; left: 0;
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  cursor: default;
  z-index: 9999;
  padding: 0;
  outline: none;
}

/* ── EASTER EGG 2 ────────────────────────────── */
#easter-egg-2 {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#easter-egg-2.open { display: flex; }
.egg2-inner { max-width: 820px; }
.egg2-badge {
  background: rgba(255,100,50,0.2) !important;
  border-color: rgba(255,100,50,0.4) !important;
  color: #ff9070 !important;
}

/* ── COOKIE BANNER ───────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 500;
  width: calc(100% - 40px);
  max-width: 820px;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  background: rgba(14,1,24,0.97);
  border: 1px solid rgba(145,71,255,0.3);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
body.light-mode .cookie-inner {
  background: rgba(244,238,255,0.98);
  border-color: rgba(145,71,255,0.3);
  box-shadow: 0 8px 40px rgba(145,71,255,.15);
}
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--white); }
body.light-mode .cookie-text strong { color: var(--white); }
.cookie-text p { font-size: 12px; color: var(--gray); line-height: 1.5; margin: 0; }
.cookie-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cookie-lang {
  display: flex; gap: 4px;
  background: rgba(145,71,255,0.1);
  border: 1px solid rgba(145,71,255,0.2);
  border-radius: 8px;
  padding: 3px;
}
.cookie-lang-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.cookie-lang-btn.active { background: var(--purple); color: #fff; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  transition: all .2s;
  white-space: nowrap;
}
.cookie-refuse {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: var(--gray);
}
.cookie-refuse:hover { border-color: rgba(255,255,255,.3); color: var(--white); }
body.light-mode .cookie-refuse { border-color: rgba(0,0,0,.15); color: var(--gray); }
body.light-mode .cookie-refuse:hover { color: var(--white); }
.cookie-accept {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.cookie-accept:hover { background: var(--purple-dark); }
#easter-egg {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#easter-egg.open { display: flex; }

.egg-inner {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deeper));
  border: 1px solid rgba(145,71,255,0.4);
  border-radius: 24px;
  padding: 36px;
  max-width: 820px;
  width: 100%;
  position: relative;
  animation: eggPop .4s cubic-bezier(.34,1.56,.64,1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes eggPop { from{transform:scale(.8);opacity:0} to{transform:scale(1);opacity:1} }

.egg-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}
.egg-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.egg-header { text-align: center; margin-bottom: 28px; padding-top: 36px; }
.egg-badge {
  display: inline-block;
  background: rgba(145,71,255,0.2);
  border: 1px solid rgba(145,71,255,0.4);
  color: var(--pink);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.egg-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 6px;
}
.egg-sub { color: var(--gray); font-size: 14px; }

.egg-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.egg-photo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(145,71,255,0.2);
  position: relative;
}
.egg-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: saturate(0.9);
  transition: transform .3s;
}
.egg-photo:hover img { transform: scale(1.04); }
.egg-caption {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  background: rgba(0,0,0,0.4);
  font-style: italic;
}
.egg-footer {
  text-align: center;
  font-size: 13px;
  color: rgba(145,71,255,0.6);
}

/* ── EGG VIDEOS ──────────────────────────────── */
.egg-videos-section {
  margin-top: 24px;
  margin-bottom: 16px;
}
.egg-section-title {
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--pink);
  margin-bottom: 14px;
  letter-spacing: .5px;
}
.egg-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.egg-video-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(145,71,255,0.2);
  background: var(--purple-deeper);
}
.egg-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
}
.egg-editor-credit {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
  font-style: italic;
}
.egg-editor-credit strong {
  color: var(--pink);
  font-style: normal;
}
.contact-pro {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(145,71,255,.1);
}
.contact-label {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(145,71,255,.1);
  border: 1px solid rgba(145,71,255,.3);
  color: var(--pink);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.contact-btn:hover {
  background: rgba(145,71,255,.22);
  border-color: rgba(145,71,255,.6);
  color: #fff;
}

/* ── KO-FI ────────────────────────────────────── */
.support-kofi {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(145,71,255,.1);
}
.support-kofi p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 14px;
}
.support-kofi p strong {
  color: var(--white);
}
.kofi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,94,58,.1);
  border: 1px solid rgba(255,94,58,.35);
  color: #ff7f5e;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.kofi-btn:hover {
  background: rgba(255,94,58,.22);
  border-color: rgba(255,94,58,.6);
  color: #fff;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14,1,24,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(145,71,255,0.12);
  gap: 20px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
  cursor: pointer;
}
.nav-logo:hover { opacity: .85; }
.nav-logo span { color: var(--purple); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  color: var(--gray);
  text-decoration: none;
  transition: all .2s;
}
.nav-icon:hover { background: rgba(145,71,255,0.15); color: var(--white); }

.nav-donate {
  background: rgba(145,71,255,0.12);
  border: 1px solid rgba(145,71,255,0.25);
  color: var(--pink);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-donate:hover { background: rgba(145,71,255,0.25); color: var(--white); }

.nav-live {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(145,71,255,0.15);
  border: 1px solid rgba(145,71,255,0.3);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-live:hover { background: rgba(145,71,255,0.3); border-color: var(--purple); color: var(--white); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(145,71,255,0.22);
  background: rgba(145,71,255,0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  top: 76px; left: 16px; right: 16px;
  z-index: 95;
  background: rgba(14,1,24,0.96);
  border: 1px solid rgba(145,71,255,0.18);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  padding: 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.mobile-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(145,71,255,0.08);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.mobile-menu-actions a {
  border-bottom: none;
  padding: 13px 16px;
  text-align: center;
}

/* ── LIVE DOT ────────────────────────────────── */

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 60px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(145,71,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(99,24,199,0.12) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(145,71,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145,71,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(145,71,255,0.12);
  border: 1px solid rgba(145,71,255,0.25);
  padding: 6px 14px; border-radius: 50px;
  font-size: 13px; color: var(--pink);
  margin-bottom: 20px; font-weight: 500;
}
.hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.0; letter-spacing: -2px; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--purple); }
.hero-desc {
  color: var(--gray); font-size: 16px; line-height: 1.7;
  margin-bottom: 32px; max-width: 440px; font-weight: 300;
}
.hero-desc strong { color: var(--white); }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-next-live {
  margin-top: 22px;
  max-width: 360px;
  border-radius: 18px;
  border: 1px solid rgba(145,71,255,0.18);
  background: rgba(145,71,255,0.08);
  padding: 18px 20px;
}
.next-live-label {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.next-live-time {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}
.next-live-note {
  color: var(--gray);
  font-size: 13px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--purple); color: #fff;
  padding: 13px 24px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(145,71,255,.4); }

.btn-donate-hero {
  background: rgba(145,71,255,0.15);
  border: 1px solid rgba(145,71,255,0.35);
  color: var(--pink); padding: 13px 24px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.btn-donate-hero:hover { background: rgba(145,71,255,0.28); color: var(--white); }

.btn-secondary {
  background: transparent; color: var(--white);
  padding: 13px 24px; border-radius: 12px;
  text-decoration: none; font-weight: 500; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: all .2s;
}
.btn-secondary:hover { border-color: rgba(145,71,255,.5); background: rgba(145,71,255,.08); }

/* Hero photo placeholder */
.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-deco-card {
  position: absolute; top: -20px; right: -30px;
  background: rgba(14,1,24,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(145,71,255,0.2);
  border-radius: 16px; padding: 14px 18px;
  font-size: 13px; text-align: center; z-index: 2;
}
.hero-deco-card .num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 24px; color: var(--purple); display: block;
}
.deco-sub { font-size: 11px; color: var(--gray); }

.hero-photo-card {
  position: relative; width: 320px; height: 400px;
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(145,71,255,0.3);
  box-shadow: 0 0 60px rgba(145,71,255,.18);
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deeper));
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,1,24,.6) 0%, transparent 50%);
}
.photo-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2;
  background: rgba(14,1,24,.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(145,71,255,.2);
  border-radius: 12px; padding: 11px 15px;
  display: flex; align-items: center; gap: 10px;
}
.badge-emoji { font-size: 18px; }
.photo-badge-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; }
.photo-badge-sub { font-size: 12px; color: var(--gray); }

/* ── SECTIONS ────────────────────────────────── */
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145,71,255,.28), transparent);
}
section { padding: 76px 40px; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--purple); margin-bottom: 10px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1px; margin-bottom: 36px; line-height: 1.1;
}
.section-intro {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin: -16px 0 28px;
  max-width: 720px;
}

/* ── STATS ───────────────────────────────────── */
.stats-wrap {
  background: rgba(14,1,24,.6);
  border: 1px solid rgba(145,71,255,.14);
  border-radius: 24px; padding: 36px;
  position: relative; overflow: hidden;
}
.stats-wrap::before {
  content: ''; position: absolute;
  top: -50px; right: -50px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(145,71,255,.14), transparent 70%);
  border-radius: 50%;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 18px; margin-bottom: 24px;
}
.stat-card {
  background: rgba(145,71,255,.06);
  border: 1px solid rgba(145,71,255,.11);
  border-radius: 16px; padding: 22px; text-align: center;
  transition: all .2s;
}
.stat-card:hover { background: rgba(145,71,255,.11); border-color: rgba(145,71,255,.3); transform: translateY(-3px); }
.stat-icon { font-size: 22px; margin-bottom: 8px; }
.stat-value {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(13px, 2vw, 22px); color: var(--white);
  display: block; margin-bottom: 4px;
  line-height: 1.25; word-break: break-word;
}
.stat-value.loading { color: var(--gray); font-size: 18px; animation: shimmer 1.5s ease-in-out infinite; }
@keyframes shimmer { 0%,100%{opacity:1} 50%{opacity:.4} }
.stat-label { font-size: 13px; color: var(--gray); }

.live-status-banner {
  border-radius: 14px; padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500;
}
.live-status-banner.is-offline { background: rgba(145,71,255,.05); border: 1px solid rgba(145,71,255,.13); color: var(--gray); }
.live-status-banner a {
  margin-left: auto; background: var(--purple); color: #fff;
  padding: 7px 16px; border-radius: 8px;
  text-decoration: none; font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: background .2s;
}
.live-status-banner a:hover { background: var(--purple-dark); }

/* ── ABOUT ───────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 18px; margin-bottom: 28px;
}
.about-card {
  background: rgba(145,71,255,.05);
  border: 1px solid rgba(145,71,255,.11);
  border-radius: 18px; padding: 28px;
  transition: all .25s;
}
.about-card:hover { background: rgba(145,71,255,.1); border-color: rgba(145,71,255,.28); transform: translateY(-4px); }
.about-icon { font-size: 30px; margin-bottom: 12px; }
.about-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.about-card p { color: var(--gray); font-size: 14px; line-height: 1.7; font-weight: 300; }
.about-card p strong { color: var(--white); }
.about-card a { color: var(--purple); text-decoration: none; }
.about-card a:hover { text-decoration: underline; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(145,71,255,.1);
  border: 1px solid rgba(145,71,255,.2);
  color: var(--pink); padding: 6px 14px;
  border-radius: 50px; font-size: 13px; font-weight: 500;
}

/* ── SCHEDULE ────────────────────────────────── */
.schedule-grid {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 10px; margin-bottom: 20px;
}
.day-card {
  border-radius: 14px; padding: 16px 8px; text-align: center;
  border: 1px solid rgba(145,71,255,.11);
  background: rgba(145,71,255,.04); transition: all .2s;
}
.day-card.active { background: rgba(145,71,255,.12); border-color: rgba(145,71,255,.32); }
.day-card.today { background: rgba(145,71,255,.22); border-color: var(--purple); box-shadow: 0 0 18px rgba(145,71,255,.18); }
.day-name { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.day-card.active .day-name, .day-card.today .day-name { color: var(--pink); }
.day-time { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; }

.schedule-note {
  background: rgba(145,71,255,.05);
  border: 1px solid rgba(145,71,255,.11);
  border-radius: 12px; padding: 14px 18px;
  font-size: 14px; color: var(--gray);
}
.schedule-note a { color: var(--purple); text-decoration: none; }
.schedule-note a:hover { text-decoration: underline; }
.schedule-note strong { color: var(--white); }

/* ── CLIPS ───────────────────────────────────── */
.clips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.clip-card {
  background: rgba(145,71,255,.05);
  border: 1px solid rgba(145,71,255,.11);
  border-radius: 16px;
  overflow: hidden;
  color: var(--white);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.clip-card:hover {
  border-color: rgba(145,71,255,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(145,71,255,.15);
}

.clip-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--purple-mid);
}
.clip-thumb.is-embed.youtube {
  aspect-ratio: 16/9;
  min-height: 220px;
}
.clip-thumb.is-embed.twitch {
  aspect-ratio: 4/3;
  min-height: 300px;
}
.clip-thumb.is-embed.localvideo {
  aspect-ratio: 16/9;
  min-height: 200px;
  background: #000;
}
.clip-thumb.is-embed.localvideo video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.clip-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.clip-card:hover .clip-thumb img { transform: scale(1.05); }
.clip-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.clip-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  z-index: 2;
  pointer-events: none;
}
.clip-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(14,1,24,.88);
  border: 1px solid rgba(145,71,255,.24);
  color: var(--pink);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  z-index: 2;
  pointer-events: none;
}
.clip-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deeper));
  color: var(--pink);
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.clip-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .25s;
}
.clip-card:hover .clip-play-overlay { background: rgba(0,0,0,0.35); }

.clip-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(145,71,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.7);
  transition: all .25s;
}
.clip-card:hover .clip-play-btn { opacity: 1; transform: scale(1); }

.clip-info { padding: 14px 16px; }
.clip-title {
  font-size: 14px; font-weight: 500;
  line-height: 1.4; margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clip-meta {
  display: flex; gap: 12px;
  font-size: 12px; color: var(--gray);
}
.clip-notice {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
}
.clip-actions {
  margin-top: 14px;
}
.clip-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(145,71,255,.16);
  border: 1px solid rgba(145,71,255,.3);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.clip-open-link:hover {
  background: rgba(145,71,255,.28);
  border-color: rgba(145,71,255,.45);
}

.clips-note {
  background: rgba(145,71,255,.05);
  border: 1px dashed rgba(145,71,255,.24);
  border-radius: 20px; padding: 56px 40px;
  text-align: center; color: var(--gray);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.clips-icon { font-size: 44px; opacity: .45; }
.clips-note h3 { font-family: 'Syne', sans-serif; font-size: 20px; color: var(--white); }
.clips-note p { font-size: 14px; line-height: 1.7; }
.clips-note a { color: var(--purple); text-decoration: none; }
.clips-note a:hover { text-decoration: underline; }

.clips-more {
  display: flex; justify-content: center;
  margin-top: 24px;
}

/* ── SUPPORT / SUB ───────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.support-card {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(145,71,255,.14);
  background: rgba(145,71,255,.05);
  display: flex; flex-direction: column;
  gap: 12px;
  transition: all .25s;
}
.support-card:hover { transform: translateY(-4px); }

.sub-card:hover    { border-color: rgba(255,184,0,.35); background: rgba(255,184,0,.05); }
.donate-card:hover { border-color: rgba(145,71,255,.35); background: rgba(145,71,255,.08); }
.discord-card:hover { border-color: rgba(88,101,242,.35); background: rgba(88,101,242,.06); }

.support-icon-wrap {
  font-size: 32px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.sub-icon-wrap     { background: rgba(255,184,0,.12); border: 1px solid rgba(255,184,0,.22); }
.donate-icon-wrap  { background: rgba(145,71,255,.12); border: 1px solid rgba(145,71,255,.22); }
.discord-icon-wrap { background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.22); }

.support-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 18px;
}
.support-card p {
  color: var(--gray); font-size: 14px; line-height: 1.7; font-weight: 300;
  flex: 1;
}

.support-perks {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 0; margin: 0;
  border-top: 1px solid rgba(145,71,255,.1);
  border-bottom: 1px solid rgba(145,71,255,.1);
}
.support-perks li { font-size: 13px; color: var(--pink); font-weight: 500; }

.support-btn {
  display: block; text-align: center;
  padding: 13px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  margin-top: 4px;
}

.sub-btn {
  background: rgba(255,184,0,.15);
  border: 1px solid rgba(255,184,0,.35);
  color: #ffd966;
}
.sub-btn:hover { background: rgba(255,184,0,.28); color: #fff; }

.donate-btn {
  background: rgba(145,71,255,.15);
  border: 1px solid rgba(145,71,255,.35);
  color: var(--pink);
}
.donate-btn:hover { background: var(--purple); color: #fff; }

.discord-btn {
  background: rgba(88,101,242,.15);
  border: 1px solid rgba(88,101,242,.35);
  color: #8ea1e1;
}
.discord-btn:hover { background: rgba(88,101,242,.32); color: #fff; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  border-top: 1px solid rgba(145,71,255,.11);
  padding: 40px 40px 32px;
  text-align: center;
  color: var(--gray); font-size: 13px;
}
.footer-socials {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.footer-social-link {
  display: flex; align-items: center; gap: 7px;
  background: rgba(145,71,255,.07);
  border: 1px solid rgba(145,71,255,.14);
  color: var(--gray); text-decoration: none;
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  transition: all .2s;
}
.footer-social-link:hover { background: rgba(145,71,255,.16); border-color: rgba(145,71,255,.35); color: var(--white); }
.footer-social-link.donate { color: var(--pink); border-color: rgba(145,71,255,.28); }
.footer-social-link.donate:hover { background: rgba(145,71,255,.22); color: var(--white); }

.footer-copy { margin-bottom: 8px; }
.footer-hint { font-size: 12px; color: rgba(145,71,255,.45); font-style: italic; }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.fade-up   { animation: fadeUp .55s ease forwards; }
.fade-up-2 { animation: fadeUp .55s .12s ease both; }
.fade-up-3 { animation: fadeUp .55s .26s ease both; }

/* ── BANNIÈRE D'ANNONCE ──────────────────────── */
.announce-banner {
  background: linear-gradient(90deg, rgba(145,71,255,0.18), rgba(191,148,255,0.12));
  border-bottom: 1px solid rgba(145,71,255,0.25);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white);
  position: sticky;
  top: 64px;
  z-index: 90;
  backdrop-filter: blur(8px);
}
.announce-icon { font-size: 16px; flex-shrink: 0; }
.announce-banner span:not(.announce-icon) { flex: 1; font-weight: 500; }
.announce-close {
  background: none; border: none; color: var(--gray);
  font-size: 14px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: color .2s;
  flex-shrink: 0;
}
.announce-close:hover { color: var(--white); }

/* ── JEU DU SOIR ─────────────────────────────── */
.tonight-game {
  margin-top: 14px;
  padding: 12px 18px;
  background: rgba(145,71,255,0.1);
  border: 1px solid rgba(145,71,255,0.25);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  text-align: center;
}

/* ── SCROLL REVEAL ───────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCHEDULE TWITCH BTN ─────────────────────── */
.schedule-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.schedule-twitch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.schedule-twitch-btn svg { fill: #ffffff; }
.schedule-twitch-btn:hover { background: var(--purple-dark); color: #ffffff !important; }

/* ── LANG SWITCH ─────────────────────────────── */
.lang-switch {
  display: flex; gap: 3px;
  background: rgba(145,71,255,0.1);
  border: 1px solid rgba(145,71,255,0.2);
  border-radius: 8px; padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: none;
  color: var(--gray); font-size: 12px;
  font-weight: 600; padding: 4px 9px;
  border-radius: 6px; cursor: pointer;
  transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.lang-btn.active { background: var(--purple); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { justify-content: flex-start; }
  .clips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  nav { padding: 0 16px; gap: 10px; }
  .nav-links { display: none; }
  .nav-socials { display: none; }
  .nav-donate { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 88px 20px 40px; }
  .hero-next-live { max-width: none; }
  .hero-photo-wrap { display: none; }
  section { padding: 56px 20px; }
  .stats-wrap { padding: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 14px 10px; }
  .stat-icon { font-size: 18px; margin-bottom: 6px; }
  .stat-label { font-size: 11px; }
  .schedule-grid { grid-template-columns: repeat(4,1fr); }
  .theme-toggle { width: 32px; height: 32px; font-size: 14px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .cookie-actions { width: 100%; justify-content: space-between; }
  .egg-title { font-size: 22px; }
  .egg-photos { grid-template-columns: 1fr; }
  .egg-videos-grid { grid-template-columns: 1fr; }
  .clips-grid { grid-template-columns: 1fr; }
  .clip-thumb.is-embed.localvideo .clip-badge,
  .clip-thumb.is-embed.localvideo .clip-duration { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 20px; }
  .footer-socials { gap: 6px; }
}

/* ── PLANNING — jours OFF & skeleton ─────────── */
.day-card.off {
  opacity: 0.38;
  border-style: dashed;
}
.day-card.off .day-time {
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.5px;
}
.day-skeleton {
  background: rgba(145,71,255,.04) !important;
  border-color: rgba(145,71,255,.08) !important;
  animation: skeletonPulse 1.3s ease-in-out infinite;
  min-height: 60px;
}
@keyframes skeletonPulse {
  0%,100% { opacity: .35; }
  50%      { opacity: .7; }
}

/* ═══════════════════════════════════════════════
   JOURNAL OVERLAY
═══════════════════════════════════════════════ */
@keyframes journal-book-open {
  from { transform: scaleX(0.1); opacity: 0; }
  to   { transform: scaleX(1);   opacity: 1; }
}
@keyframes journal-flip {
  0%   { transform: perspective(600px) rotateY(0deg); }
  50%  { transform: perspective(600px) rotateY(-90deg); }
  100% { transform: perspective(600px) rotateY(0deg); }
}
@keyframes journal-pulse {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
@keyframes journal-slide-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.journal-book-open { animation: journal-book-open 0.45s cubic-bezier(.34,1.2,.64,1); }
.journal-flip      { animation: journal-flip 0.4s ease-in-out; }
.journal-pulse     { animation: journal-pulse 2.2s ease-in-out infinite; }

#journal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: flex-start;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(14, 1, 24, 0.82);
  overflow-y: auto;
  padding: 50px 20px 40px;
}
#journal-overlay.open {
  display: flex;
}
body.journal-open {
  overflow: hidden;
}
#journal-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  animation: journal-slide-in 0.32s ease;
}
#journal-root {
  padding-bottom: 32px;
}

/* Bouton fermeture flottant */
#journal-close-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(145, 71, 255, 0.18);
  border: 1px solid rgba(145, 71, 255, 0.4);
  color: #bf94ff;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  z-index: 910;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  line-height: 1;
}
#journal-close-btn:hover {
  background: rgba(145, 71, 255, 0.35);
  transform: scale(1.12) rotate(90deg);
}

/* Lien nav spécial Journal */
.nav-journal-link {
  color: #bf94ff !important;
  font-weight: 600;
}
.nav-journal-link:hover {
  color: #fff !important;
}

/* Responsive */
@media (max-width: 600px) {
  #journal-overlay { padding: 50px 10px 24px; }
  #journal-close-btn { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════
   JOURNAL FAB (bulle flottante)
═══════════════════════════════════════════════ */
#journal-fab {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 16px;
  background: linear-gradient(135deg, #6318c7, #9147ff);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(145, 71, 255, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.22s cubic-bezier(.34,1.4,.64,1), box-shadow 0.22s ease, opacity 0.2s;
  animation: fab-float 3.5s ease-in-out infinite;
  will-change: transform;
}
#journal-fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 36px rgba(145, 71, 255, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
  animation-play-state: paused;
}
#journal-fab:active {
  transform: translateY(0) scale(0.97);
}

.journal-fab-icon {
  font-size: 18px;
  line-height: 1;
  display: block;
}
.journal-fab-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Petit point de nouveauté (optionnel — retire le si tu veux) */
#journal-fab::after {
  content: 'NEW';
  position: absolute;
  top: -6px;
  right: -4px;
  background: #FFD700;
  color: #1a0533;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

@keyframes fab-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Cache le badge NEW après 1ère visite — géré en JS si besoin */
#journal-fab.no-badge::after { display: none; }

/* Mobile : plus compact */
@media (max-width: 600px) {
  #journal-fab {
    bottom: 20px;
    right: 16px;
    padding: 11px 16px 11px 14px;
    gap: 6px;
  }
  .journal-fab-label { font-size: 12px; }
  .journal-fab-icon  { font-size: 16px; }
}

/* Retire le style nav-journal inutilisé */
.nav-journal-link { display: none; }

/* ═══════════════════════════════════════════════
   JOURNAL WIP — Toast "En cours de création"
   ═══════════════════════════════════════════════ */

#journal-fab.wip {
  background: linear-gradient(135deg, #3d1a6e, #6318c7);
  opacity: 0.82;
}
#journal-fab.wip .journal-fab-label::after {
  content: ' 🚧';
  font-size: 11px;
}

#journal-wip-toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 801;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: linear-gradient(135deg, rgba(45,15,94,0.97), rgba(26,5,51,0.99));
  border: 1px solid rgba(145,71,255,0.4);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(145,71,255,0.08);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.34,1.4,.64,1);
}
#journal-wip-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wip-toast-icon {
  font-size: 22px;
  text-align: right;
}
.wip-toast-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #f0e6ff;
  white-space: nowrap;
}
.wip-toast-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(191,148,255,0.7);
}

/* ═══════════════════════════════════════════════
   SUBS FAB — Bulle flottante Top Subs
   ═══════════════════════════════════════════════ */

#subs-fab {
  position: fixed;
  bottom: 110px;
  right: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 16px;
  background: linear-gradient(135deg, #a0700a, #FFD700, #c89010);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(255, 215, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.22s cubic-bezier(.34,1.4,.64,1), box-shadow 0.22s ease;
  animation: fab-float 4s ease-in-out 0.8s infinite;
  will-change: transform;
}
#subs-fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 36px rgba(255, 215, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.3);
  animation-play-state: paused;
}
#subs-fab:active {
  transform: translateY(0) scale(0.97);
}

.subs-fab-icon {
  font-size: 18px;
  line-height: 1;
  display: block;
}
.subs-fab-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #1a0533;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   SUBS OVERLAY
   ═══════════════════════════════════════════════ */

#subs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10,0,26,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 32px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
#subs-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
body.subs-open { overflow: hidden; }

#subs-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, rgba(45,15,94,0.92), rgba(14,1,24,0.97));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,215,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: subs-modal-in 0.32s cubic-bezier(.34,1.3,.64,1) forwards;
}

@keyframes subs-modal-in {
  from { transform: translateY(24px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

#subs-close-btn {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.25);
  background: rgba(26,5,51,0.9);
  color: rgba(255,215,0,0.8);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1210;
  transition: all .2s;
}
#subs-close-btn:hover {
  background: rgba(255,215,0,0.12);
  border-color: rgba(255,215,0,0.5);
  color: #FFD700;
}

/* Contenu du leaderboard */
.subs-header {
  text-align: center;
  margin-bottom: 28px;
}
.subs-header-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,215,0,0.7);
  margin-bottom: 8px;
  display: block;
}
.subs-header-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #FFD700;
  text-shadow: 0 0 24px rgba(255,215,0,0.4);
  display: block;
}
.subs-header-desc {
  font-size: 12px;
  color: rgba(191,148,255,0.6);
  margin-top: 4px;
  display: block;
  font-family: 'DM Sans', sans-serif;
}

/* Mise en avant sub du mois */
.subs-month-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,215,0,0.06));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.subs-month-crown { font-size: 28px; flex-shrink: 0; }
.subs-month-info { flex: 1; }
.subs-month-badge {
  font-family: 'Syne', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,215,0,0.6);
  display: block;
  margin-bottom: 3px;
}
.subs-month-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #FFD700;
  display: block;
}
.subs-month-count {
  font-size: 11px;
  color: rgba(255,215,0,0.55);
  font-family: 'DM Sans', sans-serif;
  display: block;
  margin-top: 2px;
}

/* Rows leaderboard */
.subs-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.subs-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(145,71,255,0.05);
  transition: background .15s, border-color .15s;
}
.subs-row:hover {
  background: rgba(145,71,255,0.1);
  border-color: rgba(145,71,255,0.2);
}
.subs-row.top1 {
  background: linear-gradient(90deg, rgba(255,215,0,0.12), rgba(255,215,0,0.05));
  border-color: rgba(255,215,0,0.3);
}
.subs-row.top2 {
  background: linear-gradient(90deg, rgba(192,192,192,0.1), rgba(192,192,192,0.04));
  border-color: rgba(192,192,192,0.2);
}
.subs-row.top3 {
  background: linear-gradient(90deg, rgba(205,127,50,0.1), rgba(205,127,50,0.04));
  border-color: rgba(205,127,50,0.2);
}
.subs-row-rank {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.subs-row-name {
  flex: 1;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #f0e6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subs-row.top1 .subs-row-name { color: #FFD700; }
.subs-row-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  max-width: 90px;
}
.subs-row-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #9147ff, #bf94ff);
  transition: width 0.6s cubic-bezier(.34,1.3,.64,1);
}
.subs-row.top1 .subs-row-bar { background: linear-gradient(90deg, #a0700a, #FFD700); }
.subs-row.top2 .subs-row-bar { background: linear-gradient(90deg, #808080, #C0C0C0); }
.subs-row.top3 .subs-row-bar { background: linear-gradient(90deg, #7d4e1b, #CD7F32); }
.subs-row-count {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(191,148,255,0.8);
  flex-shrink: 0;
  min-width: 40px;
  text-align: right;
}
.subs-row.top1 .subs-row-count { color: #FFD700; }

.subs-empty {
  text-align: center;
  color: rgba(191,148,255,0.45);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 40px 0;
}

.subs-footer-note {
  text-align: center;
  margin-top: 22px;
  font-size: 11px;
  color: rgba(191,148,255,0.4);
  font-family: 'DM Sans', sans-serif;
}
.subs-footer-note a {
  color: rgba(145,71,255,0.7);
  text-decoration: none;
}
.subs-footer-note a:hover { color: var(--purple); }

/* Loader */
.subs-loading {
  text-align: center;
  padding: 48px 0;
  color: rgba(255,215,0,0.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}
.subs-loading::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,215,0,0.2);
  border-top-color: #FFD700;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 600px) {
  #subs-fab {
    bottom: 100px;
    right: 16px;
    padding: 11px 16px 11px 14px;
    gap: 6px;
  }
  .subs-fab-label { font-size: 12px; }
  .subs-fab-icon  { font-size: 16px; }
  #subs-modal { padding: 28px 18px 24px; }
  #subs-close-btn { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 14px; }
  #journal-wip-toast { right: 16px; bottom: 90px; }
}
