:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #fbf7ff;
  background: #101123;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top, #32234e, transparent 65%); }
main { width: min(64rem, 100% - 2rem); margin: auto; padding-block: 2rem; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.account-controls { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; flex-wrap: wrap; }
.account-badge { display: flex; align-items: center; gap: .6rem; padding: .26rem .7rem .26rem .26rem; border: 1px solid #ab97e380; border-radius: .8rem; background: linear-gradient(#514271a0, #201a39); }
.account-badge[hidden] { display: none; }
.account-badge img { width: 2rem; height: 2rem; border-radius: .52rem; object-fit: cover; }
.account-badge strong { color: #ccecff; white-space: nowrap; font-variant-numeric: tabular-nums; }
a { color: #e1cbff; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -.065em; margin: .65em 0 .2em; }
.glass {
  background: linear-gradient(160deg, #ffffff15, #141426ba);
  border: 1px solid #9588b87d;
  border-radius: 1rem;
  box-shadow: 0 10px 40px #08071266, inset 0 1px #ffffff25;
  padding: 1.1rem;
}
#products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.product { display: flex; flex-direction: column; inline-size: 100%; max-inline-size: 22rem; padding: 0; overflow: hidden; }
.product-copy { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: .9rem; }
.product-copy button { inline-size: 100%; margin-top: auto; }
.product h3, .product p { margin: 0; }
.product-copy > p { line-height: 1.43; }
.product-price { color: #ccecff; font-weight: 650; }
.offer-art {
  --mark-light: #d6faff;
  --mark-mid: #5fd2ef;
  --mark-core: #294a86;
  --art-glow: #3276a6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 1.6vw, 1rem);
  min-height: 8.4rem;
  padding: .72rem;
  border-bottom: 1px solid color-mix(in srgb, var(--mark-mid) 38%, transparent);
  background:
    radial-gradient(ellipse at 23% 48%, color-mix(in srgb, var(--art-glow) 72%, transparent), transparent 64%),
    linear-gradient(150deg, #161930, #1b1831 62%, #141525);
}
article:is(#offer-ocx-10000, #offer-ocx-25000) .credit-art {
  --mark-light: #f8e6ff; --mark-mid: #b197ef; --mark-core: #593481; --art-glow: #634694;
}
.membership-art {
  --mark-light: #fff0ca; --mark-mid: #edc774; --mark-core: #624531; --art-glow: #755435;
}
.offer-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(3.45rem, 6.2vw, 4.85rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--mark-mid);
  color: var(--mark-light);
  background:
    radial-gradient(circle at 32% 20%, #ffffff2c, transparent 43%),
    linear-gradient(151deg, var(--mark-core), #161b39 77%);
  box-shadow:
    inset 0 0 0 3px #14172b, inset 0 0 0 5px color-mix(in srgb, var(--mark-mid) 80%, transparent),
    inset 0 -3px 10px #111021, 0 4px 0 color-mix(in srgb, var(--mark-mid) 46%, #12162c), 0 9px 14px #0908149c;
  font: 850 clamp(.88rem, 1.8vw, 1.25rem)/1 system-ui, sans-serif;
  letter-spacing: -.06em;
  text-shadow: 0 2px 3px #12162b;
}
.membership-art .offer-mark {
  position: relative;
  width: clamp(3.65rem, 7vw, 5.35rem);
  aspect-ratio: 1.23;
  border: 1px solid #edcc8a;
  border-radius: .64rem;
  background:
    linear-gradient(120deg, #e6c89048, transparent 30%, #e7d7ff1d 61%, transparent 66%),
    linear-gradient(155deg, #4a3d48, #201b35 57%, #372638);
  box-shadow: inset 0 0 0 3px #1c192e, inset 0 0 0 4px #c497674f,
    0 3px 0 #695034, 0 8px 15px #110d1bad;
}
.membership-art .offer-mark img {
  display: block;
  width: 73%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px #110c20);
}
.membership-art .offer-mark::after {
  content: "";
  position: absolute;
  inset: auto .55rem .33rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5d6a465 52%, transparent);
  pointer-events: none;
}
.offer-art-details { display: grid; gap: .38rem; min-width: 0; }
.offer-art-details strong { color: #fff; font-size: clamp(.94rem, 1.75vw, 1.25rem); white-space: nowrap; }
.offer-art-price { color: var(--mark-light); font-size: .87rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
#credit-terms { color: #ddd5ef; line-height: 1.5; max-width: 44rem; }
button {
  border: 1px solid #b9a7dd;
  border-radius: .75rem;
  background: linear-gradient(#544377, #30214e);
  color: inherit;
  padding: .65rem 1rem;
  font: inherit;
  cursor: pointer;
}
button:hover:not(:disabled) { background: linear-gradient(#6c5297, #3c2768); }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #dbf6ff; outline-offset: 3px; }
label { display: block; margin-block: .9rem; }
#notice { color: #ebddff; min-height: 1.5em; }
.offer-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 0 1rem; }
.offer-filters[hidden] { display: none; }
.offer-filters button { padding: .4rem .75rem; }
.offer-filters button[aria-pressed="true"] { border-color: #ead8ff; background: linear-gradient(#7456a0, #45266c); }
.marketplace-embedded, .marketplace-embedded body { background: transparent; }
.marketplace-embedded main { width: min(100% - 1rem, 64rem); padding-block: .25rem 1rem; }
.marketplace-embedded h1, .marketplace-embedded main > header > a { display: none; }
.marketplace-embedded #shop-heading { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.marketplace-embedded main > header { justify-content: flex-end; }
.marketplace-embedded #notice { margin-block: .2rem .65rem; }
.marketplace-embedded #account { margin-block-end: .7rem; padding: .65rem .85rem; }
#account > summary { cursor: pointer; }
.card-checkout { width: min(26rem, 100% - 1rem); color: inherit; background-color: #221d37f5; }
.card-checkout::backdrop { background: #0908199c; }
.card-checkout h2 { margin: 0 2.8rem .45rem 0; }
.card-close { position: absolute; top: .6rem; right: .6rem; padding: .3rem .7rem; }
#secure-card { margin-block: .85rem; }
@media (max-width: 420px) {
  .marketplace-embedded .offer-filters { gap: .3rem; margin-block-end: .65rem; }
  .marketplace-embedded .offer-filters button { padding: .31rem .54rem; font-size: .84rem; }
  .marketplace-embedded .offer-art { min-height: 7rem; }
  .marketplace-embedded .product-copy { padding: .7rem; }
  .marketplace-embedded .product-copy > p { font-size: .91rem; }
}
