:root,
[data-theme="light"] {
  /* Lightweight Daylight Palette (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.96);
  --bg-footer: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #526071;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #4338ca;

  --accent-primary: #4338ca;
  --accent-secondary: #0369a1;
  --accent-gradient: linear-gradient(135deg, #4338ca 0%, #0369a1 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3730a3 0%, #075985 100%);

  --pill-bg: #eef2ff;
  --pill-border: #c7d2fe;
  --pill-text: #3730a3;

  --notice-bg: #eef2ff;
  --notice-border: #c7d2fe;

  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --error-text: #b91c1c;

  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --success-text: #15803d;

  --warning-bg: #fefce8;
  --warning-border: #fde047;
  --warning-text: #854d0e;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --glow-ambient: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(79, 70, 229, 0.07), transparent 70%);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #131b2e;
  --bg-card-hover: #19233b;
  --bg-input: #0f172a;
  --bg-header: rgba(11, 15, 25, 0.96);
  --bg-footer: #0d1322;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-focus: #818cf8;

  --accent-primary: #818cf8;
  --accent-secondary: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #0369a1 100%);
  --accent-gradient-hover: linear-gradient(135deg, #4338ca 0%, #0284c7 100%);

  --pill-bg: rgba(99, 102, 241, 0.16);
  --pill-border: rgba(129, 140, 248, 0.3);
  --pill-text: #c7d2fe;

  --notice-bg: rgba(99, 102, 241, 0.1);
  --notice-border: rgba(129, 140, 248, 0.25);

  --error-bg: rgba(239, 68, 68, 0.14);
  --error-border: rgba(239, 68, 68, 0.35);
  --error-text: #fca5a5;

  --success-bg: rgba(34, 197, 94, 0.14);
  --success-border: rgba(34, 197, 94, 0.35);
  --success-text: #86efac;

  --warning-bg: rgba(234, 179, 8, 0.14);
  --warning-border: rgba(234, 179, 8, 0.35);
  --warning-text: #fde047;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.45);
  --glow-ambient: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(99, 102, 241, 0.14), transparent 70%);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: var(--glow-ambient);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-primary);
}

/* Accessibility: Skip Link & Screen Reader Helpers */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--border-focus);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-badge {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.logo-text span {
  color: var(--accent-primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background-color: var(--bg-secondary);
}

/* Main Content Area */
main {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--pill-text);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

.hero h1 span {
  color: var(--accent-primary);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Usage Notice Banner */
.compliance-notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 auto 1.75rem;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
.compliance-notice strong {
  color: var(--text-primary);
}

/* Tool Form Box */
.tool-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin: 0 auto 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.input-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.url-textarea {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.875rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.url-textarea::placeholder {
  color: var(--text-muted);
}
.url-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.15);
}

.tool-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.example-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-try-example {
  background: none;
  border: none;
  color: var(--accent-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 0.875rem;
}

/* Primary Pill Button */
.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-gradient-hover);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Secondary Button */
.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Status Alert Banners */
.status-container-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.status-banner {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.status-banner.error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
}
.status-banner.warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}
.status-banner.success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

/* Skeleton Loading Card */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.skeleton-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}
.skeleton-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Result Card */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.song-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .song-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.song-cover {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-secondary);
}

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

.song-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.song-creator {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.song-creator span {
  font-weight: 600;
  color: var(--text-primary);
}

.song-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Tags */
.song-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tag-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Lyrics Accordion */
.lyrics-section {
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lyrics-summary {
  padding: 0.75rem 1rem;
  background-color: var(--bg-secondary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lyrics-content {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  white-space: pre-wrap;
  background-color: var(--bg-input);
  color: var(--text-secondary);
  max-height: 220px;
  overflow-y: auto;
  line-height: 1.7;
}

/* Download Grid Tiles */
.downloads-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.download-tile {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.download-tile:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.tile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.tile-title {
  font-weight: 700;
  font-size: 1rem;
}
.tile-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--pill-bg);
  color: var(--pill-text);
  text-transform: uppercase;
  flex-shrink: 0;
}
.tile-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tile-action {
  margin-top: auto;
}
.tile-btn {
  width: 100%;
  justify-content: center;
}

/* Format Selector */
.format-select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Download All Banner */
.download-all-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* AdSense Container (Hidden until Publisher ID + Slot ID configured) */
.ad-slot-wrapper {
  display: none;
  max-width: 760px;
  margin: 2rem auto;
  padding: 0.75rem 1rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
}
.ad-slot-wrapper.is-active {
  display: block;
}
.ad-slot-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.ad-slot-mount {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-slot-wrapper[data-ad-size="medium"] .ad-slot-mount {
  min-height: 250px;
}

/* Editorial Content Sections (SEO & AdSense Publisher Depth) */
.editorial-section {
  max-width: 960px;
  margin: 3rem auto 0;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subheading {
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  font-size: 0.96875rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.format-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.format-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.format-table th,
.format-table td {
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--border-color);
}
.format-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-primary);
}
.format-table tr:last-child td {
  border-bottom: none;
}
.format-table td {
  color: var(--text-secondary);
}

/* Content Pages (How-to, FAQ, About, etc.) */
.content-page {
  max-width: 800px;
  margin: 0 auto;
}
.content-page h1 {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.content-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.content-page p, .content-page li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.content-page ul, .content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.content-page .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content-page .faq-question {
  padding: 1.125rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.content-page .faq-answer {
  padding: 0 1.25rem 1.125rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  background-color: var(--bg-footer);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Mobile Responsive Refinements */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.625rem 0;
    gap: 0.5rem;
  }

  .header-inner nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
  }

  .nav-links {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.875rem;
    padding: 0.25rem 0.25rem;
  }

  main {
    padding: 1.5rem 0 2.5rem;
  }

  .hero {
    margin-bottom: 1.5rem;
  }

  .hero p {
    font-size: 0.96875rem;
  }

  .compliance-notice {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    text-align: left;
  }

  .tool-box,
  .result-card,
  .skeleton-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .url-textarea {
    font-size: 1rem;
  }

  .tool-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .example-hint {
    justify-content: space-between;
  }

  .tool-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .skeleton-row {
    flex-direction: column;
    align-items: center;
  }

  .song-cover {
    width: 120px;
    height: 120px;
  }

  .song-title {
    font-size: 1.4rem;
  }

  .song-stats,
  .song-tags {
    justify-content: center;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-all-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .download-all-bar .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .editorial-section {
    margin-top: 2.25rem;
  }

  .format-table th,
  .format-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.875rem;
  }

  .content-page h1 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
