/* Repliques section — reuses songratuit.fr design tokens */

.rq-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
}

/* Hero */
.rq-hero, .rq-perso-hero {
  text-align: center;
  padding: 32px 0 24px;
}
.rq-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 8px;
  line-height: 1.15;
}
.rq-hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}
.rq-perso-desc {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 12px auto 0;
}

/* Search */
.rq-search-bar {
  margin: 0 0 16px;
}
.rq-search-input {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(32, 41, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.rq-search-input:focus {
  border-color: rgba(79, 70, 229, 0.38);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

/* Filter chips */
.rq-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rq-filter-bar::-webkit-scrollbar { display: none; }
.rq-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 120ms ease;
}
.rq-filter-chip:hover {
  border-color: rgba(79, 70, 229, 0.32);
  transform: translateY(-1px);
}
.rq-filter-chip.rq-filter-active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.rq-filter-count {
  font-size: 0.78rem;
  opacity: 0.6;
}

/* Grid */
.rq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Cards */
.rq-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.rq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(120, 84, 29, 0.16);
}

.rq-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  overflow: hidden;
}
.rq-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rq-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}
.rq-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 150ms ease;
}
.rq-card:hover .rq-card-play { opacity: 1; }

.rq-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.rq-card-body {
  padding: 12px 14px;
}
.rq-card-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rq-card-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Clip page layout */
.rq-clip-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.rq-player-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rq-video {
  width: 100%;
  display: block;
  background: #000;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.rq-clip-info {
  padding: 20px 24px 0;
}
.rq-clip-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}
.rq-clip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Chips */
.rq-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background: rgba(140, 191, 255, 0.36);
  color: #4b49e8;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background 120ms ease;
}
.rq-chip:hover { background: rgba(140, 191, 255, 0.54); }
.rq-chip-emotion { background: rgba(255, 179, 71, 0.25); color: #b86800; }
.rq-chip-tag { background: rgba(79, 70, 229, 0.08); color: var(--muted); font-weight: 500; }
.rq-views { font-size: 0.82rem; color: var(--muted); }

/* Caption section */
.rq-caption-section {
  padding: 16px 24px;
  border-top: 1px solid var(--panel-line);
}
.rq-caption-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: block;
}
.rq-caption-row {
  display: flex;
  gap: 10px;
}
.rq-caption-input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(32, 41, 59, 0.12);
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: rgba(255,255,255,0.96);
  outline: none;
}
.rq-caption-input:focus {
  border-color: rgba(79, 70, 229, 0.38);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}
.rq-btn-primary {
  min-height: 48px;
  padding: 0 20px;
  background: linear-gradient(135deg, #5a52f2, #4a42dd);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}
.rq-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.22); }
.rq-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.rq-caption-status {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 10px 14px;
  background: rgba(79, 70, 229, 0.06);
  border-radius: 12px;
}
.rq-caption-success { background: rgba(31, 138, 112, 0.1); color: #1a7a5c; }

/* Share buttons */
.rq-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px 20px;
}
.rq-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(32, 41, 59, 0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 120ms ease;
}
.rq-share-btn:hover { transform: translateY(-1px); border-color: rgba(79, 70, 229, 0.32); }
.rq-share-whatsapp:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); }
.rq-share-twitter:hover { background: rgba(29, 161, 242, 0.1); border-color: rgba(29, 161, 242, 0.3); }

/* Related clips */
.rq-related {
  padding: 0 0 24px;
}
.rq-related-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.rq-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.rq-card-mini {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: transform 120ms ease;
}
.rq-card-mini:hover { transform: translateY(-2px); }
.rq-card-mini-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1a1a2e;
}
.rq-card-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rq-card-mini-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 6px;
}

/* Breadcrumb */
.rq-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 16px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.rq-breadcrumb a { color: var(--primary); text-decoration: none; }
.rq-breadcrumb a:hover { text-decoration: underline; }
.rq-breadcrumb-current { color: var(--text); font-weight: 600; }

/* Load more */
.rq-load-more {
  display: block;
  margin: 24px auto;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 120ms ease;
}
.rq-load-more:hover { transform: translateY(-1px); border-color: rgba(79, 70, 229, 0.32); }
.rq-loading {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Nav */
.sg-nav { display: flex; gap: 16px; align-items: center; }
.sg-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 120ms ease;
}
.sg-nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.sg-nav-active { color: var(--primary); background: var(--primary-soft); }

/* Hidden utility */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 760px) {
  .rq-main { width: min(100vw - 16px, 100%); }
  .rq-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .rq-card { border-radius: var(--radius-md); }
  .rq-card-body { padding: 8px 10px; }
  .rq-card-title { font-size: 0.82rem; }
  .rq-clip-info { padding: 14px 16px 0; }
  .rq-caption-section { padding: 12px 16px; }
  .rq-share-row { padding: 12px 16px 16px; }
  .rq-caption-row { flex-direction: column; }
  .rq-share-btn { flex: 1; justify-content: center; min-height: 44px; font-size: 0.82rem; }
  .rq-related-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .rq-player-card { border-radius: var(--radius-lg); }
  .rq-video { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .sg-header { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .rq-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rq-hero-title { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .rq-search-input { font-size: 16px; }
  .rq-caption-input { font-size: 16px; }
}

/* Fix: spacing between title and meta chips */
.rq-clip-meta {
  margin-top: 12px;
}

/* Inline video player in cards */
.rq-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: 2;
  background: #000;
}
.rq-card-thumb {
  cursor: pointer;
}

/* Card title as link */
.rq-card-title-link {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rq-card-title-link:hover {
  color: var(--primary);
}

/* Make card non-link style */
.rq-card {
  cursor: default;
}

/* === Card action buttons === */
.rq-card-actions {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}
.rq-card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 120ms ease;
}
.rq-btn-play {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
}
.rq-btn-play:hover {
  background: rgba(79, 70, 229, 0.16);
  transform: translateY(-1px);
}
.rq-btn-use {
  background: linear-gradient(135deg, #5a52f2, #4a42dd);
  color: white;
}
.rq-btn-use:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

/* Inline video in card */
.rq-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  background: #000;
}

/* === Editor Modal === */
.rq-editor-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.rq-editor-overlay.open {
  display: flex;
}
.rq-editor-modal {
  background: white;
  border-radius: 28px;
  width: min(480px, calc(100vw - 24px));
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  animation: rqModalIn 250ms ease;
}
@keyframes rqModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.rq-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 0;
}
.rq-editor-header h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rq-editor-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 120ms;
  flex-shrink: 0;
}
.rq-editor-close:hover { background: rgba(0, 0, 0, 0.1); }
.rq-editor-body {
  padding: 16px 22px;
}

/* Canvas preview area */
.rq-editor-canvas-wrap {
  margin: 0 auto 16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: width 300ms ease, height 300ms ease;
}
.rq-editor-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Format pills */
.rq-editor-formats {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}
.rq-fmt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid rgba(32, 41, 59, 0.08);
  border-radius: 999px;
  background: white;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  cursor: pointer;
  transition: all 150ms ease;
}
.rq-fmt-pill:hover {
  border-color: rgba(79, 70, 229, 0.25);
}
.rq-fmt-pill-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.rq-fmt-pill-icon {
  display: inline-block;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.4;
}
.rq-fmt-pill-story  { width: 8px; height: 14px; }
.rq-fmt-pill-square { width: 12px; height: 12px; }
.rq-fmt-pill-landscape { width: 16px; height: 10px; }
.rq-fmt-pill-active .rq-fmt-pill-icon { opacity: 0.8; }

/* Color buttons */
.rq-editor-colors {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.rq-ed-color {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 150ms ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.rq-ed-color:hover { transform: scale(1.1); }
.rq-ed-color-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Caption input */
.rq-editor-caption-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(32, 41, 59, 0.12);
  border-radius: 14px;
  font-size: 16px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.rq-editor-caption-input:focus {
  border-color: rgba(79, 70, 229, 0.38);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}
.rq-editor-caption-input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

/* Footer buttons */
.rq-editor-footer {
  padding: 12px 22px 20px;
}
.rq-editor-share-btns {
  display: flex;
  gap: 8px;
}
.rq-editor-share-btns .rq-card-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 14px;
  font-size: 0.88rem;
}

/* Mobile */
@media (max-width: 760px) {
  .rq-editor-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    max-height: 95vh;
    position: fixed;
    bottom: 0;
  }
  .rq-editor-overlay.open {
    align-items: flex-end;
  }
  .rq-card-actions { gap: 4px; padding: 0 8px 8px; }
  .rq-card-btn { min-height: 34px; font-size: 0.78rem; border-radius: 10px; padding: 0 8px; }
}

/* Fix footer centering */
.site-footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 12px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: rgba(32, 41, 59, 0.6);
  font-size: 0.88rem;
}
.site-footer a {
  color: rgba(32, 41, 59, 0.6);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--primary);
}

/* Loading overlay */
.rq-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rq-loading-modal {
  background: white;
  border-radius: 24px;
  padding: 40px 48px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  animation: rqModalIn 250ms ease;
  max-width: 340px;
}
.rq-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(79, 70, 229, 0.15);
  border-top-color: var(--primary, #4f46e5);
  border-radius: 50%;
  animation: rqSpin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes rqSpin {
  to { transform: rotate(360deg); }
}
.rq-loading-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text, #20293b);
  margin-bottom: 8px;
}
.rq-loading-text {
  font-size: 0.9rem;
  color: var(--muted, #667085);
  line-height: 1.4;
}

/* === Sons library — grid cards === */
.sons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.son-card {
  display: flex;
  flex-direction: column;
  background: var(--panel, rgba(255,255,255,0.96));
  border: 1px solid var(--panel-line, rgba(32,41,59,0.1));
  border-radius: var(--radius-lg, 22px);
  box-shadow: var(--shadow, 0 24px 60px rgba(120,84,29,0.12));
  overflow: hidden;
  transition: all 120ms ease;
}
.son-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(120, 84, 29, 0.16);
}
.son-card-visual {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2d2b55, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.son-card-visual svg {
  color: rgba(255,255,255,0.4);
  width: 48px;
  height: 48px;
}
.son-card-visual.playing svg {
  color: white;
}
.son-card-visual .son-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 0 20px 8px;
  opacity: 0;
  transition: opacity 200ms;
}
.son-card-visual.playing .son-wave {
  opacity: 1;
}
.son-wave-bar {
  width: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: sonWave 0.6s ease-in-out infinite alternate;
}
.son-wave-bar:nth-child(2) { animation-delay: 0.1s; }
.son-wave-bar:nth-child(3) { animation-delay: 0.2s; }
.son-wave-bar:nth-child(4) { animation-delay: 0.3s; }
.son-wave-bar:nth-child(5) { animation-delay: 0.15s; }
@keyframes sonWave {
  from { height: 6px; }
  to { height: 28px; }
}
.son-card-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.son-card-body {
  padding: 12px 14px;
  flex: 1;
}
.son-card-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text, #20293b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.son-card-meta {
  font-size: 0.78rem;
  color: var(--muted, #667085);
  min-height: 1.2em;
}
.son-card-actions {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}
.son-card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 120ms ease;
}
.son-btn-play {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary, #4f46e5);
}
.son-btn-play:hover {
  background: rgba(79, 70, 229, 0.16);
  transform: translateY(-1px);
}
.son-btn-dl {
  background: linear-gradient(135deg, #5a52f2, #4a42dd);
  color: white;
  text-decoration: none;
}
.son-btn-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.son-audio { display: none; }

@media (max-width: 760px) {
  .sons-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .son-card { border-radius: 16px; }
  .son-card-body { padding: 8px 10px; }
  .son-card-actions { gap: 4px; padding: 0 8px 8px; }
  .son-card-btn { min-height: 34px; font-size: 0.78rem; border-radius: 10px; }
}
@media (max-width: 480px) {
  .sons-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
