:root {
  --paper: #fff8ef;
  --ink: #17120e;
  --orange: #ed4c18;
  --orange-deep: #cb3b10;
  --espresso: #24150f;
  --cream: #f6e9d9;
  --display: "Bodoni MT", Didot, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; }
body { overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.bonus-navbar {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: calc(100% - clamp(40px, 10vw, 190px));
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(25px, 2.7vw, 46px);
  transform: translateX(-50%);
  background: rgba(255,251,246,.91);
  border: 1px solid rgba(124,78,47,.13);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(69,39,20,.12);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.bonus-brand { width: clamp(220px, 16.5vw, 278px); }
.bonus-brand img { display: block; width: 100%; height: auto; }
.bonus-nav-actions { display: flex; align-items: center; gap: 27px; }
.bonus-brand, .home-return, .bonus-whatsapp { position: relative; z-index: 1; pointer-events: auto; cursor: pointer; }
.home-return, .bonus-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: 16px; font-weight: 500; }
.home-return svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-divider { width: 1px; height: 35px; background: rgba(23,18,14,.16); }
.bonus-whatsapp { min-width: 166px; height: 56px; padding: 0 24px; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 17px; font-weight: 650; }
.bonus-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }

.bonus-hero { position: relative; min-height: 620px; height: 100svh; overflow: hidden; background: #ddc6aa; }
.showroom-background { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; user-select: none; }
.ticket-stage {
  position: absolute;
  z-index: 2;
  top: 52.5%;
  right: clamp(14px, 1.7vw, 44px);
  width: min(66.5vw, 1480px);
  transform: translateY(-50%);
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(28px, 2.5vw, 48px);
  background: linear-gradient(135deg, rgba(255,251,246,.16), rgba(246,233,217,.07));
  box-shadow: 0 28px 80px rgba(62,34,16,.14);
  -webkit-backdrop-filter: blur(14px) saturate(.94);
  backdrop-filter: blur(14px) saturate(.94);
}
.ticket-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.05);
  transform-origin: center;
  filter: drop-shadow(0 24px 34px rgba(39,19,8,.24));
  pointer-events: none;
  user-select: none;
}
.ticket-art-picture { display: block; }
.ticket-content {
  position: absolute;
  z-index: 2;
  inset: 10.5% 23% 4.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff5e7;
  font-family: var(--sans);
}
.ticket-content.is-account-mode { inset: 8.8% 13% 4.5%; }
.ticket-logo-wrap {
  position: relative;
  width: clamp(230px, 17vw, 300px);
}
.ticket-logo {
  display: block;
  width: 100%;
  height: auto;
}
.ticket-heading { margin-top: 6px; text-align: center; }
.ticket-heading h1 {
  margin: 0;
  color: #ffe5b0;
  font-family: var(--display);
  font-size: clamp(22px, 1.65vw, 31px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.ticket-heading p { margin: 4px 0 0; color: rgba(255,245,231,.74); font-size: clamp(11px, .78vw, 14px); line-height: 1.3; }
.auth-tabs {
  width: min(100%, 350px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 9px 0 8px;
  padding: 4px;
  background: rgba(20,8,3,.52);
  border: 1px solid rgba(239,177,92,.3);
  border-radius: 13px;
}
.auth-tab {
  height: 34px;
  padding: 0 16px;
  color: rgba(255,245,231,.7);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.is-active { color: #231008; background: linear-gradient(135deg, #ffe4ac, #ee8a35); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.auth-tab:focus-visible, .password-toggle:focus-visible, .forgot-password:focus-visible, .auth-submit:focus-visible { outline: 2px solid #fff1cf; outline-offset: 2px; }
.auth-panel { width: 100%; }
.auth-form { display: flex; flex-direction: column; gap: 7px; }
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
.auth-field { display: flex; min-width: 0; flex-direction: column; gap: 3px; color: rgba(255,245,231,.85); font-size: 11px; font-weight: 650; line-height: 1.2; }
.auth-field small { color: rgba(255,245,231,.55); font-size: 9px; font-weight: 500; }
.auth-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  color: #fff8ee;
  background: rgba(20,7,3,.46);
  border: 1px solid rgba(238,174,95,.44);
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-field input::placeholder { color: rgba(255,245,231,.42); }
.auth-field input:focus { background: rgba(25,9,4,.64); border-color: #f0a44d; box-shadow: 0 0 0 3px rgba(239,139,53,.13); }
.auth-field input:invalid:not(:placeholder-shown) { border-color: rgba(255,132,105,.8); }
.password-control { position: relative; display: block; }
.password-control input { padding-right: 40px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  color: rgba(255,231,194,.72);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}
.password-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.birthday-field { width: min(100%, 300px); align-self: center; padding: 0; }
.field-hint { width: min(100%, 360px); align-self: center; margin: -3px 0 0; color: rgba(255,245,231,.5); font-size: 9px; line-height: 1.25; text-align: center; }
.auth-submit {
  width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  color: #241008;
  background: linear-gradient(135deg, #ffe3a9, #ef812d);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(15,5,2,.24);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.auth-submit:hover { background: linear-gradient(135deg, #ffebc0, #f4903d); }
.auth-submit span { font-size: 17px; line-height: 1; }
.auth-form[data-auth-form="signup"] .auth-submit { width: min(100%, 300px); align-self: center; }
.form-feedback { min-height: 13px; margin: 0; color: rgba(255,231,190,.78); font-size: 9px; text-align: center; }
.login-form { width: min(100%, 430px); margin: 10px auto 0; }
.forgot-password { align-self: flex-end; padding: 0; color: #ffc970; background: transparent; border: 0; font: inherit; font-size: 10px; cursor: pointer; }

.loyalty-dashboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: loyalty-reveal .42s ease both;
}
.member-heading {
  width: min(100%, 690px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(239,177,92,.25);
}
.member-kicker { margin: 0 0 3px; color: #ee8a35; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.member-heading h1 { margin: 0; color: #ffe5b0; font-family: var(--display); font-size: clamp(31px, 2.25vw, 40px); font-weight: 600; line-height: 1; }
.member-name { color: #f2a04c; }
.account-logout { padding: 5px 0; color: rgba(255,245,231,.68); background: transparent; border: 0; font: inherit; font-size: 13px; cursor: pointer; }
.account-logout:hover { color: #ffc970; }
.account-logout:focus-visible { outline: 2px solid #fff1cf; outline-offset: 3px; }
.visit-summary { margin-top: 11px; text-align: center; }
.visit-summary strong { display: block; color: #fff0cd; font-family: var(--display); font-size: clamp(42px, 3.35vw, 58px); font-weight: 600; line-height: .95; }
.visit-summary strong span { color: rgba(255,240,205,.72); font-family: var(--sans); font-size: 16px; font-weight: 650; }
.visit-summary p { margin: 6px 0 0; color: rgba(255,245,231,.78); font-size: 14px; }
.loyalty-progress {
  position: relative;
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.loyalty-progress::before {
  position: absolute;
  z-index: 0;
  top: 45px;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(239,129,45,.85) 0 31%, rgba(239,177,92,.28) 31% 100%);
}
.progress-item { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.progress-visual {
  position: relative;
  width: clamp(68px, 5.6vw, 94px);
  height: clamp(72px, 5.9vw, 98px);
  display: grid;
  place-items: center;
}
.progress-visual img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(10,3,1,.24)); }
.progress-item:not(.is-complete):not(.is-reward) .progress-visual img { opacity: .86; }
.progress-item.is-reward .progress-visual { width: clamp(76px, 6.15vw, 104px); }
.progress-item.is-reward .progress-visual img { opacity: .7; }
.progress-label { margin-top: 2px; color: rgba(255,245,231,.62); font-size: 12px; font-weight: 700; line-height: 1; }
.progress-item.is-complete .progress-label { color: #ffb85e; }
.discount-badge {
  position: absolute;
  top: 0;
  right: -2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #2a1007;
  background: linear-gradient(145deg, #ffe4a8, #ef812d);
  border: 1px solid rgba(255,239,203,.92);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(13,4,1,.34);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.discount-message {
  margin: 8px 0 0;
  color: #ffd18a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}
.discount-message span { color: #f58a35; font-size: 15px; }
.reward-message {
  width: min(100%, 520px);
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(239,177,92,.25);
  text-align: center;
}
.reward-message span { display: block; color: #ee8a35; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reward-message strong { display: block; margin-top: 3px; color: #ffe5b0; font-family: var(--display); font-size: 23px; font-weight: 600; }
.loyalty-note { margin: 8px 0 0; color: rgba(255,245,231,.56); font-size: 12px; text-align: center; }

@keyframes loyalty-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .bonus-navbar { top: 18px; width: calc(100% - 36px); height: 88px; }
  .ticket-stage { top: 53%; right: 14px; width: min(78vw, 940px); }
  .ticket-content { inset: 6% 20%; }
  .ticket-logo-wrap { width: clamp(210px, 23vw, 255px); }
  .ticket-heading h1 { font-size: clamp(19px, 2.3vw, 26px); }
  .auth-tabs { margin-top: 7px; }
  .auth-field input { height: 35px; }
  .auth-submit { height: 37px; }
  .loyalty-progress { width: min(100%, 570px); }
  .ticket-content.is-account-mode { inset: 5.5% 14%; }
}

@media (max-width: 900px) {
  .bonus-hero { height: auto; min-height: 980px; padding: 1px 0 28px; }
  .showroom-background { position: absolute; inset: 0; }
  .ticket-stage {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: calc(100% - 28px);
    min-height: 720px;
    margin: 140px 14px 0;
    transform: none;
    border: 1px solid rgba(238,174,95,.5);
    border-radius: 30px;
    background: rgba(40,18,10,.95);
  }
  .ticket-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; opacity: .28; filter: none; }
  .ticket-content { position: relative; inset: auto; width: min(100%, 560px); min-height: 720px; margin: 0 auto; padding: 38px 26px 30px; }
  .ticket-stage.is-account-mode { min-height: 0; }
  .ticket-stage.is-account-mode .ticket-art { object-position: center 48%; }
  .ticket-content.is-account-mode { inset: auto; min-height: 0; padding: 30px 26px 32px; }
  .ticket-logo-wrap { width: 250px; }
  .ticket-heading { margin-top: 10px; }
  .ticket-heading h1 { font-size: 28px; }
  .ticket-heading p { font-size: 13px; }
  .auth-tabs { margin: 18px 0 16px; }
  .auth-tab { height: 40px; font-size: 13px; }
  .auth-form { gap: 10px; }
  .auth-field { gap: 5px; font-size: 12px; }
  .auth-field input { height: 46px; font-size: 14px; }
  .birthday-field { width: 100%; padding: 0; }
  .auth-form[data-auth-form="signup"] .auth-submit { width: 100%; }
  .field-hint, .form-feedback { font-size: 10px; }
  .auth-submit { height: 48px; font-size: 13px; }
  .member-heading { width: 100%; }
  .member-kicker { font-size: 10px; }
  .member-heading h1 { font-size: 32px; }
  .visit-summary { margin-top: 14px; }
  .visit-summary strong { font-size: 42px; }
  .visit-summary p { font-size: 14px; }
  .loyalty-progress { width: 100%; gap: 4px; margin-top: 16px; }
  .discount-message { margin-top: 11px; font-size: 13px; }
  .reward-message { margin-top: 14px; }
  .reward-message strong { font-size: 20px; }
  .loyalty-note { font-size: 11px; }
}

@media (max-width: 760px) {
  .bonus-navbar { top: 10px; width: calc(100% - 20px); height: 68px; padding: 0 13px 0 16px; border-radius: 15px; }
  .bonus-brand { width: 158px; }
  .bonus-nav-actions { gap: 8px; }
  .home-return span, .nav-divider, .bonus-whatsapp span { display: none; }
  .home-return { width: 44px; height: 44px; border: 1px solid rgba(23,18,14,.12); border-radius: 50%; background: rgba(255,255,255,.54); }
  .bonus-whatsapp { min-width: 44px; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .bonus-hero { min-height: 980px; }
  .showroom-background { object-position: 27% center; }
  .ticket-stage {
    width: calc(100% - 20px);
    min-height: 760px;
    margin: 108px 10px 0;
    border-radius: 26px;
    box-shadow: 0 20px 54px rgba(62,34,16,.16);
    -webkit-backdrop-filter: blur(10px) saturate(.94);
    backdrop-filter: blur(10px) saturate(.94);
  }
  .ticket-content { min-height: 760px; padding: 32px 20px 26px; }
  .ticket-stage.is-account-mode { min-height: 0; }
  .ticket-content.is-account-mode { min-height: 0; padding: 26px 20px 30px; }
  .ticket-logo-wrap { width: 225px; }
  .ticket-heading h1 { font-size: 25px; }
  .auth-grid { grid-template-columns: 1fr; gap: 9px; }
  .loyalty-progress { gap: 0; }
  .loyalty-progress::before { top: 27px; }
  .progress-visual { width: 49px; height: 55px; }
  .progress-item.is-reward .progress-visual { width: 53px; }
  .progress-label { font-size: 9px; }
  .discount-badge { top: 1px; right: -1px; width: 19px; height: 19px; font-size: 10px; }
  .reward-message strong { font-size: 18px; }
}

@media (max-width: 600px) {
  .bonus-hero {
    width: 100%;
    height: 100svh;
    min-height: 650px;
    padding: 1px 0 12px;
    overflow: hidden;
  }
  .showroom-background { object-position: 27% center; }
  .ticket-stage {
    width: min(calc(100% - 20px), 405px);
    min-height: 0;
    aspect-ratio: 2 / 3;
    margin: 88px auto 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .ticket-stage::after {
    position: absolute;
    z-index: 1;
    inset: 5.5% 9.5% 19%;
    content: "";
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(43,15,6,.34) 0%, rgba(43,15,6,.14) 58%, transparent 83%);
  }
  .ticket-stage.is-account-mode { min-height: 0; }
  .ticket-art-picture { position: absolute; inset: 0; }
  .ticket-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    opacity: 1;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 22px rgba(39,19,8,.2));
  }
  .ticket-content {
    position: absolute;
    inset: 6.5% 11.5% 19.5%;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
  }
  .ticket-content.is-account-mode {
    inset: 6.5% 8.5% 18%;
    min-height: 0;
    padding: 0;
  }
  .ticket-logo-wrap {
    width: clamp(174px, 48vw, 194px);
    height: clamp(38px, 10.5vw, 43px);
    overflow: hidden;
  }
  .ticket-logo { transform: translateY(-11%); }
  .ticket-heading { width: 100%; margin-top: 3px; }
  .ticket-heading h1 { font-size: clamp(18px, 5.2vw, 22px); line-height: 1.04; }
  .ticket-heading p { margin-top: 3px; font-size: clamp(8px, 2.35vw, 10px); line-height: 1.2; }

  .auth-tabs {
    width: min(100%, 270px);
    gap: 3px;
    margin: 8px 0 7px;
    padding: 3px;
    background: rgba(20,8,3,.7);
    border-radius: 10px;
  }
  .auth-tab { height: 31px; padding: 0 10px; border-radius: 7px; font-size: 10.5px; }
  .auth-panel { width: 100%; }
  .auth-form { gap: 5px; }
  .auth-grid {
    width: min(90%, 270px);
    align-self: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 7px;
  }
  .auth-field { gap: 2px; font-size: 9px; line-height: 1.05; }
  .auth-field small { font-size: 7px; }
  .auth-field input {
    height: 33px;
    padding: 0 9px;
    background: rgba(20,7,3,.7);
    border-radius: 8px;
    font-size: 10.5px;
  }
  .password-control input { padding-right: 31px; }
  .password-toggle { right: 3px; width: 26px; height: 26px; }
  .password-toggle svg { width: 14px; height: 14px; }
  .birthday-field { width: min(100%, 148px); padding: 0; }
  .field-hint { width: min(100%, 260px); margin-top: -2px; font-size: 7px; line-height: 1.15; }
  .auth-submit,
  .auth-form[data-auth-form="signup"] .auth-submit {
    width: min(100%, 220px);
    height: 34px;
    align-self: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 10.5px;
  }
  .auth-submit span { font-size: 14px; }
  .form-feedback { min-height: 8px; font-size: 7px; line-height: 1.1; }

  .ticket-stage.is-login-mode .ticket-content { top: 9%; }
  .login-form { width: min(100%, 250px); margin: 7px auto 0; gap: 7px; }
  .login-form .auth-field { font-size: 9.5px; }
  .login-form .auth-field input { height: 36px; font-size: 11px; }
  .forgot-password { margin-top: -2px; font-size: 8px; }
  .login-form .auth-submit { width: 100%; height: 36px; }

  .ticket-content.is-account-mode .ticket-logo-wrap { width: clamp(180px, 50vw, 202px); }
  .loyalty-dashboard { width: 100%; margin: 6px 0 0; }
  .member-heading {
    position: relative;
    width: 90%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom-color: rgba(239,177,92,.3);
    text-align: center;
  }
  .member-heading > div { text-align: center; }
  .member-kicker { margin-bottom: 2px; font-size: 8.5px; letter-spacing: .13em; }
  .member-heading h1 { white-space: nowrap; font-size: clamp(20px, 5.4vw, 23px); }
  .account-logout {
    position: absolute;
    right: -3px;
    bottom: 4px;
    padding: 3px 7px;
    color: #ffd18a;
    background: rgba(29,9,3,.58);
    border: 1px solid rgba(239,177,92,.28);
    border-radius: 999px;
    font-size: 8px;
  }
  .visit-summary { margin-top: 8px; }
  .visit-summary strong { font-size: clamp(33px, 8.5vw, 37px); }
  .visit-summary strong span { font-size: 11.5px; }
  .visit-summary p { margin-top: 3px; font-size: 10px; }
  .loyalty-progress { width: 92%; gap: 0; margin-top: 9px; }
  .loyalty-progress::before { top: 26px; right: 7%; left: 7%; }
  .progress-visual { width: clamp(44px, 12.4vw, 50px); height: clamp(48px, 13.3vw, 54px); }
  .progress-item.is-reward .progress-visual { width: clamp(48px, 13.3vw, 54px); }
  .progress-label { margin-top: 1px; font-size: 8px; }
  .discount-badge { top: -1px; right: -2px; width: 18px; height: 18px; font-size: 9.5px; }
  .discount-message { margin-top: 6px; font-size: 9.5px; line-height: 1.15; }
  .discount-message span { font-size: 11px; }
  .reward-message { width: min(100%, 280px); margin-top: 7px; padding-top: 7px; }
  .reward-message span { font-size: 8.5px; letter-spacing: .07em; }
  .reward-message strong { margin-top: 2px; font-size: clamp(14px, 4vw, 16px); line-height: 1.1; }
  .loyalty-note { margin-top: 5px; font-size: 8px; line-height: 1.15; }
}

@media (max-width: 390px) {
  .bonus-brand { width: 145px; }
  .ticket-stage { width: min(calc(100% - 18px), 372px); }
}

@media (max-width: 350px) {
  .bonus-navbar { width: calc(100% - 14px); padding-inline: 11px; }
  .bonus-brand { width: 132px; }
  .ticket-stage { width: min(calc(100% - 12px), 338px); margin-top: 84px; }
  .ticket-content { inset-right: 11%; inset-left: 11%; }
  .ticket-logo-wrap { width: 146px; height: 31px; }
  .ticket-heading h1 { font-size: 16px; }
  .ticket-heading p { font-size: 7.5px; }
  .auth-tabs { margin-block: 4px; }
  .auth-tab { height: 28px; }
  .auth-form { gap: 4px; }
  .auth-grid { gap: 4px 6px; }
  .auth-field input { height: 29px; }
  .field-hint { font-size: 6.5px; }
  .auth-submit,
  .auth-form[data-auth-form="signup"] .auth-submit { height: 31px; }
  .progress-visual { width: 34px; height: 38px; }
  .progress-item.is-reward .progress-visual { width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .loyalty-dashboard { animation: none; }
}

[hidden]{display:none!important}
.bonus-signin{display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}
.bonus-account-details{background:#fff8ef;padding:40px max(22px,6vw);color:#33251b}
.bonus-details-grid{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:24px;max-width:1120px;margin:auto}
.bonus-account-details article{padding:24px;border:1px solid #dfcbb5;border-radius:20px;background:#fffdf8;min-width:0}
.bonus-account-details h2{font:500 26px/1.2 var(--display);margin:0 0 18px}
.bonus-qr-panel{text-align:center}.bonus-qr-panel img{display:block;width:220px;max-width:100%;height:auto;margin:0 auto 16px}
.bonus-qr-panel p,.bonus-account-details p{font:14px/1.6 var(--sans);color:#78624e}
.bonus-reward-row,.bonus-visit-row{padding:14px 0;border-bottom:1px solid #eaded0;font:14px/1.5 var(--sans);overflow-wrap:anywhere}
.bonus-reward-row strong,.bonus-visit-row strong{display:block;color:#9b492a}
.bonus-activity-panel{max-width:1120px;margin:24px auto 0}
.bonus-identity{color:#ffe5b0!important}
@media(max-width:700px){.bonus-details-grid{grid-template-columns:1fr}.bonus-account-details{padding:24px 20px}.bonus-account-details article{padding:20px}}

/* Mobile ticket v2: six progress positions in two safe rows. */
@media(max-width:600px){
 .bonus-hero{height:auto;min-height:100svh;padding-bottom:24px;overflow:visible}
 .ticket-stage,.ticket-stage.is-account-mode{width:min(calc(100% - 24px),390px);aspect-ratio:3/5;margin:96px auto 0;min-height:0;container-type:inline-size}
 .ticket-stage .ticket-art{object-fit:contain;object-position:center}
 .ticket-stage::after{inset:8% 10% 22%}
 .ticket-content.is-account-mode{position:absolute;inset:6% 9% 20%;padding:0;min-height:0;width:auto}
 .ticket-content.is-account-mode .ticket-logo-wrap{width:52cqw;height:11cqw;max-width:200px;flex-shrink:0}
 .ticket-content.is-account-mode .loyalty-dashboard{margin-top:1cqw;width:100%;min-width:0}
 .ticket-content.is-account-mode .member-heading{width:100%;gap:0;padding:0 0 2cqw;display:block;position:relative}
 .ticket-content.is-account-mode .member-heading>div{width:100%;min-width:0}
 .ticket-content.is-account-mode .member-kicker{font-size:2.5cqw;line-height:1.3;letter-spacing:.1em}
 .ticket-content.is-account-mode .member-heading h1{white-space:normal;overflow-wrap:anywhere;font-size:5.7cqw;line-height:1.15;padding-inline:2cqw}
 .ticket-content.is-account-mode .account-logout{position:static;display:inline-flex;align-items:center;justify-content:center;margin-top:1.5cqw;padding:1cqw 3cqw;min-height:24px;font-size:2.8cqw}
 .ticket-content.is-account-mode .visit-summary{margin-top:2cqw;text-align:center}
 .ticket-content.is-account-mode .visit-summary strong{font-size:9cqw;line-height:1}
 .ticket-content.is-account-mode .visit-summary strong span{font-size:3.2cqw}
 .ticket-content.is-account-mode .visit-summary p{font-size:2.8cqw;line-height:1.4;margin-top:1cqw}
 .ticket-content.is-account-mode .loyalty-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;gap:2.5cqw 4cqw;margin:3cqw 0 0;padding:0;list-style:none}
 .ticket-content.is-account-mode .loyalty-progress::before{display:none}
 .ticket-content.is-account-mode .progress-item{width:100%;min-width:0}
 .ticket-content.is-account-mode .progress-visual,.ticket-content.is-account-mode .progress-item.is-reward .progress-visual{width:15cqw;height:15cqw;max-width:100%;flex:none}
 .ticket-content.is-account-mode .progress-label{font-size:2.8cqw;line-height:1.3;margin-top:.7cqw;white-space:nowrap}
 .ticket-content.is-account-mode .discount-badge{width:5cqw;height:5cqw;right:-.5cqw;top:0;font-size:2.7cqw}
 .ticket-content.is-account-mode .discount-message{margin-top:3cqw;font-size:3cqw;line-height:1.4;text-align:center}
 .ticket-content.is-account-mode .reward-message{width:100%;margin-top:2cqw;padding-top:2cqw}
 .ticket-content.is-account-mode .reward-message span{font-size:2.7cqw;line-height:1.3}
 .ticket-content.is-account-mode .reward-message strong{font-size:4.2cqw;line-height:1.2;margin-top:1cqw}
 .ticket-content.is-account-mode .loyalty-note{margin-top:2cqw;font-size:2.5cqw;line-height:1.35;text-align:center}
}

.bonus-logout{margin-top:18px;padding:10px 18px;border:1px solid #bb9460;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.bonus-logout[hidden]{display:none}

button.account-logout{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;padding:8px}.account-logout:disabled{opacity:.5}

.member-heading-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.member-code{font:600 14px/1.3 var(--sans);color:#f4cc85;letter-spacing:.06em;white-space:nowrap}.ticket-content.is-account-mode .member-heading-actions .account-logout{margin-top:0}@media(max-width:600px){.member-heading-actions{justify-content:center;gap:12px}.ticket-content.is-account-mode .member-code{font-size:3cqw}}
