/* Christmas in Downey Radio — locked palette (see docs/standards/locks-registry.md) */
:root {
  --evergreen: #0f3d2e;
  --evergreen-deep: #0a2b20;
  --gold: #d9b45a;
  --cream: #f5ecd7;
  --cream-dim: #d8cfb9;
  --tap: 44px;
  --serif: Georgia, "Times New Roman", "Liberation Serif", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--evergreen);
  color: var(--cream);
  font-family: var(--serif);
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, #165240 0%, var(--evergreen) 55%, var(--evergreen-deep) 100%);
}

main {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  text-align: center;
}

.top {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem 0;
}

.lang { display: flex; gap: 0.25rem; }

.lang-btn {
  min-width: var(--tap);
  min-height: var(--tap);
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--evergreen-deep);
}

.star {
  width: 64px;
  height: 64px;
  margin-top: 1rem;
  fill: var(--gold);
}

h1 {
  margin: 0.5rem 0 0.25rem;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.tagline { margin: 0; font-size: 1.15rem; }
.langs { margin: 0.25rem 0 0; color: var(--cream-dim); font-style: italic; }

.player { margin: 2rem 0 1.5rem; }

.listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 64px;
  min-width: 16rem;
  padding: 0 2rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--evergreen-deep);
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.listen:disabled {
  background: transparent;
  color: var(--cream-dim);
  border-color: var(--cream-dim);
  cursor: default;
}

.listen[aria-pressed="true"] {
  background: var(--evergreen-deep);
  color: var(--gold);
}

.listen:focus-visible, .lang-btn:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.status { margin: 1rem 0 0; color: var(--cream-dim); }

.now { margin-top: 1.25rem; }
.now p { margin: 0; }
.now-label { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }
.now-title { font-size: 1.3rem; margin-top: 0.25rem !important; }
.now-artist, .now-album { color: var(--cream-dim); }

.nativity { margin: 1.5rem 0; }

.nativity-art {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.verse { font-style: italic; }
.verse p { margin: 0; }
.cite { color: var(--gold); font-style: normal; font-size: 0.9rem; margin-top: 0.25rem !important; }

footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .listen { transition: background 0.2s, color 0.2s; }
}
