@font-face {
  font-family: Bricolage;
  src: url(/fonts/bricolage.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(/fonts/dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(/fonts/plex-mono.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --ink: #15382d;
  --muted: #526257;
  --paper: #faf9f0;
  --butter: #ffce5c;
  --line: #cacebc;
  --display: Bricolage, Arial, sans-serif;
  --mono: Plex, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.5 DM,
    Arial,
    sans-serif;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
button,
.action-primary,
.action-secondary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #2f7aee;
  outline-offset: 4px;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -12rem;
  left: 1rem;
  background: #fff;
  padding: 1rem;
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}
.mast {
  border-bottom: 1px solid #cccfbf;
}
.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 1.68rem/1 var(--display);
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img {
  display: block;
}
.nav-wrap nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-wrap nav > a {
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}
.nav-wrap nav > a:hover,
.choose:hover,
.footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-gift,
.quiet-btn {
  background: transparent;
  color: inherit;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
}
.nav-gift {
  padding: 9px 16px;
}
.nav-gift svg,
.action-primary svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.nav-gift:hover,
.quiet-btn:hover {
  background: #eeefdc;
}
.hero {
  margin-top: 28px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #103c2f;
  border: 2px solid #183e31;
  box-shadow: 0 4px 0 #9aa48d;
  border-radius: 19px;
  color: #faf8e8;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image: radial-gradient(#b7d1a4 0.8px, transparent 0.8px);
  background-size: 6px 6px;
}
.hero-copy {
  padding: 38px 0 42px 46px;
  z-index: 1;
}
.series,
.eyebrow,
.modal-kicker {
  font: 500 0.76rem/1.3 var(--mono);
  letter-spacing: 0.075em;
}
.series {
  display: flex;
  width: max-content;
  gap: 10px;
  align-items: center;
  color: #ffdf8d;
  margin: 0 0 18px;
}
.series i {
  width: 24px;
  height: 1px;
  background: #a5a980;
}
.pixel-star {
  font-size: 1.2rem;
  line-height: 0.6;
  color: var(--butter);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
.modal-title {
  font-family: var(--display);
}
h1 {
  font-size: clamp(3rem, 5.55vw, 5.05rem);
  line-height: 0.97;
  letter-spacing: -0.022em;
  font-weight: 750;
}
h1 em {
  font-style: normal;
  color: var(--butter);
}
.intro {
  margin: 20px 0 22px;
  color: #e0e9d8;
  max-width: 410px;
  line-height: 1.5;
  font-size: 1.04rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.action-primary,
.action-secondary {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font:
    700 0.96rem/1.25 DM,
    Arial,
    sans-serif;
  padding: 12px 17px;
  border: 1.5px solid var(--ink);
  min-height: 44px;
}
.action-primary {
  background: var(--butter);
  color: #172f23;
  box-shadow: 0 3px 0 #09261c;
}
.action-primary:hover {
  background: #ffdd85;
  transform: translateY(-1px);
}
.choose {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 8px 0;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #92a89a;
}
.hero-art {
  align-self: stretch;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.hero-art img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 9%,
    #000 93%,
    transparent
  );
  image-rendering: auto;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #103c2f 0%,
    transparent 8%,
    transparent 92%,
    #103c2f 100%
  );
  opacity: 0.9;
}
.wall {
  margin-top: 38px;
  scroll-margin-top: 18px;
}
.wall-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.eyebrow {
  color: #4b6352;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 8px;
}
.stripes {
  width: 18px;
  height: 12px;
  display: inline-block;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0 3px,
    #59816b 3px 5px
  );
}
.wall h2,
.guide h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.wall h2 span,
.guide h2 span {
  color: #e37b42;
}
.remaining {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border: 1px solid #cbd1c0;
  background: #f0f2e6;
  border-radius: 99px;
  padding: 5px 12px;
  font: 500 0.8rem var(--mono);
  margin-bottom: 3px;
}
.green-light {
  width: 8px;
  height: 8px;
  background: #427d49;
  border-radius: 50%;
  margin-right: 5px;
}
.wall-sub {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 1rem;
}
.tickets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  background: #eeeee1;
  border: 1px solid #ccd0bd;
  border-radius: 14px;
  padding: 18px;
}
.ticket {
  --paper-ticket: #ffcf68;
  --ticket-ink: #64471c;
  --print: #bd8b36;
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  height: 84px;
  padding: 0;
  border: 1.5px solid var(--ticket-ink);
  border-radius: 6px;
  color: var(--ticket-ink);
  background: var(--paper-ticket);
  box-shadow: 0 3px 0
    color-mix(in srgb, var(--ticket-ink) 78%, var(--paper-ticket));
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.ticket:nth-child(4n + 2),
.ticket:nth-child(8n + 8) {
  --paper-ticket: #a9d6b2;
  --ticket-ink: #28503a;
  --print: #70a981;
}
.ticket:nth-child(4n + 3),
.ticket:nth-child(8n + 5) {
  --paper-ticket: #e0c9f0;
  --ticket-ink: #554566;
  --print: #b794c6;
}
.ticket:nth-child(4n),
.ticket:nth-child(8n + 6) {
  --paper-ticket: #f9b39c;
  --ticket-ink: #6e4332;
  --print: #d39374;
}
.ticket:nth-child(8n + 7) {
  --paper-ticket: #ffcf68;
  --ticket-ink: #64471c;
  --print: #bd8b36;
}
.ticket:before,
.ticket:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 13px;
  background: #eeeee1;
  transform: translateY(-50%);
  z-index: 1;
}
.ticket:before {
  left: -1.5px;
  border: 1px solid var(--ticket-ink);
  border-left: none;
  border-radius: 0 100% 100% 0;
}
.ticket:after {
  right: -1.5px;
  border: 1px solid var(--ticket-ink);
  border-right: none;
  border-radius: 100% 0 0 100%;
}
.ticket-face {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  margin: 6px 0 6px 6px;
  border: 1px solid var(--print);
  border-right: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 4px,
    color-mix(in srgb, var(--print) 28%, transparent) 4px 5px
  );
}
.ticket-face:after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 22px;
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--ticket-ink) 0 1px,
    transparent 1px 3px,
    var(--ticket-ink) 3px 5px,
    transparent 5px 7px
  );
  opacity: 0.65;
}
.ticket-num {
  position: absolute;
  top: 4px;
  left: 7px;
  padding: 0 2px;
  background: var(--paper-ticket);
  font: 500 0.71rem/1.2 var(--mono);
}
.ticket-num:before {
  content: "#";
}
.ticket-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--paper-ticket);
  border: 2px solid var(--ticket-ink);
  outline: 1px solid var(--print);
  outline-offset: 3px;
  border-radius: 50%;
  font: 800 2.1rem/1 var(--display);
  text-shadow: 1px 1px var(--paper-ticket);
  transform: rotate(-7deg);
}
.ticket-stub {
  align-self: stretch;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font: 500 0.66rem/1 var(--mono);
  letter-spacing: 0.18em;
  border-left: 2px dashed var(--print);
  margin: 3px 0;
  padding: 3px 0;
}
.ticket:hover:not(:disabled) {
  transform: translateY(-3px) rotate(-0.6deg);
  box-shadow: 0 5px 0 var(--print);
}
.ticket.is-open {
  filter: saturate(0.4);
  opacity: 0.78;
}
.ticket.is-open .ticket-mark {
  border-radius: 4px;
}
.sheet-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
}
.odds,
.odds span {
  display: flex;
  align-items: center;
}
.odds {
  gap: 20px;
}
.odds span {
  gap: 6px;
  font: 500 0.79rem var(--mono);
}
.pip {
  height: 9px;
  width: 9px;
  border: 1px solid #637362;
  border-radius: 50%;
}
.classic {
  background: #a9d6b2;
}
.select {
  background: #cfb2e5;
}
.rare {
  background: #ffce5c;
}
.quiet-btn {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 5px;
  font-size: 0.88rem;
}
.live-status:empty {
  display: none;
}
.live-status {
  font-size: 0.9rem;
  margin-top: 4px;
}
.status-retry,
.inline-action {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.guide {
  margin: 34px 0 45px;
  padding-top: 31px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  scroll-margin-top: 24px;
}
.guide h2 {
  font-size: 2.5rem;
}
.questions details {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.questions details:first-child {
  padding-top: 0;
}
.questions summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.questions summary::after {
  content: "+";
  font: 600 1.2rem var(--mono);
}
.questions details[open] summary::after {
  content: "−";
}
.questions p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-top: 7px;
  max-width: 64ch;
}
.inline-action {
  padding: 0;
  margin-top: 8px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 19px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand.small {
  font-size: 1.12rem;
  gap: 8px;
}
.footer > a:last-child {
  font-size: 0.9rem;
}
dialog {
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 34px;
  width: min(490px, calc(100% - 28px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
}
dialog::backdrop {
  background: #0a291f99;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  width: 34px;
  height: 34px;
  font: 400 1.8rem/1 DM;
  border-radius: 6px;
}
.close:hover {
  background: #e8eada;
}
.modal-kicker {
  color: #626b4a;
  text-transform: uppercase;
  margin: 0 20px 12px 0;
}
.modal-title {
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.result-name {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
}
.modal-title:focus {
  outline: none;
}
#modal-body > p {
  margin-bottom: 13px;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
}
.modal-actions + .modal-actions {
  border-top: 1px dashed var(--line);
  padding-top: 15px;
}
.name-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.name-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 9px 5px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.name-choice:hover {
  background: #e9edde;
}
.name-price {
  font: 500 0.85rem var(--mono);
  white-space: nowrap;
}
.action-secondary {
  background: transparent;
  border-color: #a4af99;
}
.action-secondary:hover {
  background: #e9edde;
}
.fine {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.result-costs {
  margin-bottom: 15px;
  border-block: 1px solid #bac5ad;
}
.cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.cost-row + .cost-row {
  border-top: 1px dashed #c3c9b9;
}
.field {
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid #97a88d;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.94rem;
}
.legal {
  max-width: 720px;
  margin: 40px auto 70px;
  padding: 0 16px;
}
.legal h1 {
  font-size: 3.1rem;
  margin-bottom: 20px;
}
.legal h2 {
  margin: 22px 0 5px;
  font-size: 1.45rem;
}
.legal p {
  margin-bottom: 12px;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 385px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-copy {
    padding: 30px 0 34px 28px;
  }
  .hero {
    min-height: 312px;
  }
  .intro {
    font-size: 0.97rem;
  }
  .nav-wrap nav {
    gap: 22px;
  }
  .ticket {
    height: 76px;
  }
  .tickets {
    gap: 12px;
    padding: 14px;
  }
  .hero-buttons {
    gap: 16px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .nav-wrap {
    height: 64px;
  }
  .brand {
    font-size: 1.35rem;
    gap: 7px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .nav-wrap nav {
    gap: 10px;
  }
  .nav-wall,
  .nav-how {
    display: none;
  }
  .nav-gift {
    font-size: 0.86rem;
    padding: 7px 10px;
  }
  .nav-gift svg {
    width: 17px;
  }
  .hero {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }
  .hero-copy {
    padding: 24px 22px 0;
  }
  .series {
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(3rem, 10.6vw, 4rem);
  }
  .intro {
    margin: 13px 0 17px;
    max-width: 370px;
  }
  .hero-buttons {
    gap: 14px;
  }
  .hero-buttons .action-primary {
    font-size: 0.86rem;
    padding: 10px 12px;
  }
  .choose {
    font-size: 0.84rem;
  }
  .hero-art {
    height: 176px;
    width: 100%;
    margin: 4px auto 3px;
  }
  .hero-art img {
    object-fit: contain;
  }
  .wall {
    margin-top: 29px;
  }
  .wall h2 {
    font-size: 2.35rem;
  }
  .eyebrow {
    font-size: 0.69rem;
  }
  .remaining {
    padding: 5px 8px;
    font-size: 0.68rem;
  }
  .green-light {
    margin-right: 1px;
    width: 6px;
    height: 6px;
  }
  .wall-sub {
    font-size: 0.93rem;
    margin: 8px 0 14px;
  }
  .tickets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }
  .ticket {
    height: 65px;
  }
  .ticket-num {
    font-size: 0.6rem;
    top: 2px;
    left: 2px;
  }
  .ticket-mark {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
  }
  .ticket-stub {
    width: 21px;
    font-size: 0.57rem;
  }
  .ticket-face {
    margin: 4px 0 4px 4px;
  }
  .ticket-face:after {
    width: 12px;
    right: 3px;
    bottom: 3px;
    height: 4px;
  }
  .odds {
    gap: 11px;
  }
  .odds span {
    font-size: 0.65rem;
  }
  .guide {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0 27px;
  }
  .sheet-meta {
    padding-bottom: 0;
  }
  .guide h2 {
    font-size: 2.1rem;
  }
  dialog {
    padding: 27px 22px;
  }
  .modal-title {
    font-size: 2rem;
  }
}
@media (max-width: 390px) {
  .tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-buttons {
    gap: 12px;
  }
  .brand {
    font-size: 1.22rem;
  }
  .hero-art {
    height: 140px;
  }
  .guide {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

@media (max-width: 680px) {
  .wall-head {
    display: block;
    position: relative;
  }
  .remaining {
    position: absolute;
    right: 0;
    top: -4px;
  }
  .wall .eyebrow {
    margin-bottom: 11px;
  }
}

.collectible {
  --card-paper: #c4e1bf;
  position: relative;
  background-color: var(--card-paper);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 5px,
    #294b3010 5px 6px
  );
  border: 1.5px solid #52664d;
  box-shadow: 0 3px 0 #98a58c;
  border-radius: 7px;
  padding: 19px 14px 17px;
  margin: 12px 0 19px;
  animation: reveal-card 0.32s ease-out;
}
.collectible[data-tier="Select"] {
  --card-paper: #e7d5f2;
}
.collectible[data-tier="Rare"] {
  --card-paper: #ffdb85;
}
.collectible::after {
  content: "";
  background: repeating-linear-gradient(
    90deg,
    #3e4b39 0 2px,
    transparent 2px 4px,
    #3e4b39 4px 5px,
    transparent 5px 8px
  );
  position: absolute;
  top: 13px;
  right: 12px;
  width: 26px;
  height: 8px;
}
.collectible .modal-kicker {
  color: var(--ink);
  margin: 0 32px 8px 0;
}
.collectible .result-name {
  margin: 0;
  letter-spacing: -0.035em;
  font-size: clamp(1.6rem, 5vw, 2.45rem);
}
.modal-actions + .fine {
  margin: 14px 0 0;
}
@keyframes reveal-card {
  from {
    opacity: 0;
    transform: translateY(9px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .collectible {
    animation: none;
  }
}
