:root {
  --ink: #12213a;
  --ink-deep: #0a1526;
  --parchment: #ece6d8;
  --brass: #b8863b;
  --teal: #3a5f5f;
  --error: #c4634a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--parchment);
  font-family: "Newsreader", Georgia, serif;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.screen { width: 100%; display: flex; justify-content: center; }

.panel {
  width: 100%;
  max-width: 38rem;
  background: var(--ink);
  border: 1px solid rgba(184, 134, 59, 0.35);
  border-radius: 2px;
  padding: 2.5rem 2.75rem;
}

.eyebrow {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--brass);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.lede {
  line-height: 1.6;
  color: rgba(236, 230, 216, 0.85);
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.7rem;
  background: var(--ink-deep);
  border: 1px solid rgba(184, 134, 59, 0.4);
  border-radius: 2px;
  color: var(--parchment);
  font-family: inherit;
  font-size: 1rem;
}

input:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

button {
  width: 100%;
  padding: 0.75rem;
  background: var(--brass);
  color: var(--ink-deep);
  border: none;
  border-radius: 2px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

button:hover { background: #cb9a4e; }

.error {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.frame {
  border: 1px solid rgba(184, 134, 59, 0.4);
  background: var(--ink-deep);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.frame img { width: 100%; height: 100%; object-fit: cover; }

#illustration-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#illustration-placeholder svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.2;
  opacity: 0.6;
}

.body-text {
  line-height: 1.75;
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.choices button {
  background: transparent;
  color: var(--parchment);
  border: 1px solid var(--teal);
  border-left: 3px solid var(--brass);
  text-align: left;
  font-family: "Newsreader", serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.75rem 1rem;
}

.choices button:hover {
  background: rgba(184, 134, 59, 0.12);
}

details summary {
  color: var(--brass);
  cursor: pointer;
  font-size: 0.9rem;
}

#date-picker {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  background: var(--ink-deep);
  color: var(--parchment);
  border: 1px solid rgba(184, 134, 59, 0.4);
}
