:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: #302d27;
  background: #faf9f6;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  background: #85622d;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 14px 22px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ab843d;
  outline-offset: 4px;
}
p {
  line-height: 1.8;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px max(24px, calc((100vw - 1060px) / 2));
  border-bottom: 1px solid #e6e1d7;
  background: #fffdf9;
}
.brand {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.05em;
}
.brand span {
  font-size: 12px;
  color: #807566;
  margin-left: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.topbar > a:last-child {
  font-size: 13px;
  color: #6d665b;
}
main {
  max-width: 1000px;
  margin: auto;
  padding: 60px 24px 36px;
}
.intro {
  margin-bottom: 38px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #896c3f;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1.35;
}
.intro > p:not(.meta) {
  margin-top: 18px;
  color: #6e675d;
  font-size: 16px;
}
.meta {
  color: #7e7567;
  font-size: 12px;
  margin-top: 20px;
}
.back,
.next {
  display: inline-block;
  font-size: 14px;
  color: #806136;
  padding: 12px 0;
}
.run-card {
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid #ded8cc;
}
.run-card h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
}
.run-card > p:not(.eyebrow) {
  color: #6e675d;
  margin: 12px 0;
}
.run-card > span {
  font-size: 12px;
  color: #896c3f;
}
.run-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 6px;
}
[data-scenes] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 32px;
}
[data-scenes] a {
  font-size: 13px;
  padding: 12px 16px;
  border: 1px solid #e1dbcf;
  border-radius: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
[data-scenes] a[aria-current] {
  background: #302d27;
  color: #fff;
  border-color: #302d27;
}
.manuscript {
  max-width: 780px;
  margin: auto;
  padding: 42px 48px;
  background: white;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
}
.manuscript h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
}
.context {
  font-size: 14px;
  color: #7b7266;
  margin: 18px 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee8df;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
  font-size: 17px;
  line-height: 2;
  letter-spacing: -0.025em;
}
#vote,
.receipt,
.archive-note {
  max-width: 780px;
  margin: 28px auto 0;
  padding: 30px;
  background: #f2eee5;
  border-radius: 12px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend,
.receipt h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: white;
  border: 1px solid #ded5c7;
  border-radius: 9px;
  cursor: pointer;
}
.choices label:has(input:checked) {
  border-color: #85622d;
  background: #eee5d4;
}
.choices input {
  accent-color: #85622d;
}
label[for="comment"] {
  font-size: 14px;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  border: 1px solid #d6cfc2;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  margin: 10px 0;
  line-height: 1.7;
  color: inherit;
}
#vote button {
  margin: 20px 0 10px;
}
.muted {
  color: #7b7164;
}
.small {
  font-size: 12px;
}
.receipt p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 12px;
}
.error {
  padding: 14px 18px;
  margin: 12px 0;
  color: #a64135;
  background: #fff0eb;
  border-radius: 8px;
  font-size: 14px;
}
footer {
  margin-top: 48px;
  border-top: 1px solid #e4dfd4;
  padding-top: 24px;
  color: #8b8274;
  font-size: 12px;
}
#scene-title {
  scroll-margin-top: 24px;
}
@media (max-width: 600px) {
  main {
    padding: 32px 16px;
  }
  .topbar {
    padding: 18px 16px;
  }
  .brand span {
    display: none;
  }
  .manuscript {
    padding: 28px 22px;
  }
  .manuscript h2 {
    font-size: 22px;
  }
  .prose {
    font-size: 16px;
  }
  #vote,
  .receipt {
    padding: 24px 20px;
  }
  [data-scenes] {
    display: grid;
  }
  .run-card h3 {
    font-size: 22px;
  }
}
