@font-face {
  font-family: "Magnit Sans";
  src: url("./public/assets/fonts/MagnitSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Magnit Sans";
  src: url("./public/assets/fonts/MagnitSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Magnit Sans";
  src: url("./public/assets/fonts/MagnitSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --app-height: 800px;
  --primary: #eb1000;
  --text: #3b3a3a;
  --secondary-text: #747372;
  --surface: #fff;
  --muted: #f5f5f4;
  font-family: "Magnit Sans", Arial, sans-serif;
  color: var(--text);
  background: #e9e9e8;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9e9e8;
}

img {
  display: block;
}

.app-shell {
  position: relative;
  width: 360px;
  height: 800px;
  overflow: hidden;
  background: var(--muted);
  border-radius: 28px;
  color: var(--text);
  isolation: isolate;
}

.page-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding-bottom: 74px;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

body.has-standard-tabbar .page-scroll {
  padding-bottom: 99px;
}

.top-chrome {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 50%;
  width: 100%;
  height: 80px;
  color: #fff;
  background: rgb(255 255 255 / 0%);
  transform: translateX(-50%);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
  pointer-events: none;
}

.top-chrome.is-solid {
  color: var(--text);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 1px 0 rgb(0 0 0 / 5%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero {
  position: sticky;
  z-index: 1;
  top: 0;
  height: 300px;
  overflow: hidden;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero__shade {
  position: absolute;
  left: 0;
  width: 100%;
  height: 84px;
  pointer-events: none;
}

.hero__shade--top {
  top: 0;
  background: linear-gradient(0deg, transparent, rgb(0 0 0 / 35%));
}

.hero__shade--bottom {
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 35%));
}

.status-bar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px 4px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .14px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 0;
  height: 17px;
}

.status-icons img {
  width: 17px;
  height: 17px;
  margin-left: -1px;
}

.status-icons .status-icons__battery {
  width: 8px;
  height: 15px;
  margin-left: 5px;
}

.status-icons img,
.hero-nav__icon img,
.address img {
  transition: filter 220ms ease;
}

.top-chrome.is-solid .status-icons img,
.top-chrome.is-solid .hero-nav__icon img,
.top-chrome.is-solid .address img {
  filter: brightness(0) saturate(100%) opacity(78%);
}

.hero-nav {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 0;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.hero-nav__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
}

.hero-nav__icon img {
  width: 24px;
  height: 24px;
}

.address {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 241px;
  padding: 4px 16px;
  text-shadow: 0 .5px 0 rgb(0 0 0 / 50%);
  transition: text-shadow 220ms ease;
}

.top-chrome.is-solid .address {
  text-shadow: none;
}

.address span {
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.address strong {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.address img {
  width: 12px;
  height: 12px;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 129px;
  left: 20px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
}

.hero-labels {
  display: flex;
  gap: 4px;
}

.hero-labels span {
  height: 22px;
  padding: 4px 8px;
  color: var(--primary);
  background: #feebea;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
}

.ad-label {
  position: absolute;
  z-index: 2;
  top: 143px;
  right: 8px;
  padding: 4px 1px;
  color: rgb(7 7 7 / 50%);
  background: rgb(255 255 255 / 40%);
  border-radius: 8px;
  font-size: 8px;
  line-height: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.slider-dots {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.slider-dots i,
.product-card__pages i {
  width: 4px;
  height: 4px;
  background: rgb(255 255 255 / 65%);
  border-radius: 8px;
}

.slider-dots .is-active,
.product-card__pages .is-active {
  width: 8px;
  background: #fff;
}

.content-stack {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: -24px;
  background: var(--muted);
  border-radius: 28px 28px 0 0;
  -webkit-transform: translate3d(0, -24px, 0);
  transform: translate3d(0, -24px, 0);
  will-change: transform;
}

.loyalty-tip {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 32px;
  width: 63px;
  height: 12px;
  transform: rotate(180deg);
  transition: left 220ms ease;
  pointer-events: none;
}

.loyalty-tip--chip-pin {
  top: 0;
  width: 54px;
  height: 6px;
}

.loyalty {
  --performance-gradient: linear-gradient(105deg, #ff3d39 0%, #ff3153 64%, #ff266d 100%);
  --performance-width: 360px;
  --performance-fill-width: 58px;
  --performance-fill-pixels: 58px;
  --performance-edge-width: 29px;
  position: relative;
  height: 240px;
  overflow: hidden;
  background: transparent;
  border-radius: 28px;
  -webkit-user-select: none;
  user-select: none;
}

.loyalty__main {
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
  background: var(--surface);
  border-radius: 28px;
}

.loyalty img {
  -webkit-user-drag: none;
}

.loyalty-tabs {
  display: grid;
  grid-template-columns: 94fr 134fr 96fr;
  column-gap: 2px;
  align-items: center;
  height: 56px;
  padding: 8px 16px 4px;
}

.loyalty-tab {
  display: flex;
  min-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--secondary-text);
  background: transparent;
  font-family: "Magnit Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.loyalty-tab--active {
  color: var(--text);
}

.loyalty-tab__icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.loyalty-tab__icon--benefit {
  width: 20px;
  height: 20px;
}

.loyalty-tab__icon--benefit .loyalty-tab__state--inactive {
  filter: grayscale(1) saturate(0);
  opacity: .62;
}

.loyalty-tab__icon--bonus,
.loyalty-tab__icon--pay {
  width: 24px;
  height: 24px;
}

.loyalty-tab__state {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.loyalty-tab__state--active {
  visibility: hidden;
}

.loyalty-tab__state--chip-inactive {
  visibility: hidden;
}

.loyalty-tab__state--pin-tabs-inactive,
.loyalty-tab__state--pin-tabs-active {
  visibility: hidden;
}

.loyalty-tab--active .loyalty-tab__state--inactive {
  visibility: hidden;
}

.loyalty-tab--active .loyalty-tab__state--active {
  visibility: visible;
}

.loyalty-tab__pay-symbol {
  top: 2.71px;
  right: auto;
  bottom: auto;
  left: .75px;
  width: 22.15px;
  height: 18.58px;
  overflow: hidden;
}

.loyalty-tab__pay-symbol img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.loyalty-tab__pay-symbol.loyalty-tab__state--active img {
  top: -34.74%;
  left: -22.81%;
  width: 142.2%;
  height: 169.47%;
}

.loyalty-tab__pay-symbol.loyalty-tab__state--chip-inactive img {
  top: -34.74%;
  left: -22.81%;
  width: 142.2%;
  height: 169.47%;
}

.loyalty--chip-tabs .loyalty-tabs {
  position: relative;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 12px 16px;
}

.loyalty--chip-tabs .loyalty-tabs::before {
  position: absolute;
  z-index: 0;
  top: 12px;
  left: 0;
  width: var(--loyalty-chip-width, 0px);
  height: 32px;
  background: var(--performance-gradient);
  border-radius: 99px;
  content: "";
  transform: translate3d(var(--loyalty-chip-x, 16px), 0, 0);
  will-change: width, transform;
}

.loyalty--chip-tabs.loyalty--chip-indicator-ready .loyalty-tabs::before {
  transition:
    width 340ms cubic-bezier(.22, .72, .18, 1),
    transform 340ms cubic-bezier(.22, .72, .18, 1);
}

.loyalty--chip-tabs .loyalty-tab {
  position: relative;
  z-index: 1;
  width: auto;
  height: 32px;
  min-width: 0;
  flex: 0 0 auto;
  gap: 4px;
  padding: 0;
  color: var(--text);
  line-height: 20px;
  border-radius: 99px;
  transition: color 150ms ease;
}

.loyalty--chip-tabs .loyalty-tab:nth-child(1) {
  width: 93px;
}

.loyalty--chip-tabs .loyalty-tab:nth-child(2) {
  width: 83px;
}

.loyalty--chip-tabs .loyalty-tab:nth-child(3) {
  width: 91.153px;
}

.loyalty--chip-tabs .loyalty-tab--active {
  color: #fff;
  background: transparent;
}

.loyalty--chip-tabs .loyalty-tab__icon--benefit {
  width: 24px;
  height: 24px;
}

.loyalty--chip-tabs .loyalty-tab__icon--benefit .loyalty-tab__state {
  inset: 3.4px;
  width: 17.2px;
  height: 17.2px;
}

.loyalty--chip-tabs .loyalty-tab__icon--bonus {
  width: 28px;
  height: 28px;
}

.loyalty--chip-tabs .loyalty-tab__icon--bonus .loyalty-tab__state {
  inset: 3px;
  width: 22px;
  height: 22px;
}

.loyalty--chip-tabs .loyalty-tab:not(.loyalty-tab--active) .loyalty-tab__state--inactive {
  visibility: hidden;
}

.loyalty--chip-tabs:not(.loyalty--chip-pin-tabs) .loyalty-tab:not(.loyalty-tab--active) .loyalty-tab__state--chip-inactive {
  visibility: visible;
}

.loyalty--chip-tabs .loyalty-tab--active .loyalty-tab__state--active {
  filter: brightness(0) invert(1);
}

.loyalty--chip-tabs .loyalty-tab__icon--pay {
  width: 22.15px;
  height: 20px;
}

.loyalty--chip-tabs .loyalty-tab__pay-symbol {
  top: .71px;
  left: 0;
}

.loyalty-tab__label--pin-tabs {
  display: none;
}

.loyalty--chip-pin-tabs .loyalty-tabs {
  gap: 6px;
  padding: 16px 16px 12px;
}

.loyalty--chip-pin-tabs .loyalty-tabs::before {
  top: 16px;
  height: 28px;
}

.loyalty--chip-pin-tabs .loyalty-tab {
  height: 28px;
  gap: 4px;
  padding: 0 12px;
  background: var(--muted);
  font-size: 12px;
  line-height: 14px;
}

.loyalty--chip-pin-tabs .loyalty-tab:nth-child(1),
.loyalty--chip-pin-tabs .loyalty-tab:nth-child(2),
.loyalty--chip-pin-tabs .loyalty-tab:nth-child(3) {
  width: auto;
}

.loyalty--chip-pin-tabs .loyalty-tab--active {
  background: transparent;
}

.loyalty--chip-pin-tabs .loyalty-tab__icon--benefit {
  display: none;
}

.loyalty--chip-pin-tabs .loyalty-tab__icon--bonus,
.loyalty--chip-pin-tabs .loyalty-tab__icon--pay {
  width: 16px;
  height: 16px;
}

.loyalty--chip-pin-tabs .loyalty-tab__icon--bonus .loyalty-tab__state {
  inset: 0;
  width: 16px;
  height: 16px;
}

.loyalty--chip-pin-tabs .loyalty-tab:not(.loyalty-tab--active) .loyalty-tab__icon--bonus .loyalty-tab__state--pin-tabs-inactive {
  visibility: visible;
}

.loyalty--chip-pin-tabs .loyalty-tab__pay-symbol {
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
}

.loyalty--chip-pin-tabs .loyalty-tab__icon--pay .loyalty-tab__state--inactive,
.loyalty--chip-pin-tabs .loyalty-tab__icon--pay .loyalty-tab__state--chip-inactive,
.loyalty--chip-pin-tabs .loyalty-tab__icon--pay .loyalty-tab__state--active {
  visibility: hidden;
}

.loyalty--chip-pin-tabs .loyalty-tab__icon--pay .loyalty-tab__state--pin-tabs-inactive {
  visibility: visible;
}

.loyalty--chip-pin-tabs .loyalty-tab--active .loyalty-tab__state--pin-tabs-inactive {
  visibility: hidden;
}

.loyalty--chip-pin-tabs .loyalty-tab--active .loyalty-tab__state--pin-tabs-active {
  visibility: visible;
}

.loyalty--chip-pin-tabs .loyalty-tab__label--default {
  display: none;
}

.loyalty--chip-pin-tabs .loyalty-tab__label--pin-tabs {
  display: inline;
}

.loyalty-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 10px;
}

.loyalty-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.loyalty-track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.loyalty-track.is-dragging {
  transition: none;
}

.dashboard-grid {
  display: grid;
  width: 100%;
  height: 120px;
  flex: 0 0 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px;
}

@media (prefers-reduced-motion: reduce) {
  .loyalty-track,
  .loyalty-tip,
  .loyalty--chip-tabs .loyalty-tabs::before,
  .bottom-nav--standard .bottom-nav__qr,
  .bottom-nav--standard .bottom-nav__qr img,
  .performance-widget-track,
  .performance-widget__action,
  .performance-widget__action-text,
  .performance-widget__action-icon,
  .performance-progress__fill,
  .performance-dashboard__tip-fill,
  .top-chrome,
  .status-icons img,
  .hero-nav__icon img,
  .address,
  .address img {
    transition: none;
  }
}

.dashboard-column {
  display: grid;
  grid-template-rows: 56px 56px;
  gap: 8px;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--muted);
  border-radius: 20px;
}

.dashboard-card--cashback {
  height: 120px;
  padding: 12px;
  background: #f7f5ef;
}

.dashboard-grid--benefit .dashboard-card {
  height: 120px;
  padding: 12px;
}

.dashboard-slider-slot {
  min-width: 0;
  height: 120px;
}

.dashboard-slider-slot > .performance-widget-slider {
  width: 100%;
}

.dashboard-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.dashboard-card__heart {
  position: absolute;
  top: 9px;
  left: 44px;
  width: 124px;
  height: 124px;
  object-fit: cover;
}

.dashboard-control {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: rgb(255 255 255 / 60%);
  border-radius: 12px;
}

.dashboard-control img {
  width: 20px;
  height: 20px;
}

.dashboard-control--cashback {
  top: 76px;
  left: 12px;
  right: auto;
}

.dashboard-grid--benefit .dashboard-control--cashback {
  background: #ff413a;
}

.dashboard-grid--benefit .dashboard-control--cashback img {
  filter: brightness(0) invert(1);
}

.dashboard-card--benefit-games {
  background: #f5f5f4;
}

.dashboard-card__games {
  position: absolute;
  top: -1px;
  left: 85px;
  width: 121px;
  height: 121px;
  max-width: none;
  object-fit: contain;
}

.dashboard-control--games {
  top: 76px;
  right: auto;
  left: 12px;
}

.dashboard-card--compact {
  height: 56px;
  padding: 12px;
}

.dashboard-control--illustration {
  overflow: hidden;
  background: #fff;
}

.dashboard-control--illustration img {
  position: absolute;
  top: -8px;
  left: 0;
  width: 51px;
  height: 51px;
  max-width: none;
}

.dashboard-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-copy p,
.dashboard-balance p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
}

.dashboard-card--balance,
.dashboard-card--pay {
  height: 120px;
  padding: 12px;
}

.dashboard-premium {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 80px;
  height: 22px;
}

.dashboard-balance {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-balance__value {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.dashboard-balance__value strong,
.dashboard-pay-balance {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.dashboard-balance__value img {
  width: 24px;
  height: 24px;
}

.dashboard-pay-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 73px;
  height: 24px;
}

.dashboard-card-number {
  position: absolute;
  top: 47px;
  left: 12px;
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.dashboard-pay-balance {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

[data-dashboard-variant][hidden] {
  display: none !important;
}

.performance-dashboard {
  --performance-gradient: linear-gradient(105deg, #ff3d39 0%, #ff3153 64%, #ff266d 100%);
  --performance-washed-gradient: linear-gradient(105deg, #ff9492 0%, #ff8e9f 64%, #ff87af 100%);
  --performance-width: 360px;
  position: relative;
  height: 250px;
  overflow: hidden;
  color: var(--text);
  background: var(--performance-gradient);
  border-radius: 28px;
  -webkit-user-select: none;
  user-select: none;
}

.performance-dashboard img {
  -webkit-user-drag: none;
}

.performance-dashboard__main {
  position: relative;
  z-index: 2;
  display: flex;
  height: 202px;
  flex-direction: column;
  gap: 4px;
  padding: 2px 16px 16px;
  background: var(--surface);
  border-radius: 28px;
}

.performance-summary {
  display: grid;
  height: 60px;
  flex: 0 0 60px;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 8px;
  align-items: center;
  padding: 8px 0 8px 12px;
}

.performance-summary__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.performance-summary__pay-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.performance-summary__pay-icon {
  display: grid;
  overflow: hidden;
  place-items: center;
  background: var(--muted);
  border-radius: 12px;
}

.performance-summary__pay-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.performance-summary__item > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  padding: 6px 0;
}

.performance-summary__item strong {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-summary__item strong img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.performance-summary__item > div > span {
  overflow: hidden;
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-summary__item b {
  font-weight: 500;
}

.performance-widgets {
  display: grid;
  height: 120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.performance-widget-slider {
  position: relative;
  min-width: 0;
  height: 120px;
  overflow: hidden;
  overflow: clip;
  border-radius: 20px;
  outline: none;
  touch-action: pan-y;
}

.performance-widget-slider:focus-visible {
  box-shadow: inset 0 0 0 2px rgb(255 49 83 / 45%);
}

.performance-widget-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 360ms cubic-bezier(0.22, 0.72, 0.22, 1);
  will-change: transform;
}

.performance-widget-track.is-dragging {
  transition: none;
}

.performance-widget-track > .performance-widget {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
}

.performance-widget-track > .performance-widget[hidden] {
  display: none !important;
}

.performance-widget {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin: 0;
  background: var(--muted);
  border-radius: 20px;
}

.performance-widget__content,
.performance-widget--games {
  background: var(--muted);
}

.performance-widget__content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.performance-widget h2 {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.performance-widget__subtitle,
.performance-widget__price {
  position: absolute;
  z-index: 3;
  top: 48px;
  left: 12px;
  color: var(--secondary-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.performance-widget__price {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.performance-widget--cashback {
  background-color: #ff3d39;
}

.performance-widget--cashback .performance-widget__content {
  background: #f8f5f0;
}

.performance-widget__heart {
  position: absolute;
  top: 12px;
  right: -16px;
  width: 144px;
  height: 144px;
  object-fit: cover;
}

.performance-widget__dots {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: flex;
  width: auto;
  height: 12px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: #fff;
  border-radius: 8px;
}

.performance-widget__dots[hidden] {
  display: none;
}

.performance-widget__dots-track {
  display: flex;
  height: 4px;
  align-items: center;
  gap: 4px;
}

.performance-widget__dots-track i {
  display: block;
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  background: #d7d6d6;
  border-radius: 2px;
}

.performance-widget__dots-track i.is-active {
  width: 8px;
  flex-basis: 8px;
  background: #3b3a3a;
}

.performance-widget__coupon-scene {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.performance-widget__coupon-scene > span,
.performance-widget__coupon-scene i {
  position: relative;
  display: block;
}

.performance-widget__coupon-scene i {
  overflow: hidden;
}

.performance-widget__coupon-scene img {
  position: absolute;
  display: block;
  max-width: none;
}

.performance-widget__coupon-scene--blue {
  top: -40px;
  right: -133.8995px;
  width: 230.212px;
  height: 235.998px;
}

.performance-widget__coupon-scene--blue > span {
  width: 155.227px;
  height: 179.3px;
  transform: rotate(-35.21deg);
}

.performance-widget__coupon-scene--blue i {
  width: 155.227px;
  height: 179.3px;
}

.performance-widget__coupon-scene--blue img {
  top: 6.49%;
  left: 13.64%;
  width: 72.73%;
  height: 87.01%;
}

.performance-widget__coupon-scene--pink {
  top: 35.15px;
  right: -24.513px;
  width: 140.513px;
  height: 144.717px;
}

.performance-widget__coupon-scene--pink > span {
  width: 95.531px;
  height: 110.346px;
  transform: rotate(-33.42deg);
}

.performance-widget__coupon-scene--pink i {
  width: 95.531px;
  height: 110.346px;
}

.performance-widget__coupon-scene--pink img {
  top: 3.3%;
  left: 10.97%;
  width: 78.06%;
  height: 93.39%;
}

.performance-widget__ramen {
  position: absolute;
  top: 0;
  right: -46px;
  width: 156px;
  height: 156px;
  object-fit: cover;
}

.performance-widget__premium-mask {
  position: absolute;
  top: 36px;
  right: -21.273px;
  width: 127.273px;
  height: 70px;
  overflow: hidden;
}

.performance-widget__premium {
  position: absolute;
  top: -21.27px;
  left: -14.34px;
  width: 147.955px;
  height: 147.955px;
  object-fit: cover;
}

.performance-widget__premium-mask::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 33px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), #fff);
  content: '';
}

.performance-widget__action {
  position: absolute;
  z-index: 4;
  bottom: 12px;
  left: 12px;
  display: flex;
  width: calc(100% - 24px);
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px 8px;
  color: #f5f5f4;
  border: 0;
  background: radial-gradient(165% 110% at -15% -20%, #ffca79 0%, #ff3d39 57%, #ff266d 100%);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  transition: width 420ms cubic-bezier(0.22, 0.72, 0.22, 1), transform 160ms ease;
  appearance: none;
}

.performance-widget__action:active {
  transform: scale(0.96);
}

.performance-widget__action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.performance-widget__action-text {
  display: block;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
  transition: opacity 140ms ease, transform 300ms cubic-bezier(0.22, 0.72, 0.22, 1);
}

.performance-widget__action-icon {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  max-width: none;
  opacity: 0;
  filter: brightness(0) invert(1);
  transform: scale(0.55) rotate(-80deg);
  transition: opacity 160ms ease 120ms, transform 320ms cubic-bezier(0.22, 0.72, 0.22, 1) 80ms;
}

.performance-widget__action.is-compact {
  width: 32px;
  padding-right: 0;
  padding-left: 0;
}

.performance-widget__action.is-compact .performance-widget__action-text {
  opacity: 0;
  transform: translateX(-12px);
}

.performance-widget__action.is-compact .performance-widget__action-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.performance-widget__action.is-completed {
  opacity: 1;
}

.performance-widget__game {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 53%;
  width: 121px;
  height: 121px;
  object-fit: contain;
}

.performance-widget__arrow {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: rgb(255 255 255 / 72%);
  border-radius: 12px;
}

.performance-widget__arrow img {
  width: 20px;
  height: 20px;
}

.performance-dashboard__tip {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 84px;
  width: 24px;
  height: 10px;
}

.loyalty .performance-dashboard__tip {
  display: none;
}

.performance-dashboard__tip > img,
.performance-dashboard__tip-fill,
.performance-dashboard__tip-fill img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 24px;
  height: 10px;
}

.performance-dashboard__tip-fill {
  width: clamp(0px, calc(var(--performance-fill-pixels, 58px) - 84px), 24px);
  overflow: hidden;
  transition: width 360ms cubic-bezier(0.22, 0.72, 0.22, 1);
}

.performance-progress {
  position: relative;
  z-index: 1;
  height: 48px;
  overflow: visible;
  color: #fff;
  background: transparent;
}

.performance-progress__smile {
  position: absolute;
  top: -61px;
  left: 0;
  width: 100%;
  height: 109px;
  overflow: hidden;
  background: var(--performance-gradient);
  border-radius: 28px;
}

.performance-progress__wash {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 20px);
  height: 119px;
  background: rgb(255 255 255 / 45%);
}

.performance-progress__fill {
  position: absolute;
  left: 0;
  overflow: hidden;
  border-radius: 28px;
}

.performance-progress__fill i {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: var(--performance-width);
  height: 109px;
  background: var(--performance-gradient);
}

.performance-progress__fill--edge {
  top: -14px;
  width: var(--performance-edge-width, 29px);
  height: 123px;
}

.performance-progress__fill--value {
  top: 61px;
  width: var(--performance-fill-width, 58px);
  height: 48px;
}

.performance-progress__fill--edge,
.performance-progress__fill--value {
  transition: width 360ms cubic-bezier(0.22, 0.72, 0.22, 1);
}

.performance-progress__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  gap: 18px;
  padding: 0 16px 2px;
}

.performance-progress__icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
}

.performance-progress__icon img {
  width: 17.1px;
  height: 17.1px;
}

.performance-progress__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.performance-progress__copy strong,
.performance-progress__copy span,
.performance-progress__link {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-progress__copy strong {
  font-size: 14px;
  line-height: 16px;
}

.performance-progress__copy span {
  font-size: 11px;
  line-height: 12px;
}

.performance-progress__link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
}

.performance-progress__link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.search-section {
  height: 64px;
  padding: 8px 16px;
  background: transparent;
}

.search-field {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #8b8a89;
  background: var(--surface);
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
}

.search-field span {
  flex: 1;
}

.search-field img {
  width: 24px;
  height: 24px;
}

.categories {
  display: grid;
  height: 88px;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 10px 8px 12px;
  background: var(--surface);
  border-radius: 28px;
}

.category {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.category > span {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
}

.category > span > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.category small {
  width: 100%;
  margin-top: 4px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed {
  min-height: 744px;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: 28px;
}

.product-card {
  min-width: 0;
  min-height: 248px;
  background: var(--surface);
}

.product-card__photo {
  position: relative;
  aspect-ratio: 1;
  padding: 8px;
}

.product-card:nth-child(odd) .product-card__photo {
  padding-right: 4px;
}

.product-card:nth-child(even) .product-card__photo {
  padding-left: 4px;
}

.product-card--left .product-card__photo {
  padding-right: 4px;
  padding-left: 8px;
}

.product-card--right .product-card__photo {
  padding-right: 8px;
  padding-left: 4px;
}

.product-card__surface {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--muted);
  border-radius: 20px;
}

.product-card__surface::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 4%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__heart {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
}

.product-card__formats {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  width: 20px;
  flex-direction: column;
  gap: 4px;
}

.product-card__formats > img,
.product-card__format {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: hidden;
  border-radius: 50%;
}

.product-card__format--diksi img {
  position: absolute;
  top: -4px;
  left: -8px;
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.product-card__format--green {
  background: #154628;
}

.product-card__format--green img {
  position: absolute;
  inset: 2px;
  width: 16px;
  height: 16px;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  height: 16px;
  padding: 2px 6px 1px;
  color: #5f30e7;
  background: #e0d5ff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.product-card__add {
  position: absolute;
  right: 19px;
  bottom: 19px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgb(87 87 87 / 14%);
}

.product-card__add img {
  width: 24px;
  height: 24px;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px 12px;
}

.product-card__body strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.product-card__body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__body p span,
.product-card__promo-shell > p span {
  color: #747372;
}

.product-card--promo {
  min-height: 248px;
  padding: 8px;
}

.product-card:nth-child(even).product-card--promo {
  padding-left: 4px;
}

.product-card:nth-child(odd).product-card--promo {
  padding-right: 4px;
}

.product-card__promo-shell {
  display: flex;
  height: 100%;
  min-height: 232px;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(80.49deg, #ffddbf 3.08%, #ffd5de 65%);
  border-radius: 20px;
}

.product-card__promo-image {
  position: relative;
  height: 144px;
  flex: 0 0 144px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
}

.product-card__promo-image > img {
  position: absolute;
  top: -3.2px;
  left: 50%;
  width: 167.3px;
  height: 128.4px;
  object-fit: fill;
  transform: translateX(-50%) rotate(-35.22deg);
}

.product-card__timer {
  position: absolute;
  right: 12px;
  bottom: 13px;
  display: flex;
  height: 22px;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: rgb(231 231 231 / 60%);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.product-card__timer img {
  width: 10px;
  height: 12px;
}

.product-card__promo-shell > p {
  display: -webkit-box;
  height: 28px;
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__activate {
  display: grid;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin-top: auto;
  padding: 5px 8px;
  background: rgb(255 255 255 / 60%);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.product-card--benefit-promo {
  min-height: 248px;
  padding: 8px 4px 8px 8px;
}

.benefit-feed-card {
  position: relative;
  height: 232px;
  overflow: hidden;
  padding: 12px;
  color: #fff;
  background: radial-gradient(165% 110% at -15% -20%, #ffca79 0%, #ff3d39 57%, #ff266d 100%);
  border-radius: 20px;
}

.benefit-feed-card p,
.benefit-feed-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
}

.benefit-feed-card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.benefit-feed-card small {
  margin-top: 4px;
  color: rgb(255 255 255 / 75%);
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.benefit-feed-card__lightning {
  position: absolute;
  top: 80px;
  left: 42px;
  width: 82px;
  height: 104px;
}

.benefit-feed-card__slider {
  position: absolute;
  bottom: 13px;
  left: 12px;
  display: flex;
  width: auto;
  height: 12px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: #fff;
  border-radius: 8px;
}

.benefit-feed-card__slider-track {
  display: flex;
  height: 4px;
  align-items: center;
  gap: 4px;
}

.benefit-feed-card__slider-track i {
  display: block;
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  background: #d7d6d6;
  border-radius: 2px;
}

.benefit-feed-card__slider-track i.is-active {
  width: 8px;
  flex-basis: 8px;
  background: #3b3a3a;
}

.benefit-feed-card__arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: rgb(178 0 78 / 28%);
  border-radius: 14px;
}

.benefit-feed-card__arrow img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.feed-map {
  position: relative;
  height: 220px;
  flex: 0 0 220px;
  overflow: hidden;
  background: #f5f5f4;
  border-radius: 28px;
}

.feed-map__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  transform: scale(1.1);
}

.feed-map::after {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 6%);
  content: "";
  pointer-events: none;
}

.feed-map__pin {
  position: absolute;
  z-index: 2;
  display: flex;
  height: 30px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(59 58 58 / 12%);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.feed-map__pin > img,
.feed-map__pin .product-card__format {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.feed-map__pin--one {
  top: 57px;
  left: 47px;
}

.feed-map__pin--two {
  top: 22px;
  left: 204px;
}

.feed-map__pin--three {
  top: 69px;
  right: 29px;
}

.feed-map__location {
  position: absolute;
  z-index: 2;
  top: 55px;
  left: 175px;
  width: 20px;
  height: 20px;
  background: #3b3a3a;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(59 58 58 / 20%);
}

.feed-map__card {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  height: 72px;
  align-items: center;
  gap: 10px;
  padding: 8px 56px 8px 8px;
  color: #fff;
  background: rgb(59 58 58 / 84%);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.feed-map__card > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  background: #fff;
  border-radius: 12px;
}

.feed-map__card p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-map__card p span {
  color: #fff;
}

.feed-map__card p b {
  color: #ffc13d;
  font-weight: 500;
}

.feed-map__card .product-card__add {
  right: 12px;
  bottom: 16px;
}

.product-card__recipe-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  height: 16px;
  padding: 2px 6px 1px;
  color: #fff;
  background: rgb(59 58 58 / 70%);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.product-card--recipe .product-card__body p {
  -webkit-line-clamp: 2;
}

.bottom-nav {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 70px;
  align-items: flex-start;
  gap: 4px;
  padding: 0 16px 16px;
  pointer-events: none;
}

.bottom-nav__group {
  display: flex;
  flex: 1;
  height: 54px;
  overflow: hidden;
  padding: 2px 4px;
  background: rgb(255 255 255 / 64%);
  border-radius: 300px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.bottom-nav__item {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.bottom-nav__item img {
  width: 24px;
  height: 24px;
}

.bottom-nav__label-standard {
  display: none;
}

.bottom-nav__home {
  display: flex;
  width: 50px;
  height: 54px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

.bottom-nav__home > span {
  display: none;
}

.bottom-nav__qr {
  display: grid;
  width: 50px;
  height: 50px;
  margin-top: 4px;
  place-items: center;
  background: var(--primary);
  border-radius: 50%;
}

.bottom-nav__qr img {
  width: 28px;
  height: 28px;
}

.bottom-nav__qr-icon--standard,
.bottom-nav__qr-icon--scrolled,
.bottom-nav__qr-icon--direct-standard,
.bottom-nav__qr-icon--direct-scrolled {
  display: none;
}

.bottom-nav--standard {
  display: grid;
  height: 95px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: 19px 0 34px;
  color: var(--secondary-text);
}

.bottom-nav--standard::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 82px;
  background: #fff;
  content: "";
}

.bottom-nav--standard::after {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: 50%;
  width: 72px;
  height: 2px;
  background: var(--text);
  border-radius: 8px;
  content: "";
  transform: translateX(-50%);
}

.bottom-nav--standard .bottom-nav__group {
  display: contents;
}

.bottom-nav--standard .bottom-nav__item {
  height: 42px;
  padding: 0 4px;
  color: var(--secondary-text);
  line-height: 18px;
}

.bottom-nav--standard .bottom-nav__item img {
  opacity: 0.62;
}

.bottom-nav--standard .bottom-nav__label-liquid {
  display: none;
}

.bottom-nav--standard .bottom-nav__label-standard {
  display: inline;
}

.bottom-nav--standard .bottom-nav__home {
  position: relative;
  width: auto;
  height: 42px;
  min-width: 0;
  flex: none;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.bottom-nav--standard .bottom-nav__home > span {
  position: absolute;
  top: 24px;
  display: block;
}

.bottom-nav--standard .bottom-nav__qr {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: 0;
  transform: translateX(-50%);
  transition:
    top 280ms cubic-bezier(.22, .72, .18, 1),
    width 280ms cubic-bezier(.22, .72, .18, 1),
    height 280ms cubic-bezier(.22, .72, .18, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.bottom-nav--standard .bottom-nav__qr img {
  width: 24px;
  height: 24px;
  transition:
    width 280ms cubic-bezier(.22, .72, .18, 1),
    height 280ms cubic-bezier(.22, .72, .18, 1),
    filter 180ms ease,
    opacity 180ms ease;
}

.bottom-nav--standard .bottom-nav__qr-icon--liquid {
  display: none;
}

.bottom-nav--standard .bottom-nav__qr img.bottom-nav__qr-icon--standard {
  display: block;
  width: 18.018px;
  height: 18.018px;
}

.bottom-nav--standard.is-scroll-collapsed .bottom-nav__qr {
  top: 0;
  width: 24px;
  height: 24px;
  background-color: transparent;
  box-shadow: none;
}

.bottom-nav--standard.is-scroll-collapsed .bottom-nav__qr img {
  width: 24px;
  height: 24px;
  opacity: .62;
  filter: brightness(0);
}

.bottom-nav--standard.is-scroll-collapsed .bottom-nav__qr img.bottom-nav__qr-icon--standard {
  display: none;
}

.bottom-nav--standard.is-scroll-collapsed .bottom-nav__qr img.bottom-nav__qr-icon--scrolled {
  display: block;
  width: 24px;
  height: 24px;
  opacity: 1;
  filter: none;
}

.bottom-nav--standard.bottom-nav--qr-direct .bottom-nav__qr img.bottom-nav__qr-icon--standard,
.bottom-nav--standard.bottom-nav--qr-direct.is-scroll-collapsed .bottom-nav__qr img.bottom-nav__qr-icon--scrolled {
  display: none;
}

.bottom-nav--standard.bottom-nav--qr-direct .bottom-nav__qr img.bottom-nav__qr-icon--direct-standard {
  display: block;
  width: 20px;
  height: 20px;
}

.bottom-nav--standard.bottom-nav--qr-direct.is-scroll-collapsed .bottom-nav__qr img.bottom-nav__qr-icon--direct-standard {
  display: none;
}

.bottom-nav--standard.bottom-nav--qr-direct.is-scroll-collapsed .bottom-nav__qr img.bottom-nav__qr-icon--direct-scrolled {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 1;
  filter: none;
}

.prototype-settings {
  position: fixed;
  z-index: 40;
  top: 24px;
  right: 20px;
}

.prototype-settings__toggle {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: #fff;
  border: 1px solid #dededd;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 5%);
  cursor: pointer;
}

.prototype-settings__toggle span {
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.prototype-settings__panel {
  width: min(300px, calc(100vw - 32px));
  margin-top: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgb(0 0 0 / 13%);
  animation: settings-enter 180ms ease-out;
}

.prototype-settings__panel[hidden] {
  display: none;
}

.prototype-settings__panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.prototype-settings__panel h2 {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
}

.prototype-settings__close {
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.prototype-settings__close img {
  width: 28px;
  height: 28px;
}

.prototype-variant-settings {
  margin: 0;
  padding: 0;
  border: 0;
}

.prototype-variant-settings legend {
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.prototype-variant-settings label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}

.prototype-variant-settings input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  accent-color: #f52619;
  cursor: pointer;
}

.prototype-variant-settings label > span {
  display: flex;
  flex-direction: column;
}

.prototype-variant-settings strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.prototype-variant-settings small {
  color: var(--secondary-text);
  font-size: 12px;
  line-height: 16px;
}

.prototype-tab-settings {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.prototype-tab-settings[hidden] {
  display: none;
}

@keyframes settings-enter {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 767px), (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {
  :root {
    background-color: #17220c;
  }

  body {
    display: block;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: transparent;
  }

  .app-shell {
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .page-scroll {
    position: relative;
    inset: auto;
    overflow: visible;
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  body.has-standard-tabbar .page-scroll {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .status-bar {
    display: none;
  }

  .top-chrome {
    position: fixed;
    top: 0;
    height: calc(48px + env(safe-area-inset-top, 0px));
  }

  .hero-nav {
    top: env(safe-area-inset-top, 0px);
  }

  .bottom-nav {
    position: fixed;
    top: auto;
    bottom: env(safe-area-inset-bottom, 0px);
  }

  .bottom-nav--standard::after {
    display: none;
  }

  .bottom-nav--standard {
    height: 72px;
    padding-bottom: 11px;
  }

  .bottom-nav--standard::before {
    height: 59px;
  }

  .prototype-settings {
    top: env(safe-area-inset-top, 0px);
    right: env(safe-area-inset-right, 0px);
  }

  .prototype-settings__toggle {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .prototype-settings__toggle span {
    color: #fff;
    font-size: 24px;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 28%));
    transition: color 220ms ease, filter 220ms ease;
  }

  body.has-solid-chrome .prototype-settings__toggle span {
    color: var(--text);
    filter: none;
  }

  .prototype-settings__panel {
    width: min(300px, calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px) - 16px));
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    margin: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero,
  .content-stack,
  .top-chrome,
  .bottom-nav {
    width: 100%;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }

  .loyalty-tabs,
  .dashboard-grid {
    width: 100%;
  }

  .loyalty,
  .performance-dashboard {
    --performance-width: min(430px, 100vw);
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  body {
    align-items: center;
  }

  .app-shell {
    height: min(800px, 100vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .bottom-nav--standard .bottom-nav__qr,
  .bottom-nav--standard .bottom-nav__qr img {
    transition: none;
  }

  .prototype-settings__panel {
    animation: none;
  }
}
