/* Shared skin for the public interior pages. Data logic stays page-specific. */
:root {
  --ink-soft: #514330;
  --ink-faint: #6b5a42;
  --rule-strong: #b8a781;
  --spine-deep: #af492a;
  --panel-dark: #201a12;
  --panel-dark-text: #ecdfc0;
}
.inner-page {
  margin-bottom: 38px;
}
.page-panel {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 38px;
  border-top: 4px solid #ffca05;
  box-shadow: 0 -4px #f99a00, 0 -8px #ef5800, 0 -12px #cb2e06;
  margin-top: 16px;
}
.page-header {
  margin-bottom: 30px;
  max-width: 65ch;
}
.page-header .eyebrow {
  margin: 0 0 12px;
  color: #843819;
}
.page-header h1 {
  font-family: Fraunces, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.page-header .dek {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.updated-caption {
  font-size: 12px;
  color: var(--ink-faint);
}
.section-title {
  font: 500 17px/1.4 Oswald, sans-serif;
  letter-spacing: .6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.search-box {
  font-family: 'Public Sans', sans-serif;
  min-height: 48px;
  min-width: 0;
  width: 100%;
  border-radius: 0;
}
.playlist-panel {
  border: 1px solid var(--rule-strong);
  border-radius: 0;
}
.song-table thead th {
  font-size: 12px;
  padding: 15px 12px;
}
.song-table tbody td {
  font-size: 13px;
  padding: 14px 12px;
}
.song-table .title-cell {
  font-size: 15px;
  font-weight: 500;
}
.song-table tbody tr:nth-child(even) {
  background: #201a1206;
}
.view-toggle {
  border-radius: 0;
  border: 1px solid var(--ink);
}
.view-toggle button {
  min-height: 46px;
  font-size: 13px;
}
.view-toggle button.active {
  background: var(--rust);
  color: #fff5e2;
}
.stat-grid {
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}
.stat-tile {
  padding: 24px 18px;
}
.stat-tile .num {
  font: 400 clamp(32px, 4vw, 48px)/1.1 Fraunces, serif;
}
.stat-tile .lbl {
  font-size: 12px;
}
.collection-hero {
  background: #dfd2b4;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
}
.highlight-row .v {
  white-space: normal;
  text-align: right;
  max-width: 65%;
}
.decade-row .bar-track {
  height: 17px;
}
.origin-copy {
  max-width: none;
}
.origin-copy p {
  font-family: Fraunces, serif;
  font-size: 19px;
  line-height: 1.7;
}
.about-portrait {
  width: 36%;
  max-width: 350px;
  margin: 4px 0 24px 34px;
}
.about-portrait img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.policy-copy {
  max-width: 70ch;
  line-height: 1.8;
}
.policy-copy h2 {
  font-size: 25px;
  margin-top: 28px;
}
button:focus-visible, input:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .page-panel {
    padding: 24px 18px;
  }
  .about-portrait {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 26px;
  }
  .origin-copy p {
    font-size: 17px;
  }
  .stat-tile {
    padding: 18px 12px;
  }
}
