/* ============================================
   DJ Javi — Modern CSS v5.0 (Audius-inspired)
   ============================================ */

/* --- Custom Properties (Dark theme — default) --- */
:root {
  color-scheme: dark;

  /* Accent — single source; hover/light/glow derive from it */
  --accent: #f68d0e;
  --accent-hover: color-mix(in srgb, var(--accent) 82%, #000);
  --accent-light: color-mix(in srgb, var(--accent) 62%, #fff);
  --accent-glow: color-mix(in srgb, var(--accent) 25%, transparent);

  /* Backgrounds */
  --bg-primary: #0d0d12;
  --bg-gradient: linear-gradient(160deg, var(--bg-primary) 0%, color-mix(in srgb, var(--accent) 9%, var(--bg-primary)) 40%, var(--bg-primary) 100%);

  /* Text */
  --text-strong: #fff;
  --text-primary: #eee;
  --text-secondary: #bbb;
  --text-muted: #777;
  --white: #fff; /* true white — for text over images/accent only */

  /* Surfaces & effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px) saturate(180%);
  --surface-dark: #18181f;
  --surface-card: rgba(30, 28, 42, 0.85);
  --surface-raised: #1e1c2a;
  --control-bg: #2a2840;
  --navbar-bg: rgba(13, 13, 18, 0.85);
  --player-bg: rgba(13, 13, 18, 0.96);
  --np-bg: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--bg-primary)) 0%, var(--bg-primary) 100%);
  --hover-bg: rgba(255, 255, 255, 0.07);
  --hover-bg-strong: rgba(255, 255, 255, 0.14);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-bg-focus: rgba(255, 255, 255, 0.09);
  --code-bg: rgba(255, 255, 255, 0.05);
  --pre-bg: rgba(0, 0, 0, 0.4);
  --modal-overlay: rgba(0, 0, 0, 0.8);
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --player-height: 80px;
  --transition-fast: 0.18s ease;
  --transition-med: 0.3s ease;
}

/* --- Light theme --- */
html[data-theme="light"] {
  color-scheme: light;

  --accent-light: color-mix(in srgb, var(--accent) 78%, #000); /* darker for contrast on light bg */
  --accent-glow: color-mix(in srgb, var(--accent) 16%, transparent);

  --bg-primary: #f6f5fa;
  --bg-gradient: linear-gradient(160deg, var(--bg-primary) 0%, color-mix(in srgb, var(--accent) 8%, var(--bg-primary)) 40%, var(--bg-primary) 100%);

  --text-strong: #16151c;
  --text-primary: #26242e;
  --text-secondary: #56535f;
  --text-muted: #8b8894;

  --glass-bg: rgba(20, 16, 40, 0.04);
  --glass-border: rgba(20, 16, 40, 0.12);
  --surface-dark: #ffffff;
  --surface-card: rgba(255, 255, 255, 0.9);
  --surface-raised: #ffffff;
  --control-bg: #e4e0f0;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --player-bg: rgba(255, 255, 255, 0.96);
  --np-bg: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--bg-primary)) 0%, var(--bg-primary) 100%);
  --hover-bg: rgba(20, 16, 40, 0.06);
  --hover-bg-strong: rgba(20, 16, 40, 0.12);
  --input-bg: rgba(20, 16, 40, 0.05);
  --input-bg-focus: rgba(20, 16, 40, 0.08);
  --code-bg: rgba(20, 16, 40, 0.06);
  --pre-bg: rgba(20, 16, 40, 0.08);
  --modal-overlay: rgba(15, 12, 30, 0.45);
  --card-shadow: 0 8px 28px rgba(30, 20, 80, 0.14);
}

/* Light-on-transparent logo art needs inverting on light backgrounds */
html[data-theme="light"] .nav-brand img,
html[data-theme="light"] .hero-logo img {
  filter: invert(1) hue-rotate(180deg);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  background: var(--bg-primary);
}

body {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  background: var(--bg-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: var(--player-height);
  -webkit-font-smoothing: antialiased;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: sticky;
  top: 0.6rem;
  z-index: 999;
  padding: 0.5rem 1rem;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.2rem;
  background: var(--navbar-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 2.2rem; width: auto; object-fit: contain; }

.burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 10001;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-strong); border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.15rem;
  position: absolute; top: calc(100% - 0.2rem); left: 1rem;
  min-width: 16rem;
  background: var(--surface-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-0.6rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10000;
}
.nav-links.show {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.25); z-index: 998;
}
.nav-overlay.show { display: block; }

.nav-links .nav-lang {
  margin-top: 0.4rem; padding: 0.65rem 1rem 0.2rem;
  border-top: 1px solid var(--glass-border);
}

.nav-links li a {
  display: block; padding: 0.75rem 1rem;
  text-decoration: none; color: var(--text-strong);
  font-weight: 500; font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-links li a:hover,
.nav-links li a.active {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.nav-links .social-links {
  margin-top: 0.25rem; padding: 0.5rem 1rem 0.4rem;
}

@media (min-width: 768px) {
  .burger { display: none; }
  .nav-overlay { display: none !important; }
  .nav-links {
    position: fixed; top: 1.2rem; left: 50%;
    transform: translateX(-50%);
    flex-direction: row; align-items: center;
    width: auto; min-width: 0; max-width: 1200px; height: auto;
    background: transparent; border: none; box-shadow: none;
    border-radius: 0;
    padding: 0.6rem 1.2rem;
    padding-left: 6rem; gap: 0.3rem;
    overflow: visible; justify-content: flex-end;
    z-index: 1000; pointer-events: none;
    opacity: 1; visibility: visible;
  }
  .nav-links li, .nav-links .social-links { pointer-events: auto; }
  .nav-links li a { padding: 0.5rem 0.75rem; font-size: 0.85rem; white-space: nowrap; }
  .nav-links .nav-lang { margin: 0 0 0 0.75rem; padding: 0; border-top: none; }
  .nav-links .social-links { margin: 0 0 0 1rem; padding: 0; border-top: none; }
}

.social-links { display: flex; gap: 0.75rem; align-items: center; }
.social-links a {
  color: var(--text-secondary); display: flex; align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.social-links a:hover { color: var(--accent-light); transform: scale(1.15); }
.social-links svg, .social-links img { width: 1.4rem; height: 1.4rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  display: flex; justify-content: center; align-items: center;
  text-align: center; padding: 2rem 1rem; min-height: 20vh;
}

.hero-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; max-width: 600px; width: 100%;
}

.hero-logo { display: flex; justify-content: center; }
.hero-logo img { height: 5rem; width: auto; object-fit: contain; }

.hero-tagline {
  font-size: 1rem; font-weight: 300;
  color: var(--text-secondary); letter-spacing: 0.5px;
}

#hero-search { width: 100%; max-width: 480px; margin-top: 0.5rem; }

.search-wrapper { position: relative; display: flex; align-items: center; }

.search-icon {
  position: absolute; left: 12px; width: 18px; height: 18px;
  color: var(--text-muted); pointer-events: none;
}

#heroSearchInput {
  width: 100%; padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  font-size: 0.9rem; font-family: 'Inter', sans-serif; font-weight: 400;
  color: var(--text-strong); background: var(--input-bg);
  border: 1px solid var(--glass-border); border-radius: 50px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
#heroSearchInput:focus { border-color: var(--accent); background: var(--input-bg-focus); }
#heroSearchInput::placeholder { color: var(--text-muted); }

.search-clear {
  position: absolute; right: 10px; background: none; border: none;
  color: var(--text-secondary); font-size: 1.2rem; cursor: pointer;
  padding: 4px; line-height: 1;
}

.search-results {
  text-align: center; font-size: 0.8rem; color: var(--text-muted);
  margin-top: 0.5rem; min-height: 1.2em;
}

.hidden { display: none !important; }

/* ============================================
   MAIN CONTENT
   ============================================ */
#content {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; flex-direction: column; align-items: center;
  transition: opacity 0.2s ease;
}

/* --- Skeleton Loader --- */
.skeleton {
  background: linear-gradient(90deg, var(--glass-bg) 25%, rgba(100,100,100,0.15) 50%, var(--glass-bg) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { height: 220px; border-radius: var(--radius-md); }

/* ============================================
   CONTENT TABS (Tracks / Albums / Playlists)
   ============================================ */
.content-tabs {
  display: flex; gap: 0; width: 100%;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 1.25rem; margin-top: 0.5rem;
}

.content-tab {
  padding: 0.7rem 1.5rem;
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-muted); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; letter-spacing: 0.3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  margin-bottom: -1px;
}
.content-tab:hover { color: var(--text-secondary); }
.content-tab.active { color: var(--text-strong); border-bottom-color: var(--accent); }

/* Social media banner */
.social-media-banner {
  width: 100%; padding: 1rem 0;
  display: flex; align-items: center; gap: 0.75rem;
}
.social-media-banner h3 { color: var(--text-strong); font-size: 1rem; font-weight: 500; }
.social-media-banner a {
  color: var(--text-secondary); display: flex; align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.social-media-banner a:hover { color: var(--accent-light); transform: scale(1.15); }
.social-media-banner a svg, .social-media-banner a img { width: 1.75rem; height: 1.75rem; }

/* ============================================
   PLAYLIST SECTION (horizontal scroll strip)
   ============================================ */
#playlistSection {
  display: flex; gap: 0.8rem; padding: 0.25rem 0 1rem;
  width: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
#playlistSection::-webkit-scrollbar { display: none; }

.playlist-card {
  flex-shrink: 0; width: 120px; aspect-ratio: 1;
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  position: relative; scroll-snap-align: start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--glass-border);
}
.playlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 97, 255, 0.3);
  border-color: var(--accent);
}
.playlist-card.active-filter { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.playlist-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playlist-card .playlist-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.72rem; font-weight: 600; color: var(--white);
}

/* ============================================
   MIX CARDS — RESPONSIVE GRID
   ============================================ */
#mixesSection {
  display: grid; grid-template-columns: 1fr;
  gap: 0.6rem; width: 100%; padding: 0.25rem 0;
}
@media (min-width: 600px) { #mixesSection { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { #mixesSection { grid-template-columns: repeat(3, 1fr); } }

.mix-card {
  display: flex; flex-direction: column;
  background: var(--surface-card);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.mix-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  border-color: rgba(123, 97, 255, 0.3);
}

.mix-cover-wrap {
  width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; cursor: pointer;
}
.mix-cover {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.mix-card:hover .mix-cover { transform: scale(1.04); }

.coverPlayBtn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem;
  background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer; opacity: 0;
  transition: opacity var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.mix-cover-wrap:hover .coverPlayBtn, .coverPlayBtn.playing { opacity: 1; }
.coverPlayBtn svg { width: 1.2rem; height: 1.2rem; }
.coverPlayBtn:hover {
  background: rgba(123, 97, 255, 0.75);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}
.coverPlayBtn.playing { background: var(--accent); border-color: var(--accent); }

.mix-info {
  display: flex; align-items: center;
  padding: 0.65rem 0.75rem 0; min-width: 0;
}
.mix-title { flex: 1; min-width: 0; overflow: hidden; cursor: pointer; }
.mix-title .title-text {
  display: block; font-weight: 600; font-size: 0.88rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary);
}
.mix-title p {
  margin: 2px 0 0; font-size: 0.78rem; font-weight: 400;
  color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mix-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; overflow: hidden; max-height: 1.4rem; }
.mix-tag {
  display: inline-block; padding: 1px 6px; font-size: 0.65rem; font-weight: 500;
  border-radius: 3px;
  background: var(--accent-glow);
  color: var(--accent-light); white-space: nowrap;
}

/* Stats row on cards */
.mix-stats {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.45rem 0.75rem 0.6rem;
  font-size: 0.75rem; color: var(--text-muted);
}
.mix-stats .openModalBtn {
  margin-left: auto;
  padding: 2px 6px;
}
.mix-stat {
  display: flex; align-items: center; gap: 3px;
}
.mix-stat svg { width: 13px; height: 13px; flex-shrink: 0; }
.mix-stat.likes-stat { cursor: pointer; transition: color var(--transition-fast); }
.mix-stat.likes-stat:hover { color: #ff6b8a; }
.mix-stat.likes-stat.liked { color: #ff4d6d; }
.mix-stat.likes-stat.liked svg { fill: #ff4d6d; }

.openModalBtn {
  flex-shrink: 0; background: none; border: none; font-size: 1.3rem;
  color: var(--text-muted); cursor: pointer; padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.openModalBtn:hover { color: var(--text-strong); background: var(--hover-bg); }

/* Compact horizontal on small mobile */
@media (max-width: 599px) {
  .mix-card { flex-direction: row; align-items: stretch; }
  .mix-cover-wrap { width: 72px; min-width: 72px; aspect-ratio: 1; border-radius: 0; flex-shrink: 0; }
  .coverPlayBtn { width: 2.2rem; height: 2.2rem; opacity: 1; background: rgba(0,0,0,0.5); }
  .mix-card > div:not(.mix-cover-wrap) { flex: 1; min-width: 0; }
  .mix-info { padding: 0.5rem 0.6rem 0; }
  .mix-title .title-text { font-size: 0.82rem; }
  .mix-stats { padding: 0.25rem 0.6rem 0.5rem; }
}

/* ============================================
   ALBUMS SECTION
   ============================================ */
#albumsSection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; width: 100%; padding: 0.25rem 0;
}
@media (min-width: 768px) { #albumsSection { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { #albumsSection { grid-template-columns: repeat(4, 1fr); } }

.album-card {
  background: var(--surface-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: rgba(123,97,255,0.35);
}
.album-cover-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; }
.album-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.album-card:hover .album-cover { transform: scale(1.04); }
.album-card-info { padding: 0.7rem 0.75rem 0.8rem; }
.album-card-title { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-card-artist { font-size: 0.78rem; color: var(--accent-light); }
.album-card-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* Album detail */
.album-detail { width: 100%; }
.album-detail-header {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.album-detail-cover {
  width: 140px; height: 140px; border-radius: var(--radius-md);
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.album-detail-info { flex: 1; min-width: 0; }
.album-detail-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.album-detail-info p { font-size: 0.9rem; color: var(--accent-light); margin-bottom: 0.3rem; }
.album-detail-info .album-detail-meta { font-size: 0.8rem; color: var(--text-muted); }
.album-back-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: none; color: var(--text-secondary); cursor: pointer;
  font-size: 0.9rem; font-family: 'Inter', sans-serif; padding: 0.4rem 0;
  margin-bottom: 1rem; transition: color var(--transition-fast);
}
.album-back-btn:hover { color: var(--text-strong); }
.album-back-btn svg { width: 16px; height: 16px; }

.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-muted); font-size: 0.95rem; width: 100%;
}

/* ============================================
   PAGINATION
   ============================================ */
#pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; padding: 1.5rem 0; flex-wrap: wrap;
}
.pagination-btn {
  padding: 0.4rem 0.75rem; border: none; border-radius: var(--radius-sm);
  background: var(--control-bg); color: var(--text-strong);
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: background var(--transition-fast);
}
.pagination-btn:hover { background: var(--accent-glow); }
.pagination-btn.active { background: var(--accent); color: #fff; }

/* ============================================
   AUDIO PLAYER (bottom bar)
   ============================================ */
#playerWrapper {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--player-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-border);
  display: flex; justify-content: center; padding: 0.5rem 1rem;
  z-index: 9999;
}

#player {
  width: 100%; max-width: 680px;
  display: flex; align-items: center; gap: 0.75rem;
}
#player.hidden { display: none; }

#playerCover {
  width: 3rem; height: 3rem; object-fit: cover;
  border-radius: var(--radius-sm); flex-shrink: 0; cursor: pointer;
  transition: transform var(--transition-fast);
}
#playerCover:hover { transform: scale(1.06); }

#playerInfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
#playerTitle {
  font-size: 0.83rem; font-weight: 500; color: var(--text-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#playerTitle:empty::before { content: attr(data-empty); color: var(--text-muted); font-weight: 400; }

.player-progress { display: flex; align-items: center; gap: 6px; }
.player-time { font-size: 0.68rem; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 2.5em; }
#currentTime { text-align: right; }
#totalTime { text-align: left; }

#progressBar {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  flex: 1; height: 3px; border-radius: 4px;
  background: var(--control-bg); outline: none; cursor: pointer;
  --val: 0; transition: height 0.15s ease;
}
#progressBar:hover { height: 5px; }
#progressBar::-webkit-slider-runnable-track {
  width: 100%; height: 100%;
  background: linear-gradient(to right, var(--accent) var(--val), var(--control-bg) var(--val));
  border-radius: 4px;
}
#progressBar::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 0; height: 0;
  background: transparent; cursor: pointer;
}
#progressBar:hover::-webkit-slider-thumb {
  width: 11px; height: 11px; background: var(--accent);
  border-radius: 50%; margin-top: -4px;
}
#progressBar::-moz-range-track {
  background: linear-gradient(to right, var(--accent) var(--val), var(--control-bg) var(--val));
  border-radius: 4px; height: 100%;
}
#progressBar::-moz-range-thumb { height: 0; width: 0; border: none; background: transparent; }

.controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.controls button {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; border: none;
  background: transparent; color: var(--text-strong); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.controls button svg { width: 1.05rem; height: 1.05rem; }
.controls button:hover { background: var(--hover-bg); }

#playPauseBtn {
  width: 2.4rem; height: 2.4rem;
  background: var(--accent); color: #fff;
}
#playPauseBtn svg { width: 1.15rem; height: 1.15rem; }
#playPauseBtn:hover { background: var(--accent-hover); }

/* Expand button */
#expandPlayerBtn {
  display: flex; align-items: center; justify-content: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: none; border: none;
  color: var(--text-muted); cursor: pointer; flex-shrink: 0;
  transition: color var(--transition-fast);
}
#expandPlayerBtn:hover { color: var(--text-strong); }
#expandPlayerBtn svg { width: 1rem; height: 1rem; }

/* ============================================
   FULL-SCREEN NOW PLAYING
   ============================================ */
#nowPlaying {
  position: fixed; inset: 0;
  background: var(--np-bg);
  z-index: 10002; display: flex; flex-direction: column;
  align-items: center; padding: 0 1.5rem 2rem;
  overflow-y: auto;
  transition: opacity 0.3s ease;
}
#nowPlaying.hidden { display: none; }

.np-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 480px; padding: 1.25rem 0 0.5rem;
}
#closeNowPlaying {
  background: none; border: none; color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  transition: color var(--transition-fast), background var(--transition-fast);
}
#closeNowPlaying:hover { color: var(--text-strong); background: var(--hover-bg); }
#closeNowPlaying svg { width: 1.3rem; height: 1.3rem; }
.np-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }

.np-cover-wrap {
  width: 100%; max-width: 340px; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden; margin: 1rem 0;
  box-shadow: 0 20px 60px rgba(123,97,255,0.3), 0 8px 30px rgba(0,0,0,0.6);
}
.np-cover-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.np-info {
  text-align: center; width: 100%; max-width: 380px; margin-bottom: 0.75rem;
}
.np-info h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.np-info p { font-size: 0.9rem; color: var(--accent-light); }

.np-progress {
  width: 100%; max-width: 380px; margin-bottom: 0.5rem;
}
#npProgressBar {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: var(--control-bg); outline: none; cursor: pointer;
  --val: 0; transition: height 0.15s ease; display: block;
}
#npProgressBar:hover { height: 6px; }
#npProgressBar::-webkit-slider-runnable-track {
  width: 100%; height: 100%;
  background: linear-gradient(to right, var(--accent) var(--val), var(--control-bg) var(--val));
  border-radius: 4px;
}
#npProgressBar::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 0; height: 0;
  background: transparent; cursor: pointer;
}
#npProgressBar:hover::-webkit-slider-thumb {
  width: 12px; height: 12px; background: var(--accent);
  border-radius: 50%; margin-top: -4px;
}
#npProgressBar::-moz-range-track {
  background: linear-gradient(to right, var(--accent) var(--val), var(--control-bg) var(--val));
  border-radius: 4px; height: 100%;
}
#npProgressBar::-moz-range-thumb { height: 0; width: 0; border: none; background: transparent; }

.np-times {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--text-muted);
  margin-top: 0.4rem; font-variant-numeric: tabular-nums;
}

.np-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 0.75rem 0;
}
.np-controls button {
  background: none; border: none; color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.np-controls button svg { width: 1.4rem; height: 1.4rem; }
.np-controls button:hover { color: var(--text-strong); }
#npPlayPauseBtn {
  width: 3.5rem; height: 3.5rem;
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
#npPlayPauseBtn svg { width: 1.5rem; height: 1.5rem; }
#npPlayPauseBtn:hover { background: var(--accent-hover); transform: scale(1.05); }

.np-secondary {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 0.5rem;
}
.np-secondary button {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  color: var(--text-muted); font-size: 0.82rem; font-family: 'Inter', sans-serif;
  transition: color var(--transition-fast);
}
.np-secondary button svg { width: 1.1rem; height: 1.1rem; }
.np-secondary button:hover { color: var(--text-strong); }
.np-secondary .np-like-btn.liked { color: #ff4d6d; }
.np-secondary .np-like-btn.liked svg { fill: #ff4d6d; }

/* ============================================
   MODAL (Track Detail)
   ============================================ */
#modal {
  display: none; position: fixed; inset: 0;
  background: var(--modal-overlay);
  justify-content: center; align-items: flex-end;
  z-index: 10000; padding: 0;
}
@media (min-width: 600px) {
  #modal { align-items: center; padding: 1rem; }
}

#modalContent {
  background: var(--surface-raised);
  padding: 0 0 1.5rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%; max-width: 480px; max-height: 92vh;
  overflow-y: auto; position: relative;
  border: 1px solid var(--glass-border);
  border-bottom: none;
}
@media (min-width: 600px) {
  #modalContent {
    border-radius: var(--radius-lg); border-bottom: 1px solid var(--glass-border);
  }
}

#closeModal {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 1.9rem; height: 1.9rem; display: flex; align-items: center; justify-content: center;
  background: var(--hover-bg); border-radius: 50%;
  color: var(--text-strong); font-size: 1.1rem; cursor: pointer;
  transition: background var(--transition-fast); z-index: 1;
}
#closeModal:hover { background: var(--hover-bg-strong); }

/* Modal cover — full-width top image */
.modal-cover-section {
  position: relative; width: 100; overflow: hidden;
}
.modal-cover-bg {
  width: 100%; height: 180px; object-fit: cover; display: block;
  filter: brightness(0.35) blur(2px); transform: scale(1.05);
}
.modal-cover-fg {
  position: absolute; bottom: -2rem; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 110px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.1);
}

.modal-body { padding: 2.5rem 1.5rem 0; }

.modal-title-row { text-align: center; margin-bottom: 0.75rem; }
.modal-title-row h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 3px; }
.modal-title-row p { font-size: 0.85rem; color: var(--accent-light); }

/* Play button */
.modal-play-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.75rem; margin: 0.75rem 0;
  background: var(--accent); border: none; border-radius: 50px;
  color: #fff; font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 1px; cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.modal-play-btn svg { width: 1rem; height: 1rem; }
.modal-play-btn:hover { background: var(--accent-hover); transform: scale(1.01); }

/* Modal action icons row */
.modal-icon-row {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin: 0.5rem 0 0.75rem;
}
.modal-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 0.7rem; font-family: 'Inter', sans-serif;
  transition: color var(--transition-fast);
}
.modal-icon-btn svg { width: 1.25rem; height: 1.25rem; }
.modal-icon-btn:hover { color: var(--text-strong); }
.modal-icon-btn.liked { color: #ff4d6d; }
.modal-icon-btn.liked svg { fill: #ff4d6d; }
.modal-icon-btn.download-disabled { opacity: 0.3; pointer-events: none; }

/* Stats row */
.modal-stats {
  display: flex; justify-content: center; gap: 1.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 0.75rem;
}
.modal-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.modal-stat-value { font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
.modal-stat-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Metadata grid */
.modal-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem; margin-bottom: 0.75rem;
}
.modal-meta-item { display: flex; flex-direction: column; gap: 2px; }
.modal-meta-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.modal-meta-value { font-size: 0.85rem; color: var(--text-primary); font-weight: 500; }

/* Tags */
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0.5rem 0; }
.modal-tags .mix-tag { font-size: 0.75rem; padding: 3px 9px; }

/* Info / description */
.modal-description { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-top: 0.5rem; }
.modal-description p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.75rem; }
.modal-description h1,.modal-description h2,.modal-description h3,.modal-description h4 { color: var(--accent-light); font-size: 0.95rem; margin: 0.75rem 0 0.3rem; }
.modal-description ul,.modal-description ol { color: var(--text-secondary); padding-left: 1.25rem; margin-bottom: 0.75rem; font-size: 0.88rem; line-height: 1.6; }
.modal-description a { color: var(--accent-light); }
.modal-description strong { color: var(--text-strong); }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1rem 0; border-radius: var(--radius-md); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: var(--radius-md); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  text-align: center; padding: 2rem 1rem;
  color: var(--text-secondary); font-size: 0.85rem;
}
.footer-links {
  list-style: none; display: flex; justify-content: center;
  flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.75rem 0;
}
.footer-links li a {
  text-decoration: none; color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-links li a:hover { color: var(--accent-light); }
.social-icons { margin-top: 0.75rem; display: flex; justify-content: center; gap: 0.75rem; }
.social-icons a {
  color: var(--text-secondary); display: flex; align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.social-icons a:hover { color: var(--accent-light); transform: scale(1.15); }
.social-icons a svg, .social-icons a img { width: 24px; height: 24px; }

/* ============================================
   NEWSROOM
   ============================================ */
.newsroom-wrapper { max-width: 1100px; margin: 1rem auto 3rem; padding: 1rem 1.25rem; color: var(--text-primary); }
.newsroom-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 1.25rem 0 2rem;
}

.newsroom-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  margin-bottom: 2.5rem;
  background: var(--surface-dark);
}
.newsroom-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  cursor: pointer;
}
.newsroom-hero-slide.active { opacity: 1; pointer-events: auto; }
.newsroom-hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85));
  z-index: 0;
}
.newsroom-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.75rem;
  z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
}
.newsroom-hero-date {
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.3rem 0.6rem; border-radius: 4px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.newsroom-hero-title {
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.01em;
  max-width: 95%;
  margin: 0;
}
.newsroom-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(0,0,0,0.6); border: none; color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.newsroom-hero-nav:hover { background: rgba(0,0,0,0.85); transform: translateY(-50%) scale(1.05); }
.newsroom-hero-nav.prev { left: 0.85rem; }
.newsroom-hero-nav.next { right: 0.85rem; }
.newsroom-hero-nav svg { width: 1.05rem; height: 1.05rem; }

.newsroom-list { display: flex; flex-direction: column; gap: 1rem; }
.newsroom-item {
  display: flex; gap: 1rem; align-items: stretch;
  cursor: pointer; padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.newsroom-item:hover { background: var(--hover-bg); }
.newsroom-item-thumb {
  width: 110px; height: 110px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--surface-raised);
}
.newsroom-item-meta {
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.4rem; min-width: 0;
}
.newsroom-item-date { font-size: 0.85rem; color: var(--text-muted); }
.newsroom-item-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text-strong);
  line-height: 1.35; letter-spacing: -0.005em; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.newsroom-post { max-width: 800px; margin: 0 auto; }
.newsroom-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: none; color: var(--text-secondary);
  font-size: 0.9rem; cursor: pointer; padding: 0.4rem 0;
  margin-bottom: 1.5rem;
  transition: color var(--transition-fast);
}
.newsroom-back:hover { color: var(--accent-light); }
.newsroom-post-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 1rem;
}
.newsroom-post-date { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1.5rem; }
.newsroom-post-hero {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-md); margin-bottom: 2rem;
  background: var(--surface-raised);
}
.newsroom-post-body { color: var(--text-secondary); line-height: 1.75; font-size: 1.05rem; }
.newsroom-post-body h1, .newsroom-post-body h2, .newsroom-post-body h3, .newsroom-post-body h4 {
  color: var(--text-strong); margin: 2rem 0 0.75rem; line-height: 1.2; font-weight: 700;
}
.newsroom-post-body h1 { font-size: 1.75rem; }
.newsroom-post-body h2 { font-size: 1.4rem; }
.newsroom-post-body h3 { font-size: 1.15rem; }
.newsroom-post-body p { margin-bottom: 1.1rem; }
.newsroom-post-body a { color: var(--accent-light); text-decoration: underline; }
.newsroom-post-body a:hover { color: var(--accent); }
.newsroom-post-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 1.5rem 0; }
.newsroom-post-body blockquote {
  border-left: 3px solid var(--accent); margin: 1.5rem 0; padding: 0.5rem 1rem;
  color: var(--text-primary); font-style: italic;
  background: var(--glass-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.newsroom-post-body ul, .newsroom-post-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.newsroom-post-body li { margin-bottom: 0.4rem; }
.newsroom-post-body code { background: var(--code-bg); padding: 2px 6px; border-radius: 3px; font-family: monospace; font-size: 0.9rem; }
.newsroom-post-body pre { background: var(--pre-bg); padding: 1rem; overflow-x: auto; border-radius: var(--radius-sm); margin-bottom: 1.1rem; }
.newsroom-post-body pre code { background: transparent; padding: 0; }
.newsroom-post-body strong { color: var(--text-primary); }
.newsroom-post-body iframe { max-width: 100%; border: none; border-radius: var(--radius-md); }
.newsroom-post-body .video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1.5rem 0; border-radius: var(--radius-md); }
.newsroom-post-body .video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.newsroom-post-share { display: flex; gap: 0.5rem; margin: 2rem 0 1rem; }
.newsroom-post-share button {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem; border: 1px solid var(--glass-border);
  background: var(--hover-bg); color: var(--text-strong);
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.newsroom-post-share button:hover { background: var(--hover-bg); border-color: var(--accent); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-wrapper { max-width: 800px; margin: 2rem auto; padding: 2rem; color: var(--text-strong); line-height: 1.7; }
.about-header { text-align: center; margin-bottom: 2rem; }
.about-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.25rem; }
.about-header p { font-size: 1rem; color: var(--text-secondary); }
.about-body { font-size: 1rem; }
.about-body h3 { font-size: 1.3rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--accent-light); }
.about-body ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.about-body ul li { margin-bottom: 0.5rem; }
.about-social-links { display: flex; justify-content: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.about-social-links a {
  color: var(--text-secondary); display: flex; align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.about-social-links a:hover { color: var(--accent-light); transform: scale(1.15); }
.about-social-links a svg, .about-social-links a img { width: 2rem; height: 2rem; }

/* ============================================
   LEGAL / PRIVACY / TERMS
   ============================================ */
.legal-wrapper { max-width: 800px; margin: 2rem auto; padding: 2rem; color: var(--text-strong); line-height: 1.7; }
.legal-wrapper h2 { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; }
.legal-wrapper .legal-updated { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.legal-wrapper h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--accent-light); }
.legal-wrapper p { margin-bottom: 0.75rem; color: var(--text-secondary); }
.legal-wrapper a { color: var(--accent-light); text-decoration: none; }
.legal-wrapper a:hover { text-decoration: underline; }
.legal-wrapper ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal-wrapper ul li { margin-bottom: 0.4rem; color: var(--text-secondary); }

/* ============================================
   LANGUAGE TOGGLE (EN/ES)
   ============================================ */
.nav-actions { display: flex; align-items: center; }

.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 50px; padding: 5px 12px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.5px; color: var(--text-muted);
  transition: border-color var(--transition-fast);
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .lang-sep { opacity: 0.4; font-weight: 400; }
.lang-toggle span[data-lang-opt] { transition: color var(--transition-fast); }
.lang-toggle span[data-lang-opt].active { color: var(--accent-light); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1920px) { html { font-size: 18px; } }

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-logo img { height: 3.5rem; }
  .hero-tagline { font-size: 0.85rem; }
  #hero-search { max-width: 90%; }
  .playlist-card { width: 100px; }
  #player { gap: 0.5rem; }
  #playerCover { width: 2.6rem; height: 2.6rem; }
  .player-time { display: none; }
  .controls button { width: 1.8rem; height: 1.8rem; }
  #playPauseBtn { width: 2.1rem; height: 2.1rem; }
  #prevBtn, #nextBtn { display: none; }
  .content-tab { padding: 0.65rem 1rem; font-size: 0.82rem; }
  .np-cover-wrap { max-width: 280px; }
}

@media (max-width: 600px) {
  .newsroom-wrapper { padding: 0.75rem 1rem 2rem; }
  .newsroom-title { margin: 1rem 0 1.5rem; }
  .newsroom-hero { aspect-ratio: 4 / 5; }
  .newsroom-hero-inner { padding: 1.25rem; }
  .newsroom-item-thumb { width: 90px; height: 90px; }
  .newsroom-item-title { font-size: 0.95rem; -webkit-line-clamp: 4; }
  .newsroom-hero-nav { width: 2.1rem; height: 2.1rem; }
  .newsroom-hero-nav.prev { left: 0.5rem; }
  .newsroom-hero-nav.next { right: 0.5rem; }
  .readMoreBtn { width: 100%; text-align: center; }
  .modal-meta-grid { grid-template-columns: 1fr 1fr; }
}
