/* ==========================================================================
   MUSIC PLANET - LAZERZF!NE RETRO CYBER / SYNTHWAVE DESIGN SYSTEM
   Inspired by lazerzfine.com & Apple Premium Web Design Principles
   Optimized for Desktop, Tablet, and Mobile Smartphones
   ========================================================================== */


:root {
  /* ===== TYPOGRAPHY ===== */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Orbitron', 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', "SF Mono", Menlo, Consolas, monospace;

  /* Fluid Font Sizes */
  --text-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.8rem + 0.15vw, 0.88rem);
  --text-base: clamp(0.92rem, 0.9rem + 0.2vw, 1.02rem);
  --text-lg: clamp(1.1rem, 1.05rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.25rem + 0.5vw, 1.65rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --text-3xl: clamp(2.2rem, 1.8rem + 1.6vw, 3rem);

  /* Easing curves (Apple-like 60fps) */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.25, 1, 0.5, 1);

  /* ===== LAZERZF!NE COLOR PALETTE ===== */
  --bg-body: #0b0b10;
  --bg-surface: #121218;
  --bg-card: #181822;
  --bg-card-hover: #1f1f2c;
  --bg-elevated: #242433;
  --bg-glass: rgba(18, 18, 24, 0.82);
  --bg-glass-heavy: rgba(14, 14, 19, 0.94);

  /* Signature LazerzFine Neon Accents */
  --lazer-purple: #772ce8;          /* Twitch/LazerzFine primary violet */
  --lazer-purple-bright: #9256ed;
  --lazer-purple-glow: rgba(119, 44, 232, 0.45);
  --lazer-cyan: #00f2fe;            /* Laser cyan */
  --lazer-cyan-glow: rgba(0, 242, 254, 0.4);
  --lazer-teal: #04bf8f;
  --lazer-pink: #ff007f;            /* Neon laser magenta */
  --lazer-pink-glow: rgba(255, 0, 127, 0.4);
  
  --accent-purple: var(--lazer-purple);
  --accent-cyan: var(--lazer-cyan);
  --accent-pink: var(--lazer-pink);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-active: rgba(119, 44, 232, 0.5);
  --border-laser: rgba(0, 242, 254, 0.5);

  /* Text Colors */
  --text-main: #f5f5f9;
  --text-muted: #a3a3be;
  --text-dim: #8f8fa8;

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.45);
  --glow-purple: 0 0 15px rgba(119, 44, 232, 0.5), 0 0 30px rgba(119, 44, 232, 0.2);
  --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.5), 0 0 30px rgba(0, 242, 254, 0.2);
  --glow-laser-bar: 0 0 12px #772ce8, 0 0 24px #00f2fe;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  /* Extra space at bottom so fixed audio bar doesn't cover content */
  padding-bottom: 95px;
}

/* Cyber Ambient Laser Glow at Top */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 420px;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(119, 44, 232, 0.28) 0%, rgba(0, 242, 254, 0.1) 40%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* Subtle Perspective Grid Horizon */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: 
    linear-gradient(to top, rgba(11, 11, 16, 0.95), transparent),
    linear-gradient(rgba(119, 44, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-ui), opacity 0.2s var(--ease-ui);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  flex: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION (LAZERZF!NE FROSTED GLASS BAR)
   ========================================================================== */
.header-top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(119, 44, 232, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s var(--ease-ui);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6)) drop-shadow(0 0 18px rgba(119, 44, 232, 0.4));
  transition: transform 0.3s var(--ease-expo);
}

.logo-wrap:hover img {
  transform: scale(1.08) rotate(3deg);
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 10%, #00f2fe 55%, #9256ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(119, 44, 232, 0.35);
  white-space: nowrap;
}

/* Mobile Hamburger & Drawer Defaults (Desktop: native inline flow) */
.hamburger-btn {
  display: none;
}

.nav-backdrop {
  display: none;
}

.drawer-header {
  display: none;
}

.nav-drawer {
  display: contents;
}

.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s var(--ease-ui);
  position: relative;
  white-space: nowrap;
}

.nav-item a:hover {
  color: #fff;
  background: rgba(119, 44, 232, 0.15);
  box-shadow: 0 0 12px rgba(119, 44, 232, 0.25);
}

.nav-item.active a {
  color: #fff !important;
  background: var(--lazer-purple);
  box-shadow: var(--glow-purple);
}

/* Mobile-only nav items (hidden on desktop to avoid duplicate header links) */
@media (min-width: 992px) {
  .mobile-only-nav-item {
    display: none !important;
  }
}

/* ==========================================================================
   SEARCH BAR COMPONENT (LAZERZF!NE SLEEK OUTLINE & SELECT)
   ========================================================================== */
.search-container {
  padding: 1.25rem 0;
  margin-bottom: 0.5rem;
}

.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 1.25rem;
  background: #15151e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  font-size: var(--text-base);
  transition: all 0.25s var(--ease-ui);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-dim);
  font-size: var(--text-sm);
}

.search-input:focus {
  background: #1b1b26;
  border-color: var(--lazer-purple-bright);
  box-shadow: 0 0 0 3px rgba(119, 44, 232, 0.35), 0 0 20px rgba(119, 44, 232, 0.25);
}

.genre-select {
  height: 48px;
  padding: 0 1rem;
  background: #15151e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: var(--text-sm);
  cursor: pointer;
  outline: none;
  transition: all 0.2s var(--ease-ui);
}

.genre-select:focus {
  border-color: var(--lazer-purple-bright);
  color: #fff;
}

.btn-search {
  height: 48px;
  padding: 0 1.75rem;
  background: linear-gradient(135deg, var(--lazer-purple) 0%, #9256ed 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s var(--ease-expo);
  box-shadow: 0 4px 15px rgba(119, 44, 232, 0.4);
  white-space: nowrap;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(119, 44, 232, 0.6), 0 0 25px rgba(0, 242, 254, 0.3);
}

.btn-search:active {
  transform: translateY(0);
}

/* ==========================================================================
   HERO BANNER (RETRO-SYNTHWAVE CYBER EDM)
   ========================================================================== */
.hero-banner {
  position: relative;
  background: radial-gradient(ellipse 90% 80% at 50% 20%, rgba(119, 44, 232, 0.2) 0%, rgba(24, 24, 34, 0.7) 60%, rgba(14, 14, 19, 0.95) 100%);
  border: 1px solid rgba(119, 44, 232, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(119, 44, 232, 0.1);
  backdrop-filter: blur(15px);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2fe 30%, #772ce8 70%, transparent);
  box-shadow: 0 0 15px #00f2fe, 0 0 30px #772ce8;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(119, 44, 232, 0.18);
  border: 1px solid rgba(119, 44, 232, 0.4);
  color: var(--lazer-cyan);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(119, 44, 232, 0.4);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 1.75rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.hero-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s var(--ease-ui);
}

.hero-tag-link:hover {
  background: rgba(119, 44, 232, 0.25);
  border-color: var(--lazer-purple-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(119, 44, 232, 0.4);
}

/* ==========================================================================
   RELEASES GRID & CARDS (LAZERZF!NE PLAYLIST ITEM AESTHETIC)
   ========================================================================== */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.release-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-expo);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.release-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lazer-purple), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.release-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(119, 44, 232, 0.35);
}

.release-card:hover::after {
  opacity: 1;
}

.release-cover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0d0d12;
  margin-bottom: 0.85rem;
  display: block;
}

.release-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-expo);
}

.release-card:hover .release-cover-img {
  transform: scale(1.05);
}

.badge-format {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0.2rem 0.55rem;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid var(--lazer-cyan);
  border-radius: var(--radius-xs);
  color: var(--lazer-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
  transition: all 0.2s ease;
}

.badge-format.badge-flac {
  border-color: var(--lazer-cyan);
  color: var(--lazer-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.35);
}

.badge-format.badge-mp3 {
  border-color: var(--lazer-pink);
  color: #ff80bf;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.45);
}


.release-title-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;
  transition: color 0.2s ease;
}

.release-card:hover .release-title-link {
  color: var(--lazer-cyan);
}

.release-genre {
  font-size: var(--text-xs);
  color: #eab308;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.35rem;
}

.release-date {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: auto;
}

/* ==========================================================================
   DETAIL VIEW (RELEASE.HTML) & TRACKLIST TABLE
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(119, 44, 232, 0.35);
  border: 1px solid rgba(119, 44, 232, 0.3);
  margin-bottom: 1.25rem;
}

.detail-meta-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  font-size: var(--text-sm);
}

.detail-meta-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.detail-meta-table tr:last-child td {
  border-bottom: none;
}

.detail-meta-table td.label {
  color: var(--text-dim);
  width: 40%;
}

/* Download Mirrors Box */
.mirrors-box {
  background: linear-gradient(145deg, rgba(24, 24, 34, 0.95), rgba(18, 18, 24, 0.9));
  border: 1px solid rgba(119, 44, 232, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(119, 44, 232, 0.1);
}

.mirrors-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.mirror-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--lazer-purple) 0%, #9256ed 100%);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(119, 44, 232, 0.4);
  transition: all 0.25s var(--ease-expo);
}

.mirror-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(119, 44, 232, 0.6), 0 0 20px rgba(0, 242, 254, 0.4);
  color: #fff;
}

/* Tracklist Table & Scroll Box */
.tracklist-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.tracklist-scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}
.tracklist-scroll-box::-webkit-scrollbar-thumb {
  background: var(--lazer-purple);
  border-radius: 3px;
}
.tracklist-scroll-box::-webkit-scrollbar-thumb:hover {
  background: var(--lazer-cyan);
}

.tracklist-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.tracklist-table th {
  background: #15151e;
  padding: 0.85rem 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.tracklist-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: var(--text-sm);
  vertical-align: middle;
  transition: background 0.15s ease;
}

.tracklist-table tr:last-child td {
  border-bottom: none;
}

.tracklist-table tr:hover td {
  background: rgba(119, 44, 232, 0.12);
}

/* ==========================================================================
   WIDGETS & SIDEBAR COMPONENTS
   ========================================================================== */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  background: #14141c;
}

.widget-header.comments { color: #4ade80; }
.widget-header.reuploads { color: #facc15; }
.widget-header.info { color: var(--lazer-cyan); }

.widget-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.widget-item {
  font-size: var(--text-sm);
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.6rem;
}

.widget-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ==========================================================================
   STICKY RADIO PLAYER (LAZERZF!NE FROSTED BOTTOM AUDIO BAR)
   ========================================================================== */
.radio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 78px;
  background-color: var(--bg-glass-heavy);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(119, 44, 232, 0.35);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(0, 242, 254, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.75rem;
}

/* Ambient Top Glowing Progress Line */
.radio-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #772ce8 0%, #00f2fe 50%, #772ce8 100%);
  box-shadow: var(--glow-laser-bar);
}

.radio-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

/* Cover Art Thumbnail */
.radio-cover-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  flex-shrink: 0;
  background: #101018;
}

.radio-cover-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.radio-btn-play {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--lazer-purple) 0%, #9256ed 100%);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(119, 44, 232, 0.6);
  transition: all 0.25s var(--ease-expo);
}

.radio-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(119, 44, 232, 0.8), 0 0 15px rgba(0, 242, 254, 0.4);
}

.radio-btn-play:active {
  transform: scale(0.94);
}

.radio-btn-next {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin-left: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-ui);
}

.radio-btn-next:hover {
  background: rgba(119, 44, 232, 0.3);
  border-color: var(--lazer-purple);
}

.radio-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
  gap: 4px;
}

/* Radio metadata & Marquee Scroller */
.marquee-box {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  min-width: 0;
  flex: 0 1 auto;
}

.marquee-box-artist {
  display: block;
  max-width: 400px;
}

.marquee-box-title {
  max-width: 280px;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.marquee-text:not(.is-scrolling) {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.marquee-text.is-scrolling {
  overflow: visible !important;
  text-overflow: clip !important;
  animation: radio-marquee-bounce var(--marquee-duration, 8s) ease-in-out infinite;
}

.marquee-box:hover .marquee-text.is-scrolling {
  animation-play-state: paused;
}

.marquee-box.is-masked {
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 14px), transparent 100%);
}

@keyframes radio-marquee-bounce {
  0%, 20% {
    transform: translateX(0);
  }
  65%, 85% {
    transform: translateX(calc(-1 * var(--marquee-dist, 0px)));
  }
  100% {
    transform: translateX(0);
  }
}

.radio-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.radio-info-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  line-height: 1.2;
}

.radio-info-artist {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.2;
}

.radio-meta-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.2;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.radio-tag-year {
  background: rgba(0, 242, 254, 0.14);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--lazer-cyan);
}

.radio-tag-genre {
  background: rgba(119, 44, 232, 0.22);
  border: 1px solid rgba(119, 44, 232, 0.45);
  color: #d8b4fe;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--lazer-pink);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.on-air-pulse {
  width: 6px;
  height: 6px;
  background: var(--lazer-pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lazer-pink);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Radio Right Side: Mode Switcher, Volume & Extra */
.radio-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Radio Mode Switcher (🔴 LIVE STREAM vs 🎧 VLASTNÝ VÝBER) */
.radio-mode-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 20, 30, 0.7);
  padding: 2px 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(119, 44, 232, 0.35);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  gap: 3px;
}

.btn-mode {
  min-height: 26px;
  min-width: 26px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mode-text-desktop {
  display: inline;
}

.mode-text-mobile {
  display: none;
}

.jukebox-icon {
  display: inline-block;
  font-size: 0.9em;
}

.btn-mode:hover {
  color: #fff;
}

.btn-mode.active#btnModeLive {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.28) 0%, rgba(255, 0, 127, 0.2) 100%);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.55);
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.4);
  font-weight: 800;
}

.btn-mode.active#btnModeJukebox {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22) 0%, rgba(119, 44, 232, 0.25) 100%);
  color: var(--lazer-cyan);
  border: 1px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  font-weight: 800;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: #ff0055;
  border-radius: 50%;
  display: inline-block;
  animation: liveModePulse 1.4s infinite;
}

@keyframes liveModePulse {
  0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.8); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(255, 0, 85, 0); }
  100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

/* Radio Quality Switcher */
.radio-quality-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(20, 20, 30, 0.7);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(119, 44, 232, 0.35);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.quality-label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-weight: 700;
  margin-right: 2px;
  margin-left: 4px;
}

.btn-quality {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-quality:hover {
  color: #fff;
  border-color: rgba(0, 242, 254, 0.3);
}

.btn-quality.active {
  background: linear-gradient(135deg, var(--lazer-cyan) 0%, #00b4d8 100%);
  color: #0b0b10;
  border-color: var(--lazer-cyan);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
  font-weight: 800;
}

.radio-vol-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 20, 30, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(119, 44, 232, 0.35);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.radio-vol-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: color 0.2s;
}

.radio-vol-btn:hover {
  color: var(--lazer-cyan);
}

.radio-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.radio-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lazer-cyan);
  box-shadow: 0 0 8px var(--lazer-cyan);
  cursor: pointer;
  transition: transform 0.15s;
}

.radio-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.radio-vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lazer-cyan);
  border: none;
  box-shadow: 0 0 8px var(--lazer-cyan);
  cursor: pointer;
}

.radio-vol-pct {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  width: 30px;
  text-align: right;
  font-weight: 700;
}

.radio-extra-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.radio-link-playlist {
  color: var(--lazer-purple-bright);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.radio-link-playlist:hover {
  color: var(--lazer-cyan);
  text-shadow: 0 0 8px var(--lazer-cyan);
}

/* ==========================================================================
   TABLET / SMALL LAPTOP RADIO BAR
   Keep the left transport controls clear of the right-side switchers.
   ========================================================================== */
@media (max-width: 1200px) and (min-width: 769px) {
  .radio-bar {
    padding: 0 0.9rem;
    gap: 0.5rem;
  }

  .radio-left {
    gap: 0.55rem;
    min-width: 240px;
    flex: 1 1 auto;
  }

  .radio-cover-wrap {
    width: 40px;
    height: 40px;
  }

  .radio-btn-play {
    width: 42px;
    height: 42px;
  }

  .radio-btn-next {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    margin-left: 0;
  }

  .radio-right {
    gap: 0.6rem;
  }

  .mode-text-desktop {
    display: none;
  }

  .mode-text-mobile {
    display: inline;
    font-weight: 800;
  }

  .radio-link-playlist {
    display: none !important;
  }
}

/* Header language pill is duplicated inside the mobile drawer. */
@media (max-width: 768px) {
  .lang-switcher-pill { display: none !important; }
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS ("OPTIMALIZUJ TO PRE TELEFÓN")
   ========================================================================== */
@media (max-width: 900px) {
  .widgets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-sidebar {
    position: static !important;
  }

  .detail-cover {
    max-width: 280px;
    margin: 0 auto 1.5rem auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    padding-bottom: 85px;
  }

  /* Mobile Header with Hamburger Menu */
  .header-top {
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-wrap img {
    width: 32px;
    height: 32px;
  }

  /* Hamburger Toggle Button */
  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: var(--radius-sm);
    padding: 6px 7px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.25s ease;
    touch-action: manipulation;
  }

  .hamburger-btn:hover,
  .hamburger-btn:active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--lazer-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
  }

  .hamburger-btn .bar {
    width: 100%;
    height: 2px;
    background: var(--lazer-cyan);
    border-radius: 2px;
    transition: all 0.25s ease;
    box-shadow: 0 0 4px var(--lazer-cyan);
  }

  .hamburger-btn.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--lazer-pink);
    box-shadow: 0 0 5px var(--lazer-pink);
  }

  .hamburger-btn.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--lazer-pink);
    box-shadow: 0 0 5px var(--lazer-pink);
  }

  /* Backdrop Overlay */
  .nav-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Navigation Drawer (Slide-in from right) */
  .nav-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -285px;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 13, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 240, 255, 0.15);
    z-index: 1060;
    padding: 1.25rem 1rem 6rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-drawer.is-open {
    transform: translateX(-285px);
  }

  .drawer-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
  }

  .drawer-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
  }

  .drawer-close:hover {
    color: var(--lazer-pink);
  }

  .main-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.4rem !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav .nav-item {
    width: 100% !important;
    list-style: none;
  }

  .main-nav .nav-item a {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    padding: 0.7rem 0.9rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    white-space: normal !important;
    transition: all 0.2s ease !important;
    color: var(--text-muted);
  }

  .main-nav .nav-item.active a {
    background: rgba(0, 240, 255, 0.12) !important;
    border-color: var(--lazer-cyan) !important;
    color: var(--lazer-cyan) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25) !important;
  }

  .main-nav .nav-item a:hover {
    background: rgba(255, 0, 127, 0.12) !important;
    border-color: var(--lazer-pink) !important;
    color: #fff !important;
  }

  /* Search Bar Stacking on Mobile */
  .search-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .search-input {
    height: 44px;
    font-size: 0.9rem;
  }

  .genre-select {
    height: 44px;
    width: 100%;
  }

  .btn-search {
    height: 44px;
    width: 100%;
  }

  /* Hero Banner on Mobile */
  .hero-banner {
    padding: 1.75rem 1.25rem;
    margin-bottom: 1.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  .hero-tag-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  /* PERFECT 2-COLUMN ALBUM GRID ON MOBILE */
  .releases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .release-card {
    padding: 0.65rem;
  }

  .release-title-link {
    font-size: 0.82rem;
    min-height: 2.5em;
  }

  .release-genre {
    font-size: 0.7rem;
  }

  /* Mobile Tracklist Responsiveness */
  .tracklist-table th:nth-child(3),
  .tracklist-table td:nth-child(3) {
    /* Hide separate artist column on narrow screens to prevent cramming */
    display: none;
  }

  .tracklist-table th {
    padding: 0.6rem 0.5rem;
    font-size: 0.7rem;
  }

  .tracklist-table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }

  .mobile-artist-inline {
    display: block !important;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-top: 2px;
  }

  /* Mobile Player Bar (Rock Solid, Zero Bugging & Perfect Touch Targets) */
  .mode-text-desktop {
    display: none !important;
  }

  .mode-text-mobile {
    display: inline !important;
    font-weight: 800;
  }

  .radio-bar {
    height: 64px;
    padding: 0 0.5rem;
    gap: 0.35rem;
    justify-content: space-between;
  }

  .radio-cover-wrap {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .radio-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }

  .radio-btn-play {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .radio-btn-play svg {
    width: 18px;
    height: 18px;
  }

  .radio-btn-next {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin-left: 2px;
    flex-shrink: 0;
  }

  .radio-btn-next svg {
    width: 15px;
    height: 15px;
  }

  .radio-info {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .marquee-box-artist,
  .marquee-box-title {
    max-width: 100%;
    width: 100%;
  }

  .radio-info-title {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .radio-info-artist {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .radio-info-sub {
    gap: 0.25rem;
  }

  .on-air-badge {
    padding: 1px 4px;
    font-size: 0.55rem;
  }

  .radio-tag-genre,
  .radio-tag-year {
    display: none !important;
  }

  .radio-extra-info {
    display: none !important;
  }

  /* Right Side Controls on Mobile */
  .radio-right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
  }

  /* Mode Switcher on Mobile (Buttons never bug, shrink, or overflow) */
  .radio-mode-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 15, 25, 0.92);
    padding: 2px 3px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    gap: 2px;
    flex-shrink: 0;
  }

  .btn-mode {
    min-height: 32px;
    padding: 3px 8px;
    font-size: 0.68rem;
    border-radius: var(--radius-full);
    gap: 4px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
  }

  .live-dot-pulse {
    width: 6px;
    height: 6px;
  }

  /* Quality Switcher on Mobile */
  .quality-label {
    display: none !important;
  }

  .radio-quality-switcher {
    display: inline-flex;
    align-items: center;
    padding: 2px 3px;
    gap: 2px;
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
  }

  .btn-quality {
    padding: 2px 5px;
    font-size: 0.64rem;
    min-height: 26px;
    touch-action: manipulation;
  }

  /* Hardware Volume keys on mobile phones -> hide redundant on-screen slider */
  .radio-vol-group {
    display: none !important;
  }

  /* Admin form stacking on mobile */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 380px) {
  /* Ultra-compact for small phones (iPhone SE, etc.) */
  .releases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .release-card {
    padding: 0.5rem;
  }

  .release-title-link {
    font-size: 0.78rem;
  }

  .radio-cover-wrap {
    display: none !important;
  }

  .radio-quality-switcher {
    display: none !important;
  }

  .btn-mode {
    padding: 3px 6px;
    font-size: 0.66rem;
  }
}

/* ==========================================================================
   FORM CONTROLS & ADMIN INPUTS
   ========================================================================== */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
  background: #14141d !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  transition: all 0.25s var(--ease-ui) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lazer-purple-bright) !important;
  box-shadow: 0 0 0 3px rgba(119, 44, 232, 0.35), 0 0 15px rgba(119, 44, 232, 0.2) !important;
  outline: none !important;
}

/* ==========================================================================
   PJAX SEAMLESS NAVIGATION & AUDIO CONTINUITY
   ========================================================================== */
#pjaxProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lazer-cyan) 0%, var(--lazer-purple-bright) 50%, var(--lazer-pink) 100%);
  box-shadow: 0 0 12px var(--lazer-cyan);
  z-index: 99999;
  transition: width 0.25s ease-out, opacity 0.2s;
  pointer-events: none;
}

main.container {
  transition: opacity 0.15s ease-in-out;
}

/* ==========================================================================
   FORM TOGGLE SWITCH (Admin On/Off)
   ========================================================================== */
.form-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
  flex-shrink: 0;
}

.form-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.form-toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.25s ease-in-out;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s ease-in-out;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.form-toggle-switch input:checked + .slider {
  background-color: var(--lazer-purple-bright) !important;
  border-color: var(--lazer-cyan) !important;
  box-shadow: 0 0 10px rgba(119, 44, 232, 0.5);
}

.form-toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #ffffff;
}

/* ==============================================================================
   COOKIE CONSENT FLOATING BANNER (LAZERZF!NE THEME)
   ============================================================================== */
.mp-cookie-banner {
  position: fixed;
  bottom: calc(78px + 1.25rem);
  right: 1.5rem;
  z-index: 1050;
  max-width: 440px;
  width: calc(100% - 2rem);
  background: rgba(18, 18, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.15);
  padding: 1.2rem 1.35rem;
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mp-cookie-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.mp-cookie-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.mp-cookie-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mp-cookie-text {
  color: var(--text-muted);
  font-size: 0.81rem;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.mp-cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #0b0b10 !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-cookie-accept:hover {
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.45);
  transform: translateY(-1px);
}

.btn-cookie-link {
  color: var(--lazer-cyan);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-cookie-link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mp-cookie-banner {
    bottom: calc(64px + 0.85rem);
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
    padding: 1rem 1.15rem;
  }
}

/* ==============================================================================
   ADMIN PANEL TABS NAVIGATION (CYBER MATRIX TABS)
   ============================================================================== */
.admin-tabs-nav {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.admin-tabs-nav::-webkit-scrollbar {
  display: none;
}
.admin-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-main);
}
.admin-tab-btn:hover {
  background: var(--bg-surface);
  color: #fff;
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}
.admin-tab-btn.active {
  background: rgba(0, 242, 254, 0.12) !important;
  border-color: var(--lazer-cyan) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}
.admin-tab-btn.active .tab-icon {
  filter: drop-shadow(0 0 8px var(--lazer-cyan));
}
.admin-tab-btn .tab-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-weight: 700;
  transition: all 0.2s ease;
}
.admin-tab-btn.active .tab-badge {
  background: var(--lazer-cyan);
  color: #0b0b10;
}

/* ==============================================================================
   ADMIN BATCH ACTION BARS & CHECKBOX STYLES (HROMADNÉ MAZANIE & AKCIE)
   ============================================================================== */
.batch-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.25rem;
  margin-bottom: 1rem;
  animation: batchSlideDown 0.25s ease-out;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes batchSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.batch-selected-count {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.batch-selected-count strong {
  color: #f87171;
  font-size: 1.05rem;
  font-family: var(--font-mono);
}

.btn-batch-delete {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: 1px solid #f87171;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-batch-delete:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
}

.btn-batch-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-batch-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.admin-batch-chk {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--lazer-cyan);
  vertical-align: middle;
}

.row-deleting {
  opacity: 0 !important;
  transform: translateX(40px) scale(0.95) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Toast container and toasts */
#adminToastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.admin-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #11131c;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-color);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-toast-success {
  border-color: #4ade80;
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.25);
}

.admin-toast-success .toast-icon {
  color: #4ade80;
}

.admin-toast-error {
  border-color: #ef4444;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
}

.admin-toast-error .toast-icon {
  color: #ef4444;
}






/* ============================================================
   Header overflow fix (EN labels + many nav items)
   ============================================================ */
@media (min-width: 769px) {
  .header-top { gap: 1rem; }
  .header-top > div:first-child { flex-shrink: 0; }
  .main-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 1199px) {
  .fundraiser-nav-pill span:last-child { display: none; }
  .fundraiser-nav-pill { padding: 4px 8px !important; }
}


/* ============================================================
   Admin header cluster: always-visible Admin / Pridať / Odhlásiť
   ============================================================ */
.header-admin-cluster { display: none; }
@media (min-width: 769px) {
  .main-nav { flex: 1 1 auto; min-width: 0; overflow: visible; }
  .admin-nav-item { display: none !important; }
  .header-admin-cluster {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: 0.35rem;
  }
  .header-admin-cluster a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 6px 11px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }
  .hac-admin { color: var(--lazer-cyan); background: rgba(0,240,255,0.10); border-color: rgba(0,240,255,0.35); }
  .hac-admin:hover { background: rgba(0,240,255,0.20); }
  .hac-add { color: var(--lazer-pink); background: rgba(255,0,127,0.10); border-color: rgba(255,0,127,0.35); }
  .hac-add:hover { background: rgba(255,0,127,0.20); }
  .header-logout-chip { color: #ff80bf !important; background: rgba(255,0,127,0.16) !important; border-color: rgba(255,0,127,0.55) !important; box-shadow: 0 0 12px rgba(255,0,127,0.20); }
  .header-logout-chip:hover { background: rgba(255,0,127,0.28) !important; }
}
@media (max-width: 768px) {
  .header-admin-cluster { display: none !important; }
}


/* Compact desktop header for narrower screens */
@media (min-width: 769px) and (max-width: 1249px) {
  .header-top { padding: 0.6rem 0.85rem; gap: 0.5rem; }
  .logo-title { display: none; }
  .main-nav { gap: 0.12rem; }
  .main-nav .nav-item a { font-size: 0.82rem; padding: 4px 6px; }
  .header-admin-cluster a { padding: 5px 8px; font-size: 0.72rem; }
}


/* === Pripravujeme + status bar (2026) === */
h1, h2, h3, h4 { font-family: var(--font-display); }

.coming-home-section { margin: 2.5rem 0 1rem; }
.coming-home-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.coming-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.coming-grid-home { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.coming-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.coming-cover-wrap { position: relative; aspect-ratio: 1 / 1; background: #000; }
.coming-cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coming-badge { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 0, 127, 0.94); color: #fff; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 4px; }
.coming-body { padding: 0.8rem 0.9rem 1rem; }
.coming-title { font-family: var(--font-display); font-size: 0.92rem; font-weight: 800; color: #fff; margin: 0 0 0.3rem; line-height: 1.3; }
.coming-date { font-size: 0.72rem; color: var(--lazer-cyan); font-family: var(--font-mono); }
.coming-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0.5rem 0 0; }
.coming-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--border-color); border-radius: 16px; }

.mp-status-bar { display: flex; align-items: center; justify-content: center; gap: 0.55rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.74rem; color: var(--text-dim); font-family: var(--font-mono); }
.mp-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.7); }
.mp-status-clock { color: var(--text-muted); }
.mp-status-uptime { color: var(--lazer-cyan); }
.mp-status-live { color: #4ade80; font-weight: 700; }
.mp-status-sep { color: var(--border-color); }

@media (max-width: 640px) {
  .coming-grid, .coming-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .coming-title { font-size: 0.82rem; }
  .coming-desc { font-size: 0.72rem; }
  .coming-body { padding: 0.65rem 0.7rem 0.85rem; }
  .search-form { flex-direction: column !important; align-items: stretch !important; }
  .search-form .search-input, .search-form .genre-select, .search-form .btn-search { width: 100% !important; }
  .detail-layout { grid-template-columns: 1fr !important; }
  .detail-sidebar { position: static !important; width: 100% !important; }
  .mp-status-bar { gap: 0.35rem; font-size: 0.69rem; }
}


/* Mobile overflow hardening */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}
@media (max-width: 768px) {
  .fundraiser-nav-pill { display: none !important; }
  .header-top { max-width: 100vw; }
}


@media (max-width: 640px) {
  .cue-marker span { display: none !important; }
  .cue-marker > div { height: 16px !important; margin-top: 0 !important; }
  .cmp3-player-box { padding: 0.7rem !important; }
}

@media (max-width: 640px) {
  #playerStatusBadge { display: none !important; }
}


/* Hero DJ artwork (top-right) */
.hero-dj-art {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 40%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
  mask-image: linear-gradient(to right, transparent 0%, #000 26%);
}
.hero-dj-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 0 26px rgba(0, 240, 255, 0.25)) drop-shadow(0 0 34px rgba(255, 0, 127, 0.18));
}
@media (max-width: 1250px) {
  .hero-dj-art { width: 280px; opacity: 0.55; }
}
@media (max-width: 1050px) {
  .hero-dj-art { display: none; }
}



/* Optional sticky radio bar */
body.radio-bar-hidden .radio-bar { display: none !important; }
body.radio-bar-hidden { padding-bottom: 0 !important; }
@media (max-width: 768px) {
  body.radio-bar-hidden { padding-bottom: 0 !important; }
}


/* Compact TOP 20 hero + smaller home album cards */
.top20-hero { padding: 1.35rem 1.1rem !important; margin-bottom: 1.25rem !important; }
.top20-hero .hero-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important; margin-bottom: 0.35rem !important; }
.top20-hero .hero-subtitle { font-size: 0.8rem !important; margin-bottom: 1rem !important; }
.top20-hero a { padding: 0.4rem 0.9rem !important; font-size: 0.76rem !important; }

.releases-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; gap: 1rem !important; }
.release-card { padding: 0.65rem !important; }
.release-title-link { font-size: 0.8rem !important; min-height: 2.2em !important; margin-bottom: 0.3rem !important; }
.release-genre { font-size: 0.7rem !important; margin-bottom: 0.25rem !important; }
.release-date { font-size: 0.65rem !important; }


/* Invite-only welcome splash */
.mp-invite-splash {
  position: fixed; inset: 0; z-index: 5000;
  background: radial-gradient(ellipse at 30% 20%, rgba(119,44,232,.35), rgba(5,5,10,.97) 65%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.mp-invite-card {
  width: 100%; max-width: 580px; text-align: center;
  background: rgba(14,14,22,.97);
  border: 1px solid rgba(0,240,255,.32);
  border-radius: 22px; padding: 2.2rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 40px rgba(0,240,255,.12);
}
.mp-invite-card img { width: 108px; height: 108px; margin: 0 auto 1rem; filter: drop-shadow(0 0 22px rgba(0,240,255,.45)); }
.mp-invite-card h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; color: #fff; margin: 0 0 .7rem; }
.mp-invite-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin: 0 0 1.4rem; white-space: pre-line; }
.mp-invite-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.mp-invite-actions a, .mp-invite-actions button { padding: .75rem 1.35rem; border-radius: 10px; font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.mp-invite-request { background: linear-gradient(135deg, var(--lazer-cyan), #0077ff); color: #000; }
.mp-invite-enter { background: rgba(255,255,255,.06); border-color: var(--border-color); color: #fff; }
.mp-invite-note { font-size: .72rem; color: var(--text-dim); margin-top: 1rem; }
@media (max-width: 640px) {
  .mp-invite-card { padding: 1.6rem 1.15rem; }
  .mp-invite-card img { width: 82px; height: 82px; }
  .mp-invite-actions { flex-direction: column; }
}

.mp-invite-card a[href="/login"] { transition: color .2s; }
.mp-invite-card a[href="/login"]:hover { color: var(--lazer-cyan); }

/* Share buttons & toast (albums / tracks) */
.mp-share-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 30px;
  height: 30px;
  padding: 0 0.5rem;
  border-radius: 7px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.16);
  color: #cbd5e1;
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.mp-share-btn:hover {
  color: var(--lazer-cyan);
  border-color: rgba(0,240,255,0.55);
  background: rgba(0,240,255,0.10);
  transform: translateY(-1px);
}
.mp-share-btn:focus-visible {
  outline: 2px solid var(--lazer-cyan);
  outline-offset: 2px;
}
.mp-share-btn.mp-share-label {
  height: 34px;
  padding: 0 0.75rem;
  font-size: 0.8rem;
}
.mp-share-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 100000;
  max-width: calc(100vw - 2rem);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: rgba(8, 10, 18, 0.96);
  border: 1px solid rgba(0,240,255,0.45);
  color: #e2f8ff;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 22px rgba(0,240,255,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mp-share-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 640px) {
  .mp-share-btn { height: 32px; min-width: 32px; }
  .mp-share-toast { bottom: 82px; font-size: 0.8rem; }
}

/* Global upload progress overlay */
.mp-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 5, 12, 0.76);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.mp-upload-card {
  width: min(540px, 100%);
  background: linear-gradient(180deg, rgba(20,20,32,0.99), rgba(10,10,18,0.99));
  border: 1px solid rgba(0,240,255,0.42);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.15rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.72), 0 0 34px rgba(0,240,255,0.12);
  color: #fff;
}
.mp-upload-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.mp-upload-icon { font-size: 1.35rem; }
.mp-upload-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.25; }
.mp-upload-filename { font-size: 0.78rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 0.8rem; }
.mp-upload-bar-wrap { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.mp-upload-bar { height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, #00f0ff, #a855f7); transition: width 0.2s ease; box-shadow: 0 0 14px rgba(0,240,255,0.5); }
.mp-upload-bar.mp-upload-processing {
  width: 100% !important;
  background: linear-gradient(90deg, #00f0ff 0%, #a855f7 25%, #00f0ff 50%, #a855f7 75%, #00f0ff 100%);
  background-size: 200% 100%;
  animation: mpUploadSweep 1.15s linear infinite;
}
@keyframes mpUploadSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.mp-upload-meta { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 0.45rem; font-size: 0.76rem; color: var(--text-muted); font-family: var(--font-mono); }
.mp-upload-percent { color: var(--lazer-cyan); font-weight: 800; }
.mp-upload-hint { margin-top: 0.7rem; font-size: 0.76rem; color: var(--text-dim); line-height: 1.45; }
.mp-upload-hint.is-processing { color: #facc15; }
.mp-upload-close { margin-top: 0.8rem; display: none; padding: 0.45rem 0.85rem; border-radius: 7px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) {
  .mp-upload-card { padding: 1.05rem 1rem; }
  .mp-upload-title { font-size: 0.92rem; }
}
