@font-face {
  font-family: Erstoria;
  src: url('/assets/erstoria.woff2') format('woff2');
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #edf6f5;
  color: #163e45;
  font: 16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
button,input {
  font: inherit;
}
button,a,input,summary {
  touch-action: manipulation;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #d68100;
  outline-offset: 4px;
}
h1,h2,h3,p {
  margin: 0;
}
h1,h2 {
  line-height: 1.08;
}
h1,h2 {
  font-family: Erstoria,Georgia,serif;
  font-weight: 400;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
}
p {
  max-width: 68ch;
}
img {
  max-width: 100%;
  display: block;
}
.preview {
  background: #ffc24d;
  color: #073c46;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.preview span {
  font-weight: 400;
}
header {
  max-width: 1280px;
  margin: auto;
  min-height: 116px;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #c8dbdc;
}
.brand {
  width: 160px;
  display: block;
}
.brand img {
  width: 100%;
}
.event-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  border-left: 1px solid #bad1d1;
  padding-left: 24px;
}
.event-name span {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
nav {
  margin-left: auto;
}
.nav-ticket {
  display: inline-block;
  border: 1px solid #91acaf;
  padding: 10px 19px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
main {
  max-width: 1280px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7%;
  padding: 70px 60px 80px;
  align-items: center;
}
.festival-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.sun-mark {
  font-size: 29px;
  color: #a46108;
}
.hero h1 {
  font-size: clamp(42px,5.1vw,70px);
  margin: 24px 0;
}
.lead {
  font-size: 18px;
  max-width: 440px;
  line-height: 1.65;
}
.primary,.secondary {
  border: 0;
  border-radius: 5px;
  padding: 13px 21px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  min-height: 48px;
}
.primary {
  background: #007f89;
  color: white;
}
.primary:hover {
  background: #006873;
}
.secondary {
  background: transparent;
  color: #073c46;
  border: 1px solid #86a8ab;
}
.secondary:hover {
  background: #e2efee;
}
.large {
  min-height: 58px;
  margin-top: 30px;
  font-size: 17px;
}
.large span {
  font-size: 24px;
}
.full {
  width: 100%;
}
.text-button {
  border: 0;
  background: none;
  padding: 10px 0;
  color: #245c63;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.return {
  display: block;
  margin-top: 9px;
}
.micro {
  font-size: 12px;
  color: #537279;
  line-height: 1.55;
  margin-top: 10px;
}
.hero-ticket {
  background: #073c46;
  color: white;
  border-radius: 18px;
  transform: rotate(3deg);
  box-shadow: 14px 16px 0 #c6dddd;
  position: relative;
  max-width: 410px;
  margin: 0 auto;
  width: 100%;
}
.ticket-heading {
  padding: 24px 25px 18px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
}
.ticket-heading>span:first-child {
  grid-column: 1/-1;
  font-size: 12px;
  margin-bottom: 6px;
  color: #b3d7d7;
}
.ticket-heading strong {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: .95;
}
.ticket-heading .year {
  font-size: 14px;
  align-self: end;
  padding-bottom: 3px;
}
.hero-art {
  height: 260px;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border-radius: 8px;
}
.hero-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 57%;
}
.ticket-stamp {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 88px;
  height: 88px;
  background: #ffc24d;
  color: #073c46;
  border: 2px dashed #8a651d;
  border-radius: 50%;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  transform: rotate(-9deg);
}
.ticket-stamp strong {
  font-size: 40px;
}
.ticket-stamp span {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
}
.ticket-tear {
  margin-top: 20px;
  border-top: 1px dashed #7ba4a7;
  position: relative;
}
.ticket-tear:before,.ticket-tear:after {
  content: '';
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  background: #edf6f5;
  border-radius: 50%;
}
.ticket-tear:before {
  left: -10px;
}
.ticket-tear:after {
  right: -10px;
}
.ticket-foot {
  padding: 20px 25px 25px;
  display: grid;
  gap: 3px;
}
.ticket-foot>span:first-child {
  font-size: 12px;
  color: #a3c4c7;
}
.ticket-foot strong {
  font-size: 19px;
}
.ticket-number {
  font-size: 11px;
  color: #c4d8da;
  margin-top: 6px;
}
.reward-section {
  padding: 45px 40px 60px;
  background: white;
  border-top: 1px solid #d0e0e0;
  border-bottom: 1px solid #d0e0e0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: 31px;
}
.section-heading p {
  font-size: 14px;
  color: #537279;
  margin-top: 10px;
}
.repeat-label {
  font-size: 13px;
  white-space: nowrap;
  color: #38686e;
}
.gift-path {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
}
.gift-picture {
  height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.gift-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.gift-path h3 {
  margin-top: 3px;
}
.drink-count {
  font-size: 13px;
  color: #56767c;
  display: block;
  margin-top: 13px;
}
.entry-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #ffc24d;
  color: #143f46;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 5px;
}
.cycle-note {
  text-align: center;
  font-size: 13px;
  margin: 28px auto 0;
  color: #456a71;
}
.how {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12%;
  padding: 70px 60px;
}
.how h2 {
  font-size: 39px;
  margin: 20px 0;
}
.how>div p {
  font-size: 15px;
  line-height: 1.7;
}
.how ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}
.how li {
  display: flex;
  gap: 18px;
}
.how li>span {
  background: #d7e9e7;
  border: 1px solid #b9d2d1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  text-align: center;
  line-height: 34px;
  font-weight: 700;
}
.how li p {
  font-size: 14px;
  color: #527178;
  margin-top: 7px;
}
.questions {
  padding: 40px 60px 70px;
  max-width: 950px;
  margin: auto;
}
.questions h2 {
  font-size: 33px;
  margin-bottom: 20px;
}
details {
  border-bottom: 1px solid #bbd1d1;
  padding: 18px 0;
}
summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
details p {
  font-size: 14px;
  color: #4d6f75;
  margin-top: 14px;
}
footer {
  background: #073c46;
  color: #c7dedd;
  padding: 40px max(30px,calc((100vw - 1160px)/2));
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13px;
}
footer p {
  margin-top: 6px;
}
footer>div:nth-child(2) {
  display: flex;
  align-items: start;
  gap: 22px;
}
footer .text-button {
  color: inherit;
  padding: 0;
  font-size: 13px;
}
footer small {
  width: 100%;
  font-size: 11px;
  color: #a5c2c4;
  border-top: 1px solid #35616b;
  padding-top: 22px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 20px;
}
.loading {
  padding: 70px;
  text-align: center;
}
dialog {
  color: #163e45;
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(520px,calc(100vw - 28px));
  max-height: 90dvh;
  box-shadow: 0 24px 100px #002b4477;
  background: #fff;
  overflow: auto;
}
dialog::backdrop {
  background: #002d3bbb;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #e8f1f0;
  color: #214d54;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 26px;
  z-index: 2;
}
.modal-copy,.scratch-modal,.gift-confirm {
  padding: 42px 34px 30px;
}
.modal-copy h2,.scratch-modal h2,.gift-confirm h2 {
  font-size: 37px;
  margin: 12px 0 17px;
}
.modal-copy p {
  font-size: 14px;
  line-height: 1.7;
  margin: 10px 0 20px;
}
.form-kicker {
  font-size: 12px;
  color: #52747b;
}
.modal-copy form,.staff-login form {
  display: grid;
  gap: 18px;
}
label {
  font-size: 13px;
  font-weight: 650;
  display: block;
}
input {
  display: block;
  width: 100%;
  border: 1px solid #aac5c6;
  background: #f8fcfb;
  color: #163e45;
  border-radius: 5px;
  padding: 13px 12px;
  margin-top: 7px;
  min-height: 48px;
}
input::placeholder {
  color: #6f8b8e;
  font-size: 14px;
}
.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #007f89;
}
.inline-link {
  padding: 0;
  background: none;
  border: 0;
  color: #00737d;
  text-decoration: underline;
  font-size: inherit;
  font-weight: 600;
}
.form-error {
  color: #a72725;
  background: #fff0ed;
  border: 1px solid #f1c6bb;
  border-radius: 5px;
  padding: 10px;
  font-size: 13px;
  margin: 0!important;
}
.form-error[hidden] {
  display: none;
}
.switch-auth {
  text-align: center;
}
.note,.entry-note {
  background: #edf6f5;
  border-left: 3px solid #007f89;
  padding: 15px;
  font-size: 13px;
  line-height: 1.6;
  margin: 18px 0;
}
.note code {
  overflow-wrap: anywhere;
}
.preview-code {
  background: #fff3d3;
  border: 1px solid #eac885;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 24px;
}
.preview-code strong {
  font-size: 12px;
}
.preview-code>span {
  display: block;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: 6px;
  margin-top: 4px;
}
.preview-code p {
  font-size: 12px;
  margin: 5px 0 0;
}
.ticket-dashboard,.staff-dashboard {
  padding: 45px 40px 65px;
}
.ticket-dashboard h1,.staff-dashboard h1,.staff-login h1 {
  font-size: 46px;
  margin-top: 9px;
}
.ticket-overview {
  background: #073c46;
  color: white;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px;
}
.ticket-id {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px dashed #719298;
  padding-right: 25px;
}
.ticket-id>span:first-child {
  font-size: 13px;
  color: #bbd5d7;
}
.ticket-id strong {
  font-size: 25px;
  letter-spacing: 1px;
}
.ticket-id p {
  font-size: 14px;
  color: #c6dbde;
  max-width: 300px;
}
.mini-status {
  font-size: 13px;
  color: #ffe099;
  margin-top: 12px;
}
.ticket-overview .micro {
  color: #b8d0d2;
  margin-bottom: 12px;
}
.ticket-overview .primary {
  background: #ffc24d;
  color: #073c46;
}
.ticket-overview .form-error {
  margin-bottom: 10px!important;
}
.ticket-stats {
  display: flex;
  gap: 35px;
  padding: 25px 0 38px;
  font-size: 14px;
  flex-wrap: wrap;
}
.ticket-stats strong {
  font-size: 21px;
  margin-right: 5px;
}
.compact {
  margin-bottom: 20px;
}
.compact>span {
  font-size: 12px;
  color: #55747b;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.reward-card {
  border: 1px solid #c5dbdb;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.card-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  font-size: 11px;
  color: #57767a;
}
.scratch-preview {
  border: 0;
  width: calc(100% - 28px);
  margin: 0 14px;
  min-height: 225px;
  border-radius: 5px;
  background: #bad8d7;
  color: #073c46;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: radial-gradient(#8fbabc 1px,transparent 1px);
  background-size: 11px 11px;
}
.spark {
  font-size: 42px;
  color: #9e6515;
}
.scratch-preview strong {
  font: 25px/1.2 Erstoria,Georgia;
  margin: 10px 0 20px;
}
.scratch-preview>span:last-child {
  font-size: 12px;
  background: #e3eeee;
  padding: 5px 14px;
  border-radius: 20px;
}
.card-bottom {
  padding: 18px;
}
.card-bottom p {
  font-size: 12px;
  color: #5a787d;
  margin: 8px 0 18px;
}
.card-bottom .entry-line {
  color: #795519;
}
.card-bottom .text-button {
  display: block;
  margin: auto;
}
.revealed-art {
  border: 0;
  padding: 0;
  background: none;
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px;
  position: relative;
  height: 225px;
  overflow: hidden;
  border-radius: 5px;
}
.revealed-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 59%;
}
.revealed-art .badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}
.badge {
  display: inline-block;
  background: #fff0cb;
  color: #6b480e;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 650;
  border-radius: 4px;
}
.badge.collected {
  background: #d6eee2;
  color: #225a40;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 30px 0;
  font-size: 13px;
}
.entries {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #b9d1d0;
}
.entries h2 {
  font-size: 30px;
}
.entries>p {
  font-size: 13px;
  color: #53737a;
  margin-top: 12px;
}
.entries ul {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.entries li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #c3d8d6;
  background: white;
  padding: 16px;
  border-radius: 6px;
  gap: 18px;
}
.entries li div {
  display: grid;
  gap: 3px;
}
.entries li div>span {
  font-size: 12px;
  color: #58767a;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  border: 1px dashed #aec8c9;
  border-radius: 10px;
  background: #f8fcfb;
}
.empty p {
  margin: 12px auto;
  font-size: 14px;
  color: #56787c;
}
.empty h1 {
  font-size: 38px;
}
.scratch-modal {
  text-align: center;
}
.scratch-modal>p {
  font-size: 14px;
  color: #57757c;
  margin-bottom: 18px;
}
.scratch-stage {
  height: 320px;
  width: 100%;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  margin: 22px 0;
}
.scratch-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.scratch-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.gift-confirm {
  text-align: center;
}
.gift-confirm>img {
  width: 230px;
  height: 240px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 60%;
  margin: 20px auto;
}
.gift-confirm>p {
  font-size: 14px;
  margin: 14px auto;
}
.collection-code {
  padding: 17px;
  border: 1px dashed #7fa6ab;
  border-radius: 7px;
  margin: 20px 0;
  background: #eff7f6;
}
.collection-code span {
  font-size: 11px;
  display: block;
}
.collection-code strong {
  font-size: 27px;
  letter-spacing: 3px;
  overflow-wrap: anywhere;
}
.entry-note {
  text-align: left;
}
.entry-note p {
  margin-top: 5px;
  font-size: 12px;
}
.staff-login {
  max-width: 470px;
  margin: 65px auto;
  padding: 0 20px;
}
.staff-login>p {
  font-size: 15px;
  color: #58757a;
  margin: 20px 0 30px;
}
.staff-stats {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border: 1px solid #c6d9d8;
  border-radius: 8px;
  background: white;
  margin-bottom: 30px;
}
.staff-stats>div {
  padding: 22px;
  border-right: 1px solid #d3e1e1;
  display: grid;
  gap: 9px;
}
.staff-stats>div:last-child {
  border: 0;
}
.staff-stats span {
  font-size: 12px;
  color: #56767a;
}
.staff-stats strong {
  font-size: 30px;
}
.booth-toolbar {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  background: #dcecea;
  padding: 24px;
  border-radius: 8px;
}
.booth-toolbar form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}
.booth-toolbar .form-error {
  flex-basis: 100%;
}
.exports span {
  font-size: 12px;
  display: block;
  margin-bottom: 15px;
}
.exports>div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.exports a {
  font-size: 12px;
  font-weight: 600;
}
.search-form {
  display: flex;
  gap: 14px;
  align-items: end;
  margin: 30px 0 12px;
}
.search-form label {
  flex: 1;
  max-width: 550px;
}
.staff-customers {
  display: grid;
  gap: 18px;
  margin: 22px 0;
}
.staff-customers>article {
  background: white;
  border: 1px solid #c8dbda;
  border-radius: 8px;
  padding: 22px;
}
.customer-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.customer-heading p {
  font-size: 13px;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.customer-heading small {
  font-size: 11px;
  color: #58747b;
}
.customer-heading>div:last-child {
  font-size: 13px;
  text-align: right;
  min-width: 135px;
}
.customer-heading>div:last-child span {
  font-size: 11px;
  color: #53727a;
}
.handover-list {
  display: grid;
  gap: 8px;
}
.handover-list>div {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #e0eaea;
  padding: 13px 0 0;
}
.handover-list img {
  width: 50px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}
.handover-list span {
  display: grid;
  gap: 3px;
  flex: 1;
}
.handover-list small {
  font-size: 11px;
  color: #607e82;
}
.handover-list code {
  font-size: 12px;
}
.button-row {
  display: flex;
  gap: 20px;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #073c46;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  z-index: 10;
  font-size: 14px;
  transition: transform .2s;
  box-shadow: 0 5px 24px #063e4540;
  max-width: calc(100vw - 30px);
  width: max-content;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
}
@media(max-width:950px) {
  .hero {
    gap: 5%;
    padding: 45px 30px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-art {
    height: 210px;
  }
  .gift-path {
    gap: 10px;
  }
  .gift-picture {
    height: 140px;
  }
  .how {
    gap: 7%;
    padding: 55px 35px;
  }
  .reward-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .staff-stats {
    grid-template-columns: repeat(3,1fr);
  }
  .booth-toolbar {
    flex-direction: column;
  }
  .ticket-dashboard,.staff-dashboard {
    padding: 35px 25px;
  }
}
@media(max-width:600px) {
  .preview {
    padding: 6px 16px;
    font-size: 10px;
    gap: 10px;
  }
  .preview span {
    max-width: 220px;
    text-align: right;
  }
  header {
    min-height: 90px;
    padding: 15px 19px;
    gap: 13px;
  }
  .brand {
    width: 110px;
  }
  .event-name {
    padding-left: 12px;
    font-size: 11px;
  }
  .event-name span {
    font-size: 10px;
  }
  .nav-ticket {
    font-size: 12px;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 30px 23px 44px;
    gap: 34px;
    align-items: stretch;
  }
  .festival-label {
    font-size: 12px;
  }
  .sun-mark {
    font-size: 25px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1.04;
    margin: 18px 0;
  }
  .hero h1 br:nth-child(2) {
    display: none;
  }
  .lead {
    font-size: 15px;
    max-width: 360px;
  }
  .large {
    width: 100%;
    margin-top: 24px;
    font-size: 16px;
  }
  .return {
    margin: 6px auto 0;
  }
  .hero-copy>.micro {
    text-align: center;
    font-size: 11px;
  }
  .hero-ticket {
    max-width: 320px;
    transform: rotate(2deg);
    box-shadow: 7px 9px 0 #c6dddd;
  }
  .ticket-heading {
    padding: 20px 20px 15px;
  }
  .ticket-heading strong {
    font-size: 29px;
  }
  .hero-art {
    height: 200px;
    margin: 0 15px;
  }
  .ticket-stamp {
    width: 73px;
    height: 73px;
  }
  .ticket-stamp strong {
    font-size: 34px;
  }
  .ticket-stamp span {
    font-size: 10px;
  }
  .ticket-foot {
    padding: 15px 22px 20px;
  }
  .ticket-foot strong {
    font-size: 17px;
  }
  .reward-section {
    padding: 32px 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .repeat-label {
    display: block;
    margin-top: 12px;
  }
  .gift-path {
    grid-template-columns: repeat(2,1fr);
    gap: 22px 13px;
  }
  .gift-path>article:last-child {
    grid-column: 1/-1;
    max-width: calc(50% - 6px);
    width: 100%;
    justify-self: center;
  }
  .gift-picture {
    height: 170px;
  }
  .gift-path h3 {
    font-size: 17px;
  }
  .entry-tag {
    font-size: 10px;
  }
  .cycle-note {
    font-size: 12px;
  }
  .how {
    display: block;
    padding: 38px 23px;
  }
  .how h2 {
    font-size: 34px;
    margin: 15px 0;
  }
  .how>div p {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .how li {
    gap: 14px;
  }
  .how h3 {
    font-size: 17px;
  }
  .how li p {
    font-size: 13px;
  }
  .questions {
    padding: 10px 23px 45px;
  }
  .questions h2 {
    font-size: 29px;
  }
  summary {
    font-size: 14px;
  }
  footer {
    padding: 30px 23px;
    gap: 18px;
  }
  .ticket-dashboard,.staff-dashboard {
    padding: 27px 18px 40px;
  }
  .ticket-dashboard h1,.staff-dashboard h1 {
    font-size: 38px;
  }
  .ticket-overview {
    grid-template-columns: 1fr;
    padding: 23px;
    gap: 23px;
  }
  .ticket-id {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px dashed #719298;
  }
  .ticket-id strong {
    font-size: 22px;
  }
  .ticket-stats {
    gap: 12px;
    justify-content: space-between;
    font-size: 11px;
    padding: 20px 0 27px;
  }
  .ticket-stats span {
    max-width: 29%;
  }
  .ticket-stats strong {
    display: block;
    font-size: 24px;
  }
  .compact h2 {
    font-size: 28px;
  }
  .compact>span {
    display: block;
    margin-top: 8px;
  }
  .reward-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scratch-preview {
    min-height: 235px;
  }
  .revealed-art {
    height: 260px;
  }
  .card-top {
    font-size: 12px;
  }
  .entries li {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .entries h2 {
    font-size: 28px;
  }
  .modal-copy,.scratch-modal,.gift-confirm {
    padding: 40px 22px 26px;
  }
  .modal-copy h2,.scratch-modal h2,.gift-confirm h2 {
    font-size: 31px;
  }
  .scratch-stage {
    height: 290px;
  }
  .staff-stats {
    grid-template-columns: repeat(2,1fr);
  }
  .staff-stats>div {
    padding: 15px;
  }
  .staff-stats>div:last-child {
    grid-column: 1/-1;
    border-top: 1px solid #d3e1e1;
  }
  .staff-stats span {
    font-size: 11px;
  }
  .staff-stats strong {
    font-size: 27px;
  }
  .booth-toolbar {
    padding: 18px;
    gap: 25px;
  }
  .booth-toolbar form label {
    width: 100%;
  }
  .booth-toolbar form button {
    width: 100%;
  }
  .exports>div {
    gap: 10px;
  }
  .search-form {
    gap: 9px;
  }
  .customer-heading {
    display: block;
  }
  .customer-heading>div:last-child {
    margin-top: 10px;
    text-align: left;
  }
  .staff-customers>article {
    padding: 17px;
  }
  .handover-list>div {
    flex-wrap: wrap;
    gap: 10px;
  }
  .handover-list code {
    width: calc(100% - 65px);
    margin-left: 60px;
  }
  .handover-list .secondary {
    width: 100%;
    min-height: 42px;
  }
  .button-row {
    margin-top: 15px;
  }
  .pagination {
    gap: 12px;
  }
  .pagination .secondary {
    padding: 9px 13px;
  }
  .pagination span {
    font-size: 12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}
#toast {
  opacity: 0;
  visibility: hidden;
}
#toast.visible {
  opacity: 1;
  visibility: visible;
}

/* Separate HOP QR issue and redemption flow. */
.scan-instructions h2 { font-size: 26px; margin: 0 0 10px; }
.scan-instructions p { line-height: 1.6; }
.qr-generator { background: #fff; border: 1px solid #cadfde; border-radius: 20px; padding: 28px; margin: 25px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 35px; }
.qr-generator h2 { margin-top: 0; font-size: 32px; }
.qr-generator p { line-height: 1.6; }
.qr-generator > button { justify-self: start; }
.qr-generator form { display: grid; gap: 12px; }
.qr-list { width: 100%; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.qr-tile { border: 1px solid #d3e3e2; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: stretch; }
.qr-tile img { width: 100%; background: white; }
.qr-tile strong { font: 11px monospace; overflow-wrap: anywhere; }
.qr-tile small { overflow-wrap: anywhere; }
.qr-tile .badge { text-align: center; }
.qr-tile button { font-size: 13px; }
.qr-single { text-align: center; }
.large-qr { display: block; width: min(100%,340px); margin: 18px auto; background: white; }
.qr-test { display: block; text-align: center; text-decoration: none; margin-bottom: 12px; }
.qr-single .text-button { display: block; margin-bottom: 12px; }
@media(max-width:650px) {
  .qr-generator { grid-template-columns: 1fr; padding: 20px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-tile img { max-width: 250px; align-self: center; }
  .scan-instructions h2 { font-size: 23px; }
  .customer-heading small { overflow-wrap: anywhere; }
}
