.wallet-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}
.wallet-benefits-entry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #ad864d62;
  border-radius: 15px;
  background: #17171e;
  color: #f5e8d5;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.wallet-benefits-entry:hover {
  border-color: #d7ab64;
  background: #28221c;
  color: #fff0d3;
}
.wallet-benefits-entry:focus-visible,
.wallet-offers-back:focus-visible,
.wallet-offer-action:focus-visible,
.wallet-offers-filters button:focus-visible {
  outline: 2px solid #f8d289;
  outline-offset: 3px;
}
.wallet-benefits-entry strong,
.wallet-benefits-entry small { display: block; line-height: 1.25; }
.wallet-benefits-entry strong { font-size: 15px; }
.wallet-benefits-entry small { margin-top: 4px; color: #c7b8a5; font-size: 12px; }
.wallet-benefits-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 10px;
  background: #daa84a25;
  color: #f4cc79;
  font-size: 18px;
}
.wallet-ticket-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(145deg, #ffe7aa, #e6ad50);
  color: #402706;
  font: 900 11px/1 var(--body);
  transform: rotate(-13deg);
  mask: radial-gradient(circle at left, transparent 2.4px, #000 2.9px) left / 51% 100% no-repeat,
    radial-gradient(circle at right, transparent 2.4px, #000 2.9px) right / 51% 100% no-repeat;
}
.wallet-offers-count {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  padding: 2px 5px;
  border: 1px solid #ffce7b;
  border-radius: 999px;
  background: linear-gradient(#ffdf97, #e8a648);
  color: #231306;
  font: 800 11px/1 var(--body);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 5px #0006;
  animation: wallet-offers-bounce 3.6s ease-in-out infinite;
}
@keyframes wallet-offers-bounce {
  0%, 17%, 100% { transform: translateY(0); }
  5% { transform: translateY(-5px); }
  9% { transform: translateY(0); }
  13% { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .wallet-offers-count { animation: none; }
}
.wallet-benefits-entry[data-has-offers] { padding-inline-end: 33px; }
.wallet-offers-back { display: inline-flex; align-items: center; gap: 8px; color: #f4d295; font-size: 14px; font-weight: 700; text-decoration: none; }
.wallet-offers-back:hover { text-decoration: underline; }
.wallet-offers-page .wallet-heading { margin-top: 18px; }
.wallet-offers-page .wallet-heading h1 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -.04em; }
.wallet-offers-count[hidden],
.wallet-offers [hidden] { display: none !important; }
.wallet-offers {
  margin-bottom: 28px;
  padding: clamp(12px, 3vw, 22px);
  border: 1px solid #9c7b4e58;
  border-radius: 18px;
  background: #13141d;
  color: #f5e8d5;
}
.wallet-offers-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid #ae90634a;
  border-radius: 12px;
  background: #101017;
}
.wallet-offers-filters button {
  min-width: 0;
  min-height: 40px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #d0c4b3;
  font: 700 13px/1.2 var(--body);
  cursor: pointer;
}
.wallet-offers-filters button:hover { background: #29241e; color: #ffe6bb; }
.wallet-offers-filters button[aria-pressed="true"] {
  border-color: #c79447;
  background: #38291a;
  color: #ffdb95;
}
.wallet-offers-message { margin: 0; color: #d0c4b3; font-size: 14px; line-height: 1.5; }
.wallet-offers-retry {
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid #c79550;
  border-radius: 8px;
  background: transparent;
  color: #ffdb9a;
  cursor: pointer;
}
.wallet-offers-list { display: grid; gap: 10px; }
.wallet-offer {
  min-width: 0;
  padding: clamp(12px, 3vw, 18px);
  border: 1px solid #ae90634d;
  border-radius: 14px;
  background: #1a1a23;
}
.wallet-offer[data-state="pending"] {
  border-color: #cf9b4d6c;
  background: radial-gradient(ellipse at top left, #3e2c17, transparent 80%), #1d1b22;
}
.wallet-offer-head,
.wallet-offer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.wallet-offer-source { margin: 0 0 4px; color: #d5aa68; font-size: 12px; font-weight: 700; }
.wallet-offer h2 { margin: 0; color: #fff0d3; font: 800 clamp(17px, 2.5vw, 21px)/1.25 var(--display); letter-spacing: -.015em; }
.wallet-offer-status {
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #d0c4b3;
  font: 700 11px/1.3 var(--body);
}
.wallet-offer[data-state="pending"] .wallet-offer-status { color: #ffcd80; }
.wallet-offer[data-state="credited"] .wallet-offer-status { color: #a4dec1; }
.wallet-offer-condition { margin: 12px 0 0; color: #e2d5c2; font-size: 14px; line-height: 1.45; }
.wallet-offer-stacking { margin: 5px 0 0; color: #d0c4b3; font-size: 12px; font-weight: 500; line-height: 1.4; }
.wallet-offer-bottom { margin-top: 14px; padding-top: 12px; border-top: 1px solid #ad864d47; }
.wallet-offer-countdown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: #e4be81;
  font: 800 10px/1.2 var(--body);
  letter-spacing: .035em;
  font-variant-numeric: tabular-nums;
}
.wallet-offer-countdown-label { text-transform: uppercase; white-space: nowrap; }
.wallet-offer-clock { display: inline-flex; gap: 4px; }
.wallet-offer-clock > span {
  display: grid;
  gap: 2px;
  min-width: 34px;
  padding: 4px 5px;
  border: 1px solid #af814a;
  border-radius: 6px;
  background: linear-gradient(#32271b, #201b18);
  color: #ffdc99;
  text-align: center;
}
.wallet-offer-clock strong { font-size: 14px; line-height: 1; letter-spacing: 0; }
.wallet-offer-clock small { font-size: 8px; color: #e2be87; }
.wallet-offer-clock-checking,
.wallet-offer-countdown[data-checking] .wallet-offer-clock { display: none; }
.wallet-offer-countdown[data-checking] .wallet-offer-clock-checking { display: inline; }
.wallet-offer-date { margin: 0; color: #d0c4b3; font-size: 12px; line-height: 1.45; }
.wallet-offer-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid #b4884a;
  border-radius: 8px;
  color: #ffe0a4;
  font: 800 13px/1.3 var(--body);
  text-decoration: none;
}
.checkout-offers-entry {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 6px;
  scroll-margin-block: 84px;
}
.checkout-offers-entry[hidden],
.checkout-offers-entry [hidden] { display: none }
.checkout-offers-entry button {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #a6824e73;
  border-radius: 10px;
  background: #1e1915;
  color: #ffe1ab;
  font: 700 14px/1.3 var(--body);
  cursor: pointer;
}
.checkout-offers-entry [data-payin-pick-offer] {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 6px;
  text-align: left;
}
.checkout-offers-entry strong { margin-inline-end: auto; color: #fff0d8 }
.checkout-offers-entry button:hover { background: #33281b }
.checkout-offers-entry button:disabled { opacity: .6; cursor: default }
.checkout-offers-status { margin: 0 0 10px; color: #ffd8a1; font-size: 13px }
[data-payin-offer-credit] { color: #ffd490 }
.checkout-offer-picker-title {
  margin: 0 0 8px;
  font: 800 clamp(18px, 3vw, 24px)/1.25 var(--display);
  letter-spacing: -.02em;
}
[data-checkout-offer-context] { margin-bottom: 14px }
.checkout-offer-choices {
  display: grid;
  min-width: 0;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.checkout-offer-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.checkout-offer-choice[data-state="pending"]:has(input:checked) { border-color: #e8ba70 }
.checkout-offer-select input { width: 16px; height: 16px; margin: 0; accent-color: #ebbc72 }
.checkout-offer-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px }
.checkout-offer-actions button {
  min-width: 94px;
  background: linear-gradient(#ffe4a8, #e7ab57);
  color: #271708;
  cursor: pointer;
}
.checkout-offer-actions button:disabled { opacity: .5; cursor: default }
.checkout-offers-entry button:focus-visible,
.checkout-offer-choice:has(input:focus-visible),
.checkout-offer-actions :is(a, button):focus-visible { outline: 2px solid #ffd490; outline-offset: 2px }
.wallet-offer[data-state="pending"] .wallet-offer-action { background: #f1bc66; color: #26180b; }
.wallet-offer-action:hover { border-color: #ffdf9a; filter: brightness(1.12); }
#sc-records { scroll-margin-top: 85px; }

@media (max-width: 620px) {
  .wallet-benefits { gap: 9px; margin-bottom: 20px; }
  .wallet-benefits-entry { min-height: 69px; padding: 10px 8px; gap: 7px; }
  .wallet-benefits-entry[data-has-offers] { padding-inline-end: 8px; }
  .wallet-benefits-entry[data-has-offers] strong { padding-inline-end: 18px; }
  .wallet-benefits-icon { width: 29px; height: 29px; border-radius: 8px; font-size: 15px; }
  .wallet-benefits-entry strong { font-size: 13px; }
  .wallet-benefits-entry small { font-size: 11px; }
  .wallet-ticket-icon { width: 22px; height: 14px; font-size: 10px; }
  .wallet-offers-count { top: 4px; right: 4px; min-width: 17px; min-height: 17px; padding: 1px 3px; font-size: 10px; }
  .wallet-offer-stacking { max-width: 27ch; }
}
@media (max-width: 360px) {
  .wallet-benefits-entry { min-height: 61px; }
  .wallet-benefits-entry small { display: none; }
  .wallet-offer-date { max-width: 24ch; }
}
