/* ─── ZOLT V2 — HOME ────────────────────────────────────────────────── */

.home-greeting {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: var(--sp-6);
}
.home-greeting span { color: var(--accent); }

/* Section header */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.section-link {
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--t-fast);
}
.section-link:hover { color: var(--accent); }

/* Rendering Containment & GPU Scroll Optimizations */
.home-curated-sections,
.bento-recent-grid,
.quick-access-grid,
.home-genre-pills,
.song-grid,
.curated-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 260px;
}

/* Song grid */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 210px));
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
  justify-content: start;
}

@media (max-width: 600px) {
  .song-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--sp-3);
  }
}

.song-card {
  width: 100%;
  max-width: 210px;
  border-radius: var(--r-lg);
  overflow: visible;
  background: transparent;
  cursor: pointer;
  transition: transform var(--t-fast);
}
.song-card:hover {
  background: transparent;
}
.song-card:hover .song-card-art {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.song-card:active {
  transform: scale(0.97);
}

.song-card-art {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: box-shadow 0.25s ease;
}
.song-card-art-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Fix Webkit transform clip bleed on hover */
  isolation: isolate;
  transform: translateZ(0);
}
.song-card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  border-radius: var(--r-lg);
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.song-card:hover .song-card-play-overlay { 
  opacity: 1; 
}
.song-card-play-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
  pointer-events: auto;
}
.song-card:hover .song-card-play-btn {
  transform: translateY(0);
  opacity: 1;
}
.song-card-play-btn:hover {
  transform: scale(1.06) translateY(0) !important;
  background: var(--bg-2);
  border-color: var(--text-1);
}
.song-card-play-btn svg { 
  color: var(--text-1); 
  width: 18px; 
  height: 18px; 
}

.song-card-info {
  padding: 6px 2px 2px 2px;
  overflow: visible;
}
.song-card-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text-1);
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-card-artist {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Song row (list view) */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.song-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 10px var(--sp-4);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.song-row:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}
.song-row.unresolved-spotify {
  opacity: 0.55;
  transition: opacity var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.song-row.unresolved-spotify:hover {
  opacity: 0.9;
}
.song-row.playing {
  background: var(--accent-dim);
}
.song-row.playing .sr-title {
  color: var(--accent);
}

.song-row-num {
  width: 24px;
  text-align: right;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  flex-shrink: 0;
}
.song-row.playing .song-row-num {
  display: none;
}
.playing-indicator {
  display: none;
  width: 24px;
  flex-shrink: 0;
}
.song-row.playing .playing-indicator {
  display: block;
}

.song-row img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--bg-4);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform var(--t-fast);
}
.song-row:hover img {
  transform: scale(1.02);
}

.sr-info {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sr-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}
.sr-artist {
  font-size: 12px;
  color: var(--text-3);
}
.sr-date {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  width: 110px;
  flex-shrink: 0;
  white-space: nowrap;
}
.sr-duration {
  font-size: 12.5px;
  color: var(--text-3);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 45px;
  text-align: right;
}
.sr-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  opacity: 0;
  transition: opacity var(--t-fast), background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.song-row:hover .sr-more {
  opacity: 1;
}
.sr-more:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-1);
}

/* Song list header */
.song-list-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 8px var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--sp-2);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
}
.song-list-header .sl-num {
  width: 24px;
  text-align: right;
}
.song-list-header .sl-title {
  flex: 1;
  margin-left: 64px;
}
.song-list-header .sl-date {
  width: 110px;
}
.song-list-header .sl-duration {
  width: 45px;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}
.song-list-header .sl-more {
  width: 32px;
}

@media (max-width: 640px) {
  .sr-date, .song-list-header .sl-date {
    display: none;
  }
}

/* Genre Pills */
.home-genre-pills {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding: 4px 0 var(--sp-4) 0;
  margin-bottom: var(--sp-2);
  scrollbar-width: none; /* Hide scrollbar Firefox */
}
.home-genre-pills::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}
.genre-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px var(--sp-4);
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(var(--glass-blur, 24px));
  backdrop-filter: blur(var(--glass-blur, 24px));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.04));
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
  user-select: none;
}
.genre-pill svg {
  transition: transform var(--t-fast);
}
.genre-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-1);
}
.genre-pill:hover svg {
  transform: scale(1.1);
}
.genre-pill.active {
  background: var(--text-1);
  color: var(--bg);
  border-color: var(--text-1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

/* Quick Access Grid */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

@media (min-width: 900px) {
  .quick-access-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quick-access-card {
  display: flex;
  align-items: center;
  background: var(--glass-bg, rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(var(--glass-blur, 24px));
  backdrop-filter: blur(var(--glass-blur, 24px));
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
  height: 56px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.quick-access-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.quick-access-card:active {
  transform: scale(0.98);
}

.quick-access-art {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.quick-access-info {
  flex: 1;
  padding: 0 var(--sp-4);
  overflow: hidden;
}

.quick-access-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}

.quick-access-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text-1);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--sp-3);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.quick-access-card:hover .quick-access-play-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-access-play-btn:hover {
  transform: scale(1.08) !important;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
}

.quick-access-play-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Shelf horizontal scroll */
.shelf-scroll {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  padding: 4px 2px var(--sp-6) 2px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.shelf-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}
.shelf-scroll .song-card {
  flex: 0 0 185px;
  width: 185px;
  min-width: 185px;
  max-width: 185px;
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .shelf-scroll .song-card {
    flex: 0 0 145px;
    width: 145px;
    min-width: 145px;
    max-width: 145px;
  }
}

/* Shelf Navigation Buttons */
.shelf-wrapper {
  position: relative;
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.shelf-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
  outline: none;
}

.shelf-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.shelf-nav-btn:active {
  transform: scale(0.95);
}

.shelf-nav-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .section-header-actions {
    display: none !important; /* Mobile layouts hide arrows to use swipe gestures */
  }
}

/* Bento Recently Played Grid */
.bento-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: var(--sp-8);
}

.bento-item {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg, rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(var(--glass-blur, 24px));
  backdrop-filter: blur(var(--glass-blur, 24px));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
}

.bento-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.bento-item:active {
  transform: scale(0.98) translateY(0);
}

/* Card 1: Hero Tile (2x2) */
.bento-item-1 {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.bento-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(35px) saturate(1.8);
  opacity: 0.25;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

.bento-item-1:hover .bento-hero-bg {
  transform: scale(1.1);
  opacity: 0.35;
}

.bento-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.bento-hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.bento-hero-badge svg {
  color: var(--accent);
}

.bento-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.bento-hero-art {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.bento-item-1:hover .bento-hero-art {
  transform: scale(1.05);
}

.bento-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.bento-hero-artist {
  font-size: 13.5px;
  color: var(--text-3);
  font-weight: 600;
}

/* Card 2, 5, 6: Horizontal Wide Tiles (2x1) */
.bento-item-2, .bento-item-5, .bento-item-6 {
  grid-column: span 2;
  padding: 12px;
  align-items: center;
  gap: 14px;
  height: 80px;
}

.bento-art {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bento-info {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.bento-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.1px;
}

.bento-artist {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 500;
}

/* Card 3, 4: Vertical Square Tiles (1x1) with layered text overlay */
.bento-item-3, .bento-item-4 {
  grid-column: span 1;
  height: 176px;
  position: relative;
  overflow: hidden;
  padding: 0 !important; /* remove padding to let image fill the card */
}

.bento-item-3 .bento-art, .bento-item-4 .bento-art {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.bento-item-3:hover .bento-art, .bento-item-4:hover .bento-art {
  transform: scale(1.08) !important;
}

.bento-item-3::before, .bento-item-4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 60%, transparent 100%) !important;
  z-index: 2;
  pointer-events: none;
}

.bento-item-3 .bento-info, .bento-item-4 .bento-info {
  position: absolute !important;
  bottom: 12px !important;
  left: 12px !important;
  right: 12px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  pointer-events: none;
}

.bento-item-3 .bento-title, .bento-item-4 .bento-title {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.bento-item-3 .bento-artist, .bento-item-4 .bento-artist {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Adjust more button for cards 3, 4 on PC */
.bento-item-3 .bento-more-btn, .bento-item-4 .bento-more-btn {
  top: 10px !important;
  right: 10px !important;
  z-index: 4 !important;
}

/* Action More Button */
.bento-more-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: auto;
}

.bento-item:hover .bento-more-btn {
  opacity: 1;
}

.bento-more-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-1);
  transform: scale(1.05);
}

/* Play Overlay Styling */
.bento-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-item:hover .bento-play-overlay {
  opacity: 1;
}

.bento-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-1);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.bento-item:hover .bento-play-btn {
  transform: scale(1);
}

.bento-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transform: translateX(1px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .bento-recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bento-item-1 {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .bento-item-2 {
    grid-column: span 1;
    height: 176px;
    flex-direction: column;
    padding: 14px;
  }
  .bento-item-2 .bento-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  
  .bento-item-5 {
    grid-column: span 2;
  }
  
  .bento-item-6 {
    grid-column: span 1;
    height: 176px;
    flex-direction: column;
    padding: 14px;
  }
  .bento-item-6 .bento-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .bento-recent-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: var(--sp-8);
  }
  
  /* Shared bento item styles on mobile - compact horizontal list row */
  .bento-item {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 12px !important;
    height: 64px !important;
    min-height: 64px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: var(--r-md) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
  }
  
  /* Hero card (Latest Play) - slightly taller to feel like a Hero card */
  .bento-item-1 {
    height: 76px !important;
    min-height: 76px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 10px 12px !important;
  }
  
  .bento-item-1 .bento-hero-bg {
    opacity: 0.2 !important;
    filter: blur(15px) saturate(1.8) !important;
  }
  
  .bento-item-1 .bento-hero-content {
    margin-top: 14px !important; /* spacing for badge */
    gap: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .bento-item-1 .bento-hero-art {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--r-sm) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0 !important;
  }
  
  .bento-item-1 .bento-hero-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
  }
  
  .bento-item-1 .bento-hero-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text-1) !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .bento-item-1 .bento-hero-artist {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    color: var(--text-3) !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .bento-item-1 .bento-hero-badge {
    top: 8px !important;
    left: 68px !important; /* aligned with text section, past the 44px cover art */
    padding: 2px 6px !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 8px var(--accent-glow) !important;
  }

  /* Reset Card 3 & 4 specific PC styles on mobile so they behave as standard list items */
  .bento-item-3, .bento-item-4 {
    padding: 8px 12px !important;
  }
  
  .bento-item-3 .bento-art, .bento-item-4 .bento-art {
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    z-index: auto !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }
  
  .bento-item-3::before, .bento-item-4::before {
    display: none !important; /* hide PC overlays on mobile list rows */
  }
  
  .bento-item-3 .bento-info, .bento-item-4 .bento-info {
    position: static !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    justify-content: center !important;
    width: auto !important;
    flex: 1 !important;
    margin: 0 !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    pointer-events: auto !important;
  }
  
  .bento-item-3 .bento-title, .bento-item-4 .bento-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-1) !important;
    text-shadow: none !important;
    line-height: 1.3 !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .bento-item-3 .bento-artist, .bento-item-4 .bento-artist {
    font-size: 10.5px !important;
    color: var(--text-3) !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Compact cover art for all other cards on mobile */
  .bento-art {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--r-sm) !important;
    object-fit: cover !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }
  
  .bento-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    padding: 0 !important;
    min-width: 0 !important;
  }
  
  .bento-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-1) !important;
    line-height: 1.3 !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .bento-artist {
    font-size: 10.5px !important;
    color: var(--text-3) !important;
    font-weight: 500 !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .bento-more-btn {
    opacity: 1 !important;
    width: 28px !important;
    height: 28px !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto !important;
    background: transparent !important;
    border: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--text-3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Keep hero card more button in absolute position so it fits nicely on the right */
  .bento-item-1 .bento-more-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 4 !important;
    background: rgba(0, 0, 0, 0.35) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    width: 28px !important;
    height: 28px !important;
    margin-left: 0 !important;
  }
  
  /* Reset Card 3 & 4 more buttons to relative flex suffix like standard cards */
  .bento-item-3 .bento-more-btn, .bento-item-4 .bento-more-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto !important;
    z-index: auto !important;
    background: transparent !important;
    border: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--text-3) !important;
  }
}