/* 2. Configura suas fontes, cores e animações para o Tailwind usar */
@theme {
  /* Fontes */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-mono: 'Zen Maru Gothic', monospace;

  /* Cores do Tailwind */
  --color-gray-900: #0a0a0c;
  --color-gray-800: #141418;
  --color-gray-700: #2a2a35;
  --color-cyan-400: #a3b3cc;
  --color-cyan-500: #2d3b4e;
  --color-cyan-600: #1e293b;
  --color-red-500: #8a1c1c;
  --color-red-600: #6b1212;
  --color-theme-color: #00ff88;
  --color-theme-cyan: #00e5ff;

  /* Animações (As keyframes originais vão continuar no seu 06_animations.css) */
  --animate-fade-in-up: fadeInUp 0.8s ease-out forwards;
  --animate-pulse-slow: pulse 8s ease-in-out infinite;
  --animate-float: float 20s ease-in-out infinite;
}

/* 3. Carrega TODO o seu CSS customizado original intacto */
/* Imports versionados: a edge da Cloudflare cacheia cada arquivo por URL
   (s-maxage 7d) — sem query, bump no ?v= do style.css não renovava a
   cadeia e o celular ficava preso em CSS velho. Ao mudar qualquer parcial,
   bumpar AQUI e no ?v= do style.css no index.html. */
@import "./00_tokens.css?v=20260720d";
@import "./01_base.css?v=20260720d";
@import "./02_layout.css?v=20260720d";
@import "./03_componentes.css?v=20260720d";
@import "./04_pages.css?v=20260720d";
@import "./05_utilities.css?v=20260720d";
@import "./06_animations.css?v=20260720d";

/* Todo o resto que estava solto no seu style.css original continua aqui para baixo sem alterações */
/* @keyframes duplicados de 06_animations.css foram removidos daqui.
   Todos os keyframes (float, pulse, spin-aura, spin-slow, fade-in-down,
   fadeIn, fadeUp, blink, eq-bounce, steam-glow, glitch-anim-1/2, glitch-text)
   vivem exclusivamente em 06_animations.css.
   .analytics-bg / .globe-wrapper shared block removido (vive em 03_componentes.css). */

#globe-container {
    position: absolute;
    inset: 0;
}

/* O Container do PixiJS (Globo) */
.globe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Garante que o Canvas seja transparente */
.globe-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Garante que o Router consiga mostrar as páginas */
.page-view.active {
    display: block !important;
}

/* Impede que o fundo PIXI cubra o conteúdo do Dashboard */
#main-content {
    position: relative;
    z-index: 1;
}

#dashboard-shell {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* ==========================================================================
   EVIL PLAYER — OVAL GLASS VERSION
   ========================================================================== */

#evil-player.evil-player-bar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(150%);
    z-index: 2147482000 !important;
    isolation: isolate;

    width: 95%;
    max-width: 800px;
    height: 85px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    /* A MÁGICA DA PÍLULA: */
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* FUNDO ESCURO TRANSLÚCIDO */
    background: rgba(10, 10, 12, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: visible; /* Necessário para a sombra do botão pular pra fora se precisar */
}

#evil-player.active {
    transform: translateX(-50%) translateY(0) !important;
}

#evil-player.hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   LEFT (Track Info)
   -------------------------------------------------------------------------- */

#evil-player .ep-track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 220px;
}

#evil-player .ep-cover-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

#evil-player .ep-cover {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    background: #000;
}

#evil-player .ep-cover.playing {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    animation: spinRecord 6s linear infinite;
}

/* Furo do Vinil */
#evil-player .ep-cover-wrapper::after { 
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: #111;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes spinRecord {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#evil-player .ep-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
}

#evil-player #ep-artist {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Band name links to the artist's public page when the track carries a slug */
#evil-player #ep-artist[data-artist-slug] {
    cursor: pointer;
}
#evil-player #ep-artist[data-artist-slug]:hover {
    color: #00e5ff;
    text-decoration: underline;
}

#evil-player #ep-title {
    margin: 0; 
    font-size: 0.75rem; 
    color: #00e5ff; 
    letter-spacing: 1px;
    text-transform: uppercase;
    text-overflow: ellipsis; 
    overflow: hidden;
}

#evil-player .ep-mode-badge {
    display: none; /* Escondendo aquela tag visual chata */
}

/* --------------------------------------------------------------------------
   CENTER (Controls)
   -------------------------------------------------------------------------- */

#evil-player .ep-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 20px;
}

#evil-player .ep-buttons {
    display: flex; 
    align-items: center; 
    gap: 20px;
}

#evil-player .ep-btn,
#evil-player .ep-icon-btn {
    background: none; 
    border: none;
    color: #888; 
    font-size: 1.1rem;
    cursor: pointer; 
    transition: 0.2s;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

#evil-player .ep-btn:hover,
#evil-player .ep-icon-btn:hover { 
    color: #fff; 
    transform: scale(1.1); 
}

#evil-player .ep-btn-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

#evil-player .ep-btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

#evil-player .ep-btn-play i { 
    color: #000 !important; 
    margin-left: 2px; 
}

#evil-player .ep-btn-play.playing i,
#evil-player .ep-btn-play .fa-pause { 
    margin-left: 0; 
}

#evil-player .ep-progress-bar {
    width: 100%; 
    max-width: 400px;
    display: flex; 
    align-items: center; 
    gap: 10px;
    font-family: monospace; 
    font-size: 0.7rem; 
    color: rgba(255,255,255,0.5);
}

#evil-player .ep-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

#evil-player .ep-slider {
    width: 100%;
    -webkit-appearance: none; 
    appearance: none;
    height: 4px;
    background: rgba(255,255,255,0.1); 
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#evil-player .ep-slider::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none;
    width: 12px; 
    height: 12px;
    background: #fff; 
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

#evil-player .ep-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2); 
    background: #00e5ff;
}

/* --------------------------------------------------------------------------
   RIGHT (Volume)
   -------------------------------------------------------------------------- */

#evil-player .ep-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 230px;
    min-width: 230px;
}

#evil-player .ep-divider {
    display: none; /* Escondendo aquela barrinha divisória inútil */
}

#evil-player .ep-volume-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

#evil-player .ep-volume-icon {
    font-size: 0.9rem;
    color: #888;
}

#evil-player .ep-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none; 
    appearance: none;
    background: rgba(255,255,255,0.1); 
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#evil-player .ep-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none;
    width: 12px; 
    height: 12px;
    background: #fff; 
    border-radius: 50%;
    transition: 0.2s;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    #evil-player.evil-player-bar {
        flex-direction: column; 
        height: auto; 
        padding: 15px 20px;
        bottom: 10px; 
        border-radius: 25px; /* Volta a ser levemente quadrado no mobile para caber */
    }
    #evil-player .ep-track-info { 
        width: 100%; 
        justify-content: center; 
        margin-bottom: 5px; 
    }
    /* Mobile: esconder só volume/divisores — display:none no bloco inteiro
       tirava também o botão de FECHAR (única saída era fechar o browser). */
    #evil-player .ep-actions {
        display: flex;
        position: absolute;
        top: 8px;
        right: 10px;
        gap: 6px;
    }
    #evil-player .ep-actions .ep-volume-group,
    #evil-player .ep-actions .ep-divider {
        display: none;
    }
    #evil-player .ep-center {
        width: 100%;
        padding: 0;
    }
}

/* Dá espaço no final do site para o Player não tampar o Footer */
body {
    padding-bottom: 110px !important;
}

@keyframes heroSlowZoom {
  0%   { transform: scale(1.05); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1.05); }
}

/* =========================================================
   EVIL SOCIAL PLAYLIST UI
========================================================= */

#ep-add-playlist,
#ep-open-playlists {
  position: relative;
}

#ep-add-playlist:hover,
#ep-open-playlists:hover {
  color: #00e5ff;
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 18px rgba(0,229,255,0.18);
}

.evil-playlist-modal {
  width: min(720px, calc(100vw - 32px));
  max-width: 720px;
  /* Leave room above the fixed player and a comfortable top margin */
  max-height: min(820px, calc(100vh - 200px));
  margin-bottom: 24px;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,229,255,0.14), transparent 38%),
    radial-gradient(circle at 80% 12%, rgba(192,132,252,0.11), transparent 40%),
    linear-gradient(180deg, rgba(12,13,18,0.96), rgba(6,7,11,0.97));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 0 0 1px rgba(0,229,255,0.05),
    0 40px 120px rgba(0,0,0,0.78);
  backdrop-filter: blur(28px);
}

.evil-playlist-modal-head {
  flex-shrink: 0;
  padding: 28px 34px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}

.evil-playlist-kicker {
  display: inline-flex;
  color: #00e5ff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.evil-playlist-modal-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif, "Cinzel", serif);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evil-playlist-modal-head p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

.evil-playlist-create {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 18px 34px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.evil-playlist-create input[type="text"] {
  min-width: 0;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 16px;
  padding: 13px 15px;
  outline: none;
}

.evil-playlist-create input[type="text"]:focus {
  border-color: rgba(0,229,255,0.42);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}

.evil-playlist-public-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evil-playlist-public-toggle input {
  accent-color: #00e5ff;
}

#playlist-create-btn {
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  background: #fff;
  color: #050508;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.evil-playlist-current-track {
  flex-shrink: 0;
  margin: 16px 34px 0;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,229,255,0.16);
  background: rgba(0,229,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 0.8rem;
}

.evil-playlist-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 34px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

.evil-playlist-list::-webkit-scrollbar {
  width: 8px;
}
.evil-playlist-list::-webkit-scrollbar-track {
  background: transparent;
}
.evil-playlist-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.evil-playlist-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0,229,255,0.32);
  background-clip: padding-box;
}

.evil-playlist-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  transition: 0.22s ease;
}

.evil-playlist-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0,229,255,0.22);
  background: rgba(255,255,255,0.055);
}

.evil-playlist-cover {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,229,255,0.38), transparent 34%),
    linear-gradient(135deg, #111827, #050508);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}

.evil-playlist-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evil-playlist-info h4 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.evil-playlist-info p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.44);
  font-size: 0.74rem;
}

.evil-playlist-pill {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.58);
}

.evil-playlist-pill.public {
  color: #00e5ff;
  border-color: rgba(0,229,255,0.26);
  background: rgba(0,229,255,0.06);
}

.evil-playlist-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.evil-playlist-action-btn {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  border-radius: 999px;
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evil-playlist-action-btn:hover {
  color: #fff;
  border-color: rgba(0,229,255,0.30);
  background: rgba(0,229,255,0.08);
}

.evil-playlist-empty {
  padding: 34px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 20px;
  color: rgba(255,255,255,0.42);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .evil-playlist-create {
    grid-template-columns: 1fr;
  }

  .evil-playlist-card {
    grid-template-columns: 48px 1fr;
  }

  .evil-playlist-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* ============================================================================
   PLAYLISTS v2 — Mosaic, Detail, Public Grid
============================================================================ */

/* --- Mosaic cover (renders inside any sized parent) --- */
.evil-mosaic {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  gap: 1px;
  background: #0a0a0c;
  overflow: hidden;
}
.evil-mosaic.empty {
  background:
    radial-gradient(circle at 30% 25%, rgba(0,229,255,0.32), transparent 40%),
    radial-gradient(circle at 75% 80%, rgba(192,132,252,0.22), transparent 45%),
    linear-gradient(135deg, #1a1a22, #050508);
}
.evil-mosaic-tile {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.evil-mosaic.tiles-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.evil-mosaic.tiles-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.evil-mosaic.tiles-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.evil-mosaic.tiles-3 .tile-0 { grid-row: 1 / 3; }
.evil-mosaic.tiles-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

/* Hover lift the tiles slightly when card is hovered */
.evil-playlist-card:hover .evil-mosaic-tile,
.evil-playlist-grid-card:hover .evil-mosaic-tile {
  transform: scale(1.06);
}

/* "Just-added" pulse on a card after add-to-playlist */
@keyframes evil-pl-just-added {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,255,0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(0,229,255,0.0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}
.evil-playlist-card.just-added {
  animation: evil-pl-just-added 0.9s ease;
  border-color: rgba(0,229,255,0.55);
}

/* Action button variants */
.evil-playlist-action-btn.primary {
  background: linear-gradient(135deg, #00e5ff, #0078ff);
  color: #050508;
  border-color: transparent;
  font-weight: 900;
}
.evil-playlist-action-btn.primary:hover {
  filter: brightness(1.12);
  color: #050508;
}
.evil-playlist-action-btn.danger {
  color: rgba(255,160,160,0.85);
  border-color: rgba(255,80,80,0.16);
}
.evil-playlist-action-btn.danger:hover {
  background: rgba(255,80,80,0.12);
  border-color: rgba(255,80,80,0.42);
  color: #fff;
}
.evil-playlist-action-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Detail view --- */
.evil-playlist-back {
  position: sticky;
  top: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 14px;
  padding: 4px 10px 4px 0;
  border-radius: 8px;
  transition: color 0.2s, transform 0.2s;
}
.evil-playlist-back:hover {
  color: #00e5ff;
  transform: translateX(-2px);
}

.evil-playlist-detail-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8,9,13,0.98) 75%, rgba(8,9,13,0.0));
  padding-top: 6px;
  backdrop-filter: blur(8px);
}
.evil-playlist-detail-cover {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  background: #0a0a0c;
}
.evil-playlist-detail-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.evil-playlist-detail-info {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-width: 0;
}
.evil-playlist-detail-info h3 {
  margin: 6px 0 6px;
  color: #fff;
  font-family: var(--font-serif, "Cinzel", serif);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.evil-playlist-detail-info p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  line-height: 1.5;
}
.evil-playlist-detail-stats {
  display: flex; gap: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.evil-playlist-detail-cta {
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* --- Tracklist --- */
.evil-playlist-tracklist {
  display: flex; flex-direction: column;
  gap: 4px;
}
.evil-track-row {
  display: grid;
  grid-template-columns: 28px 48px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.16s ease, transform 0.16s ease;
}
.evil-track-row + .evil-track-row {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.evil-track-row:hover {
  background: rgba(255,255,255,0.045);
  transform: translateX(2px);
}
.evil-track-row:hover .evil-track-num {
  color: #00e5ff;
}
.evil-track-num {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  text-align: center;
}
.evil-track-thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.evil-track-meta { min-width: 0; }
.evil-track-title {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.evil-track-artist {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.evil-track-dur {
  color: rgba(255,255,255,0.45);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}
.evil-track-actions {
  display: flex; gap: 6px;
}

/* --- Public profile grid --- */
.evil-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.evil-playlist-grid-card {
  cursor: pointer;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.22s ease;
  outline: none;
}
.evil-playlist-grid-card:hover,
.evil-playlist-grid-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(0,229,255,0.30);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.evil-playlist-grid-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #0a0a0c;
}
.evil-playlist-grid-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.evil-playlist-grid-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  opacity: 0; transition: 0.22s ease;
}
.evil-playlist-grid-card:hover .evil-playlist-grid-overlay,
.evil-playlist-grid-card:focus-visible .evil-playlist-grid-overlay {
  opacity: 1;
}
.evil-playlist-grid-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #00e5ff;
  color: #050508;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,229,255,0.45);
  transform: translateY(8px);
  transition: 0.22s ease;
}
.evil-playlist-grid-card:hover .evil-playlist-grid-play,
.evil-playlist-grid-card:focus-visible .evil-playlist-grid-play {
  transform: translateY(0);
}
.evil-playlist-grid-meta h5 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.evil-playlist-grid-meta p {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Responsive detail */
@media (max-width: 640px) {
  .evil-playlist-detail-head {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .evil-playlist-detail-cover {
    width: 60%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .evil-playlist-detail-info { align-items: center; }
  .evil-playlist-detail-cta { justify-content: center; }
  .evil-track-row {
    grid-template-columns: 22px 40px 1fr auto;
  }
  .evil-track-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
/* Global platform status popover */
#global-nav-status {
    position: relative;
    cursor: pointer;
    border-radius: 999px;
    outline: none;
}

#global-nav-status:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.34);
}

.global-system-status-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 10060;
    width: min(340px, calc(100vw - 32px));
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 12, 0.92);
    color: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38), 0 0 24px rgba(0, 229, 255, 0.08);
    backdrop-filter: blur(18px);
    white-space: normal;
    pointer-events: auto;
}

.global-system-status-popover[hidden] {
    display: none;
}

.global-system-status-popover__kicker {
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.global-system-status-popover__row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.global-system-status-popover__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.global-system-status-popover[data-status="maintenance"] .global-system-status-popover__dot {
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.global-system-status-popover[data-status="offline"] .global-system-status-popover__dot {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.global-system-status-popover[data-status="maintenance"] {
    border-color: rgba(251, 191, 36, 0.28);
}

.global-system-status-popover[data-status="offline"] {
    border-color: rgba(239, 68, 68, 0.32);
}

.global-system-status-popover__title {
    min-width: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.global-system-status-popover__message {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
}
