@font-face {
  font-family: Inter; src: url('/static/inter-latin.woff2') format('woff2');
  font-style: normal; font-weight: 400 900; font-display: swap;
}
:root {
  color-scheme: light; --bg: #f8f8f6; --paper: #fffefa; --ink: #202128;
  --muted: #555862; --line: #d8d9db; --red: #bc2035; --red-hover: #9d1729;
  font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg);
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100svh; }
main { flex: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
input, button { font: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.12; }
h2 { font-size: 1.875rem; font-weight: 850; letter-spacing: -.045em; }
.frame { width: min(1144px, calc(100% - 64px)); margin-inline: auto; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid #216ab1; outline-offset: 4px; }
.mast :focus-visible { outline-color: #e9edf1; }
.skip { position: fixed; z-index: 9; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .65rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }

.mast { color: #fcfbf8; background: var(--ink); }
.mast-inner { min-height: 61px; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.27rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.mast nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.mast nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.mast nav a:hover, .mast nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.home { padding-block: 23px 60px; }
.edition { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 9px; margin-bottom: 19px; }
.edition span { font-weight: 790; font-size: 1.06rem; letter-spacing: -.025em; }
.edition time { white-space: nowrap; }
.edition a { white-space: nowrap; }
.edition a, .update { font-size: .82rem; font-weight: 600; color: var(--muted); text-underline-offset: 3px; }
.edition a:hover, .update:hover, .back:hover { color: var(--red); }
.hero { display: grid; align-items: center; gap: clamp(25px, 4.4vw, 60px); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'art copy'; }
.hero-copy { grid-area: copy; min-width: 0; }
.hero-eyebrow { margin-bottom: .65rem; color: var(--muted); font-size: .73rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); font-weight: 900; line-height: 1.02; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero-copy p { max-width: 40ch; color: var(--muted); line-height: 1.58; font-size: 1.03rem; margin: 16px 0 21px; }
.hero-action { display: flex; align-items: flex-start; flex-direction: column; gap: .53rem; }
.hero-action small { color: var(--muted); font-size: .8rem; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.hero-jump { color: var(--muted); font-size: .82rem; font-weight: 650; text-underline-offset: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 46px; padding: .67rem 1rem; background: var(--red); color: var(--paper); border: 1px solid var(--red); border-radius: 5px; font-size: .9rem; font-weight: 750; line-height: 1.28; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn:active { background: #821324; border-color: #821324; }
.btn.secondary { color: var(--ink); background: transparent; border-color: #9395a0; gap: .5rem; }
.btn.secondary:hover { background: #ececef; }
.hero-art { grid-area: art; position: relative; min-width: 0; aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; border: 1px solid #e2dedc; background: #34413f; isolation: isolate; }
.giveaway-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-packshots { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); padding: 6%; background: #eeede9; isolation: isolate; }
.hero-packshots img { flex: 1; min-width: 0; width: 0; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-packshots img:first-child { flex-grow: 1.5; }
.hero-timing { display: flex; gap: .7rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); max-width: 31rem; padding-top: 13px; margin-top: 18px; }
.hero-timing span { display: block; font-size: .73rem; margin-bottom: 2px; }
.hero-timing time { display: block; font-size: .84rem; font-weight: 650; }
.clock { font-size: 1.12rem; font-weight: 820; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.upcoming { margin-top: clamp(24px, 3.5vw, 42px); }
.upcoming h2 { font-size: 1.35rem; }
.upcoming ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; list-style: none; padding: 0; margin: .85rem 0 0; }
.upcoming li { min-width: 0; padding: .65rem; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.upcoming time { display: block; color: var(--muted); font-size: .74rem; margin-bottom: .16rem; }
.upcoming strong { display: block; font-size: .9rem; line-height: 1.3; }
.how { margin-top: clamp(38px, 6vw, 70px); }
.how ol { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 1.65rem; padding: 0; margin: 14px 0 0; }
.how li { display: flex; gap: .75rem; border-top: 1px solid var(--line); padding-top: 14px; }
.how li > span { color: var(--red); font-size: .78rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.how li strong { font-size: .94rem; font-weight: 750; }
.how p, .history p { font-size: .85rem; color: var(--muted); margin-top: .24rem; }

.inner { padding-block: 25px 55px; }
.back { display: inline-block; margin-bottom: 17px; font-size: .85rem; color: var(--muted); text-underline-offset: 3px; }
.panel { border: 1px solid var(--line); background: var(--paper); padding: clamp(18px, 4.5vw, 35px); border-radius: 6px; }
.auth { width: 100%; max-width: 480px; margin-inline: auto; }
.panel h1, .account-head h1 { font-size: clamp(1.95rem, 4vw, 2.8rem); letter-spacing: -.054em; font-weight: 880; }
.entry-brief { display: grid; gap: .28rem; border-bottom: 1px solid var(--line); margin: .95rem 0 1rem; padding-bottom: .7rem; }
.entry-brief span, .auth small, .switch { font-size: .82rem; color: var(--muted); }
.round-summary { display: flex; align-items: center; gap: .75rem; }
.round-summary img { flex: none; width: 64px; height: 64px; padding: 5px; object-fit: contain; border-radius: 4px; background: #eeede9; mix-blend-mode: multiply; }
.entry-brief p { color: var(--muted); font-size: .84rem; }
.draw-unavailable p { margin-block: .75rem; color: var(--muted); }
.draw-unavailable .clock { text-align: left; }
.draw-unavailable .btn { margin-top: .25rem; }
.auth form { display: flex; flex-direction: column; gap: .48rem; margin-top: 1.05rem; }
.auth label { font-size: .89rem; font-weight: 650; }
.auth input:not([type=checkbox],[type=hidden]) { width: 100%; min-height: 46px; padding: .6rem .65rem; background: var(--paper); color: var(--ink); border: 1px solid #91949f; border-radius: 4px; margin-bottom: .4rem; }
.auth input::placeholder { color: #686c77; }
.auth .btn { width: 100%; margin-top: .45rem; }
.hold-enabled .hold-submit { position: relative; isolation: isolate; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-touch-callout: none; }
.hold-enabled .hold-submit span { position: relative; }
.hold-enabled .hold-submit::before { content: ''; position: absolute; inset: 0; transform: scaleX(var(--hold-progress, 0)); transform-origin: left center; background: linear-gradient(90deg, #681640, #921c42); box-shadow: inset -3px 0 #f1ba6d; }
.hold-hint { color: var(--muted); font-size: .83rem; text-align: center; }
.hold-alternative { align-self: center; min-height: 40px; padding: .15rem .65rem; color: var(--ink); background: transparent; border: 0; font-size: .83rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hold-enabled[aria-busy="true"] .hold-submit { cursor: progress; }
.impact-layer { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.impact-layer i { position: absolute; }
.consent { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem .6rem; margin: .58rem 0; }
.consent input { width: 1.14rem; height: 1.14rem; accent-color: var(--red); margin: 0; }
.consent a { grid-column: 2; font-size: .81rem; color: var(--muted); }
.switch { margin-top: 17px; }
.switch a { color: var(--ink); }
.rules { max-width: 700px; }
.rules h2 { margin-top: 1.35rem; font-size: 1.33rem; }
.rules p { margin-top: .53rem; color: var(--muted); }

.calendar-heading {
  padding-block: .35rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.calendar-heading h1 {
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  font-weight: 880;
  letter-spacing: -.055em;
}
.calendar-heading p { color: var(--muted); font-size: .9rem; }
.calendar-heading .calendar-range {
  margin-block: .5rem .25rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}
.calendar-week { margin-top: clamp(23px, 3.3vw, 36px); }
.calendar-week h2 { margin-bottom: 10px; font-size: 1.23rem; letter-spacing: -.025em; }
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.calendar-day {
  display: grid;
  grid-template-areas: 'date' 'art' 'copy';
  grid-template-rows: auto auto 1fr;
  gap: .48rem;
  min-width: 0;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.calendar-day time {
  grid-area: date;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .35rem;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 650;
}
.calendar-art {
  grid-area: art;
  display: flex;
  align-items: center;
  gap: .2rem;
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: .38rem;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f1ef;
  isolation: isolate;
}
.calendar-art img {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.calendar-art img:first-child { flex-grow: 1.5; }
.calendar-copy { grid-area: copy; min-width: 0; }
.calendar-copy p { margin-top: .3rem; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.calendar-prize { display: block; font-size: .85rem; line-height: 1.32; overflow-wrap: anywhere; }
.calendar-featured { border-color: #c7b59b; }
.calendar-current { border-color: #7b6652; }
.calendar-today, .calendar-occasion { color: #704a34; font-size: .71rem; }
.calendar-occasion { display: block; margin-bottom: .23rem; font-weight: 650; }

@media (max-width: 1000px) {
  .calendar-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-day {
    grid-template-areas: 'art date' 'art copy';
    grid-template-columns: minmax(88px, 36%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: .65rem;
  }
  .calendar-art { align-self: center; }
}

@media (max-width: 640px) {
  .calendar-days { grid-template-columns: minmax(0, 1fr); }
  .calendar-day {
    padding: .7rem;
  }
}

.notice { margin: 0 0 .85rem; padding: .75rem .95rem; background: #eaf2e8; border: 1px solid #b4c7af; border-radius: 4px; color: #254b31; font-size: .9rem; }
.notice.error { background: #f8ebea; border-color: #e2b3ae; color: #861e24; }

.cabinet { max-width: 840px; }
.account-head, .today, .section-head, .history li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.account-head { margin-bottom: 22px; }
.account-head > div { min-width: 0; overflow-wrap: anywhere; }
.account-head p { font-size: .88rem; margin-top: .32rem; }
.today { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(14px, 3vw, 23px); margin-bottom: 30px; }
.today h2, .history h2 { font-size: 1.35rem; letter-spacing: -.035em; }
.today p { font-size: .85rem; margin-top: .46rem; }
.today-entry { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: .55rem; }
.history ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.history li, .empty { padding: 13px 0; border-bottom: 1px solid var(--line); }
.history li strong { font-size: .92rem; }
.empty { color: var(--muted); font-size: .87rem; }
.state { display: inline-flex; text-align: center; border: 1px solid #cbccd0; background: #ececef; color: #484a52; padding: .28rem .47rem; border-radius: 4px; font-size: .73rem; font-weight: 700; flex-shrink: 0; }
.state.entered, .state.won { background: #e9f2e6; border-color: #b8cdb3; color: #285439; }
.state.awaiting_draw { background: #faf0da; border-color: #e0c997; color: #704900; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer .frame { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-block: 17px; }
.footer a:hover { color: var(--red); }

@media (max-width: 820px) {
  .frame { width: calc(100% - 40px); }
  .hero { gap: 22px; }
  .hero-copy p { margin-block: 11px 14px; }
}
@media (max-width: 680px) {
  .frame { width: calc(100% - 32px); }
  .mast-inner { min-height: 54px; }
  .wordmark { font-size: 1.16rem; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'art'; gap: 17px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.3rem); letter-spacing: -.055em; }
  .hero-copy p { font-size: .92rem; margin-block: 9px 12px; }
  .hero-timing { margin-top: 14px; padding-top: 8px; }

  .home { padding-top: 16px; }
  .edition { margin-bottom: 14px; }
  .how ol { grid-template-columns: 1fr; gap: .7rem; }
  .upcoming ul { grid-template-columns: 1fr; }
  .upcoming .round-summary img { width: 46px; height: 46px; }
  .how { margin-top: 30px; }
  .how h2 { font-size: 1.55rem; }
  .footer .frame { flex-wrap: wrap; }
}
@media (max-width: 470px) {
  .nav-rules { display: none; }
  .mast-inner, .mast nav { gap: .75rem; }
  .account-head { align-items: flex-start; gap: .7rem; }
  .account-head .btn { min-height: 42px; padding-inline: .58rem; font-size: .8rem; }
  .today { align-items: flex-start; flex-direction: column; }
  .today-entry { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .history li { align-items: flex-start; gap: .55rem; }
  .history p { font-size: .79rem; }
  .state { max-width: 104px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .12s ease, transform .15s ease; }
  .btn:active { transform: scale(.97); }
  .hold-enabled .hold-submit::before { transition: transform .22s ease-out; }
  .hold-enabled .hold-submit.is-charging::before { transition: none; }
}
