@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  font-family: "DM Sans", sans-serif;
  color: #171513;
  background: #f8f3e8;
  font-synthesis: none;
  --red: #d9271c;
  --red-dark: #a81510;
  --yellow: #ffd339;
  --cream: #f8f3e8;
  --paper: #fffdf8;
  --black: #171513;
  --muted: #746f68;
  --green: #168654;
  --border: #ded6c8;
  --shadow: 0 16px 40px rgba(69, 35, 18, 0.1);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.card-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }

.logo { display: flex; align-items: center; gap: 7px; color: var(--black); }
.logo .mascot-avatar--logo { width: 54px; height: 64px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.logo .mascot-avatar--logo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: none; filter: drop-shadow(0 4px 3px rgba(23, 21, 19, .2)); }
.logo > div { display: flex; flex-direction: column; line-height: .82; }
.logo strong { color: var(--red); font-family: "Archivo Black", sans-serif; font-size: 24px; letter-spacing: -1.5px; }
.logo span { color: var(--black); font-size: 10px; font-weight: 800; letter-spacing: .42em; padding-left: 2px; margin-top: 6px; }
.logo--light strong { color: var(--red); }
.logo--light span { color: var(--black); text-shadow: 0 1px 0 rgba(255,255,255,.3); }

/* Public entry and customer login */
.entry-page {
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(145deg, #f3a43b, var(--yellow));
}
.entry-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.entry-visual {
  height: 48vh;
  min-height: 360px;
  overflow: hidden;
  background: #e79b35;
}
.entry-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 12%; }
.entry-panel {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 34px;
  text-align: center;
  background-image: radial-gradient(circle at 6px 6px, rgba(217,39,28,.06) 2px, transparent 2.5px);
  background-size: 28px 28px;
}
.entry-panel .logo { display: none; }
.entry-kicker, .customer-login-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}
.entry-panel h1 {
  width: 100%;
  max-width: 340px;
  margin: 9px 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1.5px;
}
.entry-panel > p { max-width: 360px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.entry-actions { width: min(360px, 100%); display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.entry-button {
  width: 100%;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid var(--black);
  border-radius: 12px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.entry-button--primary { background: var(--red); color: white; box-shadow: 5px 5px 0 var(--black); }
.entry-button--secondary { background: var(--yellow); }
.entry-admin-link { margin-top: 9px; color: var(--muted); font-size: 10px; font-weight: 800; }
.entry-panel > small { margin-top: auto; padding-top: 25px; color: #9a9187; font-size: 8px; }

.customer-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--paper);
}
.customer-login-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.customer-login-brand {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 24px 22px;
  color: white;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,211,57,.32), transparent 28%),
    linear-gradient(145deg, #ef3325, #a81711);
}
.customer-login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(circle, white 2px, transparent 2.5px);
  background-size: 27px 27px;
}
.customer-login-brand > div { position: relative; z-index: 2; max-width: 220px; padding-bottom: 10px; }
.customer-login-brand span { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.customer-login-brand h1 { margin: 6px 0; font-family: "Archivo Black", sans-serif; font-size: 34px; line-height: 1; }
.customer-login-brand p { margin: 0; color: #ffd8d3; font-size: 12px; line-height: 1.45; }
.customer-login-antonio {
  position: absolute;
  z-index: 1;
  right: -20px;
  bottom: -5px;
  width: 220px;
  height: 310px;
  filter: drop-shadow(0 15px 8px rgba(65,10,7,.28));
}
.customer-login-panel { flex: 1; padding: 28px 22px 38px; }
.customer-login-panel .logo { display: none; }
.customer-login-panel h2 { margin: 8px 0 4px; font-family: "Archivo Black", sans-serif; font-size: 29px; line-height: 1; }
.customer-login-panel > p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.customer-login-form { display: flex; flex-direction: column; gap: 16px; }
.customer-login-form label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; font-weight: 900; }
.customer-login-form input { height: 52px; border: 2px solid #d8cec0; border-radius: 10px; padding: 0 13px; outline: none; font-size: 16px; }
.customer-login-form input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,39,28,.1); }
.customer-login-form button {
  min-height: 54px;
  border: 3px solid var(--black);
  border-radius: 11px;
  background: var(--red);
  color: white;
  box-shadow: 5px 5px 0 var(--black);
  font-weight: 900;
}
.customer-login-alert { margin-bottom: 16px; padding: 11px 13px; border: 2px solid var(--red); border-radius: 9px; background: #fff0ed; color: var(--red-dark); font-size: 10px; font-weight: 800; }
.customer-login-demo { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; padding: 12px; border-radius: 9px; background: #fff3bd; font-size: 9px; }
.customer-login-demo strong { color: var(--red); }
.customer-login-links { display: flex; justify-content: space-between; margin-top: 20px; }
.customer-login-links a { color: var(--black); font-size: 10px; font-weight: 800; }
.customer-logout { border: 0; background: transparent; color: var(--red); font-size: 9px; font-weight: 900; }

.customer-header { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.customer-header nav { display: flex; gap: 26px; }
.nav-link { border: 0; background: none; color: #736d65; font-weight: 700; padding: 28px 2px 24px; border-bottom: 3px solid transparent; }
.nav-link--active { color: var(--red); border-color: var(--red); }
.profile-chip { display: flex; align-items: center; gap: 10px; }
.profile-chip > span, .admin-user > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 800; font-size: 12px; }
.profile-chip div, .admin-user div { display: flex; flex-direction: column; }
.profile-chip strong, .admin-user strong { font-size: 13px; }
.profile-chip small, .admin-user small { font-size: 10px; color: var(--muted); }

.weekly-promo { position: relative; z-index: 8; overflow: hidden; color: white; background: linear-gradient(115deg, #171513 0%, #4f1712 55%, #9f1d15 100%); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid var(--black); }
.weekly-promo--active { background: linear-gradient(115deg, #231306 0%, #8e1c14 48%, #e33822 100%); animation: promo-glow 3.8s ease-in-out infinite; }
.weekly-promo__inner { position: relative; min-height: 116px; display: grid; grid-template-columns: 100px 1fr 110px 175px; align-items: center; gap: 22px; }
.weekly-promo__character { height: 116px; align-self: end; display: flex; align-items: flex-end; justify-content: center; }
.mascot-avatar--maria-promo { width: 96px; height: 112px; overflow: hidden; filter: drop-shadow(0 8px 8px rgba(0,0,0,.28)); animation: promo-character-float 3.4s ease-in-out infinite; }
.mascot-avatar--maria-promo img { object-fit: contain; object-position: center bottom; }
.weekly-promo__eyebrow { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.weekly-promo h2 { margin: 4px 0; font-family: "Archivo Black", sans-serif; font-size: 22px; line-height: 1.05; }
.weekly-promo p { margin: 0; color: #ffe9e3; font-size: 11px; }
.weekly-promo p strong { color: var(--yellow); }
.weekly-promo__score { width: 90px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--yellow); border-radius: 16px; background: rgba(255,211,57,.1); transform: rotate(2deg); animation: promo-pulse 2.8s ease-in-out infinite; }
.weekly-promo__score strong { color: var(--yellow); font-family: "Archivo Black", sans-serif; font-size: 35px; line-height: .9; }
.weekly-promo__score span { margin-top: 7px; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.weekly-promo__countdown { display: flex; flex-direction: column; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.weekly-promo__countdown span { color: #ffc5b9; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.weekly-promo__countdown strong { margin: 4px 0 2px; color: white; font-family: "Archivo Black", sans-serif; font-size: 23px; letter-spacing: .04em; }
.weekly-promo__countdown small { color: rgba(255,255,255,.62); font-size: 8px; }
.weekly-promo__particles { position: absolute; inset: 0; pointer-events: none; }
.weekly-promo__particles i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); opacity: .35; animation: promo-particle 5s ease-in-out infinite; }
.weekly-promo__particles i:nth-child(1) { left: 8%; top: 20%; }
.weekly-promo__particles i:nth-child(2) { left: 27%; top: 72%; animation-delay: -1s; }
.weekly-promo__particles i:nth-child(3) { left: 48%; top: 18%; animation-delay: -2.2s; }
.weekly-promo__particles i:nth-child(4) { left: 66%; top: 68%; animation-delay: -.6s; }
.weekly-promo__particles i:nth-child(5) { left: 83%; top: 24%; animation-delay: -3s; }
.weekly-promo__particles i:nth-child(6) { left: 94%; top: 74%; animation-delay: -1.8s; }
@keyframes promo-glow { 0%, 100% { box-shadow: 0 8px 26px rgba(217,39,28,.2); } 50% { box-shadow: 0 9px 34px rgba(255,211,57,.28); } }
@keyframes promo-pulse { 0%, 100% { transform: rotate(2deg) scale(1); } 50% { transform: rotate(2deg) scale(1.035); } }
@keyframes promo-character-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes promo-particle { 0%, 100% { transform: translateY(8px) scale(.8); opacity: .2; } 50% { transform: translateY(-9px) scale(1.2); opacity: .55; } }

.register-page { min-height: 100vh; padding: 34px; background: radial-gradient(circle at 85% 10%, rgba(255,211,57,.38), transparent 24%), linear-gradient(135deg, #b82016 0%, var(--red) 42%, #7e130f 100%); }
.register-shell { width: min(1180px, 100%); min-height: calc(100vh - 68px); margin: 0 auto; display: grid; grid-template-columns: minmax(420px, .95fr) minmax(500px, 1.05fr); overflow: hidden; border: 4px solid var(--black); border-radius: 26px; background: var(--paper); box-shadow: 14px 14px 0 rgba(23,21,19,.8); }
.register-welcome { position: relative; min-height: 760px; overflow: hidden; background: #e69a35; }
.register-welcome::after { content: ""; position: absolute; inset: 0; box-shadow: inset -20px 0 35px rgba(61,25,8,.18); pointer-events: none; }
.register-welcome img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.register-panel { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(32px, 5vw, 70px); background-image: radial-gradient(circle at 6px 6px, rgba(217,39,28,.06) 2px, transparent 2.5px); background-size: 28px 28px; }
.register-panel__logo { margin-bottom: 22px; }
.register-heading { margin-bottom: 24px; }
.register-kicker { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.register-heading h1 { max-width: 520px; margin: 8px 0; font-family: "Archivo Black", sans-serif; font-size: clamp(34px, 4vw, 50px); line-height: .98; letter-spacing: -2px; }
.register-heading p { max-width: 500px; margin: 0; color: #5f5850; font-size: 15px; line-height: 1.5; }
.register-form { display: flex; flex-direction: column; gap: 15px; }
.register-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.register-field { display: flex; flex-direction: column; gap: 6px; color: #403a35; font-size: 10px; font-weight: 900; letter-spacing: .02em; }
.register-field input { width: 100%; height: 48px; border: 2px solid #d8cec0; border-radius: 10px; outline: none; background: white; color: var(--black); padding: 0 13px; font-size: 14px; font-weight: 600; transition: border-color .2s ease, box-shadow .2s ease; }
.register-field input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,39,28,.12); }
.register-field:has(.register-field__error) input { border-color: var(--red); background: #fff6f4; }
.register-field__error { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 0; }
.register-form-error { margin-bottom: 14px; padding: 11px 13px; border: 2px solid var(--red); border-radius: 9px; background: #fff0ed; color: var(--red-dark); font-size: 11px; font-weight: 800; }
.register-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; margin-top: 2px; padding: 13px; border: 2px solid var(--black); border-radius: 10px; background: var(--yellow); color: var(--black); font-size: 10px; font-weight: 700; line-height: 1.45; cursor: pointer; }
.register-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.register-privacy { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.register-primary, .register-secondary { min-height: 50px; border: 3px solid var(--black); border-radius: 10px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.register-primary { margin-top: 2px; background: var(--red); color: white; box-shadow: 5px 5px 0 var(--black); }
.register-secondary { background: white; color: var(--black); }
.register-primary:hover, .register-secondary:hover { transform: translateY(-2px); }
.register-primary:active, .register-secondary:active { transform: translateY(1px); box-shadow: 2px 2px 0 var(--black); }

.hero { position: relative; overflow: hidden; background: var(--red); color: white; min-height: 370px; }
.hero__pattern { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(circle at 10px 10px, white 2px, transparent 2.5px); background-size: 32px 32px; transform: rotate(-4deg) scale(1.1); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; border: 80px solid rgba(255, 211, 57, .1); border-radius: 50%; right: -140px; top: -170px; }
.hero__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; min-height: 370px; align-items: center; }
.hero__copy { padding: 38px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.eyebrow span { font-size: 15px; }
.hero h1 { font-family: "Archivo Black", sans-serif; font-size: clamp(40px, 5vw, 68px); letter-spacing: -3px; margin: 12px 0 2px; line-height: 1; }
.hero__copy > p { margin: 8px 0 22px; font-size: 17px; color: #ffd9d5; }
.points-display { display: flex; align-items: center; gap: 14px; }
.points-display strong { color: var(--yellow); font-family: "Archivo Black", sans-serif; font-size: 64px; line-height: 1; letter-spacing: -3px; }
.points-display span { font-size: 11px; line-height: 1.25; font-weight: 800; letter-spacing: .1em; }
.level-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--yellow); color: var(--black); padding: 7px 12px; font-size: 11px; font-weight: 800; margin-top: 12px; }
.antonio-stage { width: 430px; align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.speech-bubble { position: absolute; z-index: 3; left: -20px; top: 54px; width: 220px; background: white; color: var(--black); padding: 16px 18px; border-radius: 16px 16px 4px 16px; transform: rotate(-2deg); box-shadow: 0 10px 30px rgba(77, 8, 5, .18); }
.speech-bubble small { color: var(--red); display: block; font-weight: 900; font-size: 9px; letter-spacing: .14em; margin-bottom: 5px; }
.speech-bubble strong { font-size: 14px; line-height: 1.3; }

.antonio { position: relative; width: 245px; height: 315px; z-index: 2; filter: drop-shadow(0 18px 10px rgba(82, 10, 5, .18)); }
.antonio__hat { position: absolute; z-index: 4; width: 170px; height: 78px; left: 38px; top: 10px; background: white; border-radius: 50% 50% 22% 22%; border: 4px solid var(--black); }
.antonio__hat::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 24px; border-radius: 50%; background: #efebe2; border: 4px solid var(--black); }
.antonio__hat span { position: absolute; width: 60px; height: 60px; background: white; border: 4px solid var(--black); border-radius: 50%; top: -20px; }
.antonio__hat span:nth-child(1) { left: 8px; }
.antonio__hat span:nth-child(2) { left: 50px; top: -32px; }
.antonio__hat span:nth-child(3) { right: 8px; }
.antonio__head { position: absolute; z-index: 3; left: 52px; top: 72px; width: 142px; height: 142px; border-radius: 44% 44% 50% 50%; background: #e4a36d; border: 4px solid var(--black); }
.antonio__brow { position: absolute; top: 39px; width: 30px; height: 7px; background: var(--black); border-radius: 50%; }
.antonio__brow--left { left: 20px; transform: rotate(7deg); }
.antonio__brow--right { right: 20px; transform: rotate(-7deg); }
.antonio__eye { position: absolute; top: 52px; width: 8px; height: 10px; background: var(--black); border-radius: 50%; }
.antonio__eye--left { left: 33px; }
.antonio__eye--right { right: 33px; }
.antonio__nose { position: absolute; width: 25px; height: 32px; border: 3px solid var(--black); border-top: 0; border-radius: 0 0 50% 50%; left: 55px; top: 53px; background: #edae76; }
.antonio__mustache { position: absolute; left: 37px; top: 91px; width: 62px; height: 25px; }
.antonio__mustache span { position: absolute; width: 34px; height: 18px; background: var(--black); border-radius: 50% 10% 50% 50%; transform: rotate(16deg); }
.antonio__mustache span:last-child { right: 0; transform: scaleX(-1) rotate(16deg); }
.antonio__body { position: absolute; left: 20px; bottom: -5px; width: 205px; height: 145px; background: white; border: 4px solid var(--black); border-radius: 50% 50% 14px 14px; overflow: hidden; }
.antonio__scarf { height: 28px; background: var(--red); border-bottom: 4px solid var(--black); }
.antonio__apron { position: absolute; left: 38px; top: 60px; width: 130px; height: 90px; border-radius: 50% 50% 0 0; background: var(--black); color: var(--yellow); display: grid; place-items: start center; padding-top: 22px; font-family: "Archivo Black"; font-size: 20px; }
.antonio--compact { transform: scale(.36); transform-origin: bottom left; position: absolute; bottom: 0; left: 4px; }

.dashboard-content { padding: 42px 0 80px; }
.player-hud { position: relative; z-index: 5; display: grid; grid-template-columns: 1.35fr repeat(3, .8fr) 1.25fr; align-items: stretch; overflow: hidden; margin: -72px 0 34px; border: 3px solid var(--black); border-radius: 16px; background: var(--paper); box-shadow: 7px 7px 0 var(--black); }
.player-hud > * { min-height: 82px; padding: 13px 16px; border-right: 1px solid var(--border); }
.player-hud > *:last-child { border-right: 0; }
.player-hud__identity { display: flex; align-items: center; gap: 4px; background: var(--yellow); }
.player-hud__identity .mascot-avatar { width: 86px; height: 108px; margin: -25px 0 -18px -8px; }
.player-hud__identity div, .hud-stat div { display: flex; flex-direction: column; }
.hud-label, .player-hud__quest span { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.player-hud__identity strong { font-family: "Archivo Black", sans-serif; font-size: 15px; line-height: 1.15; }
.hud-stat { display: flex; align-items: center; justify-content: center; gap: 9px; }
.hud-stat > span { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--black); border-radius: 50%; background: #f4eee4; color: var(--red); }
.hud-stat strong { font-family: "Archivo Black", sans-serif; font-size: 18px; }
.hud-stat small { color: var(--muted); font-size: 8px; white-space: nowrap; }
.hud-stat--reward > span { background: #d9f3e5; color: var(--green); }
.player-hud__quest { display: flex; flex-direction: column; justify-content: center; background: var(--black); color: white; }
.player-hud__quest span { color: var(--yellow); }
.player-hud__quest strong { margin-top: 4px; font-size: 11px; line-height: 1.3; }
.game-section-label { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; }
.game-section-label span { padding: 5px 8px; border: 2px solid var(--black); border-radius: 5px; background: var(--red); color: white; box-shadow: 2px 2px 0 var(--black); font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.game-section-label strong { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.game-section-label::after { content: ""; height: 2px; flex: 1; background: var(--border); }
.game-section-label--collection { margin-top: 44px; margin-bottom: -35px; }
.progress-card { background: var(--paper); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 18px; display: grid; grid-template-columns: 1fr 240px; overflow: hidden; }
.progress-card__main { padding: 28px 34px 26px; }
.progress-copy { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.progress-copy span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.progress-copy strong { font-size: 14px; color: var(--red); }
.progress-track { height: 24px; position: relative; border: 3px solid var(--black); border-radius: 999px; background: #e8e0d3; box-shadow: inset 0 2px 0 rgba(0,0,0,.12); }
.progress-fill { height: 100%; background: repeating-linear-gradient(135deg, var(--yellow), var(--yellow) 12px, #ffc51a 12px, #ffc51a 24px); border-radius: 999px; transition: width .4s ease; }
.progress-pizza { position: absolute; z-index: 3; top: 50%; transform: translate(-50%, -57%); width: 58px; height: 80px; display: grid; place-items: center; pointer-events: none; transition: left .4s ease; }
.progress-pizza .mascot-avatar { width: 58px; height: 80px; filter: drop-shadow(0 5px 3px rgba(23,21,19,.22)); }
.progress-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; margin-top: 7px; }
.reward-road { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 26px; }
.road-step { position: relative; text-align: center; color: #aaa39a; padding-top: 6px; }
.road-step__line { position: absolute; height: 2px; background: #d9d1c5; left: 0; right: 0; top: 16px; }
.road-step:first-child .road-step__line { left: 50%; }
.road-step:last-child .road-step__line { right: 50%; }
.road-step__badge { position: relative; z-index: 2; width: 24px; height: 24px; margin: 0 auto 7px; display: grid; place-items: center; border-radius: 50%; color: #aaa39a; background: #eee9df; border: 2px solid #d9d1c5; }
.road-step--unlocked { color: var(--black); }
.road-step--unlocked .road-step__badge { color: white; background: var(--green); border-color: var(--black); }
.road-step .reward-visual { margin: 0 auto 5px; }
.road-step strong { display: block; font-family: "Archivo Black"; font-size: 14px; }
.road-step > span { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.next-reward { background: var(--yellow); padding: 25px; text-align: center; border-left: 2px solid var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.next-reward .reward-visual { margin: 14px auto; }
.next-reward h3 { font-family: "Archivo Black"; font-size: 20px; margin: 0; line-height: 1.08; }
.next-reward p { font-size: 11px; margin: 6px 0 0; }
.next-reward-mobile { display: none; }

.reward-visual { width: 82px; height: 72px; position: relative; display: grid; place-items: center; }
.reward-visual--small { width: 42px; height: 35px; transform: scale(.72); }
.drink-cup { width: 43px; height: 53px; background: var(--red); color: white; border: 3px solid var(--black); clip-path: polygon(8% 0, 92% 0, 80% 100%, 20% 100%); display: grid; place-items: center; font-family: "Archivo Black"; font-size: 22px; }
.drink-lid { position: absolute; width: 49px; height: 7px; background: white; border: 3px solid var(--black); top: 8px; border-radius: 4px; z-index: 2; }
.drink-straw { position: absolute; width: 5px; height: 35px; background: white; border: 2px solid var(--black); top: -5px; right: 19px; transform: rotate(8deg); }
.slice-cheese { position: absolute; width: 62px; height: 55px; background: var(--yellow); border: 3px solid var(--black); clip-path: polygon(8% 0, 92% 0, 50% 100%); }
.slice-crust { position: absolute; z-index: 2; top: 4px; width: 68px; height: 14px; background: var(--red); border: 3px solid var(--black); border-radius: 50%; }
.slice-cheese i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.slice-cheese i:nth-child(1) { left: 16px; top: 18px; }
.slice-cheese i:nth-child(2) { right: 14px; top: 20px; }
.slice-cheese i:nth-child(3) { left: 27px; top: 34px; }
.ticket-shape { width: 68px; height: 52px; background: var(--red); color: white; border: 3px solid var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-5deg); box-shadow: 5px 5px 0 var(--black); }
.ticket-shape b { font-family: "Archivo Black"; font-size: 23px; line-height: 1; }
.ticket-shape small { font-size: 8px; font-weight: 900; letter-spacing: .16em; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 48px 0 18px; }
.section-heading h2 { font-family: "Archivo Black"; font-size: 27px; letter-spacing: -1px; margin: 5px 0 0; }
.reward-count { background: #e9e1d4; padding: 6px 11px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.reward-card { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: 0 8px 22px rgba(60, 33, 15, .06); }
.reward-card--used { opacity: .55; filter: grayscale(.5); }
.reward-card__top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 75px; }
.reward-card__top .reward-visual { transform: scale(.8); transform-origin: top left; }
.status-tag { background: #d9f3e5; color: var(--green); padding: 5px 8px; border-radius: 4px; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.status-tag--used { background: #e8e3db; color: #716c65; }
.reward-card__milestone { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.reward-card h3 { margin: 5px 0; font-size: 17px; }
.reward-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.history-card { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 0 25px 8px; margin-top: 28px; }
.section-heading--compact { margin: 25px 0 12px; }
.text-button { border: 0; background: none; color: var(--red); display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; }
.purchase-row { display: grid; grid-template-columns: 42px 1fr 120px 90px; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #ece6dd; }
.purchase-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #f6dfd9; color: var(--red); }
.purchase-name { display: flex; flex-direction: column; }
.purchase-name strong { font-size: 13px; }
.purchase-name span, .purchase-amount { color: var(--muted); font-size: 10px; }
.purchase-points { color: var(--green); text-align: right; font-size: 12px; }
footer { background: var(--black); color: #aaa39a; padding: 28px max(20px, calc((100% - 1160px) / 2)); display: flex; justify-content: space-between; align-items: center; font-size: 11px; }

/* Admin */
.admin-page { min-height: 100vh; display: grid; grid-template-columns: 230px 1fr; background: #f4efe6; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 230px; padding: 28px 20px 20px; background: var(--black); color: white; display: flex; flex-direction: column; z-index: 10; }
.admin-sidebar__label { color: #706b65; font-size: 9px; font-weight: 800; letter-spacing: .15em; margin: 38px 10px 9px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.side-nav { border: 0; background: transparent; color: #aaa49e; display: flex; gap: 11px; align-items: center; padding: 12px; border-radius: 8px; text-align: left; font-size: 12px; font-weight: 700; }
.side-nav--active { background: var(--red); color: white; }
.admin-tip { position: relative; overflow: hidden; height: 115px; background: #2b2825; border: 1px solid #3d3934; border-radius: 12px; margin-top: auto; padding: 17px 12px 12px 74px; }
.admin-tip div:last-child { position: relative; z-index: 3; display: flex; flex-direction: column; }
.admin-tip strong { color: var(--yellow); font-size: 10px; margin-bottom: 5px; }
.admin-tip span { color: #b8b2ac; font-size: 9px; line-height: 1.4; }
.admin-user { display: flex; align-items: center; gap: 10px; border-top: 1px solid #393531; margin-top: 15px; padding-top: 15px; }
.admin-user small { color: #77716a; }
.admin-main { grid-column: 2; padding: 38px 42px 70px; max-width: 1440px; width: 100%; }
.admin-header { display: flex; justify-content: space-between; align-items: center; }
.admin-header h1 { font-family: "Archivo Black"; margin: 4px 0; font-size: 34px; letter-spacing: -1.5px; }
.admin-header p { margin: 0; color: var(--muted); font-size: 12px; }
.primary-button, .wide-button { border: 2px solid var(--black); background: var(--red); color: white; box-shadow: 4px 4px 0 var(--black); border-radius: 7px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.primary-button:hover, .wide-button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
.primary-button:disabled { opacity: .4; cursor: not-allowed; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 20px; }
.stat-grid article { background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 17px 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.stat-grid span { grid-column: 1; font-size: 9px; font-weight: 900; letter-spacing: .1em; color: var(--muted); }
.stat-grid strong { grid-row: 1 / 3; grid-column: 2; font-family: "Archivo Black"; color: var(--red); font-size: 30px; }
.stat-grid small { grid-column: 1; font-size: 9px; margin-top: 5px; color: #9b958d; }
.admin-workspace { display: grid; grid-template-columns: minmax(390px, .95fr) minmax(390px, 1.05fr); gap: 16px; align-items: start; }
.customer-list-panel, .customer-detail { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 10px; margin: 18px; padding: 10px 12px; background: #f3eee6; border: 1px solid #ded6c9; border-radius: 8px; color: #918a82; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.list-meta { padding: 0 20px 10px; display: flex; justify-content: space-between; color: #938c84; font-size: 9px; font-weight: 700; }
.customer-list { border-top: 1px solid #e8e1d7; }
.customer-row { width: 100%; display: grid; grid-template-columns: 42px 1fr 54px 20px; gap: 11px; align-items: center; text-align: left; border: 0; border-bottom: 1px solid #eee8df; background: transparent; padding: 13px 18px; color: var(--black); }
.customer-row:hover, .customer-row--selected { background: #fff6d4; }
.customer-row--selected { border-left: 4px solid var(--red); padding-left: 14px; }
.customer-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 10px; font-weight: 900; }
.customer-row:nth-child(even) .customer-avatar { background: var(--yellow); color: var(--black); }
.customer-identity, .customer-score { display: flex; flex-direction: column; }
.customer-identity strong { font-size: 11px; }
.customer-identity small, .customer-score small { color: #8c857d; font-size: 9px; }
.customer-score { text-align: right; }
.customer-score strong { color: var(--red); font-family: "Archivo Black"; font-size: 16px; }
.empty-state { padding: 28px 18px; text-align: center; color: var(--muted); font-size: 11px; }
.customer-detail { padding-bottom: 18px; }
.detail-hero { padding: 22px; display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; background: var(--red); color: white; }
.detail-avatar { width: 60px; height: 60px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--black); border-radius: 50%; color: var(--black); font-family: "Archivo Black"; }
.detail-hero .level-pill { margin: 0; padding: 4px 7px; font-size: 8px; }
.detail-hero h2 { margin: 6px 0 2px; font-size: 18px; }
.detail-hero p { display: flex; align-items: center; gap: 5px; margin: 0; color: #ffd4d1; font-size: 9px; }
.detail-points { text-align: right; display: flex; flex-direction: column; }
.detail-points strong { font-family: "Archivo Black"; color: var(--yellow); font-size: 34px; }
.detail-points span { font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.mini-progress { margin: 18px 20px; padding: 15px; border-radius: 9px; background: #f2ede5; }
.mini-progress > div:first-child { display: flex; justify-content: space-between; font-size: 9px; }
.mini-progress > div strong { color: var(--red); }
.mini-track { height: 8px; border-radius: 99px; overflow: hidden; background: #ddd5ca; margin: 9px 0 5px; }
.mini-track span { height: 100%; display: block; background: var(--yellow); border-radius: 99px; }
.mini-progress small { color: var(--muted); font-size: 8px; }
.detail-section { padding: 0 20px; }
.detail-section__heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e9e2d9; padding-bottom: 9px; }
.detail-section__heading h3 { font-size: 13px; margin: 0; }
.detail-section__heading span { color: var(--green); background: #daf2e5; padding: 4px 7px; border-radius: 99px; font-size: 8px; font-weight: 800; }
.admin-reward { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eee8df; }
.admin-reward__icon { width: 31px; height: 31px; border-radius: 7px; display: grid; place-items: center; background: #fff0b8; color: var(--red); }
.admin-reward div { display: flex; flex-direction: column; }
.admin-reward strong { font-size: 10px; }
.admin-reward small { font-size: 8px; color: var(--muted); }
.admin-reward button { border: 0; background: var(--black); color: white; padding: 6px 8px; border-radius: 5px; font-size: 8px; font-weight: 800; }
.admin-reward--used { opacity: .5; }
.used-label { font-size: 8px; font-weight: 800; }
.wide-button { width: calc(100% - 40px); margin: 17px 20px 0; box-shadow: none; border: 0; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(23, 21, 19, .68); display: grid; place-items: center; padding: 20px; }
.purchase-modal { position: relative; width: min(430px, 100%); background: var(--paper); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--yellow); border-radius: 16px; padding: 28px; }
.modal-close { position: absolute; top: 15px; right: 15px; border: 0; background: transparent; }
.modal-icon { width: 48px; height: 48px; border: 2px solid var(--black); background: var(--yellow); border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.purchase-modal h2 { font-family: "Archivo Black"; font-size: 28px; letter-spacing: -1px; margin: 4px 0; }
.purchase-modal > p { margin: 0 0 22px; color: var(--muted); font-size: 11px; }
.purchase-modal form { display: flex; flex-direction: column; gap: 16px; }
.purchase-modal label { display: flex; flex-direction: column; gap: 7px; color: #4b4640; font-size: 10px; font-weight: 800; }
.money-input { display: flex; align-items: center; gap: 8px; background: #f4efe7; border: 2px solid #d8d0c4; border-radius: 8px; padding: 8px 12px; }
.money-input span { font-family: "Archivo Black"; font-size: 22px; }
.money-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-family: "Archivo Black"; font-size: 26px; }
.points-preview { background: #fff3c2; border: 1px dashed #d4ae17; border-radius: 8px; padding: 12px 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.points-preview span { font-size: 10px; font-weight: 700; }
.points-preview strong { color: var(--red); font-family: "Archivo Black"; font-size: 20px; }
.points-preview small { grid-column: 1 / -1; color: var(--muted); font-size: 8px; }
.text-input { border: 1px solid #d8d0c4; border-radius: 8px; background: #f8f4ed; padding: 12px; outline: 0; font-size: 11px; }
.primary-button--wide { width: 100%; margin-top: 3px; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; width: min(400px, calc(100% - 48px)); background: var(--black); color: white; border: 2px solid var(--yellow); box-shadow: 7px 7px 0 var(--yellow); border-radius: 10px; padding: 15px; display: grid; grid-template-columns: 38px 1fr 20px; gap: 10px; align-items: center; animation: toast-in .3s ease; }
.toast > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--black); }
.toast strong { color: var(--yellow); font-size: 12px; }
.toast p { margin: 3px 0 0; color: #d4cec7; font-size: 9px; line-height: 1.4; }
.toast button { align-self: start; color: white; border: 0; background: transparent; padding: 0; }
@keyframes toast-in { from { transform: translateY(20px); opacity: 0; } }

.customer-order-alert {
  position: fixed;
  z-index: 65;
  top: 78px;
  left: 50%;
  width: min(520px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  transform: translateX(-50%);
  border: 3px solid var(--black);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--black);
  color: var(--black);
  animation: toast-in .24s ease;
}
.customer-order-alert span {
  display: block;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.customer-order-alert strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}
.customer-order-alert p {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 700;
}
.customer-order-alert button {
  min-height: 40px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: var(--red);
  color: white;
  box-shadow: 3px 3px 0 var(--black);
  padding: 0 13px;
  font-size: 10px;
  font-weight: 900;
}

/* Mascot system */
.mascot-avatar { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.mascot-avatar img { position: relative; z-index: 2; width: 100%; height: 100%; display: block; object-fit: contain; }
.mascot-avatar[data-character="pizza"] { overflow: visible; border: 0; border-radius: 0; background: transparent; }
.mascot-avatar[data-character="pizza"] img { object-fit: contain; object-position: center bottom; }
.mascot-avatar__fallback { display: none; place-items: center; width: 100%; height: 100%; border: 3px solid var(--black); border-radius: 50%; background: var(--yellow); color: var(--red); font-family: "Archivo Black", sans-serif; font-size: 30px; }
.mascot-avatar--fallback img { display: none; }
.mascot-avatar--fallback .mascot-avatar__fallback { display: grid; }
.mascot-avatar--antonio { width: 285px; height: 325px; }
.mascot-avatar--antonio-small { width: 92px; height: 105px; }
.mascot-avatar[data-character="antonio"] { overflow: hidden; }
.mascot-avatar[data-character="antonio"] img { object-fit: contain; object-position: center bottom; }
.mascot-avatar--maria { width: 210px; height: 250px; }
.mascot-avatar--maria-small { width: 78px; height: 92px; }
.mascot-avatar--pizza { width: 170px; height: 190px; filter: drop-shadow(0 12px 7px rgba(23,21,19,.18)); }
.mascot-avatar--pizza-small { width: 78px; height: 96px; filter: drop-shadow(0 7px 4px rgba(23,21,19,.18)); }
.mascot-avatar--reward-character { width: 92px; height: 116px; margin: -34px -16px -20px 0; filter: drop-shadow(0 7px 4px rgba(23,21,19,.2)); animation: mascot-float 2.6s ease-in-out infinite; }
.mascot-avatar--boby { width: 190px; height: 225px; }
.mascot-avatar--boby-small { width: 72px; height: 86px; }

.antonio-guide--stage { width: 440px; align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: flex-end; }
.antonio-guide--stage .mascot-avatar { margin-right: 22px; }
.guide-bubble { position: relative; z-index: 4; background: white; color: var(--black); border: 3px solid var(--black); box-shadow: 6px 6px 0 var(--yellow); padding: 15px 17px; border-radius: 16px 16px 4px 16px; }
.guide-bubble::after { content: ""; position: absolute; right: -13px; bottom: 18px; width: 22px; height: 22px; background: white; border-right: 3px solid var(--black); border-bottom: 3px solid var(--black); transform: rotate(-45deg); }
.guide-bubble small { display: block; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .14em; margin-bottom: 5px; }
.guide-bubble strong { display: block; font-size: 14px; line-height: 1.32; }
.antonio-guide--stage .guide-bubble { position: absolute; left: -20px; top: 55px; width: 225px; transform: rotate(-2deg); }
.antonio-guide--welcome .mascot-avatar { animation: mascot-wave 2.4s ease-in-out infinite; }
.antonio-guide--celebration .mascot-avatar { animation: mascot-bounce 1.15s ease-in-out infinite; }
.antonio-guide--reward .mascot-avatar { animation: mascot-float 2.2s ease-in-out infinite; }
.antonio-guide--birthday .mascot-avatar { animation: mascot-party 1.8s ease-in-out infinite; }
.antonio-guide--milestone .mascot-avatar { animation: mascot-run .7s ease-in-out infinite alternate; }
@keyframes mascot-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2deg); } }
@keyframes mascot-bounce { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-9px); } }
@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mascot-party { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(2deg) translateY(-4px); } }
@keyframes mascot-run { from { transform: translate(-3px, 1px) rotate(-1deg); } to { transform: translate(4px, -3px) rotate(1deg); } }

.progress-guide { display: flex; align-items: center; justify-content: flex-end; gap: 3px; min-height: 64px; margin: 5px 0 -4px; }
.progress-guide .mascot-avatar { align-self: flex-end; margin-bottom: -8px; }
.mini-speech { position: relative; max-width: 245px; padding: 10px 13px; border: 2px solid var(--black); border-radius: 12px 12px 12px 3px; background: white; box-shadow: 3px 3px 0 var(--yellow); display: flex; flex-direction: column; }
.mini-speech strong { color: var(--red); font-size: 10px; }
.mini-speech span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.next-reward__characters { display: flex; align-items: center; justify-content: center; min-height: 98px; margin: 2px 0; }
.next-reward__characters .mascot-avatar { margin-right: -22px; z-index: 2; }
.next-reward__characters .reward-visual { transform: scale(.82) rotate(4deg); }

.section-heading--with-guide { align-items: center; }
.collection-guide { display: flex; align-items: center; gap: 4px; }
.collection-guide .mascot-avatar { margin-bottom: -10px; }
.collection-guide .mini-speech { max-width: 180px; }

.game-mission { position: relative; overflow: hidden; display: grid; grid-template-columns: 190px 1fr 270px; align-items: center; gap: 20px; min-height: 210px; margin-top: 28px; padding: 14px 28px; border: 3px solid var(--black); border-radius: 18px; background: var(--yellow); box-shadow: 7px 7px 0 var(--black); }
.game-mission::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(circle at 4px 4px, var(--red) 2px, transparent 2.5px); background-size: 22px 22px; }
.game-mission > * { position: relative; z-index: 1; }
.game-mission__mascot { display: grid; place-items: end center; align-self: stretch; }
.game-mission__mascot .mascot-avatar { width: 185px; height: 205px; margin-bottom: -14px; }
.game-mission__copy h2 { margin: 4px 0 5px; font-family: "Archivo Black", sans-serif; font-size: 24px; letter-spacing: -1px; }
.game-mission__copy p { max-width: 520px; margin: 0; color: #4f473a; font-size: 11px; line-height: 1.5; }
.mission-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.mission-chips span { padding: 6px 9px; border: 2px solid var(--black); border-radius: 999px; background: white; font-size: 9px; font-weight: 800; }
.antonio-guide--card { display: flex; align-items: flex-end; justify-content: center; }
.antonio-guide--card .guide-bubble { width: 175px; margin-right: -8px; margin-bottom: 36px; padding: 11px 12px; }
.antonio-guide--card .guide-bubble strong { font-size: 11px; }
.antonio-guide--card .mascot-avatar { width: 100px; height: 120px; }

.admin-tip > .mascot-avatar { position: absolute; left: 0; bottom: -7px; width: 78px; height: 94px; }
.maria-guide { display: flex; align-items: flex-end; }
.maria-guide .guide-bubble { max-width: 210px; margin-right: -6px; margin-bottom: 32px; }
.game-mission__guide .maria-guide .guide-bubble { width: 175px; padding: 11px 12px; }
.game-mission__guide .maria-guide .guide-bubble strong { font-size: 11px; }
.game-mission__guide .maria-guide .mascot-avatar { width: 92px; height: 112px; }

@media (max-width: 900px) {
  .register-page { padding: 20px; }
  .register-shell { grid-template-columns: .85fr 1.15fr; min-height: calc(100vh - 40px); }
  .register-welcome { min-height: 680px; }
  .register-panel { padding: 32px; }
  .weekly-promo__inner { grid-template-columns: 86px 1fr 88px 150px; gap: 12px; }
  .weekly-promo__countdown { padding-left: 12px; }
  .admin-page { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; flex-direction: row; align-items: center; padding: 14px 20px; }
  .admin-sidebar__label, .admin-tip, .admin-user { display: none; }
  .admin-sidebar nav { margin-left: auto; flex-direction: row; }
  .side-nav { padding: 9px; }
  .side-nav:nth-child(2) { display: none; }
  .admin-main { padding: 28px 20px 60px; }
  .admin-workspace { grid-template-columns: 1fr; }
  .antonio-stage, .antonio-guide--stage { width: 370px; }
  .player-hud { grid-template-columns: 1.3fr repeat(3, .75fr); }
  .player-hud__quest { grid-column: 1 / -1; min-height: 54px; flex-direction: row; align-items: center; justify-content: space-between; }
  .player-hud > *:nth-child(4) { border-right: 0; }
  .game-mission { grid-template-columns: 130px 1fr; }
  .game-mission__guide { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: -28px; }
}

@media (max-width: 700px) {
  .register-page { padding: 0; background: var(--paper); }
  .register-shell { display: flex; flex-direction: column; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .register-welcome { min-height: 0; height: min(62vh, 540px); flex: 0 0 auto; }
  .register-welcome::after { box-shadow: inset 0 -20px 35px rgba(61,25,8,.16); }
  .register-welcome img { object-fit: cover; object-position: center top; }
  .register-panel { padding: 28px 22px 40px; }
  .register-panel__logo { display: none; }
  .register-heading { margin-bottom: 22px; text-align: center; }
  .register-heading h1 { font-size: 34px; }
  .register-heading p { font-size: 13px; }
  .register-form__row { grid-template-columns: 1fr; }
  .weekly-promo__inner { min-height: 105px; grid-template-columns: 70px 1fr 82px; gap: 9px; }
  .weekly-promo__character { height: 105px; }
  .mascot-avatar--maria-promo { width: 72px; height: 100px; }
  .weekly-promo h2 { font-size: 15px; }
  .weekly-promo p { font-size: 9px; line-height: 1.3; }
  .weekly-promo__score { width: 72px; height: 62px; }
  .weekly-promo__score strong { font-size: 27px; }
  .weekly-promo__countdown { grid-column: 2 / 4; flex-direction: row; align-items: center; gap: 8px; margin-top: -22px; padding: 6px 0 8px; border: 0; }
  .weekly-promo__countdown strong { font-size: 14px; }
  .weekly-promo__countdown small { display: none; }
  .shell { width: min(100% - 28px, 560px); }
  .customer-header { height: 68px; }
  .customer-header nav, .profile-chip div { display: none; }
  .nav-link:last-child { display: block; }
  .customer-header::after { content: "Admin"; margin-left: auto; color: var(--red); font-size: 11px; font-weight: 800; }
  .customer-header nav { position: absolute; right: 12px; display: block; opacity: 0; z-index: 2; }
  .customer-header nav .nav-link:first-child { display: none; }
  .hero { min-height: 500px; }
  .hero__inner { min-height: 500px; display: block; }
  .hero__copy { padding-top: 34px; position: relative; z-index: 4; }
  .hero h1 { font-size: 43px; }
  .hero__copy > p { font-size: 14px; }
  .points-display strong { font-size: 54px; }
  .antonio-stage, .antonio-guide--stage { position: absolute; width: 100%; height: 300px; bottom: 0; right: -55px; }
  .antonio-guide--stage .mascot-avatar { width: 230px; height: 275px; margin-right: 0; }
  .antonio-guide--stage .guide-bubble { left: -4px; top: 68px; width: 175px; }
  .speech-bubble { left: -20px; top: 58px; width: 180px; }
  .antonio { transform: scale(.78); transform-origin: bottom center; }
  .dashboard-content { padding-top: 25px; }
  .player-hud { grid-template-columns: 1fr 1fr; margin: -50px 0 28px; border-radius: 13px; box-shadow: 5px 5px 0 var(--black); }
  .player-hud > * { min-height: 68px; padding: 10px 12px; }
  .player-hud__identity { grid-column: 1 / -1; border-right: 0; }
  .player-hud__identity .mascot-avatar { width: 82px; height: 102px; margin: -18px 0 -14px -4px; }
  .hud-stat { justify-content: flex-start; }
  .hud-stat:nth-of-type(2) { border-right: 0; }
  .hud-stat--reward { grid-column: 1 / -1; border-right: 0; }
  .player-hud__quest { grid-column: 1 / -1; min-height: 50px; }
  .game-section-label strong { display: none; }
  .game-section-label--collection { margin-top: 34px; margin-bottom: -24px; }
  .progress-card { display: block; }
  .progress-card__main { padding: 23px 18px; }
  .progress-copy { display: block; }
  .progress-copy strong { display: block; margin-top: 5px; }
  .next-reward { display: none; }
  .next-reward-mobile { display: flex; align-items: center; gap: 7px; background: var(--yellow); border: 2px solid var(--black); border-radius: 8px; padding: 4px 10px; margin: 16px 0 0; font-size: 10px; }
  .next-reward-mobile .reward-visual { transform: scale(.5); margin: -16px; }
  .reward-road { margin-top: 20px; overflow-x: auto; grid-template-columns: repeat(5, minmax(75px, 1fr)); padding-bottom: 5px; }
  .section-heading { margin-top: 34px; align-items: center; }
  .section-heading h2 { font-size: 21px; }
  .reward-grid { grid-template-columns: 1fr; }
  .section-heading--with-guide { align-items: flex-end; }
  .collection-guide .mini-speech { display: none; }
  .collection-guide .mascot-avatar[data-character="antonio"] { width: 70px; height: 84px; }
  .collection-guide .mascot-avatar--reward-character { width: 75px; height: 96px; margin-right: -18px; }
  .game-mission { grid-template-columns: 95px 1fr; padding: 17px; gap: 10px; }
  .game-mission__mascot .mascot-avatar { width: 110px; height: 135px; }
  .game-mission__copy h2 { font-size: 18px; }
  .game-mission__copy p { display: none; }
  .game-mission__guide { margin-top: -15px; }
  .mission-chips span:nth-child(3) { display: none; }
  .purchase-row { grid-template-columns: 38px 1fr auto; }
  .purchase-amount { display: none; }
  .purchase-points { grid-column: 3; }
  .history-card { padding: 0 15px 6px; }
  footer { flex-direction: column; gap: 14px; }
  .admin-header { align-items: flex-end; }
  .admin-header p { display: none; }
  .admin-header .primary-button { padding: 10px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid article:last-child { grid-column: 1 / -1; }
  .detail-hero { grid-template-columns: 52px 1fr; }
  .detail-avatar { width: 50px; height: 50px; }
  .detail-points { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .weekly-promo--active,
  .weekly-promo__score,
  .mascot-avatar--maria-promo,
  .weekly-promo__particles i { animation: none; }
}

@media (max-width: 430px) {
  .customer-order-alert {
    top: 72px;
    grid-template-columns: 1fr;
  }
  .customer-order-alert button {
    width: 100%;
  }
  .admin-sidebar .logo strong { font-size: 19px; }
  .admin-sidebar nav .side-nav { font-size: 0; }
  .admin-main { padding-inline: 13px; }
  .admin-header h1 { font-size: 27px; }
  .stat-grid { gap: 8px; }
  .stat-grid article { padding: 13px; }
  .stat-grid strong { font-size: 23px; }
  .customer-row { grid-template-columns: 38px 1fr 48px; padding-inline: 12px; }
  .customer-row > svg { display: none; }
  .purchase-modal { padding: 22px; }
  .player-hud { margin-top: -36px; }
  .player-hud .hud-stat:nth-child(3) { border-right: 0; }
  .player-hud__quest strong { font-size: 9px; text-align: right; }
  .progress-guide { justify-content: center; }
  .progress-guide .mascot-avatar { width: 72px; height: 86px; }
  .progress-guide .mini-speech { max-width: 190px; }
  .game-mission { grid-template-columns: 72px 1fr; }
  .game-mission__mascot .mascot-avatar { width: 86px; height: 105px; }
  .game-mission__guide { display: none; }
}

/* Mobile-first game experience */
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
.game-app { min-height: 100vh; padding-bottom: 94px; background: #fff8e9; }
.game-app .shell { width: min(100% - 28px, 1120px); }
.game-header { position: sticky; z-index: 30; top: 0; height: 64px; border-bottom: 2px solid var(--black); background: rgba(255,253,248,.96); backdrop-filter: blur(10px); }
.game-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.game-header .logo .mascot-avatar--logo { width: 38px; height: 48px; }
.game-header .logo strong { font-size: 20px; }
.game-header .logo span { font-size: 8px; }
.game-header__player { display: flex; align-items: center; gap: 9px; }
.game-header__player > div { display: flex; flex-direction: column; align-items: flex-end; }
.game-header__player strong { font-size: 11px; }
.game-header__player div span { color: var(--red); font-size: 10px; font-weight: 900; }
.game-header__player > span { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--black); border-radius: 50%; background: var(--yellow); font-size: 10px; font-weight: 900; }

.game-hero { position: relative; overflow: hidden; min-height: 420px; color: white; background: linear-gradient(155deg, #ef3325 0%, #d9271c 56%, #9f1711 100%); }
.game-hero::after { content: ""; position: absolute; width: 310px; height: 310px; right: -145px; bottom: -135px; border: 45px solid rgba(255,211,57,.13); border-radius: 50%; }
.game-hero__dots { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle, white 2px, transparent 2.5px); background-size: 27px 27px; }
.game-hero__inner { position: relative; z-index: 2; min-height: 420px; padding-top: 31px; }
.game-hero__copy { position: relative; z-index: 3; max-width: 235px; }
.game-eyebrow { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.game-hero h1 { margin: 8px 0 3px; font-family: "Archivo Black", sans-serif; font-size: 38px; line-height: .98; letter-spacing: -2px; }
.game-hero__copy > p { margin: 0; color: #ffd9d5; font-size: 13px; }
.game-points { display: flex; align-items: center; gap: 10px; margin-top: 17px; }
.game-points strong { color: var(--yellow); font-family: "Archivo Black", sans-serif; font-size: 54px; line-height: .9; letter-spacing: -3px; }
.game-points span { font-size: 9px; font-weight: 900; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.game-hero__character { position: absolute; z-index: 2; right: -15px; bottom: -10px; width: 255px; height: 305px; pointer-events: none; }
.game-hero__character .mascot-avatar { position: absolute; bottom: 0; overflow: visible; filter: drop-shadow(0 15px 8px rgba(69,17,8,.24)); }
.game-hero__antonio { right: 92px; width: 150px; height: 280px; animation: promo-character-float 3.8s ease-in-out infinite; }
.game-hero__maria { right: -5px; width: 165px; height: 285px; animation: promo-character-float 4.2s ease-in-out infinite reverse; }
.game-hero__character img { object-fit: contain; object-position: center bottom; }

.game-app .weekly-promo { border-top: 0; border-bottom: 3px solid var(--black); }
.game-app .weekly-promo__inner { min-height: 128px; grid-template-columns: 76px 1fr 70px; gap: 8px; padding-top: 8px; padding-bottom: 29px; }
.game-app .weekly-promo__character { height: 112px; }
.game-app .mascot-avatar--maria-promo { width: 78px; height: 110px; }
.game-app .weekly-promo h2 { font-size: 16px; }
.game-app .weekly-promo p { font-size: 9px; line-height: 1.35; }
.game-app .weekly-promo__score { width: 66px; height: 62px; }
.game-app .weekly-promo__score strong { font-size: 27px; }
.game-app .weekly-promo__countdown { position: absolute; left: 98px; right: 0; bottom: 7px; flex-direction: row; align-items: center; gap: 7px; padding: 0; border: 0; }
.game-app .weekly-promo__countdown strong { margin: 0; font-size: 14px; }
.game-app .weekly-promo__countdown small { display: none; }

.game-content { padding-top: 30px; }
.game-status.player-hud { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0 0 34px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.game-status.player-hud > * { min-height: 68px; padding: 10px 7px; border: 0; }
.game-status .player-hud__identity { position: relative; grid-column: 1 / -1; min-height: 125px; justify-content: flex-end; gap: 4px; padding-left: 145px; border-radius: 18px; background: linear-gradient(100deg, transparent 0 28%, var(--yellow) 28% 100%); }
.game-status .player-hud__identity .game-status__mascot { position: absolute; left: 4px; bottom: -5px; width: 145px; height: 175px; margin: 0; filter: drop-shadow(0 10px 5px rgba(23,21,19,.18)); }
.game-status .player-hud__identity strong { font-size: 18px; }
.game-status .player-hud__identity small { max-width: 150px; margin-top: 4px; color: #6c4c00; font-size: 9px; font-weight: 800; }
.game-status .hud-stat { flex-direction: column; gap: 4px; margin-top: 10px; border: 2px solid var(--black); border-radius: 13px; background: white; text-align: center; }
.game-status .hud-stat > span { width: 30px; height: 30px; }
.game-status .hud-stat strong { font-size: 16px; }
.game-status .hud-stat small { display: block; font-size: 7px; line-height: 1.2; }
.game-status .player-hud__quest { grid-column: 1 / -1; min-height: 62px; margin-top: 9px; padding: 11px 15px; border-radius: 14px; }

.game-card.journey-card { margin-bottom: 8px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.game-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 17px; }
.game-section-heading span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.game-section-heading h2 { margin: 3px 0 0; font-family: "Archivo Black", sans-serif; font-size: 25px; letter-spacing: -1px; }
.game-section-heading > strong { padding: 8px 11px; border: 2px solid var(--black); border-radius: 999px; background: var(--yellow); font-size: 11px; }
.journey-card .progress-block { padding: 17px 15px 21px; border: 2px solid var(--black); border-radius: 16px; background: white; box-shadow: 4px 4px 0 var(--black); }
.journey-card .progress-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.journey-card .progress-copy > span { color: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.journey-card .progress-copy strong { max-width: 165px; color: var(--black); font-size: 11px; text-align: right; }
.journey-card .progress-track { margin-top: 22px; }
.journey-card .progress-pizza { width: 52px; height: 72px; }
.journey-card .progress-pizza .mascot-avatar { width: 52px; height: 72px; }

.journey-card .reward-road { display: flex; flex-direction: column; gap: 10px; overflow: visible; margin: 22px 0 0; padding: 0; }
.journey-card .road-step { min-height: 76px; display: grid; grid-template-columns: 42px 58px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border: 2px solid #d8d0c3; border-radius: 14px; background: white; text-align: left; }
.journey-card .road-step--unlocked { border-color: var(--black); background: #fff5c8; box-shadow: 3px 3px 0 var(--black); color: var(--black); }
.journey-card .road-step__line { display: none; }
.journey-card .road-step__badge { position: static; z-index: 1; margin: 0; }
.journey-card .road-step .reward-visual { margin: -11px; transform: scale(.62); }
.journey-card .road-step strong { justify-self: end; grid-column: 4; grid-row: 1; color: var(--red); font-family: "Archivo Black", sans-serif; font-size: 16px; }
.journey-card .road-step span:last-child { grid-column: 3; grid-row: 1; color: var(--black); font-size: 11px; font-weight: 900; }

.customer-section { scroll-margin-top: 76px; padding-top: 42px; }
.game-section-heading--standalone { margin-bottom: 0; }
.customer-section > .section-heading { margin-top: 8px; }
.customer-section > .section-heading > div:first-child { display: none; }
.customer-section .collection-guide { width: 100%; justify-content: flex-end; }
.customer-section .collection-guide .mascot-avatar--reward-character { width: 105px; height: 130px; margin: -26px -23px -20px 0; }
.customer-section .collection-guide .antonio-guide--avatar { display: none; }
.customer-section .collection-guide .mini-speech { display: flex; max-width: 170px; }
.customer-section .reward-grid { display: flex; flex-direction: column; gap: 12px; }
.customer-section .reward-card { min-height: 156px; padding: 17px; border: 2px solid var(--black); border-radius: 16px; box-shadow: 4px 4px 0 var(--black); }
.customer-section .reward-card__top { min-height: 58px; }
.customer-section .reward-card h3 { font-size: 17px; }

.profile-section { padding-bottom: 35px; }
.profile-game-card { overflow: hidden; border: 3px solid var(--black); border-radius: 18px; background: white; box-shadow: 6px 6px 0 var(--yellow); }
.profile-game-card__identity { display: flex; align-items: center; gap: 13px; padding: 18px; color: white; background: var(--red); }
.profile-game-card__identity > span { width: 54px; height: 54px; display: grid; place-items: center; border: 3px solid var(--black); border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 900; }
.profile-game-card__identity small { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.profile-game-card__identity h2 { margin: 2px 0; font-size: 18px; }
.profile-game-card__identity p { margin: 0; font-size: 10px; }
.profile-game-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.profile-game-card__stats div { display: flex; flex-direction: column; align-items: center; padding: 15px 5px; border-right: 1px solid var(--border); }
.profile-game-card__stats div:last-child { border: 0; }
.profile-game-card__stats strong { font-family: "Archivo Black", sans-serif; font-size: 22px; }
.profile-game-card__stats span { color: var(--muted); font-size: 8px; font-weight: 800; }
.profile-cycle-summary { display: flex; flex-direction: column; gap: 3px; padding: 13px 18px; border-top: 2px solid var(--black); background: var(--yellow); }
.profile-cycle-summary strong { font-size: 12px; }
.profile-cycle-summary span { font-size: 9px; font-weight: 800; }
.profile-delivery-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 18px;
  border-top: 2px solid var(--black);
  background: #fff3c2;
  font-size: 10px;
}
.profile-delivery-summary strong { color: var(--red); }
.progress-next-reward { margin-top: 10px; color: var(--muted); font-size: 9px; text-align: center; }
.progress-next-reward strong { color: var(--black); }
.admin-cycle-meta { display: flex; gap: 18px; margin: 14px 0 8px; padding: 10px 12px; border-radius: 8px; background: #fff4c7; font-size: 9px; }
.admin-cycle-meta span { display: flex; flex-direction: column; gap: 2px; }
.profile-admin-link { width: calc(100% - 28px); min-height: 46px; margin: 0 14px 14px; border: 2px solid var(--black); border-radius: 10px; background: #f3eee5; font-size: 10px; font-weight: 900; }
.profile-section .history-card { margin-top: 25px; padding: 0 15px 6px; border: 2px solid var(--border); border-radius: 16px; background: white; }
.profile-section .purchase-row { grid-template-columns: 38px 1fr auto; }
.profile-section .purchase-amount { display: none; }

.mobile-nav { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 10px; height: 68px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 3px solid var(--black); border-radius: 20px; background: white; box-shadow: 0 8px 26px rgba(23,21,19,.22); }
.mobile-nav__item { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 13px; background: transparent; color: #80776f; }
.mobile-nav__item > span { font-size: 20px; line-height: 1; }
.mobile-nav__item strong { font-size: 9px; }
.mobile-nav__item--active { background: var(--yellow); color: var(--red); }

.game-app footer { display: none; }
.admin-sidebar .logo > div { padding: 7px 9px; border-radius: 8px; background: white; }

/* Registration mobile-first refinements */
.register-page { padding: 0; background: var(--paper); }
.register-shell { display: flex; flex-direction: column; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
.register-welcome { height: 48vh; min-height: 360px; max-height: 500px; }
.register-welcome img { object-position: center 15%; }
.register-panel { padding: 27px 21px 40px; }
.register-panel__logo { display: none; }
.register-heading { text-align: center; }
.register-heading h1 { font-size: 33px; }
.register-form__row { grid-template-columns: 1fr; }
.register-field input { height: 52px; font-size: 16px; }
.register-consent { min-height: 68px; align-items: center; }
.register-consent span { display: flex; flex-direction: column; gap: 3px; }
.register-consent strong { color: var(--red-dark); font-size: 9px; }
.register-primary, .register-secondary { min-height: 54px; }

@media (max-width: 430px) {
  .entry-panel h1 { max-width: 320px; font-size: 31px; }
  .entry-panel > p { max-width: 320px; }
  .entry-actions { max-width: 320px; }
  .customer-login-brand > div { max-width: 185px; }
  .customer-login-brand h1 { font-size: 30px; }
  .customer-login-brand p { font-size: 11px; }
  .customer-login-antonio { right: -35px; width: 205px; }
  .customer-login-panel { min-width: 0; overflow: hidden; }
  .customer-login-links { justify-content: flex-start; flex-wrap: wrap; gap: 18px; }
  .register-heading h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .register-heading h1 span { display: block; }
  .register-heading p { max-width: 320px; margin-inline: auto; }
  .game-header__player > div { max-width: 105px; min-width: 0; }
  .game-header__player div span {
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .game-header__player { gap: 5px; }
  .game-header__player > span { display: none; }
  .customer-logout {
    padding: 7px 8px;
    border: 1px solid var(--red);
    border-radius: 7px;
    background: #fff4f2;
  }
}

@media (min-width: 760px) {
  .entry-page { padding: 34px; }
  .entry-shell {
    width: min(1180px, 100%);
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: minmax(420px, .95fr) minmax(500px, 1.05fr);
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid var(--black);
    border-radius: 26px;
    box-shadow: 14px 14px 0 rgba(23,21,19,.8);
  }
  .entry-visual { height: auto; min-height: 760px; }
  .entry-panel { align-items: flex-start; justify-content: center; padding: 50px clamp(40px,6vw,80px); text-align: left; }
  .entry-panel .logo { display: flex; margin-bottom: 55px; }
  .entry-panel h1 { max-width: 520px; font-size: 52px; }
  .entry-panel > p { max-width: 500px; font-size: 15px; }
  .entry-actions { width: 390px; }
  .entry-panel > small { margin-top: 35px; }

  .customer-login-page { padding: 34px; background: linear-gradient(135deg,#b82016,var(--red) 48%,#7e130f); }
  .customer-login-shell {
    width: min(1080px, 100%);
    min-height: 700px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 4px solid var(--black);
    border-radius: 24px;
    background: white;
    box-shadow: 13px 13px 0 rgba(23,21,19,.8);
  }
  .customer-login-brand { min-height: 700px; padding: 48px; }
  .customer-login-brand > div { max-width: 390px; padding-bottom: 70px; }
  .customer-login-brand h1 { font-size: 52px; }
  .customer-login-brand p { font-size: 15px; }
  .customer-login-antonio { right: -5px; width: 330px; height: 500px; }
  .customer-login-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
  .customer-login-panel .logo { display: flex; margin-bottom: 40px; }
  .customer-login-panel h2 { font-size: 36px; }

  .game-app { padding-bottom: 0; }
  .game-header { height: 76px; }
  .game-header .logo .mascot-avatar--logo { width: 50px; height: 60px; }
  .game-hero { min-height: 470px; }
  .game-hero__inner { min-height: 470px; padding-top: 75px; }
  .game-hero__copy { max-width: 500px; }
  .game-hero h1 { font-size: 64px; }
  .game-hero__copy > p { font-size: 17px; }
  .game-points strong { font-size: 74px; }
  .game-hero__character { right: 2%; width: 460px; height: 430px; }
  .game-hero__antonio { right: 190px; width: 235px; height: 405px; }
  .game-hero__maria { right: 0; width: 255px; height: 410px; }
  .game-app .weekly-promo__inner { min-height: 125px; grid-template-columns: 115px 1fr 105px 180px; padding: 0; }
  .game-app .weekly-promo__countdown { position: static; flex-direction: column; align-items: flex-start; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
  .game-app .weekly-promo__countdown strong { font-size: 22px; }
  .game-app .weekly-promo__countdown small { display: block; }
  .game-content { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 34px; padding-top: 50px; }
  .game-status.player-hud { position: sticky; top: 96px; grid-template-columns: repeat(3, 1fr); margin: 0; }
  .game-status .player-hud__identity { min-height: 170px; padding-left: 190px; }
  .game-status .player-hud__identity .game-status__mascot { width: 190px; height: 225px; }
  .game-card.journey-card { margin: 0; }
  .journey-card .reward-road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .journey-card .road-step { min-height: 125px; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: center; }
  .journey-card .road-step strong { order: 4; font-size: 14px; }
  .journey-card .road-step span:last-child { order: 5; }
  .customer-section { padding-top: 70px; }
  .customer-section .reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .profile-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; padding-bottom: 80px; }
  .profile-section .history-card { margin-top: 0; }
  .mobile-nav { display: none; }

  .register-page { padding: 34px; background: linear-gradient(135deg, #b82016, var(--red) 48%, #7e130f); }
  .register-shell { width: min(1180px, 100%); min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(420px,.95fr) minmax(500px,1.05fr); margin: 0 auto; overflow: hidden; border: 4px solid var(--black); border-radius: 26px; box-shadow: 14px 14px 0 rgba(23,21,19,.8); }
  .register-welcome { height: auto; min-height: 760px; max-height: none; }
  .register-panel { padding: 40px clamp(32px,5vw,70px); }
  .register-panel__logo { display: block; }
  .register-heading { text-align: left; }
  .register-heading h1 { font-size: clamp(38px,4vw,50px); }
  .register-heading h1 span { display: inline; }
  .register-form__row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .game-hero__character .mascot-avatar { animation: none; }
  html { scroll-behavior: auto; }
}

/* Reward celebration engine */
.reward-celebration {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 214, 41, .38), transparent 32%),
    rgba(23, 21, 19, .88);
  animation: celebration-backdrop-in .25s ease-out both;
}
.reward-celebration--leaving { animation: celebration-backdrop-out .22s ease-in both; }
.reward-celebration__panel {
  position: relative;
  z-index: 3;
  width: min(440px, 100%);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px 22px 25px;
  border: 4px solid var(--black);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .85), transparent 36%),
    linear-gradient(180deg, #ffd629 0 45%, #fff 45%);
  box-shadow: 10px 12px 0 var(--black), 0 0 48px rgba(255, 214, 41, .38);
  text-align: center;
}
.reward-celebration--orange .reward-celebration__panel { background: linear-gradient(180deg, #ff9c36 0 45%, #fff 45%); }
.reward-celebration--blue .reward-celebration__panel { background: linear-gradient(180deg, #6bd7ef 0 45%, #fff 45%); }
.reward-celebration--red .reward-celebration__panel { background: linear-gradient(180deg, #ed4336 0 45%, #fff 45%); }
.reward-celebration--legendary .reward-celebration__panel {
  background:
    radial-gradient(circle at 50% 18%, #fff5b8, transparent 28%),
    linear-gradient(180deg, #ffd629 0 24%, #d9271c 45%, #fff 45%);
  box-shadow: 10px 12px 0 var(--black), 0 0 60px rgba(255, 214, 41, .58);
}
.reward-celebration__close {
  position: absolute;
  z-index: 8;
  top: 13px;
  right: 13px;
  width: 42px;
  height: 42px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: white;
  color: var(--black);
  font-size: 25px;
  font-weight: 900;
}
.reward-celebration__characters {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 12px;
  right: 12px;
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.reward-celebration__characters .mascot-avatar {
  display: block;
  width: 185px;
  height: 245px;
  margin: 0 -32px;
  animation: celebration-character-bounce 2.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 8px rgba(50, 20, 8, .24));
}
.reward-celebration__characters .mascot-avatar:nth-child(2) { animation-delay: -.8s; }
.reward-celebration__characters img,
.reward-celebration__mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reward-celebration__mascot {
  position: absolute;
  z-index: 5;
  right: max(calc(50% - 275px), -28px);
  bottom: 4px;
  width: 170px;
  height: 220px;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 16px 10px rgba(0, 0, 0, .34));
  animation: celebration-mascot-float 2.7s ease-in-out infinite;
}
.reward-celebration__copy { position: relative; z-index: 4; }
.reward-celebration__eyebrow,
.reward-celebration__player {
  display: block;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.reward-celebration__milestone {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
  font-family: "Archivo Black", sans-serif;
  font-size: 15px;
}
.reward-celebration__copy h2 {
  margin: 15px 0 8px;
  font-family: "Archivo Black", sans-serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -1px;
}
.reward-celebration__copy p {
  max-width: 330px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.reward-celebration__player { margin: 10px 0; color: var(--black); letter-spacing: .04em; }
.reward-celebration__continue {
  width: 100%;
  min-height: 54px;
  margin-top: 9px;
  border: 3px solid var(--black);
  border-radius: 13px;
  background: var(--red);
  color: white;
  box-shadow: 5px 5px 0 var(--black);
  font-size: 13px;
  font-weight: 900;
}
.reward-celebration__copy small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}
.reward-celebration__effects { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.celebration-confetti {
  position: absolute;
  top: -22px;
  left: var(--left);
  width: 8px;
  height: 16px;
  border-radius: 3px;
  opacity: .9;
  animation: celebration-confetti-fall calc(3.3s + (var(--i) % 5) * .32s) linear infinite;
  animation-delay: calc((var(--i) % 9) * -.42s);
}
.celebration-confetti--red { background: var(--red); }
.celebration-confetti--yellow { background: var(--yellow); }
.celebration-confetti--black { background: var(--black); }
.celebration-confetti--white { background: white; }
.celebration-pizza {
  position: absolute;
  top: -55px;
  left: var(--left);
  font-size: calc(18px + (var(--i) % 3) * 5px);
  opacity: .78;
  animation: celebration-pizza-fall calc(6s + (var(--i) % 4) * .7s) linear infinite;
  animation-delay: calc((var(--i) % 7) * -.9s);
}
@keyframes celebration-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes celebration-backdrop-out { to { opacity: 0; transform: scale(.99); } }
@keyframes celebration-character-bounce { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes celebration-mascot-float { 0%, 100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes celebration-confetti-fall { to { transform: translate3d(25px, 110vh, 0) rotate(540deg); } }
@keyframes celebration-pizza-fall { to { transform: translate3d(-35px, 115vh, 0) rotate(300deg); } }

@media (min-width: 760px) {
  .reward-celebration__panel { min-height: 600px; }
  .reward-celebration__mascot {
    right: max(calc(50% - 390px), 20px);
    bottom: 10%;
    width: 250px;
    height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reward-celebration,
  .reward-celebration--leaving,
  .reward-celebration__characters .mascot-avatar,
  .reward-celebration__mascot,
  .celebration-confetti,
  .celebration-pizza {
    animation: none;
  }
  .celebration-confetti,
  .celebration-pizza { display: none; }
}

/* Admin is intentionally desktop-first and independent from customer breakpoints. */
.admin-page { min-width: 1100px; display: grid !important; grid-template-columns: 230px 1fr !important; }
.admin-sidebar { position: fixed !important; inset: 0 auto 0 0 !important; width: 230px !important; height: 100vh !important; flex-direction: column !important; align-items: stretch !important; padding: 28px 20px 20px !important; }
.admin-sidebar__label, .admin-tip, .admin-user { display: flex !important; }
.admin-sidebar__label { display: block !important; }
.admin-sidebar nav { margin-left: 0 !important; flex-direction: column !important; }
.admin-sidebar nav .side-nav { font-size: 11px !important; }
.admin-sidebar .logo strong { font-size: 24px !important; }
.admin-main { grid-column: 2 !important; padding: 38px 42px 70px !important; }
.admin-header { align-items: center !important; }
.admin-header h1 { font-size: 34px !important; }
.admin-header p { display: block !important; }
.admin-header .primary-button { padding: 12px 17px !important; }
.stat-grid { grid-template-columns: repeat(3,1fr) !important; }
.stat-grid article:last-child { grid-column: auto !important; }
.admin-workspace { grid-template-columns: minmax(390px,.95fr) minmax(390px,1.05fr) !important; }
.customer-row { grid-template-columns: 42px 1fr 54px 20px !important; padding: 13px 18px !important; }
.customer-row > svg { display: block !important; }
.admin-user { position: relative; padding-right: 52px; }
.admin-logout { position: absolute; right: 0; top: 18px; border: 1px solid #4b4540; border-radius: 6px; background: transparent; color: #c8c0b9; padding: 6px 8px; font-size: 8px; font-weight: 800; }
.admin-logout:hover { border-color: var(--yellow); color: var(--yellow); }

.admin-login-page { min-width: 980px; min-height: 100vh; display: grid; place-items: center; padding: 45px; background: #f2ede4; }
.admin-login-shell { width: min(1120px,100%); min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 3px solid var(--black); border-radius: 22px; background: white; box-shadow: 12px 12px 0 var(--black); }
.admin-login-brand { position: relative; overflow: hidden; padding: 42px; color: white; background: linear-gradient(145deg,#d9271c,#8f1510); }
.admin-login-brand::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 5px 5px,white 2px,transparent 2.5px); background-size: 28px 28px; }
.admin-login-brand > * { position: relative; z-index: 2; }
.admin-login-brand .logo { width: fit-content; padding: 8px 12px; border-radius: 12px; background: white; }
.admin-login-brand__copy { max-width: 440px; margin-top: 70px; }
.admin-login-brand__copy span { color: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.admin-login-brand__copy h1 { margin: 10px 0; font-family: "Archivo Black",sans-serif; font-size: 48px; line-height: 1; letter-spacing: -2px; }
.admin-login-brand__copy p { max-width: 390px; color: #ffd7d1; line-height: 1.55; }
.admin-login-characters { position: absolute; right: 5px; bottom: -10px; height: 250px; display: flex; align-items: flex-end; }
.admin-login-character { width: 190px; height: 245px; margin-left: -55px; filter: drop-shadow(0 12px 8px rgba(56,9,6,.28)); }
.admin-login-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.admin-login-kicker { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.admin-login-panel h2 { margin: 8px 0 4px; font-family: "Archivo Black",sans-serif; font-size: 34px; letter-spacing: -1px; }
.admin-login-panel > p { margin: 0 0 25px; color: var(--muted); font-size: 12px; }
.admin-login-alert { margin-bottom: 16px; padding: 11px 13px; border: 1px solid #e5978f; border-radius: 8px; background: #fff0ed; color: var(--red-dark); font-size: 10px; font-weight: 800; }
.admin-login-form { display: flex; flex-direction: column; gap: 16px; }
.admin-login-form label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; font-weight: 900; }
.admin-login-form input { height: 50px; border: 2px solid #d6cec2; border-radius: 9px; padding: 0 13px; outline: none; font-size: 14px; }
.admin-login-form input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,39,28,.1); }
.admin-login-form button { min-height: 52px; border: 3px solid var(--black); border-radius: 9px; background: var(--red); color: white; box-shadow: 5px 5px 0 var(--black); font-weight: 900; }
.admin-login-demo { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; padding: 12px; border-radius: 9px; background: #fff3bd; font-size: 9px; }
.admin-login-demo strong { color: var(--red); }
.admin-login-panel > a { width: fit-content; margin-top: 20px; color: var(--black); font-size: 10px; font-weight: 800; }

/* Ordering, cart and promotions upgrade */
.early-order-promo {
  display: grid;
  place-items: center;
  padding: 26px 0 8px;
  text-align: center;
}
.early-order-promo p {
  max-width: 860px;
  margin: 0;
  color: var(--red);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(24px, 5.8vw, 48px);
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(255, 211, 57, .55), 0 0 18px rgba(217, 39, 28, .12);
  animation: early-order-glow 3.4s ease-in-out infinite;
}
@keyframes early-order-glow {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 rgba(217, 39, 28, 0)); }
  50% { transform: translateY(-2px); filter: drop-shadow(0 6px 10px rgba(217, 39, 28, .16)); }
}
.mobile-nav { grid-template-columns: repeat(5, 1fr); }
.mobile-nav__item strong { font-size: 8px; line-height: 1.05; }
.order-section, .promotions-section { scroll-margin-top: 12px; }
.menu-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
}
.menu-category-tabs a {
  flex: 0 0 auto;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: white;
  color: var(--black);
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}
.order-layout { display: grid; gap: 18px; align-items: start; }
.menu-feed { display: grid; gap: 22px; }
.menu-category h3 {
  margin: 0 0 10px;
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}
.menu-grid { display: grid; gap: 13px; }
.menu-product {
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 14px;
  background: white;
  box-shadow: 5px 5px 0 var(--yellow);
}
.menu-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #fff3bd;
}
.menu-product__body { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.menu-product__body span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}
.menu-product h3 { margin: 3px 0 4px; font-size: 18px; }
.menu-product p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.menu-product label, .checkout-form label, .admin-order-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #403a35;
  font-size: 9px;
  font-weight: 900;
}
.menu-product select, .menu-product input, .checkout-form input, .checkout-form select, .checkout-form textarea,
.admin-order-card select, .admin-editor-form input, .admin-editor-form select, .admin-editor-form textarea,
.admin-inline-form input {
  width: 100%;
  border: 2px solid #d8cec0;
  border-radius: 9px;
  background: white;
  color: var(--black);
  padding: 10px 11px;
  font: inherit;
  outline: none;
}
.menu-product__actions { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: end; }
.menu-product__actions button, .admin-product-card button, .admin-promotion-card button, .admin-inline-form button {
  min-height: 43px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 900;
}
.menu-product--unavailable { opacity: .68; }
.menu-product--unavailable img { filter: grayscale(.8); }
.menu-product__actions button:disabled {
  cursor: not-allowed;
  background: #8f8a84;
  box-shadow: none;
}
.admin-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.admin-category-list button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 9px 12px;
  font-weight: 900;
}
.admin-product-preview {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 2px dashed #d8cec0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fffaf2;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}
.admin-product-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.admin-product-status-badge {
  width: fit-content;
  display: inline-flex;
  margin-top: 8px;
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--yellow);
  color: var(--black);
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
}
.admin-product-card--sold_out .admin-product-status-badge {
  background: #fff1d7;
  color: #9a4e00;
}
.admin-product-card--inactive .admin-product-status-badge {
  background: #efefef;
  color: #5f5b55;
}
.admin-product-status-select {
  display: grid;
  gap: 5px;
  font-size: 9px;
  font-weight: 900;
}
.admin-product-status-select select {
  min-height: 38px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: white;
  padding: 0 8px;
  font-weight: 900;
}
.cart-section-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: white;
  color: var(--black);
  padding: 0 13px;
  box-shadow: 3px 3px 0 var(--yellow);
  font-size: 10px;
  font-weight: 900;
}
.cart-section-button--active {
  background: var(--yellow);
  color: var(--red);
  animation: cart-button-pop .28s ease;
}
.cart-section-button strong {
  color: var(--black);
  font-size: 10px;
}
.floating-cart-button {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: white;
  color: var(--black);
  padding: 0 16px;
  box-shadow: 5px 5px 0 var(--black);
  font-size: 11px;
  font-weight: 900;
}
.floating-cart-button--active {
  background: var(--yellow);
  color: var(--red);
  animation: cart-button-pop .28s ease;
}
.floating-cart-button strong {
  color: var(--black);
  font-size: 11px;
}
@keyframes cart-button-pop {
  0% { transform: scale(.96); }
  65% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cart-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(23, 21, 19, .48);
}
.cart-panel {
  width: min(460px, 100%);
  max-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 3px solid var(--black);
  background: white;
  box-shadow: -8px 0 0 rgba(23, 21, 19, .25);
}
.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 2px solid var(--black);
  background: var(--yellow);
}
.cart-panel__header span { font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.cart-panel__header strong { display: block; margin-top: 2px; }
.cart-panel__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: white;
  color: var(--black);
}
.cart-panel__body {
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 12px;
}
.cart-panel__checkout {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 2px solid var(--black);
  background: white;
}
.cart-items { display: grid; gap: 9px; padding: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cart-item img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.cart-item strong { font-size: 12px; }
.cart-item span { display: block; color: var(--muted); font-size: 9px; }
.cart-item__quantity { display: flex; align-items: center; gap: 7px; }
.cart-item__quantity button, .cart-item__remove {
  border: 1px solid var(--black);
  border-radius: 7px;
  background: white;
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
}
.cart-item__remove { grid-column: 2 / -1; width: fit-content; color: var(--red); }
.cart-empty-state {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 150px;
}
.cart-empty-state p {
  margin: 0;
  color: var(--muted);
}
.cart-empty-state button {
  min-height: 40px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  padding: 0 16px;
  font-size: 10px;
  font-weight: 900;
}
.cart-summary { display: grid; gap: 7px; padding: 14px; border-top: 1px solid var(--border); }
.cart-summary span { display: flex; justify-content: space-between; font-size: 11px; }
.cart-summary em { font-style: normal; font-weight: 900; }
.cart-summary__discount { color: var(--green); gap: 14px; }
.cart-summary__discount strong { max-width: 220px; }
.cart-summary__saving, .cart-summary__hint {
  display: block;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}
.cart-summary__hint { color: var(--muted); }
.cart-summary__total { padding-top: 8px; border-top: 2px solid var(--black); font-size: 15px !important; }
.checkout-form { display: grid; gap: 10px; padding: 14px; border-top: 2px solid var(--black); }
.payment-method-helper { color: var(--muted); font-size: 9px; font-weight: 800; line-height: 1.35; }
.checkout-delivery-profile {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: 10px;
  background: #fff3c2;
}
.checkout-delivery-profile span {
  color: var(--red);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}
.checkout-delivery-profile strong { font-size: 20px; }
.checkout-delivery-profile small { color: var(--muted); font-size: 10px; }
.order-confirmation {
  margin: 0 14px 14px;
  padding: 13px;
  border-radius: 11px;
  background: #e7f7ef;
  color: #0f6841;
}
.order-confirmation--drawer {
  margin-top: 14px;
}
.order-confirmation span { font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.order-confirmation strong { display: block; margin-top: 3px; font-size: 20px; }
.order-confirmation p { margin: 3px 0 0; font-size: 10px; }
.order-confirmation button,
.cart-panel__checkout > button:not(.primary-button) {
  min-height: 42px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: white;
  color: var(--black);
  padding: 0 14px;
  font-size: 10px;
  font-weight: 900;
}
.order-confirmation button { margin-top: 10px; }
.cart-panel__checkout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
}
.promotion-feed { display: grid; gap: 14px; }
.promotion-card {
  width: min(100%, 440px);
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 15px;
  background: white;
  box-shadow: 5px 5px 0 var(--red);
}
.promotion-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
}
.promotion-card img, .promotion-card video, .promotion-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--black);
  border: 0;
}
.promotion-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #f8f3e8;
  font-size: 11px;
  font-weight: 900;
}
.promotion-card__body { padding: 15px; }
.promotion-card__body span { color: var(--red); font-size: 9px; font-weight: 900; }
.promotion-card__body h3 { margin: 5px 0; font-size: 20px; }
.promotion-card__body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.promotion-card__body a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
}
.promotion-feed .empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 2px dashed #d8cec0;
  border-radius: 15px;
  background: #fffdf8;
}
.admin-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  padding: 18px;
}
.admin-panel--full { width: 100%; }
.admin-panel__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-panel__heading h2 { margin: 3px 0 0; font-size: 24px; }
.admin-form-error {
  margin-bottom: 12px;
  padding: 11px 13px;
  border: 1px solid #e5978f;
  border-radius: 8px;
  background: #fff0ed;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 900;
}
.admin-alert-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 20px;
  padding: 17px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
}
.admin-alert-panel--active {
  border-color: var(--red);
  background: #fff7dd;
  box-shadow: 5px 5px 0 var(--yellow);
}
.admin-alert-panel h2 { margin: 4px 0; font-size: 22px; }
.admin-alert-panel p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-alert-panel__controls {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(150px, .9fr);
  gap: 8px;
  align-items: center;
}
.admin-alert-panel__controls button,
.admin-alert-panel__actions button,
.admin-order-card__actions button {
  min-height: 40px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: white;
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
}
.admin-alert-panel__controls button:first-child,
.admin-alert-panel__actions button:first-child,
.admin-order-card__actions button:first-child {
  background: var(--red);
  color: white;
}
.admin-alert-panel__controls .sound-activation-button {
  border-color: var(--black);
  background: white;
  color: var(--red);
  box-shadow: 3px 3px 0 var(--black);
  letter-spacing: .04em;
}
.admin-alert-panel__controls .sound-activation-button--active {
  border-color: #0f6841;
  background: #18a35b !important;
  color: white !important;
  box-shadow: 3px 3px 0 #0f6841;
}
.admin-alert-panel__controls label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  font-weight: 900;
}
.admin-alert-panel__controls strong {
  color: var(--red);
  font-size: 10px;
}
.admin-alert-panel__actions,
.admin-order-card__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.kitchen-toolbar {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff8e9;
}
.kitchen-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #403a35;
  font-size: 9px;
  font-weight: 900;
}
.kitchen-toolbar select {
  min-height: 42px;
  border: 2px solid #d8cec0;
  border-radius: 9px;
  background: white;
  padding: 0 11px;
  font: inherit;
}
.kitchen-toolbar p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.kitchen-toolbar button,
.kitchen-clear-dialog button {
  min-height: 42px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: white;
  color: var(--black);
  padding: 0 14px;
  font-size: 10px;
  font-weight: 900;
}
.kitchen-toolbar button,
.kitchen-clear-dialog button:last-child {
  background: var(--red);
  color: white;
}
.kitchen-clear-dialog {
  width: min(500px, 100%);
  border: 3px solid var(--black);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 24px;
}
.kitchen-clear-dialog h2 { margin: 8px 0; font-size: 22px; line-height: 1.15; }
.kitchen-clear-dialog p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.kitchen-clear-dialog strong {
  display: block;
  margin: 12px 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff3bd;
  color: var(--red-dark);
  font-size: 11px;
  line-height: 1.45;
}
.kitchen-clear-dialog div { display: flex; gap: 10px; justify-content: flex-end; }
.order-admin-list, .admin-product-grid, .admin-promotion-grid { display: grid; gap: 13px; }
.admin-order-card, .admin-product-card, .admin-promotion-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 14px;
}
.admin-order-card--new { border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--yellow); }
.admin-order-card--alerting { animation: admin-order-alert-pulse 2.8s ease-in-out infinite; }
@keyframes admin-order-alert-pulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--yellow); }
  50% { box-shadow: 7px 7px 0 var(--yellow), 0 0 18px rgba(217, 39, 28, .18); }
}
.admin-order-card__top { display: flex; justify-content: space-between; gap: 16px; }
.admin-order-card__top span, .admin-product-card span, .admin-promotion-card span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
}
.admin-order-card h3, .admin-product-card h3, .admin-promotion-card h3 { margin: 3px 0; font-size: 18px; }
.admin-order-card p, .admin-product-card p, .admin-promotion-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-order-card__address {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: #fff4c7;
  color: var(--black);
}
.admin-order-card__address strong {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-order-card__address span {
  color: #111;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}
.admin-order-card__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-size: 10px; }
.admin-order-card__meta span { display: flex; flex-direction: column; gap: 2px; }
.admin-order-card__meta strong { color: var(--red); font-size: 8px; text-transform: uppercase; }
.admin-order-card__totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #fff4c7;
  font-size: 10px;
}
.admin-order-card__totals span { display: flex; flex-direction: column; gap: 2px; }
.admin-order-card__totals strong { color: var(--red); font-size: 8px; text-transform: uppercase; }
.admin-editor-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.admin-editor-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #403a35;
  font-size: 9px;
  font-weight: 900;
}
.admin-editor-form__wide { grid-column: span 2; }
.admin-editor-form__wide textarea { min-height: 78px; }
.admin-file-field {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 2px dashed #d8cec0;
  border-radius: 9px;
  background: #fffdf8;
  padding: 8px 11px;
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
}
.admin-file-field input {
  border: 0;
  padding: 0;
  font-size: 10px;
}
.admin-check { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 900; }
.admin-check input { width: auto; }
.admin-promotion-preview {
  grid-row: span 3;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed #d8cec0;
  border-radius: 12px;
  background: #fffdf8;
  color: #8c857d;
  font-size: 10px;
  font-weight: 900;
}
.admin-promotion-preview img,
.admin-promotion-preview video,
.admin-promotion-preview iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}
.admin-form-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.admin-form-actions button:not(.primary-button) {
  min-height: 43px;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: white;
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
}
.admin-inline-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 14px; }
.admin-product-card { grid-template-columns: 120px 1fr auto auto; align-items: center; }
.admin-promotion-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
.admin-promotion-card { align-content: start; }
.admin-product-card img {
  width: 120px;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #fff3bd;
}
.admin-promotion-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #fff3bd;
}
.admin-promotion-card img, .admin-promotion-card video, .admin-promotion-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff3bd;
  border: 0;
}
.admin-promotion-card video { object-fit: contain; background: var(--black); }
.admin-product-card button, .admin-promotion-card button { background: white; color: var(--red); }
.promotion-delete-dialog {
  width: min(440px, 100%);
  border: 3px solid var(--black);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 24px;
}
.promotion-delete-dialog h2 { margin: 8px 0; font-size: 20px; line-height: 1.15; }
.promotion-delete-dialog p { color: var(--muted); font-size: 12px; }
.promotion-delete-dialog div { display: flex; gap: 10px; justify-content: flex-end; }
.promotion-delete-dialog button {
  min-height: 42px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: white;
  color: var(--black);
  padding: 0 14px;
  font-size: 10px;
  font-weight: 900;
}
.promotion-delete-dialog button:last-child { background: var(--red); color: white; }

.sales-panel { display: grid; gap: 18px; }
.sales-filters {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) repeat(2, minmax(150px, .7fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdf8;
}
.sales-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #403a35;
  font-size: 9px;
  font-weight: 900;
}
.sales-filters select,
.sales-filters input {
  min-height: 42px;
  border: 2px solid #d8cec0;
  border-radius: 9px;
  background: white;
  padding: 0 11px;
  font: inherit;
}
.sales-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sales-summary-grid article {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: 15px;
}
.sales-summary-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}
.sales-summary-grid strong {
  color: var(--red);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
}
.sales-summary-grid small { color: #9b958d; font-size: 9px; }
.sales-report-block {
  display: grid;
  gap: 12px;
}
.sales-chart {
  min-height: 180px;
  display: flex;
  align-items: end;
  gap: 7px;
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff8e9;
}
.sales-chart__bar {
  min-width: 28px;
  height: 145px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 6px;
}
.sales-chart__bar span {
  width: 100%;
  min-height: 8px;
  border: 2px solid var(--black);
  border-radius: 7px 7px 3px 3px;
  background: var(--red);
  box-shadow: 2px 2px 0 var(--yellow);
}
.sales-chart__bar small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  text-align: center;
}
.sales-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.sales-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 10px;
}
.sales-table th,
.sales-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee8df;
  text-align: right;
  white-space: nowrap;
}
.sales-table th:first-child,
.sales-table td:first-child {
  text-align: left;
}
.sales-table th {
  color: var(--red);
  background: #fff3bd;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sales-table td { color: var(--black); font-weight: 800; }
.sales-table tr:last-child td { border-bottom: 0; }
.sync-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sync-status-grid article,
.sync-warning {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: 15px;
}
.sync-status-grid span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.sync-status-grid strong { display: block; margin-top: 5px; font-size: 20px; }
.sync-status-grid p,
.sync-warning {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.sync-warning {
  margin-top: 12px;
  border-color: #e5c24a;
  background: #fff3bd;
  color: #5b4300;
  font-weight: 800;
}

@media (min-width: 760px) {
  .order-layout { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .promotion-feed { grid-template-columns: repeat(auto-fit, minmax(280px, 440px)); justify-content: center; }
}

@media (max-width: 1100px) {
  .admin-page {
    min-width: 0 !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  .admin-sidebar {
    width: 210px !important;
    padding: 24px 16px 18px !important;
  }

  .admin-main {
    min-width: 0;
    padding: 28px 20px 60px !important;
  }

  .admin-header {
    gap: 16px;
  }

  .admin-header .primary-button {
    white-space: nowrap;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-workspace {
    grid-template-columns: 1fr !important;
  }

  .admin-alert-panel {
    grid-template-columns: 1fr;
  }

  .admin-alert-panel__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kitchen-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-alert-panel__actions {
    justify-content: flex-start;
  }

  .sales-filters,
  .sales-summary-grid,
  .sync-status-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-card__meta,
  .admin-order-card__totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .promotion-feed {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .promotion-card {
    width: calc(100% - 8px);
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Responsive hardening for narrow phones and tablet-width admin */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.customer-page,
.game-app,
.register-page,
.admin-login-page,
.shell,
.game-content,
.order-section,
.promotions-section,
.order-layout,
.menu-feed,
.menu-grid,
.menu-product,
.cart-panel,
.checkout-form,
.promotion-card,
.admin-main,
.admin-workspace,
.admin-panel,
.admin-promotion-grid,
.admin-promotion-card,
.admin-order-card {
  min-width: 0;
}

.game-app {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.mobile-nav {
  bottom: max(10px, env(safe-area-inset-bottom, 10px));
  max-width: calc(100% - 24px);
}

.game-app .shell {
  width: min(100% - 28px, 1120px);
}

.promotion-card__media,
.admin-promotion-preview,
.admin-promotion-card__media {
  aspect-ratio: 16 / 9;
}

.promotion-card__body h3,
.promotion-card__body p,
.menu-product h3,
.menu-product p,
.cart-item strong,
.cart-item span,
.checkout-delivery-profile strong,
.admin-order-card h3,
.admin-order-card p,
.admin-promotion-card h3,
.admin-promotion-card p {
  overflow-wrap: anywhere;
}

@media (max-width: 759px) {
  .game-header {
    height: auto;
    min-height: 64px;
    padding-block: 6px;
  }

  .game-header__inner {
    gap: 8px;
  }

  .game-header .logo,
  .game-header__player,
  .game-header__player > div {
    min-width: 0;
  }

  .game-header__player {
    max-width: 52%;
  }

  .game-header__player strong,
  .game-header__player div span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .game-hero {
    min-height: auto;
  }

  .game-hero__inner {
    min-height: 0;
    padding-top: 26px;
    padding-bottom: 0;
  }

  .game-hero__copy {
    max-width: 100%;
  }

  .game-hero h1 {
    max-width: 10ch;
    font-size: clamp(34px, 12vw, 52px);
    overflow-wrap: anywhere;
  }

  .game-points strong {
    font-size: clamp(46px, 16vw, 64px);
  }

  .game-hero__character {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 340px);
    height: clamp(205px, 58vw, 270px);
    margin: 10px auto -8px;
  }

  .game-hero__antonio {
    right: 45%;
    width: clamp(112px, 34vw, 150px);
    height: clamp(190px, 55vw, 270px);
  }

  .game-hero__maria {
    right: 7%;
    width: clamp(118px, 36vw, 165px);
    height: clamp(190px, 55vw, 270px);
  }

  .game-app .weekly-promo__inner {
    grid-template-columns: clamp(56px, 18vw, 76px) minmax(0, 1fr) clamp(58px, 19vw, 70px);
    min-width: 0;
  }

  .game-app .weekly-promo h2 {
    font-size: clamp(14px, 4.4vw, 18px);
    overflow-wrap: anywhere;
  }

  .game-app .weekly-promo__countdown {
    left: clamp(76px, 27vw, 98px);
    min-width: 0;
  }

  .early-order-promo {
    padding-inline: 6px;
  }

  .early-order-promo p {
    font-size: clamp(24px, 8vw, 38px);
    line-height: 1.08;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-category-tabs {
    margin-inline: -2px;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  .menu-product__actions {
    grid-template-columns: minmax(70px, 82px) minmax(0, 1fr);
  }

  .cart-panel {
    width: 100%;
  }

  .cart-overlay {
    align-items: flex-end;
    justify-content: center;
    padding-top: 10svh;
  }

  .cart-panel {
    width: 100%;
    max-height: min(90svh, 760px);
    border-top: 3px solid var(--black);
    border-left: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -7px 0 rgba(23, 21, 19, .22);
  }

  .cart-panel__header {
    border-radius: 17px 17px 0 0;
  }

  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    min-width: 0;
  }

  .register-shell {
    min-height: 100svh;
  }

  .register-panel {
    min-width: 0;
    padding-inline: max(18px, env(safe-area-inset-left, 0px));
  }

  .register-form__row {
    grid-template-columns: 1fr;
  }

  .register-primary,
  .register-secondary {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .game-app .shell {
    width: min(100% - 24px, 1120px);
  }

  .game-header .logo strong {
    font-size: 18px;
  }

  .game-header__player {
    gap: 6px;
    max-width: 48%;
  }

  .game-header__player > span {
    width: 34px;
    height: 34px;
    font-size: 9px;
  }

  .game-status .player-hud__identity {
    min-height: 116px;
    padding-left: 118px;
  }

  .game-status .player-hud__identity .game-status__mascot {
    width: 122px;
    height: 150px;
  }

  .game-section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .game-section-heading h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .game-section-heading > strong {
    flex: 0 0 auto;
    max-width: 38%;
    text-align: center;
  }

  .journey-card .road-step {
    grid-template-columns: 36px 48px minmax(0, 1fr);
  }

  .journey-card .road-step strong,
  .journey-card .road-step span {
    min-width: 0;
  }

  .cart-item {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .cart-summary span {
    gap: 10px;
  }

  .admin-alert-panel__controls,
  .admin-order-card__meta,
  .admin-order-card__totals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .game-app .shell {
    width: min(100% - 18px, 1120px);
  }

  .game-header .logo .mascot-avatar--logo {
    width: 32px;
    height: 42px;
  }

  .game-header .logo strong {
    font-size: 16px;
  }

  .game-header .logo span {
    font-size: 7px;
  }

  .game-header__player strong {
    font-size: 10px;
  }

  .game-header__player div span {
    font-size: 9px;
  }

  .game-hero h1 {
    font-size: clamp(31px, 11vw, 42px);
  }

  .game-hero__copy > p {
    font-size: 12px;
  }

  .game-points {
    gap: 7px;
  }

  .game-points span {
    font-size: 8px;
  }

  .game-hero__character {
    height: 196px;
    margin-bottom: -12px;
  }

  .game-app .weekly-promo__inner {
    grid-template-columns: 50px minmax(0, 1fr) 54px;
    gap: 6px;
  }

  .game-app .weekly-promo__score {
    width: 54px;
    height: 54px;
  }

  .game-app .weekly-promo__score strong {
    font-size: 23px;
  }

  .game-app .weekly-promo__countdown strong {
    font-size: 12px;
  }

  .game-status.player-hud {
    gap: 6px;
  }

  .game-status .player-hud__identity {
    padding-left: 104px;
  }

  .game-status .player-hud__identity .game-status__mascot {
    width: 108px;
    height: 138px;
  }

  .game-status .hud-stat strong {
    font-size: 14px;
  }

  .game-status .hud-stat small {
    font-size: 6px;
  }

  .menu-product__actions {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cart-item__quantity {
    grid-column: 2;
    justify-content: flex-start;
  }

  .register-panel {
    padding-inline: 16px;
  }

  .register-welcome {
    min-height: 220px;
  }

  .register-heading h1 {
    font-size: clamp(28px, 10vw, 34px);
  }
}

@media (min-width: 760px) {
  .game-app {
    padding-bottom: 0;
  }
}

@media (max-width: 980px) {
  .admin-page {
    overflow-x: hidden;
  }

  .admin-sidebar {
    min-width: 0;
  }

  .admin-main {
    width: 100%;
  }

  .admin-product-card,
  .admin-promotion-card,
  .admin-order-card {
    max-width: 100%;
  }
}

@media (max-width: 1366px) {
  .admin-main {
    padding-inline: 34px !important;
  }

  .admin-workspace {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
  }

  .admin-header {
    gap: 18px;
  }

  .admin-header .primary-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
