/* Hub : onboarding, studio, leaderboard, changelog */
.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(2, 4, 3, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.onboarding-overlay.hidden { display: none; }
.onboarding-card {
  width: min(520px, 100%);
  background: linear-gradient(165deg, rgba(12, 18, 14, 0.98), rgba(6, 10, 8, 0.98));
  border: 1px solid rgba(0, 220, 110, 0.35);
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.onboarding-kicker {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 8px;
}
.onboarding-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.onboarding-text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.onboarding-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.onboarding-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.onboarding-dot.active { background: var(--green); }
.onboarding-dot.done { background: rgba(0, 220, 110, 0.45); }
.onboarding-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.onboarding-role-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.onboarding-role-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.onboarding-role-btn.selected {
  border-color: rgba(0, 220, 110, 0.55);
  background: rgba(0, 220, 110, 0.12);
  color: var(--green);
}

.home-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.leaderboard-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 12, 10, 0.65);
}
.leaderboard-rank {
  font-family: 'Share Tech Mono', monospace;
  font-size: 18px;
  color: var(--gold);
  min-width: 32px;
  text-align: center;
}
.leaderboard-meta { flex: 1; min-width: 0; }
.leaderboard-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leaderboard-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.leaderboard-score {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--green);
  text-align: right;
}

.profile-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 201, 60, 0.35);
  background: rgba(255, 201, 60, 0.08);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--gold);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.studio-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(8, 12, 10, 0.72);
}
.studio-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
}
.studio-card-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}
.studio-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.studio-toggle-row:last-child { border-bottom: 0; }
.studio-url-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  word-break: break-all;
  color: var(--text-dim);
}

.changelog-list { display: flex; flex-direction: column; gap: 12px; }
.changelog-item {
  border-left: 3px solid var(--green);
  padding: 10px 12px;
  background: rgba(8, 12, 10, 0.55);
  border-radius: 0 10px 10px 0;
}
.changelog-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.changelog-version {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.changelog-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
}
.changelog-item ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

.hunt-tournoi-quick-btn {
  height: 30px;
  padding: 0 10px;
  font-size: 10px;
  border-color: rgba(0, 220, 110, 0.45);
  color: var(--green);
}
.hunt-live-btn.live-active {
  background: rgba(0, 220, 110, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 220, 110, 0.35);
  color: var(--green);
}

/* Bonus Hunt — workspace simplifié */
.stats-bar--compact .stat-card {
  min-width: 88px;
  padding: 8px 12px;
}
.stats-bar--compact .stat-card--profit {
  min-width: 120px;
  max-width: 168px;
}
.stats-bar--compact .stat-value {
  font-size: clamp(15px, 1.1vw, 20px);
}
.hunt-header-open-btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  font-size: 11px;
}

.hunt-bonus-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 42%;
  min-height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hunt-bonus-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0 6px;
  flex-wrap: wrap;
}
.hunt-bonus-toolbar-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hunt-bonus-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hunt-open-btn-compact {
  height: 34px;
  padding: 0 14px;
  font-size: 10px;
}
.hunt-live-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 1px;
}
.hunt-more-wrap {
  position: relative;
}
.hunt-more-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.hunt-toolbar-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1800;
  min-width: 210px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 10, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hunt-toolbar-menu.hidden { display: none; }
.hunt-menu-item {
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  padding: 9px 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hunt-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.hunt-filters-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
}
.hunt-filter-search {
  flex: 1 1 140px;
  min-width: 120px;
  height: 38px !important;
  min-width: 0 !important;
}
.hunt-filters-compact .provider-filter {
  height: 38px;
  min-width: 110px;
  font-size: 12px;
  flex: 0 1 auto;
}
.hunt-filters-toggle {
  height: 38px;
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.hunt-filters-advanced {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
}
.hunt-filters-advanced.hidden { display: none; }
.hunt-filters-advanced .provider-filter {
  height: 36px;
  min-width: 120px;
  font-size: 12px;
}
.hunt-filter-mini {
  height: 34px;
  padding: 0 10px;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.hunt-catalog-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 58%;
  min-height: 0;
  overflow: hidden;
}
.hunt-catalog-search {
  padding-top: 10px;
}
.hunt-catalog-search .provider-filter,
.hunt-catalog-mode {
  height: 44px;
  min-width: 120px;
}
.hunt-catalog-search #search-input {
  height: 44px;
}

@media (min-width: 900px) {
  .hunt-open-btn-compact { display: none; }
}
@media (max-width: 899px) {
  .hunt-header-open-btn { display: none; }
  .hunt-hub-main #header {
    flex-wrap: wrap;
  }
  .stats-bar--compact {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .hunt-filters-compact .provider-filter {
    flex: 1 1 calc(50% - 8px);
  }
  .hunt-bonus-toolbar-title { width: 100%; }
}

/* HUD stream — panneau intégré (fallback si popups bloquées) */
.streamer-hud-inline {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9500;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(0, 220, 110, 0.35);
  background: rgba(4, 8, 6, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.streamer-hud-inline.hidden { display: none; }
.streamer-hud-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
}
.streamer-hud-inline-actions {
  display: flex;
  gap: 6px;
}
.streamer-hud-inline-btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  padding: 4px 8px;
  cursor: pointer;
}
.streamer-hud-inline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.streamer-hud-inline iframe {
  border: 0;
  width: 100%;
  height: 420px;
  display: block;
  background: #020202;
}

/* ─── Hunt mobile simplifié ─── */
.hunt-mobile-view,
.hunt-sessions-toggle {
  display: none;
}

@media (max-width: 720px) {
  .hunt-sessions-toggle {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
  }
  body.hunt-sessions-open .hunt-sessions-toggle {
    border-color: rgba(0, 220, 110, 0.45);
    color: var(--green);
  }

  .hunt-hub-sessions {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1650;
    width: 100% !important;
    max-height: min(58vh, 420px) !important;
    margin: 0;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    transform: translateY(calc(-100% - 8px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }
  body.hunt-sessions-open .hunt-hub-sessions {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hunt-hub-tab--extra { display: none !important; }
  .hunt-hub-tabs {
    padding-left: 12px !important;
    min-height: 0;
  }

  .hunt-hub-main #header {
    padding: 8px 12px 8px 56px;
    gap: 8px;
  }
  .hunt-hub-main .hunt-title-area {
    flex: 1 1 auto;
    max-width: none;
  }
  .hunt-title-sub,
  #stat-profit-hint,
  .stat-card--be {
    display: none !important;
  }
  .stats-bar--compact .stat-card {
    min-width: 0;
    flex: 1 1 0;
    padding: 7px 10px;
  }

  .hunt-mobile-view {
    display: flex;
    gap: 6px;
    padding: 0 0 8px;
    flex-shrink: 0;
  }
  .hunt-mobile-view-btn {
    flex: 1;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
  }
  .hunt-mobile-view-btn.active {
    border-color: rgba(0, 220, 110, 0.5);
    background: rgba(0, 220, 110, 0.12);
    color: var(--green);
  }

  .hunt-workspace[data-mobile-view="bonus"] .hunt-catalog-panel { display: none !important; }
  .hunt-workspace[data-mobile-view="slots"] .hunt-bonus-panel { display: none !important; }
  .hunt-workspace[data-mobile-view="slots"] .hunt-catalog-panel {
    flex: 1 1 auto !important;
    min-height: 0;
  }

  #hunt-tab-workspace #content {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .hunt-bonus-panel {
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }
  .hunt-filters-compact .provider-filter[id="bonus-sort"],
  .hunt-filters-toggle {
    display: none;
  }
  .catalog-mode-hint,
  .hunt-catalog-search .results-count {
    display: none;
  }

  /* Opener mobile — saisie gain prioritaire */
  .opener-header {
    padding: 10px 12px;
    gap: 8px;
  }
  .opener-hunt-name,
  .opener-header-actions .opener-stream-toggle,
  .opener-header-actions .opener-detach,
  .opener-hint,
  .opener-be-row--compact-hide,
  .opener-be-row--compact-hide + .opener-profit-hint {
    display: none !important;
  }
  .opener-body {
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .opener-img-panel {
    flex: 0 0 auto;
    padding: 10px 12px 6px;
    max-height: 26vh;
  }
  .opener-img-panel::after { display: none; }
  .opener-img-frame {
    max-width: min(280px, 92vw);
    margin: 0 auto;
    aspect-ratio: 16/10;
  }
  .opener-info-panel {
    width: 100%;
    flex-shrink: 0;
    padding: 12px 14px 18px;
    gap: 14px;
    justify-content: flex-start;
  }
  .opener-slot-name { font-size: 22px; }
  .opener-be-info { padding: 10px 12px; }
  .opener-be-val { font-size: 15px; }
  .opener-input-section {
    order: -1;
    gap: 12px;
    margin-bottom: 4px;
  }
  .opener-input-label {
    font-size: 11px;
    letter-spacing: 2px;
  }
  #opener-win-input {
    height: 92px;
    font-size: clamp(42px, 12vw, 52px);
    border-width: 2px;
    border-radius: 14px;
  }
  .opener-nav { gap: 8px; }
  .opener-nav-btn {
    width: 52px;
    height: 54px;
    font-size: 22px;
  }
  .opener-confirm-btn {
    height: 54px;
    font-size: 15px;
    letter-spacing: 1.5px;
  }
  .opener-send-slot-btn {
    min-height: 46px;
    font-size: 12px;
  }
}

/* ─── Classements, landing, notifs, tournoi profil, slot semaine ─── */
.home-lb-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.home-lb-tab {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}
.home-lb-tab.active {
  border-color: rgba(0, 220, 110, 0.5);
  background: rgba(0, 220, 110, 0.12);
  color: var(--green);
}
.home-landing-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 8px;
}
.home-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.home-showcase-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.home-hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}
.home-hero-cta {
  min-width: 240px;
  font-size: 14px;
  letter-spacing: 2px;
}
.header-notif-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}
.notif-bell-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 16px;
}
.notif-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  line-height: 16px;
}
.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1900;
  width: min(320px, calc(100vw - 24px));
  max-height: min(420px, 60vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 10, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.notif-panel.hidden { display: none; }
.notif-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--green);
}
.notif-panel-mark {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 9px;
  cursor: pointer;
}
.notif-panel-list {
  overflow-y: auto;
  padding: 6px;
}
.notif-item {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.notif-item.unread {
  background: rgba(0, 220, 110, 0.08);
  border: 1px solid rgba(0, 220, 110, 0.2);
}
.notif-item-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.notif-item-body {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}
.notif-item-action {
  margin-top: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--green);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  cursor: pointer;
}
.notif-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}
.profile-tournoi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-tournoi-row:last-child { border-bottom: none; }
.profile-tournoi-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.profile-tournoi-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 3px;
}
.tournoi-status-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.tournoi-status--pending { color: var(--gold); border-color: rgba(0, 220, 110, 0.35); }
.tournoi-status--ok { color: var(--green); border-color: rgba(0, 220, 110, 0.45); }
.profile-tournoi-link { font-size: 9px; color: var(--blue); }
.profile-tournoi-link.muted { color: var(--text-dim); }
.tournoi-modal-hint, .modal-label-opt {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.45;
  margin-top: 6px;
}
.modal-label-opt { font-size: 9px; opacity: 0.85; }
.news-slot-week {
  border: 1px solid rgba(0, 220, 110, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 220, 110, 0.08), rgba(8, 12, 10, 0.9));
  overflow: hidden;
}
.news-slot-week.hidden { display: none; }
.news-slot-week-inner {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 14px;
}
.news-slot-week-img {
  width: min(160px, 36vw);
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.news-slot-week-kicker {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 6px;
}
.news-slot-week-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 4px;
}
.news-slot-week-meta { color: var(--text-dim); font-size: 12px; margin-bottom: 10px; }
.news-slot-week-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tournoi-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-tournoi-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tournoi-replay-missing { color: var(--red); font-size: 10px; }
.admin-tournoi-batch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.admin-tournoi-select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}

.new-hunt-modal { max-width: 560px; }
.hunt-template-field { margin-top: 4px; }
.hunt-template-hint {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.hunt-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}
.hunt-template-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.hunt-template-card:hover {
  border-color: rgba(0, 220, 110, 0.35);
  background: rgba(0, 220, 110, 0.06);
}
.hunt-template-card.selected {
  border-color: var(--green);
  background: rgba(0, 220, 110, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 220, 110, 0.25);
}
.hunt-template-card-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--green);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 220, 110, 0.12);
}
.hunt-template-card-badge.user { color: var(--gold); background: rgba(255, 201, 60, 0.12); }
.hunt-template-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}
.hunt-template-card-meta {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .home-landing-showcase { grid-template-columns: repeat(2, 1fr); }
  .home-hero-cta { width: 100%; min-width: 0; }
  .header-notif-wrap { margin-left: 0; }
}
