:root {
  --ink: #1c140f;
  --paper: #f6f1e8;
  --panel: #fffdf8;
  --line: #e4d8c8;
  --gold: #8d6230;
  --live: #9d2c2c;
  --muted: #6d6258;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--gold); }
.top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px 6vw;
  background: #24180f;
  color: #f6f1e8;
}
.brand { color: #f6f1e8; text-decoration: none; font-family: Georgia, serif; font-size: 1.4rem; }
nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a { color: #f6f1e8; text-decoration: none; }
main { padding: 28px 6vw 64px; }
footer { padding: 24px 6vw 40px; color: var(--muted); }
.hero, .card, form.panel, .verse {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero { padding: 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.player { background: #140e0b; border-radius: 8px; overflow: hidden; }
video, audio { width: 100%; display: block; background: #140e0b; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 99px; background: var(--live); color: white; font-size: 0.8rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.card { padding: 16px; }
.card h3 { margin: 8px 0; font-family: Georgia, serif; }
label { display: block; margin: 12px 0 4px; }
input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
button, .button {
  display: inline-block;
  margin-top: 12px;
  background: #24180f;
  color: #f6f1e8;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  cursor: pointer;
}
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.verse { padding: 8px 12px; margin: 6px 0; }
.verse b { color: var(--gold); margin-right: 8px; }
.error { color: var(--live); }
.ok { background: #efe6d6; padding: 10px 12px; border-radius: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) {
  .hero, .split { grid-template-columns: 1fr; }
  .top { display: block; }
}
