:root {
  --bg: #08080c;
  --panel: #0f0f16;
  --panel-line: #1c1c28;
  --text: #f2f2f5;
  --muted: #7c7c8a;
  --accent-red: #e23048;
  --neon-lime: #9dff3c;
  --skip-green: #45e07f;
  --gold: #ffcf3f;

  --font-head: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  /* Pixel headers. Drop in the real CoFo Sans Pixel via @font-face below to
     replace the Pixelify Sans stand-in. */
  --font-pixel: "CoFo Sans Pixel", "Pixelify Sans", monospace;
}

/* If you license CoFo Sans Pixel, add its file and uncomment:
@font-face {
  font-family: "CoFo Sans Pixel";
  src: url("fonts/CoFoSansPixel.woff2") format("woff2");
  font-weight: 400 700;
}
*/

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px 96px;
}

/* --- Header --- */
.page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 4.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
}

/* --- Chart --- */
.chart {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  position: relative;
}

/* Drag handle — hidden until admin mode */
.grip {
  flex-shrink: 0;
  width: 0;
  overflow: hidden;
  color: var(--muted);
  cursor: grab;
  display: grid;
  place-items: center;
  transition: opacity 0.15s;
  opacity: 0;
}
.grip svg { width: 18px; height: 18px; display: block; }

body.admin .grip { width: 18px; opacity: 1; }
body.admin .row { cursor: default; }
.row.dragging { opacity: 0.4; }

/* Insertion markers while dragging */
.row.insert-here::before,
.row.insert-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-lime);
  box-shadow: 0 0 8px rgba(157, 255, 60, 0.7);
}
.row.insert-here::before { top: -8px; }
.row.insert-after::after { bottom: -8px; }

.rank {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 148px;              /* fixed so every song name lines up */
}

.rank .emoji {
  line-height: 1;
  display: inline-flex;
}
.rank .emoji svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* Podium colors + soft glow for the top three */
.row-1 .emoji { color: var(--gold); filter: drop-shadow(0 0 7px rgba(255, 207, 63, 0.45)); }
.row-2 .emoji { color: #cfd6e0; filter: drop-shadow(0 0 7px rgba(207, 214, 224, 0.35)); }
.row-3 .emoji { color: #e08a44; filter: drop-shadow(0 0 7px rgba(224, 138, 68, 0.4)); }

.rank .num {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1;
}

/* Size tiers */
.row-1 .num { font-size: 6rem; }
.row-1 .emoji { font-size: 3.4rem; }
.row-1 { padding: 26px 24px; }

.row-2 .num,
.row-3 .num { font-size: 3.8rem; }
.row-2 .emoji,
.row-3 .emoji { font-size: 2.4rem; }

.row-4 .num { font-size: 1.9rem; }        /* half of the big numbers */

.row-rest .num { font-size: 1.15rem; color: var(--muted); }

.row-1 .num { color: var(--gold); }

/* Song meta */
.meta {
  flex-shrink: 0;
  width: 190px;
}

.meta .song {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.meta .artist {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.row-1 .song { font-size: 1.25rem; }

/* --- Custom audio player --- */
.player {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.play-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  background: #16161f;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
}

.play-btn:hover { background: #1f1f2b; border-color: #33334a; }
.play-btn svg { width: 16px; height: 16px; display: block; }

.scrub,
.volume {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  background: #26263a;
  cursor: pointer;
  outline: none;
}

.scrub { flex: 1; min-width: 0; height: 4px; }

/* Volume: icon with a vertical slider that pops up on hover */
.vol {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.vol-ico {
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s;
}
.vol:hover .vol-ico { color: var(--text); }
.vol-ico svg { width: 15px; height: 15px; display: block; }

.vol-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 10px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
  z-index: 6;
}
.vol:hover .vol-popup {
  opacity: 1;
  visibility: visible;
}
.volume {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 5px;
  height: 84px;
}

.scrub::-webkit-slider-thumb,
.volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text);
  border: none;
}
.scrub::-moz-range-thumb,
.volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text);
  border: none;
}

.time {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 34px;
  text-align: center;
}

/* --- Sidebar --- */
.submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s;
}
.submit-btn:hover { filter: brightness(1.08); }

.queue-group + .queue-group {
  border-top: 1px solid var(--panel-line);
  margin-top: 16px;
  padding-top: 16px;
}

.queue-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
/* Tier-colored labels inside the full queue */
.queue-label.throne { color: var(--gold); }
.queue-label.skip { color: var(--skip-green); }
.queue-label.superskip {
  background: linear-gradient(90deg, #45e07f, #35d0d8, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Sidebar: Next Up --- */
.next-up { margin-top: 28px; }

.next-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.next-num {
  flex-shrink: 0;
  width: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.next-meta { display: flex; flex-direction: column; min-width: 0; }
.next-song {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.next-artist { color: var(--muted); font-size: 0.76rem; }

body.admin .next-item { cursor: grab; }
body.admin .next-item:hover { opacity: 0.8; }
.next-item.dragging { opacity: 0.4; }

.view-queue-btn {
  width: 100%;
  margin-top: 16px;
  padding: 11px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.view-queue-btn:hover { color: var(--text); border-color: #33334a; background: #12121a; }

/* --- Full queue view --- */
.queue-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(4px);
}
.queue-overlay[hidden] { display: none; }

.queue-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 26px 24px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.queue-panel .modal-title { margin-bottom: 18px; }

.queue-scroll {
  overflow-y: auto;
  margin: 0 -6px;
  padding: 0 6px 4px;
}

.qrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.play-btn.sm { width: 34px; height: 34px; }
.play-btn.sm svg { width: 14px; height: 14px; }

.qmeta { min-width: 0; }
.qsong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qartist { color: var(--muted); font-size: 0.78rem; margin-top: 1px; }

/* Admin toggle button — only exists on the admin view */
.admin-toggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 46;
  padding: 7px 14px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.admin-toggle:hover { color: var(--text); border-color: #33334a; }
body.is-admin .admin-toggle { display: inline-block; }
body.admin .admin-toggle { color: var(--neon-lime); border-color: var(--neon-lime); }

.queue-item.throne { color: var(--gold); font-weight: 500; }

/* Super Skip — Discord-style two-color gradient on the name */
.queue-item.superskip .q-name {
  font-weight: 600;
  background: linear-gradient(90deg, #45e07f 0%, #35d0d8 45%, #a56bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.queue-item.skip { color: var(--skip-green); font-weight: 500; }

/* Regular submissions — standard white */
.queue-item.submission { color: var(--text); }

/* --- Submit modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

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

.modal-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.modal-tabs {
  display: flex;
  gap: 6px;
  background: #16161f;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}
.modal-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-tab.is-active { background: var(--panel-line); color: var(--text); }

.modal-panel { margin-bottom: 20px; }

.modal-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: #0b0b12;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s;
}
.modal-input::placeholder { color: var(--muted); }
.modal-input:focus { border-color: #3a3a52; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 16px;
  border: 1.5px dashed #33334a;
  border-radius: 12px;
  background: #0b0b12;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.dropzone:hover,
.dropzone.is-drag { border-color: var(--skip-green); color: var(--text); background: #0d1310; }
.dz-icon { font-size: 1.4rem; line-height: 1; }
.dz-text { font-size: 0.9rem; }
.dropzone.has-file { border-color: var(--skip-green); color: var(--text); border-style: solid; }

.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 0.15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

/* Green variant — matches the Skip tier color */
.btn-green { background: var(--skip-green); color: #08080c; }

/* Upsell title — pixel font, green gradient */
.upsell-title {
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #45e07f, #35d0d8, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: #33334a; background: #12121a; }

.btn-ghost {
  width: 100%;
  margin-top: 14px;
  padding: 6px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }

.btn-row { display: flex; gap: 10px; }
.btn-row .btn-primary,
.btn-row .btn-secondary { flex: 1; width: auto; }

/* Wizard step scaffolding */
.step[hidden] { display: none; }
.modal-title.center { text-align: center; }
.modal-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: -8px 0 20px;
}
.modal-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 12px;
}
.step[data-step="position"] .modal-title { margin-bottom: 26px; }

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.4;
}
.modal-input.invalid { border-color: var(--accent-red); }

/* Tier / skip cards */
.tier-list { display: flex; flex-direction: column; gap: 12px; }
.tier-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.05s;
}
.tier-card:hover { border-color: #33334a; background: #0e0e17; }
.tier-card:active { transform: scale(0.99); }

.tier-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #16161f;
  display: grid;
  place-items: center;
}
.tier-ico svg { width: 20px; height: 20px; display: block; }

.tier-name {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.tier-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

.tier-card.skip .tier-ico,
.tier-card.skip .tier-name,
.tier-card.skip .tier-price { color: var(--skip-green); }

.tier-card.throne .tier-ico,
.tier-card.throne .tier-name,
.tier-card.throne .tier-price { color: var(--gold); }

.tier-card.superskip .tier-ico { color: #35d0d8; }
.tier-card.superskip .tier-price { color: var(--skip-green); }
.tier-card.superskip .tier-name {
  background: linear-gradient(90deg, #45e07f, #35d0d8, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ======================================================================
   Game-mode switcher + King of the Hill
   ====================================================================== */

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 40px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Account / login button */
.profile-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.profile-btn:hover { background: rgba(255, 255, 255, 0.08); }
.profile-btn svg { width: 20px; height: 20px; display: block; }
/* Logged in as admin -> green ring */
body.is-admin .profile-btn { border-color: var(--skip-green); color: var(--skip-green); }

/* Submit CTA — King of the Hill pixel branding */
.submit-koth {
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.submit-koth:hover { background: #f2f2f5; color: #08080c; border-color: #f2f2f5; }
.submit-koth:disabled { opacity: 0.4; cursor: not-allowed; }
.submit-koth:disabled:hover { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.35); }

/* Submission open/close timer — pinned bottom-right */
.sub-timer {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.sub-status {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  padding: 13px 20px;
  border-radius: 10px;
  background: rgba(15, 15, 22, 0.85);
  border: 1px solid var(--panel-line);
  backdrop-filter: blur(4px);
  font-variant-numeric: tabular-nums;
}
.sub-status[hidden] { display: none; }
.sub-status.open {
  color: var(--skip-green);
  border-color: rgba(69, 224, 127, 0.4);
  text-shadow: 0 0 10px rgba(69, 224, 127, 0.35);
}
.sub-status.closed {
  color: var(--accent-red);
  border-color: rgba(226, 48, 72, 0.4);
}

.sub-timer-btn {
  display: none;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--muted);
  background: rgba(15, 15, 22, 0.82);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.sub-timer-btn:hover { color: var(--text); border-color: #33334a; }
body.admin .sub-timer-btn { display: inline-block; }
.sub-timer-btn.running { color: var(--neon-lime); border-color: var(--neon-lime); }

/* Closed-submissions popup countdown */
.closed-count {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--accent-red);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 2px;
}

#view-rankings { padding-top: 24px; }
#view-koth[hidden], #view-rankings[hidden] { display: none; }

/* Pixel headers */
.pixel-title {
  font-family: var(--font-pixel);
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.pixel-label {
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 18px;
}

/* King of the Hill layout */
.koth {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 40px;
  align-items: start;
}
.koth-center { display: flex; flex-direction: column; align-items: center; }

/* Battle: two contenders */
.battle { display: flex; gap: 22px; }

.contender { width: 240px; }
.art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: #0c0c12;
}
body.admin .art { cursor: pointer; }
.art-image { background-size: cover; background-position: center; }
.wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
}
.art-title {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.art-artist { font-weight: 500; font-size: 0.78rem; opacity: 0.85; }
.streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  background: #000;
  color: #fff;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}
.streak-label { font-family: var(--font-pixel); }
.streak-num { font-family: var(--font-body); font-weight: 600; }

/* Center hover play (admin) — Spotify/SoundCloud style */
.art-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 14, 0.72);
  color: #fff;
  cursor: pointer;
  display: none;
  place-items: center;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.art-play svg { width: 24px; height: 24px; display: block; }
body.admin .art-play { display: grid; }
body.admin .art:hover .art-play,
.art-play.playing { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Scrub bar (admin), sits above the VOTE bar */
.art-scrub {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 54px;
  z-index: 3;
  height: 4px;
  display: none;
}
body.admin .art:hover .art-scrub,
body.admin .art-scrub.playing { display: block; }
.art-scrub input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  outline: none;
  cursor: pointer;
}
.art-scrub input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px; border-radius: 50%; background: #fff; border: none;
}
.art-scrub input::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: none; }

/* VOTE bar */
/* Bottom stack: scrub bar + VOTE button */
.art-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
}

.art-bar {
  -webkit-appearance: none;
  appearance: none;
  display: none;              /* shown for admin */
  width: calc(100% - 20px);
  margin: 0 10px 8px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  outline: none;
  cursor: pointer;
}
body.admin .art-bar { display: block; }
.art-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.art-bar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: none;
}

.vote-btn {
  padding: 14px;
  border: none;
  background: #f2f2f5;
  color: #08080c;
  font-family: var(--font-pixel);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s;
}
.vote-btn:disabled { cursor: default; opacity: 0.55; }
.vote-btn:not(:disabled):hover { background: #fff; }
.vote-count {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Winner / loser states */
.contender.winner .art { outline: 2px solid var(--gold); outline-offset: 2px; }
.contender.loser { opacity: 0.5; }

/* Start Voting (admin only) + countdown */
.start-voting {
  display: none;
  margin-top: 28px;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.15s;
}
.start-voting:hover { filter: brightness(1.08); }
body.admin .start-voting { display: inline-block; }
.start-voting.counting {
  background: transparent;
  border: 1px solid var(--neon-lime);
  color: var(--neon-lime);
  cursor: default;
  font-variant-numeric: tabular-nums;
}

/* MOST WINS leaderboard */
.wins-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wins-row { display: flex; align-items: baseline; gap: 10px; font-size: 0.9rem; }
.wins-rank { width: 16px; color: var(--muted); font-family: var(--font-head); font-weight: 700; }
.wins-name { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wins-count { color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; }

/* KOTH queue (right) */
.koth-queue-list .queue-group + .queue-group { margin-top: 14px; padding-top: 14px; }
.koth-q-item { color: var(--text); font-size: 0.88rem; padding: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.koth-q-more { color: var(--muted); font-size: 0.8rem; padding: 4px 0; }
.q-count { color: var(--muted); font-weight: 600; }

/* "Throne available" — white text with a left-to-right glowing wave */
.throne-available {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 0;
  cursor: pointer;
  /* Symmetric gradient (matching edges) + shift of exactly one tile = seamless loop */
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.4) 0%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.4) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  animation: throne-shimmer 2.8s linear infinite;
}
.throne-available:hover { filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.5)); }
@keyframes throne-shimmer {
  from { background-position: 0% 0; }
  to   { background-position: -200% 0; }
}

/* ======================================================================
   Mobile
   ====================================================================== */
@media (max-width: 820px) {
  .topbar { padding: 18px 16px 0; }
  .submit-koth { font-size: 0.82rem; padding: 10px 14px; }

  .koth {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px 16px 64px;
  }
  /* Battle first, then leaderboard, then queue */
  .koth-center { order: 1; }
  .koth-wins { order: 2; }
  .koth-queue { order: 3; }

  .pixel-title { font-size: 1.7rem; margin-bottom: 18px; text-align: center; }

  /* Two cards stay side-by-side but flex to fit the screen */
  .battle { gap: 12px; width: 100%; max-width: 440px; }
  .contender { width: auto; flex: 1 1 0; min-width: 0; }
  .vote-btn { font-size: 1.15rem; padding: 11px; }
  .art-title { font-size: 0.82rem; }
  .art-artist { font-size: 0.68rem; }

  .start-voting { width: 100%; max-width: 440px; }

  /* Leaderboard + queue read as centered blocks under the battle */
  .koth-wins, .koth-queue { width: 100%; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 820px) {
  .sub-timer { right: 12px; bottom: 12px; gap: 6px; }
  .sub-status { font-size: 1.05rem; padding: 10px 14px; }
}

@media (max-width: 380px) {
  .vote-btn { font-size: 1rem; }
  .art-play { width: 46px; height: 46px; }
}

/* ======================================================================
   Winner celebration + loading
   ====================================================================== */
.winner-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 10, 0.55);
  backdrop-filter: blur(2px);
}
.winner-overlay[hidden] { display: none; }

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 61;
  pointer-events: none;
}

.winner-card {
  position: relative;
  z-index: 62;
  text-align: center;
  animation: winnerPop 0.4s ease-out;
}
@keyframes winnerPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.winner-badge {
  font-family: var(--font-pixel);
  font-size: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 207, 63, 0.5);
  margin-bottom: 14px;
}
.winner-song { font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: 0.01em; }
.winner-artist { color: var(--muted); font-size: 1.1rem; margin-top: 4px; }

/* Loading-next-song slot */
.art-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.loader {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--text);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 820px) {
  .winner-badge { font-size: 2.1rem; }
  .winner-song { font-size: 1.5rem; }
}

/* ======================================================================
   Most Wins popup (streaming view)
   ====================================================================== */
.pixel-label-btn { cursor: pointer; transition: color 0.15s; }
.pixel-label-btn:hover { color: var(--gold); }

.wins-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 44px 56px 48px;
  min-width: 380px;
  max-width: 90vw;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.wins-panel .pixel-title { text-align: center; margin-bottom: 30px; }

.wins-modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wins-modal-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 1.4rem;
}
.wm-rank {
  width: 28px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--muted);
}
.wm-name { flex: 1; font-family: var(--font-head); font-weight: 700; }
.wm-count { font-family: var(--font-head); font-weight: 800; color: var(--gold); }

@media (max-width: 820px) {
  .wins-panel { padding: 34px 32px 38px; min-width: 0; width: 100%; }
  .wins-modal-row { font-size: 1.2rem; }
}

/* ======================================================================
   Admin dashboard drawer
   ====================================================================== */
.dash-btn {
  display: none;
  position: fixed;
  top: 54px;
  left: 20px;
  z-index: 46;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transition: color 0.15s, border-color 0.15s;
}
body.admin .dash-btn { display: grid; }
.dash-btn:hover { color: var(--text); border-color: #33334a; }
.dash-btn svg { width: 17px; height: 17px; display: block; }

.dash-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 45;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: var(--panel);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.dash-drawer[hidden] { display: none; }

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--panel-line);
}
.dash-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.dash-head .modal-close { position: static; font-size: 1.4rem; }

.dash-body { flex: 1; overflow-y: auto; padding: 20px; }
.dash-section + .dash-section { margin-top: 28px; }
.dash-h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.dash-count { color: var(--muted); }

.dash-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.dash-field input {
  width: 88px;
  padding: 8px 10px;
  text-align: right;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.dash-field input:focus { border-color: #3a3a52; }
.dash-note { color: var(--muted); font-size: 0.76rem; margin-top: 8px; }

.dash-queue { display: flex; flex-direction: column; gap: 6px; }
.dash-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
}
.dq-name { flex: 1; min-width: 0; font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dq-tier { flex-shrink: 0; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.dq-tier.throne { color: var(--gold); }
.dq-tier.skip { color: var(--skip-green); }
.dq-tier.superskip { color: #35d0d8; }
.dq-btn {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #16161f;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  transition: color 0.12s, border-color 0.12s;
}
.dq-btn:hover { color: var(--text); border-color: #33334a; }
.dq-remove:hover { color: var(--accent-red); border-color: var(--accent-red); }

/* ======================================================================
   Sessions + ended overlay
   ====================================================================== */
#sessions-btn { top: 92px; }

/* Session-ended home takeover */
.ended-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.ended-overlay[hidden] { display: none; }
.ended-text {
  font-family: var(--font-pixel);
  font-size: 3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

/* Sessions modal */
.sessions-panel { max-width: 480px; }
.sessions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.sessions-new { width: auto; padding: 9px 16px; font-size: 0.9rem; }
.sessions-list { display: flex; flex-direction: column; gap: 10px; max-height: 55vh; overflow-y: auto; }

.session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
}
.session-meta { flex: 1; min-width: 0; }
.session-name {
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.session-date { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.sess-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #26263a;
  color: var(--muted);
}
.sess-badge.live { background: rgba(69, 224, 127, 0.16); color: var(--skip-green); }
.sess-badge.ended { background: rgba(226, 48, 72, 0.16); color: var(--accent-red); }
.sess-action { width: auto; padding: 9px 16px; font-size: 0.85rem; flex-shrink: 0; }

/* Create-session tier config */
.tier-config { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 20px; }
.tier-cfg-row { display: flex; align-items: center; gap: 14px; }
.tier-cfg-name { flex: 1; font-family: var(--font-head); font-weight: 700; }
.tier-cfg-name.skip { color: var(--skip-green); }
.tier-cfg-name.throne { color: var(--gold); }
.tier-cfg-name.superskip {
  background: linear-gradient(90deg, #45e07f, #35d0d8, #a56bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier-cfg-price { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.tier-cfg-price input {
  width: 68px;
  padding: 7px 9px;
  text-align: right;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
}
.tier-cfg-price input:focus { border-color: #3a3a52; }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #2a2a3a;
  border-radius: 999px;
  transition: background 0.15s;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch input:checked + .slider { background: var(--skip-green); }
.switch input:checked + .slider::before { transform: translateX(16px); }

/* Dashboard current-session block */
.dash-session .ds-name {
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dash-session .btn-secondary { width: 100%; }

/* ======================================================================
   Queue side panel + detail popup
   ====================================================================== */
#open-queue { width: 100%; }
#open-queue .dash-count { color: var(--muted); }

.queue-panel-side {
  position: fixed;
  top: 0;
  right: 360px;               /* sits just left of the dashboard drawer */
  z-index: 45;
  width: 340px;
  max-width: 90vw;
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--panel-line);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}
.queue-panel-side[hidden] { display: none; }

.queue-search { padding: 14px 16px; border-bottom: 1px solid var(--panel-line); }
.queue-search input {
  width: 100%;
  padding: 9px 12px;
  background: #0b0b12;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}
.queue-search input:focus { border-color: #3a3a52; }
.queue-search input::placeholder { color: var(--muted); }

/* Queue rows: song + artist + tier, draggable + clickable */
.dash-row {
  position: relative;
  cursor: pointer;
  gap: 10px;
}
.dash-row:hover { border-color: #33334a; }
.dash-row.dragging { opacity: 0.4; }
.dash-row.drop-before::before,
.dash-row.drop-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--skip-green);
}
.dash-row.drop-before::before { top: -4px; }
.dash-row.drop-after::after { bottom: -4px; }
.dq-meta { flex: 1; min-width: 0; }
.dq-name { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dq-artist { color: var(--muted); font-size: 0.74rem; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Queue detail popup */
.qdetail-actions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.qdetail-actions .btn-secondary { width: 100%; }
.qdetail-remove { width: 100%; color: var(--accent-red); }
.qdetail-remove:hover { color: #ff5a70; }

@media (max-width: 820px) {
  .queue-panel-side { right: 0; width: 100%; z-index: 47; }
}

/* ======================================================================
   Viewer queue popup (simple, names only)
   ====================================================================== */
.koth-q-more { cursor: pointer; transition: color 0.15s; }
.koth-q-more:hover { color: var(--text); }

.viewer-queue-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 30px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.viewer-queue-panel .pixel-title { text-align: center; margin-bottom: 24px; }

.viewer-queue-panel .pixel-title + .vq-total { margin-top: -18px; }
.vq-total {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.vq-scroll { overflow-y: auto; margin: 0 -6px; padding: 0 6px 4px; }
.vq-item { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; }
.vq-num {
  flex-shrink: 0;
  width: 26px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.vq-meta { min-width: 0; }
.vq-song { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.vq-artist { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 1px; }

/* ======================================================================
   Claim the Throne popup
   ====================================================================== */
.throne-claim { text-align: center; }
.throne-crown {
  color: var(--gold);
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(255, 207, 63, 0.45));
}
.throne-crown svg { width: 46px; height: 46px; display: block; }
.throne-title { color: var(--gold); margin-bottom: 12px; }
.btn-throne {
  margin-top: 6px;
  background: var(--gold);
  color: #08080c;
}
.btn-throne:hover { filter: brightness(1.06); }
.btn-throne:disabled { opacity: 0.5; cursor: default; filter: none; }

/* "Pulling your submission" indicator */
.throne-sub { margin-top: 16px; text-align: center; }
.throne-sub-label { color: var(--muted); font-size: 0.82rem; margin-bottom: 9px; }
.throne-pull {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(69, 224, 127, 0.4);
  background: rgba(69, 224, 127, 0.08);
}
.throne-pull.empty { border-color: var(--panel-line); background: #0b0b12; }
.throne-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--skip-green);
  animation: throne-pulse 1.4s infinite;
}
@keyframes throne-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(69, 224, 127, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(69, 224, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 224, 127, 0); }
}
.throne-pull-song {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.throne-pull.empty .throne-pull-song { color: var(--muted); font-weight: 500; }
.throne-pull-artist { color: var(--muted); font-size: 0.82rem; flex-shrink: 0; }

/* ======================================================================
   Admin login / logout
   ====================================================================== */
.login-error {
  color: var(--accent-red);
  font-size: 0.82rem;
  min-height: 1.1em;
  margin: 4px 0 12px;
  text-align: center;
}
.dash-head-actions { display: flex; align-items: center; gap: 12px; }
.dash-logout {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.15s;
}
.dash-logout:hover { color: var(--accent-red); }
