:root {
  --navy: #0b1f33;
  --blue: #2b6cb0;
  --gold: #c9a227;
  --cream: #f6f0e6;
  --ink: #1a140c;
  --card: #fffdf8;
  --err: #8f1d1d;
  --ok: #1f5d3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--ink); }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.45;
  min-height: 100vh;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
}
.brand { display: flex; gap: 0.7rem; align-items: center; color: inherit; text-decoration: none; font-weight: 700; }
.brand img { border-radius: 50%; background: var(--cream); }
main { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-size: 2rem; margin: 0 0 0.4rem; color: var(--navy); }
.lede, .note { color: #4a4033; }
.hero { text-align: center; }
.hero img { border-radius: 50%; background: #fff; }
.card {
  background: var(--card);
  border: 1px solid #e4d8c2;
  border-radius: 16px;
  padding: 1rem 1.1rem 1.2rem;
  margin: 1rem 0;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.06);
}
label, legend { display: block; font-weight: 600; margin: 0.8rem 0 0.35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cfc3ad;
  border-radius: 10px;
  background: #fff;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.choice { font-weight: 400; display: flex; gap: 0.5rem; align-items: center; }
.choice input { width: auto; }
button, .button {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button.ghost, .ghost { background: transparent; color: var(--cream); border: 1px solid #7f91a3; }
button.copy { background: var(--blue); }
.error { background: #f8d7d7; color: var(--err); padding: 0.7rem 0.8rem; border-radius: 10px; }
.success { background: #d7f0e1; color: var(--ok); padding: 0.7rem 0.8rem; border-radius: 10px; }
.lyrics { white-space: pre-wrap; font-family: inherit; background: #f3ead8; padding: 0.8rem; border-radius: 10px; }
.steps { padding-left: 1.2rem; }
audio { width: 100%; margin: 0.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid #e4d8c2; vertical-align: top; }
.row-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.thumbs img { width: 100%; border-radius: 12px; background: #fff; }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
}
