/* ==========================================================================
   BLGNMedia - Ultra-Modern Dark Studio Design System
   Engineered for Mobile & Desktop | High-Contrast, Minimalist, Premium
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", -apple-system, system-ui, sans-serif;
  
  /* Modern Dark Color Palette (Zinc / Obsidian Studio) */
  --bg-app: #09090b;
  --bg-surface: #121215;
  --bg-surface-elevated: #18181c;
  --bg-surface-hover: #222228;
  --bg-surface-active: #2a2a32;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(255, 255, 255, 0.35);

  /* Text Hierarchy */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;

  /* Brand Accents */
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;
  --accent-heart: #f43f5e;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Dimensions */
  --header-height: 64px;
  --player-height: 84px;
  --player-height-mobile: 74px;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Ambient Lighting */
.bg-lighting {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

/* Layout Shell */
.app-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px calc(var(--player-height) + 40px) 20px;
  min-height: 100vh;
}

/* ──────────────────────────────────────────────────────────────────────────
   Top Navigation Bar
   ────────────────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand-badge-icon {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #09090b;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.brand-title span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-pill.active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────
   Hero & Search Module
   ────────────────────────────────────────────────────────────────────────── */
.search-container {
  max-width: 760px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.search-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.search-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.search-bar-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.search-bar-box:focus-within {
  border-color: var(--border-focus);
  background: var(--bg-surface-elevated);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.search-icon-svg {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.search-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.98rem;
  font-family: inherit;
  color: #ffffff;
  padding: 8px 0;
}

.search-input-field::placeholder {
  color: var(--text-muted);
}

.search-btn-clear {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 6px;
  transition: color 0.15s, background 0.15s;
}

.search-btn-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.search-btn-submit {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #09090b;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.search-btn-submit:hover {
  background: #e4e4e7;
}

.search-btn-submit:active {
  transform: scale(0.97);
}

/* ──────────────────────────────────────────────────────────────────────────
   Horizontal Sliding Filter Chips (With Scrollbar & Navigation Controls)
   ────────────────────────────────────────────────────────────────────────── */
.chips-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 18px;
  width: 100%;
}

.chip-scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.chip-scroll-arrow:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.chip-scroll-arrow:active {
  transform: scale(0.92);
}

.chips-scroll-container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 10px 10px 10px;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  flex: 1;
}

.chips-scroll-container.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Clear Visible Custom Scrollbar for PC */
.chips-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.04);
}

.chips-scroll-container::-webkit-scrollbar {
  height: 5px;
}

.chips-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
}

.chips-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
}

.chips-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.chip-item {
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.chip-item:hover {
  background: var(--bg-surface-hover);
  color: #ffffff;
  border-color: var(--border-medium);
}

.chip-item.active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────
   Main Content Header & Tabs
   ────────────────────────────────────────────────────────────────────────── */
.section-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-main-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.section-results-count {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: #ffffff;
  background: var(--bg-surface-hover);
}

.tab-btn.active {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: #ffffff;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────
   Music Cards Grid (Studio Quality)
   ────────────────────────────────────────────────────────────────────────── */
.track-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.music-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.music-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  margin-bottom: 12px;
  cursor: pointer;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.music-card:hover .card-cover-img {
  transform: scale(1.04);
}

.card-duration-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.card-play-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card-media:hover .card-play-hover {
  opacity: 1;
}

.card-play-bubble {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09090b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.15s ease;
}

.card-media:hover .card-play-bubble {
  transform: scale(1);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.card-track-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-track-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-track-stats {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Card Bottom Actions */
.card-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-play-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #09090b;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-play-action:hover {
  background: #e4e4e7;
}

.btn-play-action:active {
  transform: scale(0.97);
}

.btn-download-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-download-action:hover {
  background: var(--bg-surface-active);
  border-color: var(--border-medium);
}

.btn-download-action.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn-fav-icon {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-fav-icon:hover {
  color: #ffffff;
  border-color: var(--border-medium);
}

.btn-fav-icon.active {
  color: var(--accent-heart);
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.3);
}

/* Loading & Empty States */
.state-box {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 10px;
}

.studio-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ──────────────────────────────────────────────────────────────────────────
   Studio Audio Bottom Player Bar
   ────────────────────────────────────────────────────────────────────────── */
.studio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--player-height);
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-player.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

/* Top Edge Scrubber (Always Visible & Interactive on Mobile & PC) */
.player-top-edge-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  z-index: 10;
  transition: height 0.15s ease;
}

.player-top-edge-track:hover {
  height: 6px;
}

.player-top-edge-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: background 0.15s;
}

.player-top-edge-track:hover .player-top-edge-fill {
  background: var(--accent-emerald);
}

/* Player Left: Artwork & Metadata */
.player-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 28%;
  min-width: 200px;
}

.player-artwork {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #000000;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.player-text-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-now-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.player-subtitle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-now-artist {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.player-mobile-time {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.player-fav-trigger {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  transition: color 0.15s;
}

.player-fav-trigger.active {
  color: var(--accent-heart);
}

/* Player Center: Main Controls & Scrubber */
.player-controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 44%;
  max-width: 580px;
}

.player-buttons-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-ctrl {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}

.btn-ctrl:hover {
  color: #ffffff;
}

.btn-ctrl.active {
  color: var(--accent-emerald);
}

.btn-main-play {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #09090b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-main-play:hover {
  transform: scale(1.06);
  background: #f4f4f5;
}

.btn-main-play:active {
  transform: scale(0.96);
}

/* Scrubber Row (Desktop Center) */
.scrubber-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scrub-time {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
  min-width: 34px;
  font-variant-numeric: tabular-nums;
}

.scrub-time.end {
  text-align: right;
}

.scrubber-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: height 0.15s ease;
}

.scrubber-track:hover {
  height: 6px;
}

.scrubber-progress {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: var(--radius-full);
  position: relative;
}

.scrubber-track:hover .scrubber-progress {
  background: var(--accent-emerald);
}

/* Player Right: Volume & Download */
.player-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 28%;
  min-width: 200px;
}

.volume-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-bar {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  outline: none;
}

.volume-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.btn-player-dl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-player-dl:hover {
  background: var(--bg-surface-active);
  border-color: var(--border-medium);
}

/* ──────────────────────────────────────────────────────────────────────────
   Toast Notifications
   ────────────────────────────────────────────────────────────────────────── */
.toast-stack {
  position: fixed;
  bottom: calc(var(--player-height) + 16px);
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  background: #18181c;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  animation: toastIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 320px;
}

.toast-item.success { border-left: 3px solid var(--accent-emerald); }
.toast-item.info { border-left: 3px solid var(--accent-blue); }
.toast-item.error { border-left: 3px solid #ef4444; }

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

/* ──────────────────────────────────────────────────────────────────────────
   Mobile Responsiveness (Ultra-Clean & Ergonomic)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .app-wrapper {
    padding: 0 14px calc(var(--player-height-mobile) + 24px) 14px;
  }

  .navbar {
    height: 56px;
    margin-bottom: 18px;
  }

  .nav-pill span {
    display: none;
  }

  .search-container {
    margin-bottom: 20px;
  }

  .search-title {
    font-size: 1.35rem;
  }

  .search-desc {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .search-bar-box {
    padding: 4px 4px 4px 14px;
  }

  .search-input-field {
    font-size: 0.9rem;
  }

  .search-btn-submit {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Hide desktop arrow buttons on mobile */
  .chip-scroll-arrow {
    display: none;
  }

  .chips-scroll-container {
    padding: 4px 0 8px 0;
  }

  .section-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tabs-group {
    width: 100%;
    overflow-x: auto;
  }

  .track-grid-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Compact Card Layout on Mobile */
  .music-card {
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 12px;
  }

  .card-media {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .card-play-hover {
    display: none;
  }

  .card-content {
    margin-bottom: 0;
    justify-content: center;
    min-width: 0;
  }

  .card-track-title {
    font-size: 0.88rem;
    -webkit-line-clamp: 1;
  }

  .card-bottom-actions {
    flex-direction: column;
    gap: 6px;
  }

  .btn-play-action, .btn-download-action {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .btn-fav-icon {
    display: none;
  }

  /* Mobile Bottom Player: Active progress line + Time readout */
  .studio-player {
    height: var(--player-height-mobile);
    padding: 0 14px;
  }

  .player-top-edge-track {
    height: 3px;
  }

  .player-meta-left {
    width: 65%;
    min-width: 0;
    gap: 10px;
  }

  .player-artwork {
    width: 44px;
    height: 44px;
  }

  .player-now-title {
    max-width: 150px;
    font-size: 0.84rem;
  }

  .player-mobile-time {
    display: inline-block;
  }

  .player-controls-center {
    width: auto;
  }

  .player-buttons-row {
    gap: 8px;
  }

  .btn-ctrl.skip,
  .btn-ctrl.loop,
  .btn-ctrl.shuffle,
  .scrubber-row,
  .player-actions-right {
    display: none;
  }

  .btn-main-play {
    width: 38px;
    height: 38px;
  }
}
