:root {
  --ink: #2b2029;
  --fg-dim: #655761;
  --primary: #8b3157;
  --primary-dark: #692343;
  --soft: #f7e8ee;
  --page: #fbf7f3;
  --line: #eadedb;
  --paper: #fffdfb;
  --ring: #b35579;
  --radius: 22px;
  --width: 1240px;
  --card-shadow: 0 8px 26px #583d3a09;
}

body { background: var(--page); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.masthead { background: #fffcf8f2; }
.head-inner { min-height: 74px; gap: 22px; }
.head-support { display: none; }
.brand-mark { background: #7f3052; transform: none; border-radius: 13px; }
.brand-mark i { background: #fff5ec; }
.brand-mark i:last-child { background: #fac1a6; transform: translate(1px, 1px); }
.brand b { font-size: 19px; }
.brand small { color: #755d6a; letter-spacing: .11em; font-size: .68rem; }
.top-nav { gap: 23px; }
.top-nav .tab { font-size: .94rem; }
.top-nav .tab.on::after { height: 2px; }
.account-button { background: #f4e5ea; color: var(--primary-dark); padding: 10px 15px; border-radius: 999px; }
.account-button:hover { background: #efdae2; }
.rate-pill { background: #f8f1ec; padding: 5px 9px; border-radius: 8px; }
.app { margin-top: 27px; }
.footer { margin-top: 20px; padding-block: 27px; }

.btn { min-height: 44px; border-radius: 12px; transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }
.btn.ghost { background: var(--paper); }
.btn.ghost:hover, .btn.soft:hover { background: #f4e5ea; }
.btn.sm { min-height: 36px; }
.btn:active:not(:disabled) { transform: translateY(1px); }

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 259px);
  gap: 18px;
}
.store-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 324px;
  overflow: hidden;
  border: 1px solid #f2d9ce;
  border-radius: 27px;
  background: radial-gradient(ellipse at 75% 45%, #fff7e9 0%, transparent 53%),
    linear-gradient(119deg, #fbe6db 4%, #f9d9c9 100%);
}
.store-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 45%;
  z-index: -1;
  background: radial-gradient(circle, #81324f29 1px, transparent 1.35px) 0 0 / 8px 8px;
  mask-image: linear-gradient(130deg, transparent 2%, #000 55%, transparent 94%);
}
.store-hero-copy { z-index: 2; padding: 28px 0 29px clamp(28px, 4.3vw, 58px); }
.hero-label { display: flex; align-items: center; gap: 9px; color: #843758; font-weight: 700; font-size: .94rem; }
.hero-label::before { content: ""; width: 11px; height: 7px; border-radius: 4px; background: #c67583; }
.store-hero h1 {
  margin-block: 10px 13px;
  font-size: clamp(3rem, 5vw, 4.72rem);
  line-height: 1.015;
  font-weight: 820;
  letter-spacing: -.075em;
  color: #372430;
}
.store-hero h1 em { font-style: normal; color: #8b3157; }
.hero-description { color: #654b50; max-width: 21rem; margin-bottom: 19px; }
.store-hero .btn { border-radius: 999px; padding-inline: 22px; box-shadow: 0 4px 10px #6d274527; }
.hero-collection {
  position: relative;
  min-height: 292px;
  margin-right: clamp(10px, 2vw, 24px);
  isolation: isolate;
}
.hero-collection::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11% 6% 15%;
  border-radius: 50%;
  border: 1px dashed #b65d7982;
  box-shadow: 0 0 0 11px #ffece640, inset 0 0 35px #fff1e8a3;
  transform: rotate(-5deg);
  pointer-events: none;
}
.hero-collection::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 57%;
  left: 9%;
  width: 49px;
  height: 49px;
  background: #e6ebd5;
  border: 5px solid #f9f2e1;
  border-radius: 50%;
  box-shadow: 0 4px 17px #844d6126;
  pointer-events: none;
}
.hero-game {
  position: absolute;
  width: min(32%, 148px);
  aspect-ratio: 9 / 10;
  left: var(--orbit-x);
  top: var(--orbit-y);
  z-index: var(--orbit-layer);
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #ae6379;
  color: #fffaf5;
  box-shadow: 0 10px 24px #703b5140, 0 1px 5px #84546e23;
  transform: translate(-50%, -50%) rotate(var(--orbit-tilt)) scale(var(--orbit-scale));
  transition: top .56s cubic-bezier(.2,.75,.35,1), left .56s cubic-bezier(.2,.75,.35,1),
    transform .56s cubic-bezier(.2,.75,.35,1), box-shadow .2s ease, opacity .25s ease;
}
.hero-game:nth-child(2n) { background-color: #a9705e; }
.hero-game:nth-child(3n) { background-color: #5e8279; }
.hero-game[data-orbit-slot="0"] { --orbit-x: 50%; --orbit-y: 57%; --orbit-layer: 8; --orbit-tilt: 0deg; --orbit-scale: 1.04; }
.hero-game[data-orbit-slot="1"] { --orbit-x: 73%; --orbit-y: 68%; --orbit-layer: 6; --orbit-tilt: 10deg; --orbit-scale: .78; }
.hero-game[data-orbit-slot="2"] { --orbit-x: 86%; --orbit-y: 43%; --orbit-layer: 5; --orbit-tilt: 14deg; --orbit-scale: .65; }
.hero-game[data-orbit-slot="3"] { --orbit-x: 72%; --orbit-y: 20%; --orbit-layer: 3; --orbit-tilt: 8deg; --orbit-scale: .59; }
.hero-game[data-orbit-slot="4"] { --orbit-x: 50%; --orbit-y: 15%; --orbit-layer: 2; --orbit-tilt: 0deg; --orbit-scale: .55; }
.hero-game[data-orbit-slot="5"] { --orbit-x: 28%; --orbit-y: 20%; --orbit-layer: 3; --orbit-tilt: -8deg; --orbit-scale: .59; }
.hero-game[data-orbit-slot="6"] { --orbit-x: 14%; --orbit-y: 43%; --orbit-layer: 5; --orbit-tilt: -14deg; --orbit-scale: .65; }
.hero-game[data-orbit-slot="7"] { --orbit-x: 27%; --orbit-y: 68%; --orbit-layer: 6; --orbit-tilt: -10deg; --orbit-scale: .78; }
.hero-game[data-orbit-slot="0"] {
  box-shadow: 0 14px 32px #842f5c55;
}
.hero-game:hover, .hero-game:focus-visible {
  z-index: 10;
  transform: translate(-50%, -54%) rotate(0deg) scale(calc(var(--orbit-scale) + .045));
  box-shadow: 0 13px 30px #703b5154;
}
.hero-game img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-game span {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  padding: 22px 6px 7px;
  background: linear-gradient(transparent, #25192acc);
  color: #fffaf5;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 3px #25192a;
}
.collection-spark { position: absolute; background: #fffafa; pointer-events: none; }
.collection-spark.one {
  z-index: 4;
  top: 7%;
  right: 8%;
  width: 30px;
  height: 30px;
  clip-path: polygon(48% 0, 61% 37%, 100% 50%, 62% 60%, 51% 100%, 39% 62%, 0 50%, 37% 38%);
  animation: spark-arrive .52s ease-out both;
}
.collection-spark.two { bottom: 10%; left: 27%; width: 11px; height: 11px; border-radius: 50%; background: #d57990; box-shadow: 18px 5px 0 -2px #ec9d9f, 151px -203px 0 -1px #de8da0; }
@keyframes spark-arrive { from { transform: scale(.45); opacity: .35; } to { transform: scale(1); opacity: 1; } }

.service-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 19px;
  background: #fff7ed;
  border: 1px solid #eddbd1;
  border-radius: 27px;
}
.service-panel h2 { font-size: 1.13rem; padding-inline: 2px; margin-bottom: 4px; }
.service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffcf8;
  border: 1px solid #eeddd2;
  padding: 11px 10px;
  border-radius: 14px;
  min-height: 66px;
  transition: background .16s ease, border-color .16s ease;
}
.service-link:hover { background: #fff; border-color: #daaab2; }
.service-link b, .service-link small { display: block; }
.service-link b { font-size: .94rem; }
.service-link small { font-size: .79rem; color: var(--fg-dim); }
.service-icon { position: relative; width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.service-icon::before, .service-icon::after { content: ""; display: block; }
.wallet-icon { background: #f8e1d5; color: #86452e; }
.wallet-icon::before { width: 17px; height: 13px; border: 1.7px solid; border-radius: 3px; }
.wallet-icon::after { position: absolute; top: 16px; right: 9px; width: 6px; height: 5px; border: 1px solid; border-radius: 3px 0 0 3px; background: #f8e1d5; }
.order-icon { background: #e7eddf; color: #455b48; }
.order-icon::before { width: 14px; height: 17px; border: 1.7px solid; border-radius: 3px; }
.order-icon::after { position: absolute; width: 6px; height: 1.5px; background: currentColor; top: 14px; box-shadow: 0 4px 0 currentColor; }
.workbench-icon { background: #dee9f3; color: #3c5d7d; }
.workbench-icon::before { width: 17px; height: 12px; margin-top: 3px; border: 1.5px solid; border-radius: 3px; }
.workbench-icon::after { position: absolute; top: 9.5px; width: 7px; height: 4px; border: 1.5px solid; border-bottom: 0; border-radius: 2px 2px 0 0; }
.service-help { width: fit-content; color: var(--primary-dark); padding: 8px 2px 0; font-size: .9rem; font-weight: 660; }
.service-help:hover { text-decoration: underline; text-underline-offset: 3px; }

.catalog { margin-top: 28px; }
.catalog-head { align-items: baseline; margin-bottom: 10px; }
.catalog h2, .page-head h1 { font-weight: 780; letter-spacing: -.045em; }
.catalog h2 { font-size: clamp(1.65rem, 4vw, 2.18rem); }
.catalog-filter { padding: 7px; border: 1px solid var(--line); border-radius: 16px; background: #f8eee9; }
.cat { min-height: 39px; border-color: transparent; background: transparent; border-radius: 11px; color: #5a4a53; }
.cat:hover { background: #fff8f2; }
.cat.on, .srv.on, .seg > .on { color: var(--primary-dark); background: #f4e3ea; border-color: #eccdd9; }
.catalog-filter .cat.on { background: var(--paper); border-color: #efd9d9; box-shadow: 0 2px 8px #5130350b; }
.search { background: var(--paper); border-radius: 11px; min-width: 0; }
.search:focus-within { box-shadow: 0 0 0 3px #f3dce6; }
.search > span:first-child { flex-shrink: 0; width: 13px; height: 13px; border-color: #79566a; }
.search > span:first-child::after { background: #79566a; }
.search > .visually-hidden { border: 0; padding: 0; width: 1px; height: 1px; position: absolute; }
.search > .visually-hidden::after { content: none; }
.search input { height: 40px; }

.games { gap: 13px; }
.game {
  padding: 14px;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 12px;
  background: var(--paper);
  border-radius: 17px;
  box-shadow: var(--card-shadow);
}
.game:hover { border-color: #d2a0ae; box-shadow: 0 11px 23px #965c6b17; }
.game .glyph { width: 56px; height: 56px; border-radius: 13px; background: #f5e8e8; }
.game h3 { font-size: 1rem; line-height: 1.28; overflow-wrap: anywhere; }
.game .meta { gap: 5px; }
.platform { color: #76465c; background: #f6e9ed; padding: 1px 6px; border-radius: 5px; }
.game-bottom { padding-top: 9px; border-top: 1px solid #f0e4e0; }
.game-enter { border-radius: 999px; color: var(--primary-dark); background: #faedf0; padding: 4px 9px; font-size: .81rem; }
.price strong { color: #6f294c; }
.price small { white-space: nowrap; }
.empty { background: #fffbf7; }
.empty > p { margin-top: 5px; }
.page-head { margin: 0 0 14px; padding: 5px 0 0; }
.page-head h1 { font-size: clamp(1.65rem, 4vw, 2.18rem); line-height: 1.2; }
.page-head p { margin-top: 6px; color: var(--fg-dim); }
.ghead {
  padding: clamp(16px, 3.4vw, 30px);
  color: var(--ink);
  background: linear-gradient(113deg, #fae2d6, #f9ebdf 56%, #f5e7ed);
  border: 1px solid #efdad3;
}
.ghead .glyph { border: 3px solid #fff9; }
.ghead p { color: var(--fg-dim); }
.ghead .pills span { background: #fff9f4; color: var(--primary-dark); border-radius: 6px; }
.app[data-page="game"] { max-width: 960px; }
.product-checkout { margin-top: 12px; }
.checkout-options .card { border-radius: 19px; background: var(--paper); box-shadow: var(--card-shadow); }
.checkout-step { display: grid; gap: 9px; padding: clamp(12px, 2.5vw, 19px); margin: 0 0 11px; }
.checkout-step .opt-head { margin: 0; align-items: baseline; }
.checkout-step .tiers { margin: 0; }
.checkout-step .opt-head .t, .checkout-quote .opt-head .t { color: #4d2a3c; font-weight: 750; font-size: 1.06rem; }
.checkout-fields.card { margin-top: 16px; }
.checkout-fields .opt-head { margin: 0 0 12px; }
.checkout-fields > .btn { margin-top: 8px; }
.checkout-progress { display: flex; align-items: center; list-style: none; gap: 8px; margin: 13px 0 8px; padding: 0 2px; }
.checkout-progress li { display: flex; align-items: center; gap: 8px; color: var(--fg-dim); font-size: .8rem; }
.checkout-progress li:not(:last-child) { flex: 1; }
.checkout-progress li:not(:last-child)::after { content: ""; flex: 1; border-bottom: 1px solid var(--line); }
.checkout-progress [aria-current] { color: var(--primary-dark); font-weight: 750; }
.checkout-quote.card { margin-top: 0; }
.checkout-quote .opt-head { margin: 0 0 7px; flex-wrap: wrap; gap: 5px 10px; }
.checkout-quote .opt-head .r { color: #804052; background: #f8ece9; border-radius: 999px; padding: 3px 8px; font-size: .78rem; }
.quote-lines { display: grid; gap: 5px; margin: 0; font-size: .87rem; }
.quote-lines > div, .quote-total, .quote-trial { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.quote-lines dt { color: var(--fg-dim); }
.quote-lines dd { margin: 0; text-align: right; }
.quote-discounts:not(:empty) { margin-top: 8px; padding: 8px; background: #faf0f2; border-radius: 9px; color: var(--primary-dark); }
.quote-discounts dd span {
  display: inline-block;
  margin-left: 6px;
  color: var(--primary);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.quote-total { align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; }
.quote-total strong { margin-right: 5px; color: var(--primary-dark); font-size: 1.42rem; }
.quote-total div > span { color: var(--fg-dim); font-size: .76rem; }
.checkout-quote > .hint { margin-top: 3px; font-size: .77rem; }
.checkout-quote > .btn, .quote-trial { margin-top: 8px; }
.quote-trial { align-items: center; color: var(--fg-dim); font-size: .81rem; }
#checkoutLimit:empty { display: none; }
.tier, .amt, .paych { background-color: #fffcfa; }
.tier.on, .amt.on, .paych.on { background: #faeaf0; border-color: #be7996; }
.tier .save, .tier .hot, .fc-tag { color: var(--primary-dark); background: #f5e0e9; }
.tier .was { margin-top: 3px; }
.field label, .field .k { font-size: .94rem; }
.input, select, textarea, .coupon-line input { border-color: #e3d0d3; border-radius: 10px; }
.card, .list-card, .order, .notice-item, .plan, .sheet { background: var(--paper); box-shadow: var(--card-shadow); }
.card, .order, .list-card, .notice-item { border-radius: 17px; }
.wallet-balance, .profile-card { background: linear-gradient(112deg, #f5dfd8, #f4dfeb); color: var(--ink); border: 1px solid #ebd1db; }
.wallet-balance .label, .wallet-balance .hint, .profile-card .sub { color: #614c57; }
.profile-card .avatar { background: #fdf2ed; color: var(--primary-dark); }
.profile-card .bal b, .wallet-balance .amount b { color: var(--primary-dark); }
.recharge-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 16px 20px;
}
.recharge-balance .amount { line-height: 1.25; }
.recharge-balance .hint { margin: 0; }
.recharge-channel {
  margin: 10px 0;
  padding: 9px 13px;
  border-radius: 14px;
  background: var(--paper);
}
.recharge-channel img { display: block; }
.recharge-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 10px;
}
.recharge-panel-heading h2 { font-size: 1rem; }
.recharge-minimum {
  padding: 2px 8px;
  border-radius: 99px;
  color: var(--primary-dark);
  background: var(--soft);
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}
.recharge-amounts .amt-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); margin: 10px 0; }
.recharge-amounts .amt { min-height: 62px; padding: 8px 9px; line-height: 1.35; }
.recharge-amounts .amt.on { box-shadow: inset 0 0 0 1px #be79962e; }
.recharge-amounts .recharge-preset-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 4px;
  color: var(--ink);
}
.recharge-preset-top b { font-size: 1.16rem; }
.recharge-preset-top small { margin-left: 2px; color: var(--fg-dim); font-size: .75em; }
.recharge-amounts .hot-tag {
  padding: 1px 4px;
  border-radius: 4px;
  color: #8c3f46;
  background: #f9ebe2;
  font-weight: 650;
}
.recharge-amounts .recharge-estimate { margin-top: 2px; }
.recharge-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.recharge-custom label { font-size: .92rem; font-weight: 700; }
.recharge-custom .stepper {
  width: 200px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf7;
}
.recharge-custom .stepper button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 17px;
}
.recharge-custom .stepper button:hover { background: var(--soft); }
.recharge-custom .stepper input {
  min-width: 0;
  padding: 4px;
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-size: 16px;
  appearance: textfield;
}
.recharge-custom .stepper input::-webkit-inner-spin-button,
.recharge-custom .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.recharge-custom .stepper :focus-visible { outline-offset: -2px; }
.recharge-submit { margin-top: 10px; }
.recharge-notes.card { padding: 0; }
.recharge-notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: inherit;
  color: #5c4551;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.recharge-notes summary::-webkit-details-marker { display: none; }
.recharge-notes summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border: solid #9c7284;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px);
}
.recharge-notes[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.recharge-notes-body { padding: 0 13px 12px; color: var(--fg-dim); font-size: .83rem; }
.recharge-notes-body p + p { margin-top: 5px; }
.recharge-records { margin: 12px 0 7px; }
.recharge-records .link { font-size: .82rem; }
.recharge-entry.order { padding: 10px 13px; margin: 7px 0; cursor: default; }
.recharge-entry .top { margin-bottom: 2px; }
.recharge-entry-amount { color: var(--primary-dark); font-size: 1.03rem; font-weight: 750; }
.recharge-entry-amount small { color: var(--fg-dim); font-size: .75rem; font-weight: 500; }
.recharge-entry-no { color: var(--fg-dim); font-size: .75rem; overflow-wrap: anywhere; }
.recharge-entry .bot { margin: 2px 0 0; gap: 4px 10px; flex-wrap: wrap; font-size: .78rem; }
@media (max-width: 720px) {
  .app[data-page="recharge"] { margin-top: 12px; }
  .app[data-page="recharge"] .page-head { margin-bottom: 8px; padding-top: 0; }
  .app[data-page="recharge"] .page-head h1 { font-size: 1.45rem; }
  .recharge-balance { padding: 10px 12px; border-radius: 15px; }
  .recharge-balance .amount b { font-size: 26px; }
  .recharge-balance .amount span, .recharge-balance .hint { font-size: .77rem; }
  .recharge-channel { margin: 8px 0; padding: 7px 10px; }
  .recharge-channel img { width: 28px; height: 28px; }
  .recharge-channel .ptxt { gap: 0; }
  .recharge-channel .ptxt b { font-size: .9rem; }
  .recharge-channel .ptxt i { font-size: .76rem; }
  .recharge-amounts { margin-block: 8px; padding: 10px; }
  .recharge-notes.card { margin-block: 8px; border-radius: 12px; }
  .recharge-amounts .amt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
  .recharge-amounts .amt { min-height: 52px; padding: 5px; border-radius: 9px; }
  .recharge-amounts .recharge-preset-top { column-gap: 2px; }
  .recharge-preset-top b { font-size: .94rem; }
  .recharge-amounts .amt > span, .recharge-amounts .fc-tag, .recharge-amounts .hot-tag { font-size: .7rem; }
  .recharge-amounts .fc-tag { padding-inline: 2px; margin-bottom: 0; }
  .recharge-custom { padding-top: 7px; }
  .recharge-custom .stepper { width: min(57%, 200px); }
  .recharge-custom .hint { font-size: .72rem; }
  .recharge-submit { margin-top: 8px; }
}
.order:hover, .notice-item:hover { border-color: #d2a0ae; }
.order .bot .amt { min-height: 0; padding: 0; border: 0; background: transparent; }
.order .bot .amt small { margin-left: 4px; }
.order .top .no { font-variant-numeric: tabular-nums; color: var(--fg-dim); font-size: .88rem; }
.sheet-mask { background: #34233273; }
.toast { background: #512a42; }
.auth-card { padding: clamp(20px, 4vw, 32px); }
.auth-card .sub { margin-block: 4px 12px; }

@media (max-width: 1010px) {
  .home-intro { grid-template-columns: minmax(0,1fr) 207px; gap: 12px; }
  .store-hero-copy { padding-left: 27px; }
  .store-hero h1 { font-size: clamp(2.5rem, 5.8vw, 3.8rem); }
  .hero-game { width: min(33%, 140px); }
}
@media (max-width: 795px) {
  .head-inner { gap: 11px; }
  .top-nav { gap: 14px; }
  .home-intro { grid-template-columns: minmax(0,1fr); }
  .store-hero { min-height: 284px; }
  .hero-collection { min-height: 236px; }
  .hero-game { width: min(33%, 121px); }
  .service-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 18px; padding: 9px; }
  .service-panel h2, .service-help { display: none; }
  .service-link { min-height: 54px; padding: 8px; }
  .service-workbench { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .head-inner {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 0;
    gap: 0 clamp(4px, 1.4vw, 8px);
    padding-top: 9px;
  }
  .head-actions { grid-area: 1 / 3; }
  .head-support { display: block; grid-area: 1 / 2; min-width: 0; }
  .head-support summary {
    display: grid;
    align-items: center;
    min-height: 40px;
    list-style: none;
    border-radius: 999px;
    cursor: pointer;
  }
  .head-support summary::-webkit-details-marker { display: none; }
  .head-support-window {
    display: block;
    overflow: hidden;
    border: 1px solid #ebd4de;
    border-radius: 999px;
    background: #f8ecf0;
    color: #693d50;
    font-size: .71rem;
    line-height: 24px;
    white-space: nowrap;
  }
  .head-support-track {
    display: flex;
    width: max-content;
    animation: head-support-scroll 14s linear .65s infinite;
  }
  .head-support-track > span { padding-inline: 8px 18px; }
  .head-support strong { color: #74294a; font-weight: 740; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .head-support-static { display: none; padding-inline: 3px; text-align: center; }
  .head-support[open] .head-support-track,
  .head-support summary:focus-visible .head-support-track { animation-play-state: paused; }
  .head-support-full {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    z-index: 1;
    padding: 10px 12px;
    border: 1px solid #ebd4de;
    border-radius: 11px;
    background: var(--paper);
    color: #693d50;
    box-shadow: 0 6px 20px #63394b1a;
    font-size: .85rem;
  }
  .top-nav { grid-row: 2; gap: 4px; min-width: 0; }
  .top-nav .tab {
    display: grid;
    align-content: center;
    min-height: 44px;
    font-size: clamp(.75rem, 3.2vw, .88rem);
  }
  .service-panel { display: none; }
  .app { margin-top: 14px; }
  .store-hero {
    min-height: 150px;
    border-radius: 17px;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 2px;
  }
  .store-hero-copy { padding: 11px 0 12px clamp(11px, 3.4vw, 22px); }
  .hero-label { font-size: .73rem; gap: 5px; }
  .hero-label::before { width: 7px; height: 5px; }
  .store-hero h1 { font-size: clamp(1.17rem, 5.7vw, 2.5rem); line-height: 1.09; margin: 5px 0; }
  .hero-description { font-size: .77rem; line-height: 1.4; margin-bottom: 6px; }
  .store-hero .btn { padding: 5px 12px; min-height: 44px; font-size: .79rem; }
  .hero-collection { min-height: clamp(133px, 38vw, 208px); margin-right: 9px; }
  .hero-collection::after { width: 22px; height: 22px; border-width: 3px; }
  .hero-game { width: min(40%, 98px); border-radius: 9px; }
  .hero-game[data-orbit-slot="0"] { --orbit-y: 55%; }
  .hero-game span { padding: 11px 3px 4px; font-size: .66rem; }
  .collection-spark.one { width: 13px; height: 13px; right: 7%; }
  .collection-spark.two { width: 7px; height: 7px; box-shadow: 10px 4px 0 -2px #ec9d9f; }
  .catalog { margin-top: 16px; scroll-margin-top: 90px; }
  .catalog-head { display: flex; flex-direction: row; align-items: baseline; }
  .catalog-filter { flex-direction: column-reverse; align-items: stretch; padding: 5px; gap: 4px; }
  .cats { flex-wrap: nowrap; overflow: auto; gap: 2px; }
  .cat { white-space: nowrap; padding: 5px 7px; min-height: 33px; }
  .games { gap: 8px; }
  .game { grid-template-columns: 37px minmax(0,1fr); padding: 8px; gap: 7px; border-radius: 13px; }
  .game .glyph { width: 37px; height: 37px; border-radius: 8px; }
  .game h3 { font-size: .89rem; }
  .game .meta { font-size: .75rem; }
  .game-bottom { padding-top: 6px; }
  .game-enter { font-size: .73rem; padding: 2px 5px; }
  [data-page="game"] .back-link { margin-bottom: 7px; font-size: .81rem; }
  .ghead { border-radius: 15px; padding: 11px; }
  .ghead .inner { align-items: start; gap: 10px; }
  .ghead .glyph { width: 43px; height: 43px; border-width: 2px; }
  .ghead .inner > div:last-child { min-width: 0; }
  .ghead h1 { font-size: 1.23rem; line-height: 1.2; overflow-wrap: anywhere; }
  .ghead p { margin-top: 3px; font-size: .82rem; line-height: 1.4; }
  .ghead .pills { gap: 4px; margin-top: 6px; }
  .ghead .pills span { padding: 1px 5px; font-size: .72rem; line-height: 1.5; }
  .product-checkout { margin-top: 9px; }
  .checkout-options .card, .checkout-fields.card { padding: 10px; border-radius: 15px; }
  .checkout-step { gap: 7px; margin-bottom: 8px; }
  .product-checkout .opt-head .t, .checkout-fields .t { font-size: .98rem; }
  .product-checkout .opt-head .r, .checkout-fields .r { font-size: .76rem; }
  .checkout-step .tiers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .checkout-step .tier { min-height: 64px; padding: 7px 8px; border-radius: 9px; }
  .tier-head, .tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
  .tier-head .p { order: -1; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
  .tier-badges { display: flex; flex-wrap: wrap; gap: 3px; }
  .tier-badges:empty { display: none; }
  .tier .tier-badges span { margin: 0; padding: 0 4px; font-size: .68rem; }
  .tier-price { margin-top: 4px; }
  .tier-price .was { margin: 0; font-size: .73rem; }
  .tier-price .u { font-size: .86rem; white-space: nowrap; }
  .checkout-fields.card { margin: 9px 0; }
  .checkout-fields .opt-head { margin-bottom: 6px; }
  .checkout-fields .field { margin: 6px 0; }
  .checkout-fields .field label { margin-bottom: 3px; font-size: .84rem; }
  .checkout-fields .warn-note { padding: 6px 8px; font-size: .77rem; }
  .checkout-fields .input { min-height: 44px; padding: 6px 8px; font-size: 16px; }
  .product-checkout .srv { min-height: 44px; padding-inline: 8px; }
  .quote-lines { font-size: .81rem; }
}
@keyframes head-support-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .head-support-track { display: none; }
  .head-support-static { display: block; }
}
@media (max-width: 370px) {
  .game .meta { gap: 3px; }
  .game-enter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-spark.one { animation: none; }
}
.profile-card {
  padding: clamp(14px, 3vw, 19px);
  border-radius: 18px;
  background: radial-gradient(ellipse at 95% -20%, #f2dfe9, transparent 65%),
    linear-gradient(115deg, #f7e4da, #fbf1ec 60%, #f8edf1);
  border-color: #ead6dc;
}
.profile-card .who { gap: 10px; }
.profile-card .avatar { flex: 0 0 auto; width: 38px; height: 38px; }
.profile-card .who > div:last-child { min-width: 0; }
.profile-card .nick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.profile-card .sub { font-size: .79rem; }
.profile-card .bal { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; margin-top: 11px; }
.profile-balance-label { flex-basis: 100%; color: var(--fg-dim); font-size: .77rem; }
.profile-card .bal b { font-size: clamp(25px, 5vw, 30px); line-height: 1.15; }
.profile-currency { color: var(--fg-dim); font-size: .75rem; font-weight: 650; }
.profile-card .stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 12px; padding-top: 9px; border-top: 1px solid #e6ced4; }
.profile-card .stats > div { padding-inline: 9px; color: var(--fg-dim); font-size: .75rem; overflow-wrap: anywhere; }
.profile-card .stats > div:first-child { padding-left: 0; }
.profile-card .stats > div + div { border-left: 1px solid #e6ced4; }
.profile-card .stats b { display: block; color: var(--ink); font-size: .9rem; }
.account-services { margin: 17px 0; }
.account-services h2, .account-ledger-heading h2 { margin: 0; font-size: 1.04rem; }
.account-shortcuts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 5px;
  margin-top: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
}
.account-shortcut {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 9px;
  border: 0;
  border-radius: 10px;
  background: var(--shortcut-bg);
  color: var(--icon-ink);
  font: inherit;
  font-size: .87rem;
  font-weight: 640;
  line-height: 1.25;
  text-align: left;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.account-shortcut::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border: solid #9b7e89;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
@media (hover: hover) {
  .account-shortcut:hover { box-shadow: inset 0 0 0 1px var(--icon-bg); }
}
.account-shortcut:active { background-color: var(--icon-bg); }
.account-shortcut:focus-visible { outline-offset: -2px; }
.account-shortcut-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--icon-ink);
}
.account-shortcut-icon svg { width: 17px; height: 17px; }
.tone-wallet { --shortcut-bg: #fbf1f3; --icon-bg: #f1dbe5; --icon-ink: #883456; }
.tone-orders { --shortcut-bg: #f5f0f8; --icon-bg: #ece2f3; --icon-ink: #684c82; }
.tone-agent { --shortcut-bg: #faf3e6; --icon-bg: #f1e5cf; --icon-ink: #83571c; }
.tone-notices { --shortcut-bg: #fdf0e9; --icon-bg: #f7e4d7; --icon-ink: #944d36; }
.tone-butler { --shortcut-bg: #eef3f8; --icon-bg: #dee9f3; --icon-ink: #3c5d7d; }
.tone-support { --shortcut-bg: #f0f5ec; --icon-bg: #e2ecde; --icon-ink: #42674d; }
.account-ledger-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.account-ledger-heading span { font-size: .78rem; color: var(--fg-dim); }
.account-logout { margin-top: 8px; }
@media (max-width: 550px) {
  .account-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-shortcut { gap: 7px; padding-inline: 6px; }
}

.order-feed {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid #eed9d2;
  border-radius: 13px;
  background: #fff1e8;
}
.order-feed-label {
  flex: 0 0 auto;
  border-radius: 7px;
  padding: 3px 8px;
  background: #f7dfd9;
  color: var(--primary-dark);
  font-size: .86rem;
}
.order-feed-copy {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1px 10px;
  min-width: 0;
}
.order-feed-line { overflow-wrap: anywhere; font-size: .92rem; }
.order-feed-meta { color: var(--fg-dim); font-size: .8rem; }
.order-feed-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.order-feed-actions[hidden] { display: none; }
.order-feed-actions button {
  min-height: 34px;
  padding: 4px 6px;
  border: 0;
  border-radius: 7px;
  color: var(--primary-dark);
  background: transparent;
  font-size: .81rem;
}
.order-feed-actions button:hover { background: #f7dfd9; }
@media (max-width: 630px) {
  .order-feed { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; }
  .order-feed-copy { flex-basis: calc(100% - 90px); }
  .order-feed-actions { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .order-feed-actions [data-feed-pause] { display: none; }
}

.game-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 6px; }
.game-title .game-hot, .ghead .pills .game-hot {
  flex: none;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f8e0cd;
  color: #7d352c;
  font-size: .75rem;
  font-weight: 750;
}

.agent-store-hero { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); }
.agent-store-hero .agent-hero-copy { padding-right: 18px; }
.agent-store-hero .agent-hero-heading {
  margin: 0 0 12px;
  color: #74354e;
  font-size: .98rem;
  font-weight: 740;
  letter-spacing: .04em;
  line-height: 1.35;
}
.hero-agent-plans { display: grid; gap: 8px; }
.hero-agent-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: center;
  gap: 9px;
  padding: 12px 13px 12px 15px;
  border: 1px solid var(--agent-border);
  border-radius: 14px;
  background: var(--agent-surface);
  color: var(--agent-heading);
  box-shadow: 0 3px 8px #58313b10;
}
.hero-agent-silver {
  --agent-border: #fffaf7;
  --agent-surface: linear-gradient(112deg, #fffaf7, #f1e7eb);
  --agent-heading: #392635;
  --agent-text: #614651;
  --agent-rate: #44293e;
  --agent-divider: #d2bec9;
}
.hero-agent-gold {
  --agent-border: #783f3b;
  --agent-surface: linear-gradient(112deg, #713c3c, #854940 73%, #8b4e44);
  --agent-heading: #fffaf4;
  --agent-text: #ffede3;
  --agent-rate: #ffe9bd;
  --agent-divider: #ecc6b66b;
}
.hero-agent-info { display: grid; gap: 3px; min-width: 0; }
.hero-agent-info > b { font-size: .98rem; letter-spacing: .025em; }
.hero-agent-info > span { color: var(--agent-text); font-size: .81rem; line-height: 1.42; }
.hero-agent-info strong { color: var(--agent-heading); white-space: nowrap; }
.hero-agent-gold .hero-agent-info strong { margin-inline: .2em; }
.hero-agent-balance-separator { display: none; }
.hero-agent-balance-note { white-space: nowrap; }
.hero-agent-discount {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 3px;
  padding-left: 7px;
  border-left: 1px solid var(--agent-divider);
  color: var(--agent-rate);
  white-space: nowrap;
}
.hero-agent-discount b { font-size: clamp(1.42rem, 3.3vw, 2.25rem); line-height: 1.15; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hero-agent-discount small { font-size: .79rem; font-weight: 650; }
@media (hover: hover) {
  .hero-agent-plan:hover { box-shadow: 0 5px 14px #58313b2d; }
}
@media (max-width: 720px) {
  .agent-store-hero { min-height: 132px; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); }
  .agent-store-hero .agent-hero-copy { padding: 8px 3px 8px 9px; }
  .agent-store-hero .agent-hero-heading { font-size: .79rem; margin-bottom: 5px; }
  .hero-agent-plans { gap: 4px; }
  .hero-agent-plan {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1px 5px;
    min-height: 44px;
    padding: 4px 7px 5px;
    border-radius: 8px;
  }
  .hero-agent-info { display: contents; }
  .hero-agent-info > b { grid-area: 1 / 1; font-size: .79rem; line-height: 1.2; }
  .hero-agent-info > span { grid-area: 2 / 1 / 3 / -1; font-size: .69rem; line-height: 1.25; }
  .hero-agent-gold .hero-agent-info strong { margin-inline: 0; }
  .hero-agent-balance-break { display: none; }
  .hero-agent-balance-separator { display: inline; }
  .hero-agent-discount { grid-area: 1 / 2; gap: 2px; padding-left: 0; border-left: 0; }
  .hero-agent-discount b { font-size: 1.16rem; }
  .hero-agent-discount small { font-size: .65rem; }
  .agent-store-hero .hero-collection { margin-right: 5px; min-height: clamp(112px, 34vw, 150px); transform: scale(.9); }
  .agent-store-hero .hero-game { width: min(39%, 98px); }
  .agent-store-hero .hero-game:not([data-orbit-slot="0"]) span { display: none; }
}
