:root {
  --bg-primary: #080b11;
  --bg-secondary: #0f1422;
  --bg-card: rgba(18, 24, 38, 0.85);
  --bg-card-hover: rgba(26, 35, 56, 0.95);
  --bg-card-selected: rgba(30, 58, 110, 0.45);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-selected: #38bdf8;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  --shadow-active: 0 0 35px rgba(56, 189, 248, 0.4);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 120px; /* Space for sticky tray */
}

/* Background Atmosphere */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-indigo));
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #7c3aed, #db2777);
  bottom: -200px;
  right: -150px;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  font-size: 2.2rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-cinema {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: 9999px;
  -webkit-text-fill-color: #fbbf24;
  text-transform: uppercase;
}

.badge-music {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.35));
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #f472b6;
  padding: 3px 10px;
  border-radius: 9999px;
  -webkit-text-fill-color: #f472b6;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Status Dot in Header */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  display: inline-block;
  margin-left: 6px;
  box-shadow: 0 0 8px var(--accent-gold);
}

.status-dot.ready {
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* Genre Navigation */
.genre-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.genre-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.genre-tab.active {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.genre-tab.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.badge-upcoming {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-dim);
}

/* Step 1 Input Card (Full width, cinema style) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.step-badge {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.textarea-wrapper textarea {
  width: 100%;
  background: rgba(8, 11, 17, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  resize: vertical;
  transition: all 0.2s ease;
}

.textarea-wrapper textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.input-actions-single {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.main-id-action-btn {
  padding: 14px 36px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0284c7, #2563eb 60%, #4f46e5);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 0 25px rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.main-id-action-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.6), 0 0 35px rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, #0369a1, #1d4ed8 60%, #4338ca);
}

.btn-text-large {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.load-more-card {
  flex: 0 0 160px;
  background: rgba(13, 17, 28, 0.4);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  gap: 10px;
  transition: all 0.2s ease;
}

.load-more-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.load-more-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
}

.load-more-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Results Stage (Step 2) */
.results-section {
  margin-top: 16px;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.inline-title {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-left: 10px;
  vertical-align: middle;
}

.results-actions {
  display: flex;
  gap: 8px;
}

/* Result Group (Each Input Row) */
.result-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}

.result-group:hover {
  border-color: var(--border-hover);
}

.result-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.query-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.query-index {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.query-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.query-status-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.query-status-badge.skipped {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
  border-color: rgba(100, 116, 139, 0.3);
}

/* Candidates Row */
.candidates-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

.candidates-row::-webkit-scrollbar {
  height: 7px;
}
.candidates-row::-webkit-scrollbar-thumb {
  background-color: var(--border-hover);
  border-radius: 10px;
}

/* Cinema Movie Card */
.candidate-card {
  flex: 0 0 260px;
  background: rgba(13, 17, 28, 0.7);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.candidate-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.candidate-card.selected {
  background: var(--bg-card-selected);
  border-color: var(--border-selected);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.35);
}

/* Poster */
.candidate-poster-wrap {
  width: 100%;
  height: 310px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: #0a0d14;
  margin-bottom: 12px;
}

.candidate-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.candidate-card:hover .candidate-poster {
  transform: scale(1.04);
}

.candidate-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: var(--text-dim);
  font-size: 2.2rem;
  gap: 8px;
}

/* Selection Indicator (Top Right of Poster) */
.select-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.select-indicator.active {
  background: var(--accent-cyan);
  color: #080b11;
  border-color: #fff;
  box-shadow: 0 0 16px var(--accent-cyan);
}

/* Card Body Content */
.candidate-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.candidate-original-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

/* Overview (Synopsis) */
.candidate-overview {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags (Year, Country, Score, ID) */
.candidate-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  font-size: 0.75rem;
}

.tag-type {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}

.tag-country {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  color: #e2e8f0;
}

.tag-year {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  color: #e2e8f0;
}

.tag-score {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tag-id {
  margin-left: auto;
  color: var(--accent-cyan);
  font-family: monospace;
  font-size: 0.72rem;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Group Bottom Controls */
.group-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.refine-search-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.refine-input {
  background: rgba(8, 11, 17, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.85rem;
  color: #fff;
  width: 220px;
}

.refine-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-dim);
  background: rgba(15, 20, 34, 0.5);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* Floating Sticky Tray (Step 3) */
.sticky-tray {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 960px;
  background: rgba(15, 20, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-xl);
  padding: 12px 24px;
  z-index: 900;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tray-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tray-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tray-badge {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tray-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.tray-middle {
  display: flex;
  align-items: center;
}

.format-chips {
  display: flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 3px;
  gap: 4px;
}

.format-chip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.format-chip.active {
  background: var(--accent-cyan);
  color: #080b11;
  font-weight: 700;
}

.tray-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  background: #121726;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.modal-card.wide {
  max-width: 760px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

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

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.help-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.help-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.export-preview-area textarea {
  width: 100%;
  height: 200px;
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  color: #a5f3fc;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 20px;
}

.export-preview-area textarea:focus {
  outline: none;
}

.webhook-section h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.webhook-input-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.webhook-input-group input {
  flex: 1;
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #fff;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  right: 28px;
  background: #182033;
  color: #fff;
  border: 1px solid var(--accent-cyan);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.25);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 2000;
  animation: slideInUp 0.3s ease;
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   Music Mode Components
   ========================================================================== */

/* Square Artwork for Music */
.candidate-poster.music-artwork {
  aspect-ratio: 1 / 1 !important;
  height: auto;
  object-fit: cover;
}

/* Audio Preview Button */
.btn-audio-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #f472b6;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-audio-preview:hover {
  background: rgba(236, 72, 153, 0.3);
  border-color: #f472b6;
  transform: scale(1.04);
}

.btn-audio-preview.playing {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  border-color: #ec4899;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
  animation: pulsePreview 1.2s infinite ease-in-out;
}

@keyframes pulsePreview {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
  }
}

.music-artist-name {
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 2px;
}

.music-album-name {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
