/* ===== Yuinne Music - Common Styles ===== */
/* Based on yuinne-music.css design system, extended for preview pages */

:root {
  --ym-brand: #66CCFF;
  --ym-brand-rgb: 102, 204, 255;
  --ym-brand-dark: #55bbee;
  --ym-brand-light: #e6f7ff;
  --ym-text-primary: #1f2937;
  --ym-text-secondary: #6b7280;
  --ym-bg: #f3f6f9;
  --ym-bg-white: #ffffff;
  --ym-border: #e5e7eb;
  --ym-shadow: 0 1px 3px rgba(0,0,0,0.08);
  --ym-shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
  --ym-shadow-glow: 0 4px 20px rgba(102,204,255,0.25);
  --ym-radius: 16px;
  --ym-radius-sm: 10px;
  --ym-transition: all 0.3s cubic-bezier(0.23, 1.01, 0.32, 1);
  --ym-header-height: 68px;
  --ym-player-height: 76px;
  --ym-max-width: 1280px;
  --ym-sidebar-width: 260px;
}

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

html { scroll-behavior: smooth; }

body.ym-page {
  background: var(--ym-bg);
  color: var(--ym-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'MiSans', 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--ym-player-height);
}

body.ym-page.no-player { padding-bottom: 0; }

a { color: var(--ym-brand); text-decoration: none; }
a:hover { color: var(--ym-brand-dark); }

/* ===== Navigation ===== */
.ym-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  height: var(--ym-header-height);
  transition: var(--ym-transition);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

.ym-nav-inner {
  max-width: var(--ym-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 100%;
}

.ym-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ym-text-primary);
  letter-spacing: -0.02em;
}

.ym-nav-logo iconify-icon { font-size: 1.6rem; color: var(--ym-brand); }

.ym-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.ym-nav-links a {
  color: var(--ym-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
  padding: 0.25rem 0;
}

.ym-nav-links a:hover,
.ym-nav-links a.active { color: var(--ym-brand); }

.ym-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2.5px;
  background: var(--ym-brand);
  border-radius: 2px;
}

.ym-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ym-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--ym-text-secondary);
  cursor: pointer;
  transition: var(--ym-transition);
  position: relative;
}

.ym-nav-btn:hover { background: var(--ym-bg); color: var(--ym-brand); }

.ym-nav-btn .ym-badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #ff4757;
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.ym-mobile-toggle {
  display: none;
  background: none; border: none;
  color: var(--ym-text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.ym-mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ym-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.75rem 0;
  z-index: 49;
}

.ym-mobile-menu.open { display: block; }

.ym-mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--ym-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

.ym-mobile-menu a:hover,
.ym-mobile-menu a.active { color: var(--ym-brand); background: rgba(var(--ym-brand-rgb),0.04); }

/* ===== Layout ===== */
.ym-container {
  max-width: var(--ym-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ym-page-content {
  padding-top: calc(var(--ym-header-height) + 1.5rem);
  flex: 1;
}

.ym-section { margin-bottom: 3rem; }

.ym-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.ym-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ym-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ym-section-title iconify-icon { color: var(--ym-brand); font-size: 1.25rem; }

.ym-section-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ym-brand);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: none; border: none;
  transition: opacity 0.2s;
}

.ym-section-link:hover { opacity: 0.8; }

/* ===== Buttons ===== */
.ym-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: var(--ym-transition);
  text-decoration: none;
}

.ym-btn-primary {
  background: var(--ym-brand);
  color: white;
  box-shadow: 0 4px 14px rgba(var(--ym-brand-rgb), 0.35);
}

.ym-btn-primary:hover {
  background: var(--ym-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ym-brand-rgb), 0.45);
}

.ym-btn-outline {
  background: rgba(255,255,255,0.8);
  color: var(--ym-text-primary);
  border: 1px solid var(--ym-border);
  backdrop-filter: blur(4px);
}

.ym-btn-outline:hover {
  border-color: var(--ym-brand);
  color: var(--ym-brand);
  background: white;
}

.ym-btn-ghost {
  background: transparent;
  color: var(--ym-text-secondary);
  border: 1px solid transparent;
}

.ym-btn-ghost:hover { color: var(--ym-brand); background: rgba(var(--ym-brand-rgb),0.06); }

.ym-btn-sm { padding: 0.375rem 1rem; font-size: 0.8125rem; }

.ym-btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* ===== Cards ===== */
.ym-card {
  background: var(--ym-bg-white);
  border-radius: var(--ym-radius-sm);
  overflow: hidden;
  box-shadow: var(--ym-shadow);
  transition: var(--ym-transition);
}

.ym-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ym-shadow-hover);
}

.ym-card-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

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

.ym-card:hover .ym-card-cover img { transform: scale(1.06); }

.ym-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: var(--ym-brand);
}

.ym-card:hover .ym-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ym-card-play:hover { background: var(--ym-brand); color: white; }

.ym-card-body { padding: 0.875rem; }

.ym-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ym-text-primary);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-decoration: none;
}

a.ym-card-title:hover { color: var(--ym-brand); }

.ym-card-subtitle {
  font-size: 0.8125rem;
  color: var(--ym-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-card-badge {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: var(--ym-brand);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* ===== Grids ===== */
.ym-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ym-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ym-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ym-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.ym-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }

/* ===== Tags / Filters ===== */
.ym-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.ym-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 9999px;
  background: var(--ym-bg-white);
  color: var(--ym-text-secondary);
  border: 1px solid var(--ym-border);
  cursor: pointer;
  transition: var(--ym-transition);
  text-decoration: none;
}

.ym-tag:hover, .ym-tag.active {
  background: var(--ym-brand);
  color: white;
  border-color: var(--ym-brand);
}

/* ===== Song List Items ===== */
.ym-song-list { list-style: none; }

.ym-song-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--ym-radius-sm);
  transition: background 0.2s;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.ym-song-item:last-child { border-bottom: none; }

.ym-song-item:hover { background: rgba(var(--ym-brand-rgb), 0.04); }

.ym-song-item.playing { background: rgba(var(--ym-brand-rgb), 0.08); }

.ym-song-item-num {
  width: 32px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ym-text-secondary);
  flex-shrink: 0;
}

.ym-song-item.playing .ym-song-item-num { color: var(--ym-brand); font-weight: 700; }

.ym-song-item-cover {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.ym-song-item-info { flex: 1; min-width: 0; }

.ym-song-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ym-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-song-item.playing .ym-song-item-title { color: var(--ym-brand); }

.ym-card.playing { border-color: var(--ym-brand); box-shadow: 0 0 0 2px rgba(var(--ym-brand-rgb), 0.25); }
.ym-card.playing .ym-card-title { color: var(--ym-brand); }

.ym-song-item-artist {
  font-size: 0.75rem;
  color: var(--ym-text-secondary);
}

.ym-song-item-duration {
  font-size: 0.8125rem;
  color: var(--ym-text-secondary);
  flex-shrink: 0;
  min-width: 42px;
  text-align: right;
}

.ym-song-item-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--ym-text-secondary);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ym-song-item:hover .ym-song-item-play {
  opacity: 1;
  background: var(--ym-brand);
  color: white;
}

/* ===== Bottom Player ===== */
.ym-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--ym-player-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.ym-player-inner {
  max-width: var(--ym-max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ym-player-cover {
  width: 52px; height: 52px;
  border-radius: var(--ym-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ym-player-info {
  flex: 0 0 180px;
  min-width: 0;
}

.ym-player-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ym-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-player-artist {
  font-size: 0.75rem;
  color: var(--ym-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.ym-player-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ym-text-primary);
  transition: var(--ym-transition);
}

.ym-player-btn:hover { color: var(--ym-brand); background: rgba(var(--ym-brand-rgb), 0.08); }

.ym-player-btn.play-btn {
  width: 44px; height: 44px;
  background: var(--ym-brand);
  color: white;
}

.ym-player-btn.play-btn:hover { background: var(--ym-brand-dark); transform: scale(1.05); }

.ym-player-progress {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ym-player-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(var(--ym-brand-rgb), 0.15);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ym-player-progress-fill {
  height: 100%;
  background: var(--ym-brand);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.ym-player-progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--ym-brand);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.ym-player-progress-bar:hover .ym-player-progress-fill::after { opacity: 1; }

.ym-player-time {
  font-size: 0.6875rem;
  color: var(--ym-text-secondary);
  white-space: nowrap;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ym-player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.ym-player-volume-slider {
  -webkit-appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(var(--ym-brand-rgb), 0.15);
  border-radius: 2px;
  outline: none;
}

.ym-player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ym-brand);
  cursor: pointer;
}

/* ===== Footer ===== */
.ym-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ym-text-secondary);
  font-size: 0.8125rem;
}

/* ===== Pagination ===== */
.ym-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
}

.ym-pagination-btn {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--ym-border);
  border-radius: var(--ym-radius-sm);
  background: var(--ym-bg-white);
  color: var(--ym-text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--ym-transition);
}

.ym-pagination-btn:hover { border-color: var(--ym-brand); color: var(--ym-brand); }
.ym-pagination-btn.active { background: var(--ym-brand); color: white; border-color: var(--ym-brand); }
.ym-pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== Search Bar ===== */
.ym-search-bar {
  display: flex;
  align-items: center;
  background: var(--ym-bg-white);
  border: 1px solid var(--ym-border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  max-width: 480px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ym-search-bar:focus-within {
  border-color: var(--ym-brand);
  box-shadow: 0 0 0 3px rgba(var(--ym-brand-rgb), 0.12);
}

.ym-search-bar input {
  border: none; outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--ym-text-primary);
  flex: 1;
  width: 100%;
}

.ym-search-bar input::placeholder { color: #9ca3af; }

/* ===== Empty State ===== */
.ym-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ym-text-secondary);
}

.ym-empty iconify-icon { font-size: 3.5rem; color: var(--ym-border); margin-bottom: 1rem; }

/* ===== Animations ===== */
@keyframes ym-fadeinup {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ym-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ym-animate-fadeinup {
  animation: ym-fadeinup 0.7s cubic-bezier(0.23, 1.01, 0.32, 1) both;
}

.ym-animate-fadein {
  animation: ym-fadein 0.5s ease both;
}

.ym-delay-1 { animation-delay: 0.1s; }
.ym-delay-2 { animation-delay: 0.2s; }
.ym-delay-3 { animation-delay: 0.3s; }
.ym-delay-4 { animation-delay: 0.4s; }

.ym-scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1.01, 0.32, 1);
}

.ym-scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Back to Top ===== */
.ym-back-top {
  position: fixed;
  bottom: calc(var(--ym-player-height) + 1rem);
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ym-bg-white);
  border: 1px solid var(--ym-border);
  color: var(--ym-text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--ym-shadow);
  transition: var(--ym-transition);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}
.ym-back-top.visible { opacity: 1; pointer-events: auto; }
.ym-back-top:hover { background: var(--ym-brand); color: white; border-color: var(--ym-brand); }

/* ===== Player Mode Toggle ===== */
.ym-player-mode {
  display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0;
}
.ym-player-mode-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--ym-text-secondary);
  cursor: pointer; transition: var(--ym-transition); font-size: 0;
}
.ym-player-mode-btn:hover { color: var(--ym-brand); }
.ym-player-mode-btn.active { color: var(--ym-brand); }

/* ===== Player Playlist Popup ===== */
.ym-player-playlist-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--ym-text-secondary);
  cursor: pointer; transition: var(--ym-transition); position: relative;
}
.ym-player-playlist-btn:hover { color: var(--ym-brand); }
.ym-player-playlist-btn .ym-pl-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 14px; height: 14px; border-radius: 7px;
  background: var(--ym-brand); color: white;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.ym-playlist-popup {
  position: fixed;
  bottom: var(--ym-player-height);
  right: 1.5rem;
  width: 340px;
  max-height: 50vh;
  background: var(--ym-bg-white);
  border-radius: var(--ym-radius) var(--ym-radius) 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.ym-playlist-popup.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ym-playlist-popup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--ym-border);
  font-weight: 600; font-size: 0.9375rem;
}
.ym-playlist-popup-header iconify-icon { color: var(--ym-brand); }
.ym-playlist-popup-close {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--ym-text-secondary);
  cursor: pointer; transition: var(--ym-transition);
}
.ym-playlist-popup-close:hover { background: rgba(var(--ym-brand-rgb), 0.08); color: var(--ym-brand); }
.ym-playlist-popup-list {
  overflow-y: auto; flex: 1; padding: 0.5rem 0;
}
.ym-playlist-popup-list::-webkit-scrollbar { width: 4px; }
.ym-playlist-popup-list::-webkit-scrollbar-thumb { background: var(--ym-border); border-radius: 2px; }
.ym-pl-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 1rem; cursor: pointer; transition: background 0.2s;
}
.ym-pl-item:hover { background: rgba(var(--ym-brand-rgb), 0.04); }
.ym-pl-item.active { background: rgba(var(--ym-brand-rgb), 0.08); }
.ym-pl-item.active .ym-pl-item-title { color: var(--ym-brand); }
.ym-pl-item-cover { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.ym-pl-item-info { flex: 1; min-width: 0; }
.ym-pl-item-title { font-size: 0.8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ym-pl-item-artist { font-size: 0.6875rem; color: var(--ym-text-secondary); }
.ym-pl-item-dur { font-size: 0.6875rem; color: var(--ym-text-secondary); flex-shrink: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .ym-grid-5, .ym-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .ym-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .ym-nav-links { gap: 1rem; font-size: 0.875rem; }
}

@media (max-width: 768px) {
  .ym-grid-3, .ym-grid-4, .ym-grid-5, .ym-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .ym-grid-2 { grid-template-columns: 1fr; }
  .ym-nav-links { display: none; }
  .ym-mobile-toggle { display: block; }
  .ym-player-progress { display: none; }
  .ym-player-info { flex: 0 0 120px; }
  .ym-section-title { font-size: 1.15rem; }
  .ym-nav-inner { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .ym-grid-3, .ym-grid-4, .ym-grid-5, .ym-grid-6 { grid-template-columns: 1fr; }
  .ym-player-volume { display: none; }
  .ym-player-info { flex: 0 0 100px; }
}
