@font-face {
  font-family:Manrope;
  src:url(assets/manrope.woff2) format("woff2");
  font-weight:200 800;
  font-display:swap;
}

:root {
  --navy:#09253f;
  --ink:#14334b;
  --ice:#eaf3fa;
  --card:#f5fbff;
  --muted:#4d667c;
  --line:#d8e8f3;
  --red:#b21f46;
  --red-hover:#931a3c;
  --focus:#176a94;
  --shell:1200px;
  font:550 16px/1.45 Manrope,system-ui,sans-serif;
  background:var(--ice);
  color:var(--ink);
  color-scheme:light;
  scroll-padding-top:94px;
}

* { box-sizing:border-box }
body { margin:0; min-inline-size:0 }
h1,h2,h3,p,ul,dl,dd { margin:0 }
h1,h2,h3,strong,b { font-weight:800 }
h1,h2 { letter-spacing:-.035em; line-height:1.1 }
h1 { font-size:clamp(1.48rem,3vw,2.45rem) }
h2 { font-size:clamp(1.42rem,2.9vw,2.15rem) }
button,input,select { font:inherit }
button { color:inherit }
button:not(:disabled) { cursor:pointer }
button:disabled { cursor:not-allowed }
[hidden] { display:none!important }
a { color:inherit; text-underline-offset:.2em }
a:hover { text-decoration-thickness:2px }
img { display:block; height:auto; max-width:100% }
:focus-visible { outline:3px solid var(--focus); outline-offset:4px }
:is(.top,.masthead,.draw,.footer) :focus-visible { outline-color:#90d5ff }
.account :focus-visible { outline-color:var(--focus) }
.sprite { position:absolute; width:0; height:0; pointer-events:none }
.icon { width:1.25em; height:1.25em; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round }
.shell { width:min(calc(100% - 48px),var(--shell)); margin-inline:auto }
.narrow,.mast-inner { width:min(calc(100% - 48px),750px); margin-inline:auto }
.skip { position:fixed; top:8px; left:14px; z-index:10; transform:translateY(-160%); padding:10px 14px; border-radius:12px; background:white }
.skip:focus { transform:translateY(0) }

.button,.icon-button {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid transparent;
  border-radius:999px;
  text-decoration:none;
  line-height:1.2;
  font-weight:800;
  transition:background-color .18s,box-shadow .18s,transform .16s;
}
.button { min-height:50px; padding:11px 20px; text-align:center }
.button:not(:disabled):active,.icon-button:not(:disabled):active,.bonus-card:active { transform:scale(.98) }
.button.primary { background:var(--red); color:white; box-shadow:0 7px 19px #8417373b }
.button.primary:not(:disabled):hover { background:var(--red-hover) }
.button.secondary,.icon-button { color:var(--ink); background:white; border-color:#d1e3ef }
.button.secondary:not(:disabled):hover,.icon-button:not(:disabled):hover { background:#e5f1f9 }
.button.navy { background:var(--navy); color:white }
.button.navy:not(:disabled):hover { background:#1d4262 }
.button:disabled:not([data-busy]) { background:#456078; color:#ecf5ff; border-color:transparent; box-shadow:none }
.button.wide { width:100% }
.button.small { min-height:42px; font-size:.9rem }
.icon-button { width:43px; height:43px; padding:0; flex:none }
.icon-button>span { display:none }
:is(button,label)[data-busy] { cursor:wait }
:is(button,label)[data-busy] .icon { visibility:hidden }
:is(button,label)[data-busy]>span { opacity:.42 }
.spinner,:is(button,label)[data-busy]::after {
  content:"";
  width:18px;
  height:18px;
  display:inline-block;
  border:2px solid currentColor;
  border-inline-end-color:transparent;
  border-radius:50%;
  animation:spin .7s linear infinite;
}
:is(button,label)[data-busy]::after { position:absolute; inset:0; margin:auto }
@keyframes spin { to { transform:rotate(360deg) } }

.top { position:sticky; inset-block-start:0; z-index:5; background:var(--navy); color:white }
.top-inner { height:84px; position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; transition:height .2s ease }
.brand { display:block; flex:none }
.brand img { width:140px }
.top-actions,.top-links { display:flex; align-items:center; gap:10px }
.top-links { position:absolute; inset-inline-start:50%; transform:translateX(-50%) }
.header-title { text-transform:uppercase; letter-spacing:.12em; font-size:.8rem; font-weight:800; white-space:nowrap }
.demo-label { color:#deefff; background:#264664; padding:4px 8px; border-radius:8px; font-size:.8rem; font-weight:750 }
.menu-button { color:#f5fbff; background:#183a56; border-color:#436079 }
.menu-button:not(:disabled):hover { background:#31536e }
.top.compact .top-inner { height:62px }
.top.compact .brand img { width:126px }
.top.compact .top-links { display:none }
.quick.button { min-height:41px; padding:8px 13px; font-size:.83rem }
#notice:empty { display:none }
.notice { padding:11px 20px; text-align:center; color:#183e59; background:#d9eaf6; font-size:.9rem }

.auth-page {
  display:grid;
  min-height:calc(100svh - 200px);
  justify-items:center;
  align-content:center;
  padding:clamp(26px,6vh,58px) 16px;
  background:radial-gradient(ellipse at 50% 18%,#19405e,var(--navy) 64%);
}
.auth-shell { width:min(100%,480px); min-width:0 }
.auth-brand {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.auth-brand .campaign-wordmark { width:min(65%,245px) }
.auth-flake { width:clamp(44px,12vw,64px); object-fit:contain }
.auth-card {
  overflow:hidden;
  padding:clamp(20px,5vw,32px);
  border:1px solid var(--line);
  border-radius:26px;
  background:var(--card);
}
.auth-card h1 { font-size:clamp(1.45rem,5vw,1.95rem); margin-bottom:15px }
.auth-loading { display:flex; align-items:center; gap:10px; color:var(--muted) }

.masthead { background:var(--navy); color:white; padding:28px 0 35px }
.mast-inner { display:flex; flex-direction:column; gap:21px }
.campaign-lockup { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:74px }
.campaign-wordmark { width:min(320px,100%); }
.campaign-lockup p { margin-top:9px; color:#d0e8ff; font-size:.79rem; text-transform:uppercase; letter-spacing:.12em; font-weight:800 }
.campaign-flake { width:74px; object-fit:contain }
.account {
  min-width:0;
  min-height:188px;
  padding:22px 26px;
  border-radius:28px;
  border:1px solid #e2edf5;
  background:var(--card);
  color:var(--ink);
}
.eyebrow { text-transform:uppercase; letter-spacing:.13em; font-size:.78rem; font-weight:800; line-height:1.35; color:#506f87 }
.account .eyebrow { margin-bottom:5px }
.account-note { color:var(--muted); margin-top:8px }
.account-grid { display:flex; align-items:center; justify-content:space-between; gap:12px }
.identity { min-width:0 }
.identity h1 { overflow-wrap:anywhere; font-variant-numeric:tabular-nums }
.identity .quiet { color:#285c79; font-size:.93rem }
.profile-line { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px }
.profile-line>span { color:var(--muted); font-size:.95rem }
.account-coupons { display:flex; flex:none; align-items:center; gap:9px; line-height:1.1 }
.coupon-illustration { width:64px; height:64px; object-fit:contain }
.coupon-copy { display:grid; gap:3px }
.coupon-copy strong { font-size:clamp(1.9rem,4vw,3rem); line-height:1; letter-spacing:-.045em }
.coupon-copy span { color:#415e73; font-weight:800; font-size:.88rem }
.account-rule { padding-top:14px; border-top:1px solid #d9e9f4; margin-top:14px; font-size:.9rem; color:#3b586f }

.offers { display:grid; gap:24px; padding-block:32px 62px }
.benefits { display:grid; grid-template-columns:1.6fr 1fr; gap:20px }
.benefit-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;
  min-width:0;
  min-height:118px;
  padding:12px;
  list-style:none;
  background:white;
  border-radius:24px;
}
.benefit-steps li { display:flex; align-items:center; gap:8px; justify-content:center; min-width:0; padding:3px 9px; line-height:1.22 }
.benefit-steps li+li { border-inline-start:1px solid #e2edf5 }
.benefit-steps img { width:54px; height:54px; object-fit:contain; flex:none }
.benefit-steps strong { display:block; font-size:.92rem }
.benefit-steps small,.bonus-description small { display:block; color:#405e74; font-size:.86rem; margin-top:3px; line-height:1.3 }
.bonus-card {
  isolation:isolate;
  overflow:hidden;
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  border:0;
  border-radius:24px;
  background:linear-gradient(120deg,#c8e8fa,#e0f1fb 65%,#c9e6f7);
  text-align:left;
  transition:box-shadow .18s,transform .18s;
}
.bonus-card:hover { box-shadow:0 6px 22px #1b5c8330 }
.bonus-mark { display:grid; place-items:center; flex:none; width:57px; height:57px; border-radius:17px; background:var(--navy); color:white; font-size:1.47rem; font-weight:800 }
.bonus-description strong { display:block; font-size:clamp(1rem,2vw,1.2rem); letter-spacing:-.02em }
.bonus-flake { position:absolute; inset-inline-end:-8px; inset-block-start:-32px; width:125px; opacity:.42; z-index:-1 }

.wide-card {
  width:min(100%,1136px);
  min-width:0;
  margin-inline:auto;
  display:flex;
  align-items:center;
  gap:22px;
  min-height:176px;
  padding:24px clamp(20px,4vw,46px);
  border-radius:28px;
  background:white;
}
.wide-copy { flex:1 1 auto; min-width:0 }
.wide-copy p:not(.eyebrow) { margin-top:8px; color:var(--muted) }
.scan-illustration { width:120px; height:120px; object-fit:contain; flex:none }
.registration-card .button { flex:none; min-width:min(100%,240px); background-color:var(--red); }
.registration-card .button:not(:disabled):hover { background-color:var(--red-hover) }
.gift-card { min-height:186px }
.gift-illustration { width:112px; height:138px; flex:none; display:grid; place-items:center }
.gift-shirt { display:block; position:relative; width:100%; aspect-ratio:1 }
.gift-shirt>img:first-child { width:100%; height:100%; object-fit:contain }
.gift-shirt-print { position:absolute; width:36%; top:23%; left:32% }
.gift-eyebrow { margin-bottom:6px }
.gift-title { display:flex; align-items:center; flex-wrap:wrap; gap:7px 12px }
.gift-status { display:inline-flex; padding:5px 9px; border-radius:999px; background:#e6f2fa; color:#2b526f; font-size:.85rem; font-weight:800 }
.gift-status.waiting { background:#dcedde; color:#24633c }
.desk-hours { display:flex; gap:8px; align-items:flex-start; border-radius:15px; padding:12px; background:#edf6fc; color:#315471; flex:none; font-size:.88rem }
.desk-hours strong { display:block; color:#173e5a }
.desk-hours .icon { margin-top:1px }
.gift-issued { min-height:90px }
.gift-issued h2 { font-size:1.16rem }
.gift-issued .gift-illustration { width:56px; height:56px }
.gift-check { color:#256449; background:#dcf1e9; border-radius:50%; padding:8px; display:grid; place-items:center; flex:none }

.draw { background:var(--navy); color:#f5fbff }
.draw-inner { min-height:365px; display:flex; align-items:center; justify-content:center; gap:clamp(28px,5vw,88px); padding-block:44px }
.draw-art { width:min(40%,340px); position:relative; flex:none }
.draw-machine { display:block; width:100%; aspect-ratio:700/510 }
.draw-chamber {
  position:absolute; inset:0;
  clip-path:polygon(11.9% 21.1%,67.1% 26.4%,64.6% 51.6%,67.7% 70%,15.7% 65.7%,8.2% 44%);
}
.draw-chamber::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(141deg,#f8fdff20,transparent 33% 53%,#abdefb28 74%,#b2ddff36);
}
.draw-ball {
  position:absolute; inset:var(--y) auto auto var(--x); width:var(--size);
  border-radius:50%; translate:-50% -50%; rotate:var(--angle);
  filter:drop-shadow(2px 3px 3px #0b2a4961);
}
.draw-ball:nth-child(1) { --x:36%; --y:39%; --size:16.5%; --angle:-14deg }
.draw-ball:nth-child(2) { --x:21%; --y:48%; --size:17%; --angle:-8deg }
.draw-ball:nth-child(3) { --x:57.5%; --y:44.5%; --size:16%; --angle:8deg }
.draw-ball:nth-child(4) { --x:46%; --y:51%; --size:16.5%; --angle:13deg }
.draw-ball:nth-child(5) { --x:31%; --y:60%; --size:17%; --angle:-4deg }
.draw-ball:nth-child(6) { --x:52%; --y:62%; --size:16.5%; --angle:8deg }
.draw-copy { display:grid; gap:11px; width:min(100%,475px) }
.draw-copy .eyebrow { color:#b2d8f4 }
.draw-copy h2 { font-size:clamp(1.7rem,4.4vw,2.9rem); }
.draw-copy>p:not(.eyebrow) { color:#deeffc }
.draw-location,.presence-confirmed { display:flex; align-items:center; gap:8px }
.draw-actions { display:grid; gap:8px; justify-items:start; margin-top:5px }
.draw-actions .button { min-width:min(100%,245px) }
.draw-note,.draw-today { font-size:.88rem; line-height:1.35 }
.draw-note { color:#cde5f5 }
.draw-today { padding:7px 10px; border-radius:11px; color:#ffe2ed; background:#662647; font-weight:800 }
.presence-confirmed { border-radius:12px; padding:8px 12px; color:#17553f; background:#d9f2e9; font-weight:800 }
.draw-copy>a { justify-self:start }

.history { padding-block:47px 42px }
.history-heading { position:relative; text-align:center; margin-bottom:17px }
.history-heading h2 { font-size:clamp(1.65rem,4vw,2.63rem) }
.history-heading .refresh { position:absolute; inset-inline-end:0; top:50%; transform:translateY(-50%); width:37px; height:37px }
.tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; padding:5px; border-radius:999px; background:#deeff9 }
.tab { min-height:43px; padding:6px 5px; border:0; border-radius:999px; background:transparent; font-size:.93rem; font-weight:800; transition:background-color .18s,color .18s }
.tab:not([aria-selected=true]):hover { background:#f2f9fd }
.tab[aria-selected=true] { background:var(--navy); color:white }
[role=tabpanel] { padding-top:14px; animation:appear .2s ease-out }
.totals { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:auto auto; border-radius:22px; padding:14px; margin-bottom:12px; background:white }
.totals>div { display:grid; grid-row:span 2; grid-template-rows:1fr auto; grid-template-rows:subgrid; row-gap:5px; padding:5px 9px; min-width:0 }
.totals>div+div { border-inline-start:1px solid #e8f1f7 }
.totals dt { color:#4f6a80; font-size:.81rem; line-height:1.25 }
.totals dd { font-size:1.1rem; font-weight:800; margin:0; overflow-wrap:anywhere }
.receipt-table,.history-error,.history-raffle,.empty,.coupon-list>li { border-radius:22px; background:white }
.receipt-table,.coupon-list { overflow:hidden }
.record-row { display:grid; grid-template-columns:1.2fr .9fr 1fr .95fr; align-items:start; gap:8px; padding:13px 16px; min-width:0; font-size:.9rem }
.record-row+.record-row { border-top:1px solid #e4eef5 }
.record-row>div { min-width:0; overflow-wrap:anywhere }
.table-head { color:#547084; background:#f8fcff; text-transform:uppercase; font-size:.75rem; font-weight:800 }
.date-cell,.status-cell p { color:#49667b }
.status-cell p { font-size:.83rem; margin-top:3px }
.multiplier { width:max-content; max-width:100%; display:block; padding:2px 6px; margin-top:3px; border-radius:7px; background:#f8e0e9; color:#8e1740; font-weight:800; font-size:.81rem }
.record-status { font-weight:800 }
.record-status.ok { color:#236843 }
.record-status.bad { color:#942443 }
.record-status.pending,.record-status.profile { color:#825015 }
.empty,.history-raffle,.history-error { display:grid; justify-items:center; text-align:center; gap:7px; padding:22px 16px }
.history-error>.empty { padding:0 }
.empty p,.history-raffle p,.coupon-list p { color:var(--muted) }
.empty-icon { display:grid; place-items:center; color:#285777; width:35px; height:35px; border-radius:50%; background:#e6f2fb }
.history-raffle a { color:#23516f; font-size:.92rem; font-weight:800 }
.date-source { font-size:.85rem }
.draw-timer { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; width:min(100%,420px); padding-block:8px }
.timer-cell { display:grid; gap:3px; min-width:0; border-radius:13px; padding:9px 4px; background:#e5f2fa }
.timer-cell strong { font-size:clamp(1.25rem,4vw,2rem); line-height:1; font-variant-numeric:tabular-nums }
.timer-cell span { color:#46667e; font-size:.83rem }
.winner-list { color:#205943; text-align:left; padding-inline-start:20px }
.coupon-tools { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.coupon-tools input { flex:1 1 170px }
.coupon-list { display:grid; gap:7px; padding:0; list-style:none }
.coupon-list>li { display:grid; align-items:center; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; padding:10px 13px }
.coupon-list strong { overflow-wrap:anywhere }

.footer { background:var(--navy); color:#dceefc }
.footer-inner { display:flex; align-items:center; gap:28px; padding-block:26px }
.footer-brand { flex:none }
.footer-brand img { width:140px }
.footer nav { display:flex; align-items:center; gap:2px 16px; flex-wrap:wrap }
.footer nav .quiet,.powered,.footer-age { color:#d5eaff; font-size:.85rem }
.powered { text-decoration:none }
.powered:hover { text-decoration:underline }

@media (max-width:1010px) {
  .benefit-steps li { flex-direction:column; text-align:center; gap:5px }
  .benefit-steps img { width:45px; height:45px }
}
@media (max-width:820px) {
  .benefits { grid-template-columns:1fr; gap:14px }
  .bonus-card { min-height:72px; padding:12px 15px }
  .bonus-mark { width:46px; height:46px; border-radius:13px }
  .gift-card { flex-wrap:wrap }
  .gift-card>.wide-copy { flex-basis:calc(100% - 144px) }
  .desk-hours { margin-inline-start:134px }
}
@media (max-width:600px) {
  :root { scroll-padding-top:70px }
  .shell,.narrow,.mast-inner { width:calc(100% - 32px) }
  .top-inner { height:64px }
  .brand img,.top.compact .brand img { width:103px }
  .header-title { font-size:.67rem; letter-spacing:.07em }
  .demo-label {
    position:absolute;
    inset-block-start:calc(100% + 3px);
    inset-inline-start:50%;
    transform:translateX(-50%);
    font-size:.72rem;
    padding:1px 5px;
  }
  .menu-button { width:38px; height:38px }
  .top.compact .top-inner { height:57px }
  .top-actions { gap:7px }
  .quick.button { padding-inline:8px; font-size:.76rem; gap:4px; min-height:37px; }
  .masthead { padding:13px 0 22px }
  .mast-inner { gap:15px }
  .campaign-lockup { order:1; min-height:57px }
  .campaign-wordmark { width:215px }
  .campaign-lockup p { font-size:.69rem; letter-spacing:.08em; margin-top:6px }
  .campaign-flake { width:53px }
  .account { min-height:0; border-radius:22px; padding:15px 13px }
  .identity .quiet { font-size:.83rem }
  .account h1 { font-size:clamp(1.13rem,5vw,1.6rem); }
  .account .eyebrow { font-size:.67rem; letter-spacing:.09em }
  .account-coupons { gap:4px }
  .coupon-illustration { width:40px; height:45px }
  .coupon-copy span { font-size:.77rem }
  .account-rule { margin-top:8px; padding-top:9px; font-size:.85rem }
  .offers { gap:17px; padding-block:16px 28px }
  .benefit-steps { min-height:110px; padding:9px 3px }
  .benefit-steps li { padding-inline:4px }
  .benefit-steps strong { font-size:.84rem }
  .benefit-steps small { font-size:.77rem }
  .wide-card { border-radius:22px; gap:12px; padding:20px 16px }
  .registration-card { flex-direction:column; text-align:center }
  .scan-illustration { width:94px; height:94px }
  .registration-card .button { width:100%; }
  .gift-card { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start }
  .gift-card>.gift-illustration { grid-column:2; grid-row:1; width:70px; height:91px; }
  .gift-card>.wide-copy { grid-column:1; grid-row:1 }
  .gift-card .gift-title { display:grid; gap:7px }
  .gift-status { justify-self:start; font-size:.78rem }
  .desk-hours { grid-column:1/-1; margin:0 }
  .gift-issued { padding:14px; gap:9px }
  .gift-issued h2 { font-size:1rem }
  .draw-inner { flex-direction:column; align-items:stretch; gap:9px; min-height:0; padding-block:22px 26px }
  .draw-copy { display:contents }
  .draw-copy .eyebrow { order:0 }
  .draw-copy h2 { order:1 }
  .draw-art { width:min(220px,66%); margin:0 auto; order:2 }
  .draw-copy>p:not(.eyebrow) { order:3 }
  .draw-actions,.draw-copy>a { order:4 }
  .draw-actions .button { width:100% }
  .history { padding-block:28px }
  .history-heading { margin-bottom:13px }
  .tabs { padding:4px; gap:3px }
  .tab { font-size:.88rem; min-height:39px }
  .totals { grid-template-columns:1fr; grid-template-rows:none; gap:4px; border-radius:16px; padding:11px 14px }
  .totals>div { display:flex; grid-row:auto; align-items:baseline; justify-content:space-between; padding:3px 0; gap:6px; }
  .totals>div+div { border:0 }
  .totals dt,.totals dd { font-size:.87rem; }
  .record-row { gap:5px; padding:8px; grid-template-columns:1.08fr .9fr 1fr .92fr; font-size:.79rem }
  .table-head { font-size:.7rem }
  .multiplier { font-size:.72rem; padding-inline:4px }
  .footer-inner { align-items:flex-start; flex-direction:column; gap:12px; padding-block:21px }
  .footer-brand img { width:110px }
}
@media (max-width:366px) {
  .shell,.narrow,.mast-inner { width:calc(100% - 22px) }
  .header-title { width:100px; white-space:normal; text-align:center }
  .brand img,.top.compact .brand img { width:85px }
  .quick.button .icon { display:none }
  .gift-card .gift-illustration { width:57px; height:74px }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important }
}
