.song-card {
  display: block;
  padding: var(--spacing-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.92));
  border: 1px solid rgba(160, 181, 228, 0.58);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(18, 34, 71, 0.1);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.song-card::after,
.song-card:hover::after,
.song-card:focus-visible::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.song-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 255, 0.96));
  border-color: rgba(115, 156, 255, 0.78);
  box-shadow: 0 18px 36px rgba(18, 34, 71, 0.14);
  transform: translateY(-2px);
  color: var(--ink);
}

.song-card:link,
.song-card:visited,
.song-card:focus-visible,
.song-card:active {
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.song-card:hover {
  -webkit-text-fill-color: currentColor;
}

.song-card strong,
.song-card span,
.song-card br + span,
.song-card .card-meta {
  color: inherit;
}

html[data-theme="light"] .song-card,
html:not([data-theme="dark"]) .song-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.92)) !important;
  border-color: rgba(160, 181, 228, 0.58) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: 0 14px 30px rgba(18, 34, 71, 0.1) !important;
}

html[data-theme="light"] .song-card:hover,
html:not([data-theme="dark"]) .song-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 255, 0.96)) !important;
  border-color: rgba(115, 156, 255, 0.78) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: 0 18px 36px rgba(18, 34, 71, 0.14) !important;
}

.values-heading {
  color: var(--color-primary-blue);
  margin-bottom: var(--spacing-sm);
}

@media (prefers-color-scheme: dark) {
  .values-heading { color: #6eb3ff; }

  .song-card {
    background: rgba(16, 24, 43, 0.88);
    border-color: rgba(101, 127, 184, 0.42);
    color: #f5f9ff;
    box-shadow: 0 18px 36px rgba(5, 8, 17, 0.34);
  }

  .song-card:hover {
    background: rgba(20, 30, 53, 0.94);
    border-color: rgba(121, 161, 255, 0.64);
    color: #f5f9ff;
    box-shadow: 0 22px 42px rgba(5, 8, 17, 0.4);
  }
}
html[data-theme="dark"] .values-heading { color: #6eb3ff; }

html[data-theme="dark"] .song-card,
html.dark-mode .song-card {
  background: rgba(16, 24, 43, 0.88);
  border-color: rgba(101, 127, 184, 0.42);
  color: #f5f9ff;
  box-shadow: 0 18px 36px rgba(5, 8, 17, 0.34);
}

html[data-theme="dark"] .song-card:hover,
html.dark-mode .song-card:hover {
  background: rgba(20, 30, 53, 0.94);
  border-color: rgba(121, 161, 255, 0.64);
  color: #f5f9ff;
  box-shadow: 0 22px 42px rgba(5, 8, 17, 0.4);
}

.lyrics-archive-header {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

#main-content > section > h2 {
  margin: 0 0 12px;
  padding: 0 0 12px;
  background: none;
  border: 0;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  position: relative;
}

#main-content > section > h2::before {
  content: none !important;
  display: none !important;
}

#main-content > section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(184, 208, 255, 0.18);
}

.lyrics-archive-dek {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: var(--spacing-md) auto 0;
}

.lyrics-archive-intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.lyrics-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.card-meta {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.prose,
.archive-list {
  line-height: 1.8;
}

.prose-spaced,
.archive-list {
  line-height: 1.8;
  margin-top: var(--spacing-md);
}

.prose-indent {
  line-height: 1.8;
  margin-left: var(--spacing-md);
}

.section-stack {
  margin-top: var(--spacing-lg);
}

.essay-stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.essay-panel {
  border-radius: 22px;
  border: 1px solid rgba(160, 181, 228, 0.34);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 0 20px 42px rgba(18, 34, 71, 0.14);
  padding: 22px;
}

.essay-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.essay-panel > h2 {
  margin: 0 0 14px;
  padding: 0 0 14px;
  background: none;
  border: 0;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  position: relative;
}

.essay-panel > h2::before {
  content: none !important;
  display: none !important;
}

.essay-panel > h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(184, 208, 255, 0.18);
}

.essay-pull-quote {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(71, 114, 223, 0.12);
  border: 1px solid rgba(109, 149, 255, 0.24);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 600;
}

.archive-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(183, 199, 235, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 18px rgba(31, 74, 162, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.archive-inline-link::after,
.archive-inline-link:hover::after,
.archive-inline-link:focus-visible::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.archive-inline-link:link,
.archive-inline-link:visited,
.archive-inline-link:focus-visible,
.archive-inline-link:active {
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.archive-inline-link:hover {
  transform: translateY(-1px);
  color: #13274f;
  -webkit-text-fill-color: currentColor;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(160, 181, 228, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(31, 74, 162, 0.12);
}

html[data-theme="light"] .archive-inline-link,
html:not([data-theme="dark"]) .archive-inline-link {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: rgba(183, 199, 235, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 18px rgba(31, 74, 162, 0.08) !important;
}

html[data-theme="light"] .archive-inline-link:hover,
html:not([data-theme="dark"]) .archive-inline-link:hover {
  color: #13274f !important;
  -webkit-text-fill-color: currentColor !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(160, 181, 228, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(31, 74, 162, 0.12) !important;
}

@media (prefers-color-scheme: dark) {
  .archive-inline-link {
    background: rgba(20, 30, 53, 0.72);
    color: #f5f9ff;
    border-color: rgba(101, 127, 184, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(5, 8, 17, 0.28);
  }

  .archive-inline-link:hover {
    color: #f5f9ff;
    background: rgba(26, 39, 69, 0.9);
    border-color: rgba(121, 161, 255, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(5, 8, 17, 0.34);
  }
}

html[data-theme="dark"] .archive-inline-link,
html.dark-mode .archive-inline-link {
  background: rgba(20, 30, 53, 0.72);
  color: #f5f9ff;
  border-color: rgba(101, 127, 184, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(5, 8, 17, 0.28);
}

html[data-theme="dark"] .archive-inline-link:hover,
html.dark-mode .archive-inline-link:hover {
  color: #f5f9ff;
  background: rgba(26, 39, 69, 0.9);
  border-color: rgba(121, 161, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(5, 8, 17, 0.34);
}

html[data-theme="dark"] .essay-panel,
html.dark-mode .essay-panel {
  background: rgba(16, 24, 43, 0.88);
  border-color: rgba(101, 127, 184, 0.42);
  box-shadow: 0 22px 42px rgba(5, 8, 17, 0.34);
}

html[data-theme="dark"] .essay-panel > h2,
html.dark-mode .essay-panel > h2 {
  color: #f8fbff;
}

html[data-theme="dark"] .essay-panel > h2::after,
html.dark-mode .essay-panel > h2::after {
  background: rgba(184, 208, 255, 0.18);
}

html[data-theme="dark"] .essay-pull-quote,
html.dark-mode .essay-pull-quote {
  background: rgba(32, 53, 98, 0.52);
  border-color: rgba(109, 149, 255, 0.3);
  color: #f5f9ff;
}

html[data-theme="dark"] #main-content > section > h2,
html.dark-mode #main-content > section > h2 {
  color: #f8fbff;
}

html[data-theme="dark"] #main-content > section > h2::after,
html.dark-mode #main-content > section > h2::after {
  background: rgba(184, 208, 255, 0.18);
}
