:root{font-family:Inter,system-ui,sans-serif;color:#24131a;background:#fff8f8;--red:#a9082c;--muted:#68505a;--line:#ecdce0}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,summary{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #536cff;outline-offset:3px}.wrap{width:min(1140px,calc(100% - 36px));margin-inline:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:72px}header,footer{background:white}header{border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:5px;font-size:1.25rem;font-weight:900;white-space:nowrap}.brand i{font-style:normal;color:white;background:var(--red);border-radius:9px;padding:4px 8px;margin-right:5px}.brand span,.link,.eyebrow{color:var(--red)}nav{display:flex;gap:26px;font-weight:650}.outline,.light,.primary{display:inline-flex;justify-content:center;align-items:center;border-radius:10px;padding:11px 17px;font-weight:800}.outline{border:1px solid var(--line);color:var(--red)}.hero{margin-top:24px;position:relative;isolation:isolate;overflow:hidden;min-height:385px;border-radius:26px;background:radial-gradient(ellipse at 78% 44%,#ec345d,#a4082c 55%,#66071e);color:white}.hero-copy{position:relative;z-index:1;padding:46px clamp(22px,6vw,72px);max-width:625px}.eyebrow{font-size:.875rem;font-weight:850;letter-spacing:.12em}.hero .eyebrow{color:#ffe1e7}.hero h1{font-size:clamp(2.5rem,6.5vw,5rem);margin:0;line-height:.99;letter-spacing:-.065em}.hero-copy>p:not(.eyebrow){line-height:1.6;max-width:340px;color:#fff1f4}.light{background:white;color:var(--red)}.art{position:absolute;inset:0 0 0 53%;pointer-events:none}.ring{position:absolute;inset:12% 10%;border:1px solid #fff5;border-radius:50%;transform:rotate(-24deg);box-shadow:0 0 0 22px #fff1,0 0 0 46px #fff1}.gem,.pack-gem{background:conic-gradient(from 30deg at 50% 35%,#ffe1e8 0deg 46deg,#ee597d 46deg 96deg,#a10836 96deg 149deg,#fb86a6 149deg 183deg,#e73969 183deg 251deg,#ffbccf 251deg 309deg,#fff4f7 309deg);clip-path:polygon(22% 0,78% 0,100% 35%,50% 100%,0 35%);aspect-ratio:1.25}.gem{position:absolute}.g1{width:50%;top:30%;left:25%;transform:rotate(-14deg)}.g2{width:19%;top:19%;left:73%;transform:rotate(17deg)}.g3{width:16%;top:68%;left:13%;transform:rotate(-20deg)}.spark{position:absolute;color:#ffe3eb;font-size:2rem}.s1{top:15%;left:22%}.s2{top:65%;right:12%}.s3{top:75%;right:31%}.shop,.faq{padding:40px 0;scroll-margin:24px}h2{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.04em;margin:.2em 0 .55em}h3{font-size:1.2rem;margin:0 0 14px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,345px);gap:26px;align-items:start}.games,.packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:25px}.tile{text-align:left;border:1px solid var(--line);background:white;border-radius:12px;padding:12px;color:inherit;min-height:70px;overflow-wrap:anywhere}.tile strong,.tile small{display:block}.tile small{color:var(--muted);margin-top:4px}.tile[aria-pressed=true]{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:#fff1f4}.pack-gem{display:block;width:26px;margin-bottom:8px}.order{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.order>.eyebrow{margin-top:0}.order dl{margin:0 0 16px}.order dl div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}dt,.hint,.status{color:var(--muted)}dd{text-align:right;margin:0;font-weight:650}label{display:block;font-weight:700;margin-bottom:7px}.uid{display:flex;gap:6px}.uid button,.close{background:#fff1f4;color:var(--red);border:0;border-radius:8px;padding:8px}.uid input,#server{width:100%;min-width:0;padding:10px;border-radius:8px;border:1px solid #bdacb1}.hint,.status{font-size:.875rem;line-height:1.5}.agree{display:flex;gap:8px;font-size:.875rem;margin:16px 0;font-weight:500}.agree input{accent-color:var(--red)}.link{border:0;background:none;padding:0;text-decoration:underline;font-weight:700}.primary{background:var(--red);color:white;border:0;width:100%}.status:empty{display:none}.faq details{border-top:1px solid var(--line);padding:15px 0}.faq summary{font-weight:750}.faq p,dialog p,dialog li{line-height:1.6}footer{border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:18px;width:min(540px,calc(100% - 32px));padding:24px;color:inherit}dialog::backdrop{background:#240911a8}.close{float:right;padding:3px 10px;font-size:1.3rem}dialog ol{padding-left:22px}dialog li+li{margin-top:8px}
@media(max-width:750px){.layout{grid-template-columns:1fr}.hero{min-height:340px}.art{inset:0 -12% 0 47%;opacity:.62}.hero-copy{background:linear-gradient(90deg,#70071d 10%,transparent 100%)}nav{display:none}.games{grid-template-columns:repeat(2,minmax(0,1fr))}footer .bar{flex-wrap:wrap;padding-block:12px}}
@media(max-width:360px){.packs{grid-template-columns:repeat(2,minmax(0,1fr))}}

:root{--red:#c30c36;--muted:#654450;--line:#efdae1;background:#fff7f8}
.hero{background:radial-gradient(ellipse at 75% 36%,#ff4c62 0%,#d60f38 39%,#8b0528 77%,#5e071e);box-shadow:0 17px 50px #9b082526}
.shop .eyebrow{margin-top:0}.shop>h2{margin-bottom:24px}.games .tile{border-radius:14px;min-height:78px}.games .tile strong{font-size:1rem}.pack-group{margin-bottom:24px}.pack-group h4{margin:0 0 10px;font-size:1rem}.pack{border:1px solid var(--line);background:white;border-radius:15px;padding:11px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;overflow-wrap:anywhere}.pack:has(output:not(:empty)){box-shadow:0 6px 20px #b10b2e0b}.pack.selected{border-color:var(--red);background:#fff0f3}.pack img{width:100%;height:90px;object-fit:contain}.pack-gem{margin:22px 0;width:42px}.pack small{color:var(--muted)}.quantity{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:auto}.quantity button{border:1px solid #f4d1db;background:#fff2f5;color:var(--red);border-radius:8px;font-weight:900;width:30px;height:30px}.quantity button:disabled{opacity:.42;cursor:default}.quantity output{min-width:1.3em}.order-record{border:1px solid var(--line);background:white;padding:16px;margin-bottom:10px;border-radius:12px}.order-record p{margin:5px 0;overflow-wrap:anywhere}.order-record select{margin-top:8px;padding:8px}#admin{margin-top:32px}[hidden]{display:none!important}#save-status:empty{display:none}#send{margin-top:10px}
@media(min-width:751px){.order{position:sticky;top:18px}}@media(max-width:450px){.packs{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{background:linear-gradient(90deg,#850825 18%,transparent 100%)}}

#top-up{max-width:520px}.games.game-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2vw,18px)}.game-cards a{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:white}.game-cards a:hover{border-color:var(--red);box-shadow:0 7px 20px #b10b2e1a}.cover-image,.cover-fallback{width:100%;aspect-ratio:1.43;object-fit:cover;display:block;background:#801127}.cover-fallback{display:grid;place-items:center;color:white;font-weight:900;font-size:1.4rem}.game-card-body{flex:1;padding:clamp(5px,1.2vw,11px);display:flex;flex-direction:column;gap:3px;font-size:clamp(.75rem,2.5vw,1rem);line-height:1.2;overflow-wrap:anywhere}.game-card-body small{color:var(--muted)}.game-card-body span{font-weight:800;color:var(--red);margin-top:auto;padding-top:2px}.back-link{display:inline-block;color:var(--red);font-weight:750;margin-bottom:15px}.game-heading{display:flex;align-items:center;gap:17px;padding:20px;border:1px solid var(--line);background:white;border-radius:18px;margin-bottom:24px}.game-heading img{object-fit:cover;border-radius:13px}.game-heading h1{margin:0;font-size:clamp(1.5rem,6vw,3rem);line-height:1.08}.uid-actions{display:flex;align-items:center;gap:10px;margin-top:9px;flex-wrap:wrap}.uid-actions .outline{background:#fff4f6;padding:7px 10px}.cart-link{background:#fff3f5;color:var(--red);font-weight:800;border:1px solid var(--line);width:100%;border-radius:10px;padding:9px;margin-top:7px}.cart-link span{margin-left:5px}.cart-line{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.cart-line button{border:0;background:transparent;color:var(--red);font-weight:750}.verified{color:#157044;font-weight:750}
@media(max-width:480px){.game-cards a{border-radius:9px}.game-card-body small{font-size:.6875rem}}

.uid-panel{max-width:720px;margin:0 0 30px;padding:clamp(16px,4vw,28px);border:1px solid #f0c5d2;border-radius:18px;background:#fff;box-shadow:0 10px 28px #a8052810}.uid-panel h2{margin:0 0 15px;font-size:clamp(1.4rem,4vw,2rem)}.uid-panel .uid input{min-height:48px;background:#fff8fa}.uid-panel .uid-actions{margin-top:12px}.verify-button{flex:1 1 200px;min-height:45px;border:0;border-radius:10px;background:#08743f;color:#fff;font-weight:800}.verify-button:disabled{opacity:.72;cursor:wait}.uid-panel .hint{min-height:1.5em;margin-bottom:0}.uid-panel #extra:not([hidden]){margin-top:12px}#uid-success{text-align:center}#uid-success h2{font-size:1.7rem;margin-top:12px}.verification-check{width:58px;height:58px;display:grid;place-items:center;margin:0 auto;color:#08743f;background:#ddf7e8;border-radius:50%;font-size:2rem;font-weight:900}.verified-name{font-size:1.2rem;font-weight:850;overflow-wrap:anywhere;margin:0}#uid-success .primary{margin-top:9px}#pack-title{scroll-margin-top:16px}

.promo-carousel{position:relative;margin-top:24px;border-radius:22px;overflow:hidden;background:#10122e;box-shadow:0 14px 36px #33133628}
.promo-art{display:block;aspect-ratio:2}
.promo-art img{display:block;width:100%;height:100%;object-fit:cover}
.promo-art img[hidden],.promo-controls[hidden]{display:none}
.promo-art:focus-visible,.promo-controls button:focus-visible{outline:3px solid #a6e8ff;outline-offset:-3px}
.promo-controls button{border:1px solid #ffffff5c;background:#100d29c9;color:#fff;display:grid;place-items:center;padding:0}
.promo-step,.promo-play{position:absolute;border-radius:50%;width:44px;height:44px}
.promo-step{top:50%;transform:translateY(-50%)}
.promo-step::after{content:'';width:10px;height:10px;border:solid #fff;border-width:2px 2px 0 0;transform:rotate(45deg);margin-right:4px}
.promo-prev{left:12px}
.promo-prev::after{transform:rotate(225deg);margin:0 0 0 4px}
.promo-next{right:12px}
.promo-play{right:12px;bottom:10px;font-weight:800}
.promo-pagination{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;border-radius:30px;background:#100d29db;padding:0 3px}
.promo-pagination button{width:32px;height:34px;border:0;background:none;border-radius:20px}
.promo-pagination button::after{content:'';width:8px;height:8px;border-radius:20px;background:#ffffff80}
.promo-pagination button[aria-current=true]::after{width:16px;background:#fff}
.promo-controls .promo-step:hover,.promo-controls .promo-play:hover{background:#28204d}
.promo-status{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:550px){
  .promo-carousel{border-radius:14px;margin-top:14px}
  .promo-step,.promo-play{width:36px;height:36px}
  .promo-step{top:auto;bottom:4px;transform:none}
  .promo-prev{left:4px}
  .promo-next{left:44px;right:auto}
  .promo-play{right:4px}
  .promo-play,.promo-pagination{bottom:4px}
}

.account-trigger{background:#fff;white-space:nowrap}
.account-options{display:flex;flex-wrap:wrap;gap:.65rem;margin-block:1rem}
.account-options .outline{background:#fff}
.account-form{display:grid;gap:.8rem}
.account-form label{display:grid;gap:.35rem;font-weight:650}
.account-form input{width:100%;box-sizing:border-box;padding:.65rem .75rem;border:1px solid var(--line);border-radius:9px}
.account-form[hidden],.account-options [hidden]{display:none}
.support-chat{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:15;width:57px;height:57px;border-radius:19px;background:linear-gradient(145deg,#e01346,#9c082d);color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px #89052655}
.support-chat:hover{background:#990628}
.support-chat[hidden]{display:none}
.support-chat:focus-visible,#support-dialog :focus-visible{outline:2px solid #5e1331;outline-offset:3px}

.header-account{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}
.header-account .account-trigger{gap:5px;padding:8px 10px;font-size:.8125rem}
.header-account .account-trigger[hidden]{display:none}
@media(max-width:365px){
  .header-account .account-trigger{padding:7px 6px}
  .header-account .account-trigger svg{width:14px;height:14px}
}

.verification-celebration{position:relative;isolation:isolate;margin:0 auto;width:max-content}
.verification-stars{position:absolute;inset:0;pointer-events:none}
.verification-stars span{position:absolute;top:50%;left:50%;font-size:var(--size,1.1rem);line-height:1;color:var(--star,#a96000);opacity:0}
.verification-stars span:nth-child(1){--x:-78px;--y:-30px;--star:#bd1747}
.verification-stars span:nth-child(2){--x:-54px;--y:-58px;--size:.75rem}
.verification-stars span:nth-child(3){--x:-20px;--y:-65px;--star:#08784c}
.verification-stars span:nth-child(4){--x:24px;--y:-60px;--size:.85rem}
.verification-stars span:nth-child(5){--x:60px;--y:-45px;--star:#bd1747}
.verification-stars span:nth-child(6){--x:77px;--y:-13px;--size:.85rem}
.verification-stars span:nth-child(7){--x:52px;--y:22px;--star:#08784c}
.verification-stars span:nth-child(8){--x:-66px;--y:19px;--size:.85rem}
@media(prefers-reduced-motion:no-preference){
  #uid-success[open]{animation:verification-pop .38s cubic-bezier(.2,.75,.3,1) both}
  #uid-success[open] .verification-check{animation:verification-bounce .62s .1s cubic-bezier(.2,.75,.3,1) both}
  #uid-success[open] .verification-stars span{animation:verification-burst .78s .32s ease-out both}
}
@keyframes verification-pop{
  from{opacity:0;transform:translateY(12px) scale(.9)}
  75%{opacity:1;transform:translateY(0) scale(1.018)}
  to{opacity:1;transform:none}
}
@keyframes verification-bounce{
  from{transform:scale(.68)}
  52%{transform:scale(1.28);box-shadow:0 0 0 10px #46b9882b}
  to{transform:scale(1);box-shadow:0 0 0 18px #46b98800}
}
@keyframes verification-burst{
  from{opacity:0;transform:translate(-50%,-50%) scale(.25)}
  22%{opacity:1}
  55%{opacity:1}
  to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(90deg) scale(.65)}
}

.floating-cart{position:fixed;z-index:5;left:1rem;bottom:max(1rem,env(safe-area-inset-bottom));background:#fff;border:1px solid #c9003d;border-radius:999px;padding:.75rem 1rem;box-shadow:0 4px 16px #260b1320}
#cart-continue{margin-right:.5rem;margin-bottom:.5rem}
#cart-feedback:empty{display:none}
.brand img{display:block;width:clamp(7rem,21vw,12rem);height:auto}
.pack .pack-name-button{display:block;padding:0;background:transparent;border:0;border-radius:0;text-align:left;font:inherit;font-weight:700;color:inherit;cursor:pointer}

/* Keep four game cards per row on the storefront. */
.games.game-cards{grid-template-columns:repeat(4,minmax(0,1fr));max-width:42rem;gap:clamp(.25rem,1.4vw,.75rem)}
.game-cards a{align-items:center;text-align:center;padding:.5rem .125rem}
.game-cards .cover-image,.game-cards .cover-fallback{
  display:block;width:clamp(3.75rem,17vw,5.75rem);max-width:100%;height:auto;aspect-ratio:1;
  object-fit:contain;border-radius:.5rem;background:#210e16;
}
.game-cards .cover-fallback{display:grid;place-items:center;color:white;text-align:center}
.game-cards .game-card-body{padding:.4rem 0 0;gap:.2rem;line-height:1.18;font-size:clamp(.75rem,2vw,1rem);overflow-wrap:anywhere}
.game-cards .game-card-body small,.game-cards .game-card-body span{font-size:clamp(.625rem,1.6vw,.75rem)}
.game-cards .game-card-body strong{font-weight:800}

#cart{inset:0 auto 0 0;margin:0;width:min(430px,92vw);height:100%;max-height:100%;padding:0;border-radius:0 18px 18px 0}
#cart[open]{display:flex;flex-direction:column}
.checkout-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:#fff4f7;border-bottom:1px solid var(--line)}
.checkout-heading h2{margin:0;font-size:1.4rem}
.cart-body{flex:1;min-height:0;overflow:auto;padding:0 1.25rem}
.cart-line img{width:54px;height:54px;object-fit:contain;border-radius:8px}
.cart-item{flex:1;min-width:0}
.cart-item small{display:block;color:var(--muted)}
.cart-item button{padding:4px 0}
.checkout-actions{display:grid;gap:.75rem;padding:1rem 1.25rem;background:white;border-top:1px solid var(--line)}
.checkout-actions p{margin:0}
#cart-total{font-weight:750;color:var(--red)}

.floating-cart {
  left: auto;
  right: 1rem;
  bottom: calc(4.75rem + env(safe-area-inset-bottom));
  width: auto;
  max-width: calc(100% - 2rem);
}
#cart {
  inset: 0 0 0 auto;
  width: min(430px, 94vw);
  border-radius: 18px 0 0 18px;
  box-shadow: -12px 0 32px #260b1326;
}
#cart[open] { animation: cart-enter 180ms ease-out; }
@keyframes cart-enter {
  from { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  #cart[open] { animation: none; }
}
.checkout-actions { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.checkout-actions .agree { margin: 0; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  background: #fff4f7;
  padding: .75rem;
  border-radius: 10px;
}
.cart-line > strong { color: var(--red); text-align: end; }
.payment-option { border: 1px solid var(--line); border-radius: 10px; padding: .75rem; }

.verified-account:not([hidden]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: clamp(14px, 4vw, 22px);
  border: 1px solid #96d6af;
  border-radius: 15px;
  background: #ecfaf1;
  color: #155c35;
}
.verified-account-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #197341;
  color: white;
  font-size: 1.5rem;
}
.verified-account-details {
  display: grid;
  justify-items: start;
  gap: 5px;
  overflow-wrap: anywhere;
}
.verified-account-details strong { font-size: 1.1rem; }
.verified-account-label {
  padding: 3px 10px;
  border-radius: 999px;
  background: #cfefda;
  font-size: .875rem;
  font-weight: 800;
}
#change-uid {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 44px;
  border-color: #96d6af;
  background: white;
  color: #155c35;
}

#ez-toast:popover-open {
  position: fixed;
  inset: 1rem 1rem auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0.9rem;
  background: #26364a;
  color: #fff;
  box-shadow: 0 8px 24px #0003;
  animation: ez-toast-in 260ms ease-out;
}

#ez-toast[data-state="credited"] { background: #14532d; }

.ez-toast-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #ffffff24;
  font-weight: 800;
}

#ez-toast[data-state="pending"] .ez-toast-icon::after { content: "…"; }
#ez-toast[data-state="credited"] .ez-toast-icon::after { content: "✓"; }

@keyframes ez-toast-in {
  from { opacity: 0; transform: translateY(-0.75rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  #ez-toast:popover-open { animation: none; }
}


.ez-toast-mark { position: relative; flex: 0 0 2rem; }

#ez-toast[data-state="credited"] {
  top: 5rem;
  overflow: visible;
  background: linear-gradient(125deg, #14532d, #087448);
  box-shadow: 0 8px 30px #064e3b80;
}

#ez-toast[data-state="credited"] .verification-stars span {
  color: #bbf7d0;
  text-shadow: 0 0 8px #86efac, 0 0 15px #22c55e;
}

@media (prefers-reduced-motion: no-preference) {
  #ez-toast[data-state="credited"]:popover-open { animation: verification-pop .42s ease-out both; }
  #ez-toast[data-state="credited"]:popover-open .ez-toast-icon { animation: verification-bounce .62s ease-out both; }
  #ez-toast[data-state="credited"]:popover-open .verification-stars span {
    animation: verification-burst 1.1s .18s ease-out both;
  }
}

#wallet-success {
  touch-action: manipulation;
  width: min(460px, calc(100% - 24px));
  padding: 26px clamp(14px, 4vw, 26px) 20px;
  text-align: center;
}
#wallet-success .verification-check {
  width: 72px;
  height: 72px;
  font-size: 2.75rem;
}
#wallet-success h2 { margin: 16px 0 6px; }
#wallet-success-note { margin: 0 0 16px; color: var(--muted); }
#wallet-success-details { margin: 0; text-align: start; }
#wallet-success-details > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
#wallet-success-details dt { color: var(--muted); }
#wallet-success-details dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  #wallet-success[open] { animation: verification-pop .38s ease-out both; }
  #wallet-success[open] .verification-check { animation: verification-bounce .62s ease-out both; }
  #wallet-success[open] .verification-stars span { animation: verification-burst .95s .16s ease-out both; }
}

.site-footer {
  background: #35101d;
  color: #fff7f8;
  border-top: 3px solid var(--red);
}
.footer-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-block: 26px;
  text-align: center;
}
.footer-contact, .footer-payment { display: grid; justify-items: center; gap: 6px; }
.footer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.footer-terms { padding: 8px 16px; border: 1px solid #ef9eac; border-radius: 999px; }
.footer-terms:hover { background: #6b263b; }
.footer-payment span { font-size: .875rem; }
.footer-payment img { object-fit: contain; }
.footer-content small { color: #f2d4dc; }
.store-terms { line-height: 1.65; }
.store-terms :is(h1, h2, h3) { line-height: 1.35; }
.store-terms h3 { margin-bottom: .35rem; }
.store-terms p { margin-top: 0; }

.wallet-trigger:not([hidden]) {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 4px;
  padding: 5px 7px;
  border-radius: 10px;
  text-align: left;
  font-size: .67rem;
  line-height: 1.1;
  background: #fff3f6;
  color: #74142e;
}
.wallet-trigger img { grid-row: 1 / span 2; object-fit: contain; }
.wallet-trigger strong { grid-column: 2; font-size: .72rem; white-space: nowrap; }
.wallet-trigger strong:empty { display: none; }

#account-status:empty { display: none; }

#account-dialog {
  max-width: 390px;
  max-height: calc(100dvh - 32px);
  padding: clamp(18px, 5vw, 28px);
  border-top: 4px solid var(--red);
  background: #fff;
  box-shadow: 0 24px 64px #24091144;
}
#account-title { color: var(--red); font-size: 1.55rem; margin: 0 0 16px; }
.account-modes { gap: 4px; padding: 4px; background: #f9edf0; border-radius: 12px; }
.account-modes[hidden] { display: none; }
.account-modes button { flex: 1; border: 0; background: transparent; padding: 9px; }
.account-modes button[aria-pressed="true"] { background: var(--red); color: #fff; }
.account-form label[for="account-password"] { margin-bottom: -.5rem; }
.account-password { position: relative; }
.account-password input { padding-right: 62px; }
#account-password-toggle {
  position: absolute;
  inset: 3px 4px 3px auto;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: var(--red);
  background: transparent;
}

.pack small.pack-bonus{color:var(--red);font-weight:750;overflow-wrap:anywhere}

.pack small.pack-discount{color:var(--red);font-weight:800}.pack-discount del{color:var(--muted);font-weight:400}

.pack-add-to-cart{width:100%;min-height:36px;margin-top:4px;padding:6px 4px;border:0;border-radius:8px;background:var(--red);color:#fff;font-size:.8rem;font-weight:750;line-height:1.25}
.pack-add-to-cart:hover:enabled{background:#a9082c}
.pack-add-to-cart:disabled{opacity:.55;cursor:default}

#ez-reference-error{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;padding:8px 10px;font-size:.9rem}
#ez-reference-form [aria-invalid="true"]{border-color:#be123c}
.support-chat{border:0}
#support-dialog{position:fixed;inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) auto;margin:0;padding:0;width:min(398px,calc(100% - 24px));max-height:min(690px,calc(100dvh - 24px));border:1px solid #efdae1;border-radius:18px;box-shadow:0 16px 54px #4f0a293d}
#support-dialog::backdrop{background:#24091144}
.support-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;background:linear-gradient(110deg,#a9082f,#d70a41);color:#fff}
.support-heading h2{margin:0;font-size:1.25rem;letter-spacing:0}
#support-availability{font-size:.82rem}
.support-heading button{border:1px solid #ffffff80;border-radius:8px;background:transparent;color:#fff;font-size:1.4rem;line-height:1;padding:4px 8px}
.support-content{padding:14px;display:grid;gap:9px}
.support-actions{display:flex;align-items:center;gap:7px}
#support-language{max-width:94px;padding:5px;border:1px solid #ffffff90;border-radius:8px;background:#fff;color:#78102d;font:inherit;font-size:.875rem}
#support-question{min-width:0;padding:9px;border:1px solid #e5c8d2;border-radius:9px;background:#fff;color:#24131a;font:inherit}
#support-messages{max-height:min(310px,46dvh);min-height:95px;overflow:auto;display:grid;gap:8px;align-content:start}
.support-message{border-radius:10px;padding:9px 11px;background:#fff2f6;font-size:1rem;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;justify-self:start;max-width:94%}
.support-message a{color:#a9082c;text-decoration:underline;font-weight:750}
.support-message.question{justify-self:end;background:#a9082f;color:#fff}
.support-message.typing::after{content:"";display:inline-block;height:.86em;border-inline-end:2px solid #a9082f;margin-inline-start:3px;vertical-align:-.08em}
#support-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
#support-form .primary{padding:8px 12px}

.pack-artwork{position:relative;width:100%}
.pack-discount-badge {
  --burst-shape: polygon(49% 0%, 58% 17%, 76% 5%, 77% 24%, 98% 18%, 90% 37%, 100% 49%, 88% 58%, 98% 80%, 76% 75%, 77% 95%, 58% 85%, 49% 100%, 41% 83%, 22% 96%, 22% 75%, 2% 81%, 13% 59%, 0% 49%, 13% 38%, 3% 17%, 24% 24%, 23% 5%, 41% 17%);
  position: absolute;
  top: -.5rem;
  right: -.45rem;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 3.6rem;
  isolation: isolate;
  white-space: nowrap;
  color: #a40829;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 2px 2px #49140050);
}
.pack-discount-badge::before,
.pack-discount-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--burst-shape);
}
.pack-discount-badge::before { z-index: -2; background: #23171c; }
.pack-discount-badge::after {
  z-index: -1;
  inset: 3px;
  background: radial-gradient(circle, #eaa700 1px, transparent 1.2px) 0 0 / 5px 5px, #ffe342;
}
.pack-discount-label {
  color: #23171c;
  font-size: .65rem;
  letter-spacing: .05em;
}
@media (prefers-reduced-motion:no-preference){
  .pack-discount-badge{animation:pack-discount-pop .25s ease-out both}
}
@keyframes pack-discount-pop{
  from{opacity:0;transform:scale(.75)}
  65%{opacity:1;transform:scale(1.12)}
  to{opacity:1;transform:scale(1)}
}

.uid-renewal-notice{margin:0 0 14px;padding:12px 14px;border:1px solid #eab2ba;border-radius:10px;background:#fff0f2;color:#930c24;font-weight:700}
