:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a26;
  --border: #2a2a3f;
  --accent: #ff9100;
  --accent2: #7c3aed;
  --gold: #f5c842;
  --text: #e8e8f0;
  --muted: #6b6b8a;
  --now: #00e5a0;
  --danger: #ff5252;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

/* HEADER — never scrolls */
header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(124,58,237,0.08) 0%, transparent 100%);
  background-color: var(--bg);
  z-index: 20;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.logo span { color: var(--accent); }

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 380px;
  margin: 0 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--accent2); }
.search-icon { color: var(--muted); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
}
.search-bar input::placeholder { color: var(--muted); }
.search-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.search-clear:hover { color: var(--text); }

.search-no-results {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  padding: 60px 0;
  font-size: 0.95rem;
}

/* LAYOUT — 3 columns, fills all remaining height */
.layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 52px 320px;
  min-height: 0;
  overflow: hidden;
}

/* ── LEFT: only catalog scrolls ── */
.catalog {
  padding: 32px 36px;
  overflow-y: auto;
  height: 100%;
}
.catalog::-webkit-scrollbar { width: 4px; }
.catalog::-webkit-scrollbar-track { background: transparent; }
.catalog::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.song-total-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  opacity: 0.7;
}

/* Song list */
.letter-group { margin-bottom: 28px; }
.letter-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.featured-group { margin-bottom: 28px; }
.featured-group .song-item {
  background: linear-gradient(90deg, rgba(124,58,237,0.12) 0%, rgba(245,200,66,0.06) 100%);
  border: 1px solid rgba(124,58,237,0.35);
}
.featured-group .song-item:hover { border-color: var(--accent2); }
.featured-group .song-title {
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  white-space: normal;
}

.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  margin-bottom: 3px;
}
.song-item:hover {
  background: var(--surface);
  border-color: var(--border);
}
.song-item:hover .request-btn { opacity: 1; }

.song-info { flex: 1; min-width: 0; }
.song-title {
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-artist {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.request-btn {
  opacity: 0;
  background: var(--accent);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}
.request-btn:hover { background: #e0254f; transform: scale(1.05); }

/* Disabled song (in queue or on cooldown) */
.song-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.song-disabled:hover {
  background: transparent;
  border-color: transparent;
}

.song-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}
.queue-badge {
  color: var(--gold);
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.3);
}
.cooldown-badge {
  color: var(--muted);
  background: rgba(107,107,138,0.1);
  border: 1px solid rgba(107,107,138,0.3);
}

/* ── MIDDLE: alpha sidebar — never scrolls, fills full height ── */
.alpha-sidebar {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.alpha-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  /* spread buttons across full height */
  justify-content: space-evenly;
}

.alpha-btn {
  width: 34px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.alpha-btn:hover { border-color: var(--accent); color: var(--accent); }
.alpha-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

/* TOUT button — vertical text */
.alpha-btn.all-btn {
  width: 34px;
  height: 36px;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--border);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 0;
  color: var(--muted);
}
.alpha-btn.all-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ── RIGHT: queue panel — never scrolls externally ── */
.queue-panel {
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Now playing */
.now-playing {
  background: linear-gradient(135deg, rgba(0,229,160,0.08), rgba(0,229,160,0.03));
  border: 1px solid rgba(0,229,160,0.25);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.now-playing::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,229,160,0.15), transparent 70%);
}

.now-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--now);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.now-dot {
  width: 6px; height: 6px;
  background: var(--now);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.now-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}
.now-artist { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.now-pseudo {
  font-size: 0.72rem;
  color: var(--now);
  margin-top: 7px;
  font-weight: 500;
}

.empty-now {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}

/* Waiting list — fills remaining height, items scroll inside */
.waiting-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.queue-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
}
.queue-items::-webkit-scrollbar { width: 4px; }
.queue-items::-webkit-scrollbar-track { background: transparent; }
.queue-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  animation: slideIn 0.3s ease;
  flex-shrink: 0;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.queue-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--muted);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.queue-info { flex: 1; min-width: 0; }
.queue-title {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-pseudo { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

.queue-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 30px 0;
  font-style: italic;
}

/* Queue limit indicator */
.queue-limit {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.queue-limit.full { color: var(--accent); }

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px;
  width: 400px;
  max-width: 90vw;
  animation: modalIn 0.25s ease;
  position: relative;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--text); }

.modal-song {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.modal-artist { font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }

.modal label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.modal input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.modal input:focus { border-color: var(--accent); }

.modal-submit {
  width: 100%;
  margin-top: 18px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-submit:hover { background: #e0254f; transform: translateY(-1px); }

/* Full queue warning inside modal */
.modal-queue-full {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,61,107,0.08);
  border: 1px solid rgba(255,61,107,0.3);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--accent);
  text-align: center;
  font-weight: 500;
}
.modal-queue-full.show { display: block; }

/* TOAST */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--now);
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 11px 20px;
  border-radius: 8px;
  z-index: 2000;
  animation: toastIn 0.3s ease;
  display: none;
}
.toast.show { display: block; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Body: column layout, full height, no overflow on body */
  html, body { overflow: hidden; height: 100%; }

  body {
    display: flex;
    flex-direction: column;
  }

  /* Header smaller */
  header { padding: 12px 20px; flex-wrap: wrap; row-gap: 10px; }
  .logo  { font-size: 1.8rem; }
  .search-bar {
    order: 3;
    max-width: none;
    width: 100%;
    margin: 0;
    flex: 1 1 100%;
  }

  /* ── MOBILE ALPHA BAR: horizontal strip under header ── */
  .alpha-bar-mobile {
    flex-shrink: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    z-index: 15;
  }
  .alpha-bar-mobile::-webkit-scrollbar { display: none; }

  .alpha-filter-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    width: max-content;
  }

  /* Reuse same button style but horizontal */
  .alpha-filter-mobile .alpha-btn {
    width: 23px;
    height: 28px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    border-radius: 5px;
    flex-shrink: 0;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: none;
  }
  .alpha-filter-mobile .alpha-btn.all-btn {
    width: auto;
    height: 28px;
    padding: 0 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    writing-mode: horizontal-tb;
    transform: none;
  }

  /* ── LAYOUT: single column, takes remaining space ── */
  .layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    /* on mobile queue goes at the bottom */
    grid-template-columns: unset;
  }

  /* Hide desktop alpha sidebar on mobile */
  .alpha-sidebar { display: none; }

  /* Catalog takes all available vertical space and scrolls */
  .catalog {
    flex: 1;
    height: auto;
    padding: 16px 16px 8px;
    overflow-y: auto;
    min-height: 0;
  }

  .section-title { font-size: 0.9rem; margin-bottom: 12px; }
  .letter-header { font-size: 2rem; }

  .song-item { padding: 10px 12px; }
  .song-title { font-size: 0.88rem; }
  .song-artist { font-size: 0.72rem; }
  .request-btn { opacity: 1; font-size: 0.7rem; padding: 5px 12px; }

  /* ── QUEUE PANEL: fixed drawer at the bottom ── */
  .queue-panel {
    position: relative;
    flex-shrink: 0;
    height: auto;
    padding: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 0;
    /* collapsed by default: show only the toggle bar */
    max-height: 48px;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .queue-panel.open {
    max-height: 55vh;
  }

  /* Toggle bar — always visible, tappable */
  .queue-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    gap: 8px;
    text-align: left;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .queue-toggle-count {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    background: rgba(255,61,107,0.1);
    border: 1px solid rgba(255,61,107,0.25);
    border-radius: 20px;
    padding: 0 8px;
    margin-left: auto;
  }
  .queue-toggle-count:empty { display: none; }
  .queue-chevron {
    font-size: 0.7rem;
    color: var(--muted);
    transition: transform 0.3s;
    flex-shrink: 0;
  }
  .queue-panel.open .queue-chevron { transform: rotate(180deg); }

  /* Queue content — scrollable area inside the drawer */
  .queue-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
  }
  .queue-content::-webkit-scrollbar { width: 3px; }
  .queue-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  .queue-section { flex-shrink: 0; }

  .now-playing { padding: 14px; }
  .now-title   { font-size: 1.2rem; }

  .waiting-list { flex: 1; min-height: 0; }
  .queue-items  { max-height: 160px; overflow-y: auto; }

  .queue-item { padding: 9px 10px; }
  .queue-title { font-size: 0.8rem; }
  .queue-pseudo { font-size: 0.68rem; }

  /* Toast above queue bar on mobile */
  .toast { bottom: 60px; right: 16px; }

  /* Modal full-width on mobile */
  .modal { padding: 24px 20px; }
  .modal-song { font-size: 1.4rem; }
}

/* ── Hide mobile elements on desktop ── */
@media (min-width: 769px) {
  .alpha-bar-mobile { display: none; }
  .queue-toggle     { display: none; }
  .queue-content    {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
    min-height: 0;
    padding: 12px 16px;
  }
  .queue-section { flex-shrink: 0; }
}

/* ════════════════════════════════════════════════════════════
   TWITCH INTEGRATION
   ════════════════════════════════════════════════════════════ */

/* ── Header auth zone ── */
.twitch-header {
  display: flex;
  align-items: center;
}

.twitch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #9146ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.twitch-btn:hover { background: #7c2ff0; transform: translateY(-1px); }

.twitch-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.twitch-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #9146ff;
  object-fit: cover;
}

.twitch-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.twitch-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #9146ff;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.twitch-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.twitch-logout:hover { color: var(--danger); border-color: var(--danger); }

/* ── Modal Twitch button ── */
.twitch-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #9146ff;
  color: white;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  margin-bottom: 4px;
}
.twitch-login-btn:hover { background: #7c2ff0; transform: translateY(-1px); }

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
  .twitch-btn   { padding: 7px 12px; font-size: 0.75rem; }
  .twitch-name  { display: none; }
  .twitch-avatar { width: 28px; height: 28px; }
  .twitch-logout { font-size: 0.68rem; padding: 4px 8px; }
}

/* ════════════════════════════════════════════════════════════
   COOKIE BANNER & FOOTER
   ════════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 500;
  animation: slideUpBanner 0.3s ease;
}
.cookie-banner.hidden { display: none; }

@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 4px;
}
.cookie-text a:hover { text-decoration: underline; }

.cookie-accept {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}
.cookie-accept:hover { opacity: 0.85; }

/* Footer CGU link */
.site-footer {
  text-align: center;
  padding: 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
}
.site-footer a {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.site-footer a:hover { color: var(--text); }

/* On mobile, stack cookie banner vertically */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    /* sit above the queue drawer */
    bottom: 48px;
  }
  .cookie-accept { align-self: flex-end; }
}

#pseudoInput:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #1a1a1a;
  color: #888;
}

.twitch-pseudo-lock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #9147ff;
  margin-top: 5px;
  opacity: 0.8;
}

.requests-closed-banner {
  background: rgba(255, 82, 82, 0.10);
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff7070;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}