@import url("styles.css");
:root {
  --bg: #140e11;
  --paper: #f1dfb6;
  --gold: #d8b76f;
  --muted: #bcae9c;
  --line: #584333;
  --red: #702830;
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "Courier Prime", "Courier New", monospace;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--serif);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.48;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10;
}
.skip:focus {
  top: 15px;
  background: var(--bg);
  padding: 12px;
}
.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 15%, #6b38272b, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      #f1dfb605 120px
    );
}
.show-shell {
  max-width: 1160px;
  margin: auto;
  padding: 0 48px;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.masthead a {
  text-decoration: none;
  color: var(--muted);
}
.masthead span {
  color: var(--gold);
}
.show-intro {
  text-align: center;
  padding: 68px 0 40px;
}
.eyebrow,
.event-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.17em;
  line-height: 1.8;
}
.eyebrow {
  color: var(--gold);
}
.eyebrow span {
  margin: 0 14px;
  font-size: 19px;
}
.show-intro h1 {
  font-size: clamp(68px, 9.4vw, 122px);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.065em;
  margin: 25px auto 27px;
}
.show-intro h1 em {
  font-weight: 400;
  color: var(--gold);
}
.dek {
  font-size: 22px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.3;
}
.event-date {
  font-size: 11px;
  color: #a5917c;
}
.phone-break {
  display: none;
}
.admission {
  max-width: 650px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.admission:has(#auth-status:empty) {
  margin-bottom: 0;
}
.invite-row {
  display: flex;
  gap: 10px;
  margin-top: 9px;
}
.invite-row input {
  min-width: 0;
  flex: 1;
  padding: 12px;
  background: #21181b;
  border: 1px solid var(--line);
  color: var(--paper);
}
.invite-row button {
  padding: 10px 18px;
  color: var(--bg);
  background: var(--gold);
  border: 0;
}
.stage {
  isolation: isolate;
  position: relative;
  border: 1px solid #96714d;
  border-radius: 2px;
  box-shadow:
    0 30px 80px #0005,
    inset 0 0 0 6px #140e11,
    inset 0 0 0 7px #8063464d;
  background:
    radial-gradient(ellipse at 50% 30%, #51212555, transparent 65%),
    linear-gradient(90deg, #39151d66, #140e1100 24%, #140e1100 76%, #39151d66);
  overflow: hidden;
}
.stage:before,
.stage:after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 13%;
  content: "";
  z-index: -1;
  opacity: 0.33;
  background: repeating-linear-gradient(
    90deg,
    #6d2934 0,
    #230e14 15%,
    #561b27 31%,
    #230e14 49%
  );
  pointer-events: none;
}
.stage:before {
  left: 0;
  transform: skewX(-4deg);
  transform-origin: top;
}
.stage:after {
  right: 0;
  transform: skewX(4deg);
  transform-origin: top;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 25px;
  padding: 0 0 15px;
  border-bottom: 1px solid #73523c69;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.stage-content {
  min-height: 416px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 18px 40px 32px;
  text-align: center;
}
.award-category {
  font: 11px/1.7 var(--mono);
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 26px 0 14px;
}
.stage h2 {
  font-size: clamp(40px, 5.5vw, 65px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0;
}
.stage h2 em {
  font-weight: 400;
}
.stage-copy {
  max-width: 430px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  margin: 17px 0 0;
}
.award-detail {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  line-height: 1.7;
  margin: 18px 0 0;
}
.winner {
  font-size: clamp(30px, 5vw, 57px);
  font-style: italic;
  color: var(--gold);
  margin: 20px 0 0;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.stage-bottom {
  padding: 19px 25px 23px;
  margin: 0 17px;
  border-top: 1px solid #73523c69;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.stage-bottom > p {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  max-width: 450px;
  margin: 0;
}
.show-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.primary {
  border: 1px solid var(--gold);
  color: #211410;
  background: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: bold;
  padding: 16px 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.primary span {
  margin-left: 15px;
}
.primary:hover:not(:disabled) {
  background: #f5d695;
}
.quiet {
  border: 0;
  border-bottom: 1px solid #b7946066;
  background: none;
  color: var(--gold);
  padding: 9px 0;
  font: 12px var(--mono);
}
.envelope-art {
  width: 190px;
  height: 130px;
  position: relative;
  margin: 3px 0 5px;
  filter: drop-shadow(0 12px 16px #0007);
  transform: rotate(-6deg);
}
.envelope-back {
  position: absolute;
  inset: 20px 0 0;
  background: #c8a566;
  border: 1px solid #e0c087;
}
.ballot-paper {
  position: absolute;
  inset: 0 14px 17px;
  background: #f0dfbb;
  color: #593d28;
  display: flex;
  justify-content: space-between;
  padding: 13px 14px;
  transform: rotate(3deg);
  font: 11px/1.2 var(--mono);
  letter-spacing: 0.12em;
  border: 1px solid #ab8b5b;
}
.ballot-paper b {
  font-size: 23px;
  color: #a37640;
}
.envelope-front {
  position: absolute;
  inset: 21px 0 0;
  background:
    linear-gradient(33deg, #b48c4f 49.5%, transparent 50%) 0 0/50% 100%
      no-repeat,
    linear-gradient(-33deg, #c8a164 49.5%, transparent 50%) 100% 0/50% 100%
      no-repeat,
    linear-gradient(155deg, transparent 49%, #dbc087 50%) 0 0/50% 100% no-repeat,
    linear-gradient(-155deg, transparent 49%, #cfb176 50%) 100% 0/50% 100%
      no-repeat;
}
.wax-seal {
  position: absolute;
  bottom: 16px;
  left: 79px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d7a16f;
  background: #842e35;
  border: 2px ridge #a54b4f;
  font-size: 20px;
  font-style: italic;
}
.show-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding: 28px 20px 30px;
  margin-bottom: 68px;
}
.show-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.show-strip strong {
  font-size: 37px;
  font-weight: 400;
  color: var(--gold);
}
.show-strip div span {
  font: 11px/1.6 var(--mono);
  max-width: 95px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.strip-star {
  font-size: 24px;
  color: #785839;
}
.show-strip > p {
  font-size: 17px;
  line-height: 1.4;
  font-style: italic;
  color: var(--muted);
}
.results-section {
  margin: 0 0 64px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: 42px;
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
}
.section-heading h2 em {
  color: var(--gold);
  font-weight: 400;
}
.fine-print {
  font: 12px/1.8 var(--mono);
  color: var(--muted);
  max-width: 800px;
}
.table-wrap {
  overflow: auto;
  margin: 28px 0 15px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font: 12px/1.6 var(--mono);
}
caption {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  padding-bottom: 15px;
}
th {
  text-align: left;
  color: var(--gold);
  font-weight: normal;
  font-size: 11px;
  letter-spacing: 0.04em;
}
th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
td:first-child {
  font: 20px var(--serif);
  color: var(--paper);
  overflow-wrap: anywhere;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
td:not(:first-child) {
  white-space: nowrap;
}
.awards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}
.award-card {
  border: 1px solid var(--line);
  padding: 24px;
}
.award-card h3 {
  font-size: 25px;
  font-weight: 400;
  margin: 0 0 10px;
}
.award-card p {
  font: 12px/1.8 var(--mono);
  color: var(--muted);
}
.award-card .award-winners {
  font: 26px var(--serif);
  color: var(--gold);
}
.envelopes {
  display: grid;
  gap: 16px;
}
.envelope {
  background: #231a1b;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}
.envelope summary {
  cursor: pointer;
  font-size: 22px;
  overflow-wrap: anywhere;
}
.envelope .micro,
.envelope-meta {
  font: 12px/1.8 var(--mono);
  color: var(--muted);
}
.envelope button {
  color: var(--paper);
}
.envelope .paper {
  color: #251d17;
}
.methods {
  margin: 0 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
}
.methods summary {
  font: 12px var(--mono);
  color: var(--gold);
  cursor: pointer;
  list-style: none;
}
.methods summary span {
  float: right;
}
.methods p,
.methods a {
  font: 12px/1.8 var(--mono);
}
.methods #source-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow: auto;
}
footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 40px;
  border: 0;
}
footer p {
  font-size: 25px;
  line-height: 1.25;
  margin: 0;
}
footer em {
  color: var(--gold);
}
footer span,
footer a {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.05em;
  color: var(--muted);
}
.stage.playing .envelope-art {
  display: none;
}
.stage.playing .stage-content {
  animation: enter 0.6s ease both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 700px) {
  .show-shell {
    padding: 0 22px;
  }
  .masthead {
    min-height: 62px;
    font-size: 11px;
  }
  .masthead > span {
    display: none;
  }
  .show-intro {
    padding: 48px 0 29px;
  }
  .show-intro h1 {
    font-size: 77px;
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .eyebrow span {
    margin: 0 4px;
  }
  .dek {
    font-size: 20px;
  }
  .event-date {
    font-size: 10px;
  }
  .phone-break {
    display: block;
  }
  .stage-top {
    font-size: 9px;
    margin: 17px 17px;
    gap: 8px;
  }
  .stage-content {
    padding: 15px 25px 28px;
    min-height: 400px;
  }
  .stage h2 {
    font-size: 47px;
  }
  .stage-copy {
    font-size: 17px;
  }
  .stage-bottom {
    flex-direction: column;
    text-align: center;
    padding: 18px 8px 23px;
    gap: 17px;
  }
  .stage-bottom > p {
    font-size: 11px;
  }
  .show-buttons {
    width: 100%;
    justify-content: center;
  }
  .show-buttons .primary {
    flex: 1;
  }
  .show-strip {
    gap: 12px;
    padding: 22px 0;
    margin-bottom: 45px;
    flex-wrap: wrap;
  }
  .show-strip > div {
    gap: 9px;
  }
  .show-strip strong {
    font-size: 31px;
  }
  .show-strip div span {
    font-size: 10px;
    max-width: 72px;
  }
  .show-strip > p {
    flex-basis: 100%;
    text-align: center;
    font-size: 15px;
    margin: 3px 0 0;
  }
  .show-strip > p br {
    display: none;
  }
  .strip-star:nth-of-type(2) {
    display: none;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .section-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .fine-print {
    font-size: 11px;
  }
  .awards-list {
    grid-template-columns: 1fr;
  }
  .table-wrap {
    margin-right: -10px;
  }
  .envelope {
    padding: 18px;
  }
  .methods {
    margin-bottom: 40px;
  }
  footer {
    align-items: start;
    flex-wrap: wrap;
  }
  footer span {
    order: 3;
    flex-basis: 100%;
  }
  footer p {
    font-size: 23px;
  }
}
@media (max-width: 360px) {
  .show-shell {
    padding: 0 15px;
  }
  .show-intro h1 {
    font-size: 66px;
  }
  .stage h2 {
    font-size: 41px;
  }
  .stage-top {
    letter-spacing: 0.03em;
  }
  .eyebrow {
    font-size: 9px;
  }
  .invite-row {
    flex-direction: column;
  }
  .show-strip div span {
    max-width: 65px;
  }
}

.honorable-mention {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  border: 1px dashed #705c41;
  background: #251d183b;
  padding: 31px;
  margin: -17px 0 65px;
}
.honorable-star {
  font-size: 43px;
  color: var(--gold);
  line-height: 1;
}
.honorable-mention .eyebrow {
  margin-top: 0;
  font-size: 11px;
}
.honorable-mention h2 {
  font-size: 37px;
  line-height: 1.02;
  font-weight: 400;
  margin: 14px 0;
  letter-spacing: -0.02em;
}
.honorable-mention h2 em {
  font-weight: 400;
  color: var(--gold);
}
.honorable-name {
  font-size: 21px;
  color: var(--paper);
  margin: 19px 0 10px;
}
.honorable-story {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.honorable-split {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 25px 0;
}
.honorable-split strong {
  font-size: 43px;
  color: var(--gold);
  font-weight: 400;
  font-variant-numeric: lining-nums;
}
.honorable-split span {
  font: 11px/1.9 var(--mono);
  color: var(--muted);
}
.honorable-provenance,
.honorable-limit {
  font: 11px/1.9 var(--mono);
  color: var(--muted);
  max-width: 650px;
}
.honorable-limit {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .honorable-mention {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
    margin: 0 0 45px;
  }
  .honorable-star {
    font-size: 32px;
  }
  .honorable-mention h2 {
    font-size: 34px;
  }
  .honorable-mention .eyebrow {
    font-size: 10px;
  }
  .honorable-story {
    font-size: 16px;
  }
  .honorable-split {
    gap: 14px;
  }
  .honorable-split strong {
    font-size: 38px;
  }
  .honorable-split span {
    font-size: 11px;
  }
}

/* ---- editorial v2: pre-reveal strip, reveal beat, held stamp ---- */
body:not(.revealed) .show-strip > div,
body:not(.revealed) .strip-star {
  display: none;
}
body:not(.revealed) .show-strip {
  justify-content: center;
  text-align: center;
}
body:not(.revealed) .show-strip > p {
  flex-basis: auto;
}
.stage-copy,
.dek {
  color: #cfc0ab;
}
.winner {
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-style: normal;
  margin: 26px 0 0;
  background: linear-gradient(100deg, #b98f4a 20%, #fff1c9 45%, #d8b76f 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  position: relative;
}
.winner::before {
  content: "✦  ✦  ✦";
  display: block;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  margin-bottom: 14px;
}
.stage.is-tie .winner {
  font-size: clamp(36px, 5.5vw, 72px);
}
.stage.is-won .award-category,
.stage.is-held .award-category {
  animation: enter 0.5s ease both;
}
.stage.is-won #award-title {
  animation: enter 0.6s 0.15s ease both;
}
.stage.is-won .winner {
  animation:
    unveil 0.9s 1.1s cubic-bezier(0.2, 0.9, 0.25, 1.15) both,
    shimmer 2.6s 2s ease-in-out both;
}
.stage.is-won .award-detail,
.stage.is-won .stage-copy {
  animation: enter 0.6s 1.7s ease both;
}
.stage.is-won::after,
.stage.is-won::before {
  transition: transform 0.9s 1s ease;
}
.stage.is-held .award-detail {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 18px;
  border: 2px solid #a54b4f;
  color: #e3a59a;
  transform: rotate(-3deg);
  font-size: 12px;
  letter-spacing: 0.06em;
  animation: stamp 0.45s 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
@keyframes unveil {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(14px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes stamp {
  from {
    opacity: 0;
    transform: rotate(-3deg) scale(1.6);
  }
  to {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
  }
}
.honorable-mention {
  margin-top: 0;
  border-color: #8a7050;
  background: linear-gradient(135deg, #2a1f1a66, #1a131500);
}
@media (prefers-reduced-motion: reduce) {
  .winner {
    background: none;
    color: var(--gold);
  }
}
.honorable-split strong {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .stage-top {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
/* ---- the show: full-screen canvas ceremony ---- */
.show-host {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0d0809;
}
.show-host canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body.show-on {
  overflow: hidden;
}
.show-controls {
  position: absolute;
  right: 16px;
  top: 12px;
  display: flex;
  gap: 8px;
}
.show-controls button {
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--gold);
  background: #0d0809cc;
  border: 1px solid #8063468c;
  padding: 9px 12px;
}
.show-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* ---- featured special mention ---- */
.honorable-mention {
  border: 1px solid #b8945a;
  background:
    radial-gradient(ellipse at 20% 0%, #d8b76f1f, transparent 60%),
    linear-gradient(135deg, #2a1f1a, #170f12);
  box-shadow: 0 24px 60px #0006, inset 0 0 0 5px #170f12, inset 0 0 0 6px #8063464d;
  padding: 40px;
}
.honorable-mention h2 {
  font-size: clamp(38px, 5vw, 58px);
}
.honorable-name {
  font-size: 26px;
  color: var(--gold);
  font-style: italic;
}
.honorable-feature {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(260px, 1.4fr);
  gap: 30px;
  align-items: center;
  margin: 26px 0;
}
.honorable-feature .honorable-split {
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}
.honorable-feature .honorable-split strong {
  font-size: 76px;
  line-height: 1;
}
.mention-map-wrap {
  margin: 0;
}
.mention-map {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, auto);
  gap: 3px;
}
.mention-map .tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font: 700 9px var(--mono);
  color: #fff;
  background: #2a1f20;
  border-radius: 1px;
  position: relative;
}
.mention-map .tile.empty {
  background: #1d1517;
}
.mention-map .pick-d {
  background: #3f6fb5;
}
.mention-map .pick-r {
  background: #b9503f;
}
.mention-map .miss {
  opacity: 0.45;
}
.mention-map .hit::after {
  content: "✓";
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 8px;
  color: #fff1c9;
}
.mention-map-wrap figcaption {
  font: 11px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 700px) {
  .honorable-mention {
    padding: 24px;
  }
  .honorable-feature {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .honorable-feature .honorable-split strong {
    font-size: 60px;
  }
  .mention-map .tile {
    font-size: 7px;
  }
}
