/* Birth Sky / Tools — scoped to tools.html */

.tool-card {
  margin-top: 1.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-card-header {
  margin-bottom: 1.5rem;
}

.tool-card-header h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.tool-lede {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.tool-lede strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-note {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-sm);
}

.birth-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
}

@media (min-width: 640px) {
  .birth-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-span {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field .req,
.field .opt {
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.field .req {
  color: var(--accent);
}

.field .opt {
  color: var(--text-muted);
}

.field-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.field-input:hover {
  border-color: var(--border-strong);
}

.field-input:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.field-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.form-error {
  margin: 1rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-sm);
}

.place-results {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.place-results-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.place-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.place-list button {
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.place-list button:hover,
.place-list button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.loading-panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
}

.loading-spinner {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: birth-spin 0.7s linear infinite;
}

@keyframes birth-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner {
    animation: none;
    border-top-color: var(--border-strong);
    opacity: 0.7;
  }
}

.results {
  margin-top: 1.75rem;
}

.results-meta {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.results-meta strong {
  color: var(--text);
}

.results-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .results-panels {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.panel {
  padding: 1rem 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.panel-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042f2e;
  background: var(--accent);
  border-radius: 999px;
}

.panel-tag-astro {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
}

.panel-note {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.starmap {
  width: 100%;
  height: min(420px, 70vw);
  min-height: 280px;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.natal-chart {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.natal-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.planet-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-family: var(--mono);
}

.planet-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.45rem;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.planet-list .pl-name {
  color: var(--accent);
}

.planet-list .pl-sign {
  color: var(--text-muted);
}

.tool-credits {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.credits-heading {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tool-credits ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.tool-credits li {
  margin-bottom: 0.35rem;
}

/* —— Special facts panel (full width under sky/chart) —— */

.panel-facts {
  margin-top: 1.25rem;
}

.facts-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.25rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
}

.facts-loading[hidden] {
  display: none !important;
}

.special-facts-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  counter-reset: fact;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.special-facts-list li {
  counter-increment: fact;
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 2.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.special-facts-list li::before {
  content: counter(fact);
  position: absolute;
  left: 0.75rem;
  top: 0.8rem;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--mono);
  color: #042f2e;
  background: var(--accent);
  border-radius: 999px;
}

.fact-tag {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  vertical-align: middle;
}

.fact-tag-history {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.35);
}

.fact-tag-place {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.35);
}

.fact-body {
  display: block;
  margin-top: 0.15rem;
}

.facts-attrib {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.facts-attrib a {
  color: var(--accent);
}

/* —— Hero landing after generate —— */

.results-hero {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background:
    radial-gradient(ellipse at top right, rgba(34, 211, 238, 0.14), transparent 55%),
    var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-date {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  color: var(--text);
}

.hero-place {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-fact {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-sm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.share-card-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.share-card-status[hidden] {
  display: none !important;
}

/* —— Ranked facts / more disclosure —— */

.special-facts-list li.is-hero {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12);
}

.special-facts-list li.is-hero::before {
  content: "★";
  font-size: 0.7rem;
}

.more-facts {
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.more-facts[hidden] {
  display: none !important;
}

.more-facts > summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
}

.more-facts > summary::-webkit-details-marker {
  display: none;
}

.more-facts > summary::before {
  content: "+ ";
  font-weight: 700;
}

.more-facts[open] > summary::before {
  content: "− ";
}

.more-facts-list {
  margin-top: 0.65rem;
}

.more-facts-list li::before {
  /* Continue numbering visually as secondary; keep simple */
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

/* —— Planet depth on tap —— */

.planet-list li {
  flex-wrap: wrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.planet-list li:hover,
.planet-list li:focus-within {
  border-color: var(--accent);
}

.planet-list li.is-open {
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

.planet-list button.pl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.planet-list button.pl-row:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.planet-depth {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-sm);
}

.planet-depth[hidden] {
  display: none !important;
}

.planet-depth-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .planet-list li {
    transition: none;
  }
}

/* —— Famous / shared births —— */

.panel-births {
  margin-top: 1.25rem;
}

.panel-tag-soft {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-strong);
}

.famous-births-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .famous-births-list {
    grid-template-columns: 1fr 1fr;
  }
}

.famous-births-list li {
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.4;
}

.birth-name {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.birth-year {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.85rem;
}

.birth-why {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.births-empty {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
}

/* —— Cultural calendars / traditions —— */

.panel-traditions {
  margin-top: 1.25rem;
}

.traditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .traditions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tradition-block {
  padding: 0.85rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.tradition-block h4 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.tradition-label {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.tradition-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tradition-body strong {
  color: var(--text);
  font-weight: 600;
}

/* Birth Sky observatory layout */
.birth-sky-section {
  padding: 2rem 0 4rem;
}

.birth-sky-inner {
  max-width: 74rem;
}

.tool-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tool-card-header {
  margin: 0;
  padding: 1.8rem 0 1.45rem;
  border-bottom: 1px solid rgba(103, 232, 249, 0.22);
}

.birth-sky-header .eyebrow {
  margin-bottom: 0.7rem;
  color: #f2c078;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.birth-sky-title {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.65rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.tool-lede {
  max-width: 43rem;
  margin: 0.8rem 0 0;
  color: #bdcbd8;
  font-size: 1.08rem;
  line-height: 1.55;
}

.privacy-disclosure {
  margin: 1rem 0 1.2rem;
  border: 1px solid rgba(242, 192, 120, 0.28);
  border-left: 3px solid #f2c078;
  background: rgba(15, 24, 30, 0.76);
}

.privacy-disclosure summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  color: #d5e0e8;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.privacy-disclosure summary::-webkit-details-marker {
  display: none;
}

.privacy-indicator {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: #f2c078;
  transform: rotate(45deg);
}

.privacy-disclosure summary strong {
  color: #f2c078;
  font-weight: 700;
}

.privacy-note {
  margin: 0;
  padding: 0 0.9rem 0.9rem 2.1rem;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  font-size: 0.85rem;
}

#birth-sky-form {
  padding: 1.35rem 1.45rem 1.2rem;
  background: rgba(10, 16, 22, 0.88);
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.birth-form-heading {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.birth-form-index {
  flex: 0 0 auto;
  margin: 0;
  color: #f2c078;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.birth-form-index span {
  color: var(--text);
}

.birth-form-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.birth-form-grid {
  gap: 1rem 1.15rem;
}

.field-label {
  color: #d5e0e8;
  font-size: 0.83rem;
}

.field-input {
  min-height: 3rem;
  border-color: #334651;
  background: #090e13;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field-input:hover {
  border-color: rgba(103, 232, 249, 0.62);
}

.field-input:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.14);
}

.field-hint {
  font-size: 0.78rem;
}

.form-actions {
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(103, 232, 249, 0.14);
}

#generate-btn {
  min-width: 12rem;
}

.place-results {
  background: #0b1117;
}

.loading-panel[hidden] {
  display: none !important;
}

.results {
  margin-top: 1.5rem;
}

.results-hero {
  padding: 1.5rem 1.55rem;
  background: linear-gradient(112deg, rgba(8, 89, 105, 0.34), rgba(14, 22, 28, 0.96) 60%, rgba(111, 76, 39, 0.16));
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.hero-kicker {
  color: #f2c078;
  font-family: var(--mono);
  letter-spacing: 0.1em;
}

.hero-date {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-place {
  margin-bottom: 1rem;
}

.hero-fact {
  background: rgba(7, 13, 18, 0.74);
  border-color: rgba(242, 192, 120, 0.26);
}

.results-meta {
  background: rgba(9, 14, 19, 0.8);
  border-left-color: #f2c078;
}

.results-panels {
  gap: 1rem;
}

.panel {
  padding: 1.15rem;
  background: rgba(10, 16, 22, 0.92);
  border-color: rgba(103, 232, 249, 0.18);
  border-radius: 6px;
}

.panel h3 {
  font-size: 1.08rem;
}

.starmap {
  border-color: rgba(103, 232, 249, 0.24);
  border-radius: 4px;
}

.tool-credits {
  margin-top: 1.6rem;
  padding-top: 1rem;
}

@media (max-width: 639px) {
  .birth-sky-section {
    padding-top: 1rem;
  }

  .tool-card-header {
    padding: 1.2rem 0 1.1rem;
  }

  .birth-sky-title {
    font-size: 2.65rem;
  }

  .tool-lede {
    font-size: 1rem;
  }

  .privacy-disclosure summary {
    align-items: flex-start;
    font-size: 0.83rem;
  }

  #birth-sky-form {
    padding: 1rem;
  }

  .birth-form-heading {
    display: block;
  }

  .birth-form-heading h2 {
    margin-top: 0.35rem;
    font-size: 1.2rem;
  }

  #generate-btn {
    width: 100%;
  }

  .results-hero {
    padding: 1.1rem;
  }

  .hero-date {
    font-size: 1.65rem;
  }

  .panel {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .birth-sky-header {
    animation: birth-sky-enter 520ms ease-out both;
  }

  #birth-sky-form {
    animation: birth-sky-enter 520ms 90ms ease-out both;
  }
}

@keyframes birth-sky-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-songs {
  margin-top: 1rem;
  border-color: rgba(242, 192, 120, 0.28);
}

.songs-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.songs-kicker {
  margin: 0 0 0.2rem;
  color: #f2c078;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.panel-songs .songs-heading-row h3 {
  display: block;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.panel-songs .panel-tag {
  flex: 0 0 auto;
  color: #f2c078;
  background: rgba(242, 192, 120, 0.08);
  border: 1px solid rgba(242, 192, 120, 0.32);
}

.top-songs-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.top-songs-list[hidden] {
  display: none !important;
}

.top-songs-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  min-height: 5.3rem;
  padding: 0.7rem 0.65rem;
  background: linear-gradient(145deg, rgba(17, 34, 40, 0.92), rgba(10, 16, 22, 0.92));
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-top: 2px solid rgba(242, 192, 120, 0.65);
}

.song-rank {
  color: #f2c078;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.song-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.song-title {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.song-artist {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.songs-source {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .top-songs-list {
    grid-template-columns: 1fr;
  }

  .top-songs-list li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    min-height: 0;
    padding: 0.7rem 0.75rem;
  }
}

@media (max-width: 420px) {
  .songs-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }
}
