@font-face {
  font-family: Manrope;
  src: url("/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Manrope, system-ui, sans-serif;
  color-scheme: dark;
  --safe-top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  --safe-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px)
  );
}
* {
  box-sizing: border-box;
}
html {
  background: #040a1c;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body {
  margin: 0;
  min-width: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
[role="button"] {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
button {
  cursor: pointer;
}
input,
select,
textarea {
  font-size: 16px !important;
  caret-color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8fb5ff;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:not(:disabled):active {
  filter: brightness(0.88);
}
::selection {
  background: #2e6bff77;
  color: #fff;
}
.lp {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  overflow: clip;
  --tx3: #a5b2d2;
}
.lp .fx {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: 100dvh;
  inset: auto;
  top: 0;
}
.lp .page {
  padding: calc(12px + var(--safe-top)) 16px calc(140px + var(--safe-bottom));
  outline: none;
  min-height: 100dvh;
}
.lp .h1 {
  font-size: 26px;
}
.lp .s,
.lp .xs {
  overflow-wrap: anywhere;
}
.lp input,
.lp textarea,
.lp select {
  color: var(--tx);
  background: var(--solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  width: 100%;
  min-height: 49px;
}
.lp textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.lp .btn {
  white-space: normal;
  line-height: 1.35;
  min-height: 54px;
  height: auto;
  padding: 15px;
}
.lp .btn-sm {
  min-height: 44px;
  padding: 10px 14px;
}
.lp .btn-primary {
  background: linear-gradient(180deg, #346df0, #2051d0);
}
.lp .navwrap {
  position: fixed;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: calc(14px + var(--safe-bottom));
  width: min(calc(100% - 28px), 452px);
}
.lp .nav a,
.lp .nav button {
  font-size: 11px;
}
.lp .nav button {
  flex: 1;
  border: 0;
  background: none;
  color: var(--tx2);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 28px;
  min-width: 0;
  min-height: 52px;
}
.lp .nav button.on {
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(100, 150, 255, 0.62),
    rgba(46, 107, 255, 0.4)
  );
  box-shadow:
    inset 0 1px 0 #ffffff66,
    inset 0 0 0 1px #aacdff44;
}
.lp.light .nav button.on {
  color: #0b1533;
}
.lp .navfade {
  position: fixed;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  bottom: 0;
}
.lp .fab {
  border: 0;
  min-width: 60px;
  width: 60px;
  height: 60px;
}
.lp .dock {
  position: fixed;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 456px);
  bottom: calc(10px + var(--safe-bottom));
  padding: 12px;
}
.lp .top {
  margin-bottom: 12px;
}
.lp .top .ttl {
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.lp .section-pad {
  padding: 16px;
}
.lp .list {
  overflow: hidden;
}
.lp .li {
  width: 100%;
  text-align: left;
  color: var(--tx);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 62px;
}
.lp .li:last-child {
  border-bottom: 0;
}
.lp .li .grow {
  flex: 1;
  min-width: 0;
}
.lp .li strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.lp .li small {
  display: block;
  color: var(--tx2);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 3px;
}
.lp .li > .i:last-child {
  width: 16px;
  color: var(--tx2);
}
.lp .ico {
  width: 38px;
  height: 38px;
  background: #8aafff17;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ice);
}
.lp .grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lp .grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.lp .game-button {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  min-width: 0;
  color: var(--tx);
}
.lp .game-button .cover {
  height: 105px;
  padding: 12px;
  display: flex;
  align-items: end;
}
.lp .game-button strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 7px;
}
.lp .game-button small {
  font-size: 11px;
  color: var(--tx2);
  display: block;
  margin-top: 4px;
}
.lp .feature {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 0;
  min-height: 205px;
  margin-top: 15px;
  padding: 18px;
  width: 100%;
  gap: 12px;
}
.lp .feature .h1 {
  color: #fff;
  font-size: 29px;
  margin-top: 24px;
}
.lp .feature .s {
  color: #fff0c0;
}
.lp .feature .row {
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.lp .feature .g-ring {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -70px;
}
.lp .search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 13px;
  border-radius: 17px;
  height: 49px;
  margin: 12px 0;
}
.lp .search input {
  border: 0;
  padding: 0;
  background: none;
  min-width: 0;
  outline-offset: 6px;
}
.lp .search button {
  border: 0;
  background: none;
  color: var(--tx2);
  min-width: 36px;
  height: 44px;
}
.lp .seg {
  margin: 12px 0;
}
.lp .seg button {
  min-height: 44px;
  height: auto;
}
.lp .chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  margin: 14px 0;
}
.lp .chips .pill {
  min-height: 44px;
  height: auto;
  flex: none;
  cursor: pointer;
}
.lp .pk {
  cursor: pointer;
  min-width: 0;
  min-height: 135px;
}
.lp .pk .h2 {
  font-size: 22px;
}
.lp .pk .s {
  font-size: 12px;
}
.lp .pk[aria-pressed="true"] {
  border-color: #8fb3ff;
}
.lp .notice {
  padding: 13px 14px;
  border-radius: 15px;
  background: #7fa6ff12;
  border: 1px solid var(--line);
  color: var(--tx2);
  font-size: 13px;
  line-height: 1.65;
  margin: 14px 0;
}
.lp .notice.warn {
  color: #ffcf91;
  background: #f0b3540c;
  border-color: #f2bc6144;
}
.lp.light .notice.warn {
  color: #83500a;
}
.lp .space {
  margin-top: 16px;
}
.lp .gap8 {
  display: grid;
  gap: 8px;
}
.lp .gap12 {
  display: grid;
  gap: 12px;
}
.lp .error {
  color: #ff8e9c;
  font-size: 13px;
  line-height: 1.5;
  min-height: 18px;
}
.lp.light .error {
  color: #af163b;
}
.lp .field-label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin: 17px 0 8px;
}
.lp .checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  min-height: 44px;
  color: var(--tx2);
}
.lp .checkbox input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--blue);
}
.lp .steps {
  display: flex;
  gap: 6px;
  margin: 7px 0 17px;
}
.lp .steps i {
  height: 4px;
  flex: 1;
  background: var(--line);
  border-radius: 4px;
}
.lp .steps i.on {
  background: var(--blue);
}
.lp .empty {
  text-align: center;
  padding: 35px 18px;
}
.lp .empty > .i {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--ice);
}
.lp .empty h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.lp .empty p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx2);
}
.lp .empty .btn {
  margin-top: 20px;
}
.lp .launch {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.lp .launch p {
  font-size: 14px;
  color: var(--tx2);
  line-height: 1.6;
  max-width: 290px;
}
.lp .skeleton {
  height: 140px;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(
    110deg,
    var(--solid),
    var(--solid2),
    var(--solid)
  );
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  margin-top: 16px;
}
.lp .search-empty {
  grid-column: 1/-1;
}
.lp .balance-hero {
  padding: 20px;
  border-radius: 25px;
  margin: 16px 0;
}
.lp .balance-hero .big {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0;
}
.lp .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.lp .stat {
  padding: 15px;
  min-width: 0;
}
.lp .stat strong {
  display: block;
  font-size: 21px;
  line-height: 1.3;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.lp .kv {
  font-size: 14px;
  min-width: 0;
  align-items: baseline;
  padding: 8px 0;
}
.lp .kv > span:last-child {
  max-width: 60%;
  text-align: right;
  overflow-wrap: anywhere;
}
.lp .order-card {
  border: 1px solid var(--line);
  background: var(--solid);
  border-radius: 20px;
  width: 100%;
  padding: 14px;
  text-align: left;
  color: var(--tx);
  margin-top: 12px;
}
.lp .order-card .row {
  align-items: flex-start;
}
.lp .order-card .order-title {
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 6px;
}
.lp .stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.lp .stepper button {
  width: 38px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--solid2);
  border-radius: 12px;
  color: var(--tx);
  display: grid;
  place-items: center;
}
.lp .stepper .i {
  width: 15px;
}
.lp .stepper span {
  font-size: 14px;
  min-width: 16px;
  text-align: center;
}
.lp .review {
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.lp .review:last-child {
  border: 0;
}
.lp .review p {
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lp .inline-link {
  border: 0;
  background: none;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 0;
}
.lp .legend {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.lp .modal-backdrop {
  position: fixed;
  inset: 0;
  background: #020719ac;
  backdrop-filter: blur(5px);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.lp .modal {
  max-width: 480px;
  width: 100%;
  background: var(--solid);
  border: 1px solid var(--g1b);
  border-radius: 28px 28px 0 0;
  max-height: 85dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 20px calc(22px + var(--safe-bottom));
  box-shadow: 0 -18px 60px #0006;
}
.lp .modal .handle {
  height: 4px;
  width: 36px;
  border-radius: 4px;
  background: var(--tx3);
  opacity: 0.5;
  margin: 0 auto 12px;
}
.lp .modal .row h2 {
  font-size: 21px;
}
.lp .modal .s {
  margin-top: 16px;
  white-space: pre-wrap;
}
.lp .toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
  top: calc(12px + var(--safe-top));
  width: min(calc(100% - 32px), 448px);
  padding: 14px 16px;
  border-radius: 17px;
  border: 1px solid #8cafff77;
  background: var(--solid2);
  color: var(--tx);
  box-shadow: 0 8px 30px #0005;
  font-size: 13px;
  line-height: 1.5;
}
.lp .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lp.light {
  color-scheme: light;
}
.lp.light .navfade {
  background: linear-gradient(180deg, transparent, #edf2fff0);
}
.lp.light .btn-ghost {
  color: var(--ice);
}
.lp.opaque .glass,
.lp.opaque .glass-strong {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--solid);
  box-shadow: inset 0 1px 0 var(--line);
}
.lp.opaque .modal-backdrop {
  backdrop-filter: none;
}
.lp .wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lp .money {
  font-variant-numeric: tabular-nums;
}
.lp .seller-logo {
  margin: 4px 0 16px;
}
.lp .value-small {
  font-size: 15px !important;
}
.lp .chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lp .tag {
  height: auto;
  min-height: 24px;
  line-height: 1.4;
  padding: 4px 8px;
}
.lp .networkbar {
  padding: 10px 14px;
  background: #d68e2917;
  border-bottom: 1px solid #ffc66a44;
  color: #ffd492;
  font-size: 12px;
  position: relative;
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .lp button:not(:disabled):hover,
  .lp a:hover {
    filter: brightness(1.08);
  }
}
@media (min-width: 700px) {
  body {
    background: #020612;
  }
  .lp {
    border-left: 1px solid #7b9ed01c;
    border-right: 1px solid #7b9ed01c;
  }
  .lp .page {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 359px) {
  .lp .grid3 {
    gap: 7px;
  }
  .lp .game-button .cover {
    height: 90px;
  }
  .lp .pk {
    padding: 12px 9px;
  }
  .lp .navwrap {
    gap: 7px;
  }
  .lp .nav {
    padding: 5px;
  }
  .lp .nav button {
    font-size: 10px;
  }
  .lp .fab {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }
  .lp .h1 {
    font-size: 24px;
  }
}
@keyframes shimmer {
  50% {
    background-position: 100% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.lp .dock-description {
  margin-bottom: 9px;
}
.lp .avatar-profile {
  width: 60px;
  height: 60px;
}

.lp .grow {
  flex: 1;
  min-width: 0;
}
.lp .fx {
  inset: 0 auto auto 50%;
}
.lp .feature > .tag {
  align-self: flex-start;
}
.lp .ibtn:not(.glass) {
  background: transparent;
}

/* The supplied brand artwork remains intact; SVG viewports reveal its mark and lettering. */
.lp .store-header {
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.lp .brand-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.lp .brand-symbol {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.lp .brand-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lp .brand-copy {
  flex: 1;
  min-width: 0;
}
.lp .brand-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.lp .brand-wordmark {
  display: block;
  width: 100%;
  max-width: 190px;
  aspect-ratio: 360 / 110;
  background: transparent;
}
.lp .brand-caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--tx2);
  margin-top: 5px;
}
.lp .launch .brand-symbol {
  width: 88px;
  height: 88px;
  border-radius: 24px;
}
@media (max-width: 359px) {
  .lp .brand-symbol {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .lp .brand-identity {
    gap: 7px;
  }
  .lp .store-header {
    gap: 8px;
  }
  .lp .brand-caption {
    font-size: 11px;
  }
}

.lp .store-caption {
  margin-top: 7px;
}

/* Silver artwork needs a darker ink treatment on pale themes; alpha stays intact. */
.lp.light .brand-wordmark,
.lp.light .brand-symbol {
  filter: brightness(0.35) saturate(1.2);
}

/* Supercell frame on the home page */
.lp .sc-frame {
  grid-column: 1 / -1;
  border-radius: 22px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(255, 196, 37, 0.1), rgba(59, 140, 255, 0.1) 50%, rgba(104, 190, 60, 0.1)) padding-box,
    linear-gradient(var(--solid), var(--solid)) padding-box,
    linear-gradient(90deg, #ffc425, #3b8cff 50%, #68be3c) border-box;
  border: 1.5px solid transparent;
  color: var(--tx);
}
.lp .sc-frame-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp .sc-frame-head .h3 { margin: 0; color: var(--tx); }
.lp .sc-frame-head .xs { margin: 1px 0 0; color: var(--tx2); }
.lp .sc-frame-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--solid2);
  border: 1px solid var(--line);
  color: var(--tx);
  font-size: 12px;
  font-weight: 800;
}
.lp .sc-frame-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.lp .sc-lane { --gc: #ffc425; min-width: 0; padding: 0; border: 0; background: none; color: var(--tx); text-align: left; }
.lp .sc-clash-royale { --gc: #3b8cff; }
.lp .sc-clash-of-clans { --gc: #68be3c; }
.lp .sc-lane .cover {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--gc), 0 6px 18px -6px var(--gc);
}
.lp .sc-lane .cover .game-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp .sc-lane strong { display: block; margin-top: 7px; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .sc-lane small { font-size: 11px; color: var(--tx2); }
.lp .sc-frame-head > div { min-width: 0; }
.lp .sc-frame-head .xs,
.lp .sc-lane small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) {
  .lp .sc-frame { padding: 10px; }
  .lp .sc-frame-row { gap: 6px; }
  .lp .sc-frame-tag { padding: 5px 8px; font-size: 11px; }
  .lp .sc-lane strong { font-size: 11px; }
  .lp .sc-lane small { font-size: 10px; }
}
.lp .sc-frame { grid-template-columns: minmax(0, 1fr); min-width: 0; }

/* Opening animation. Every moving part animates only transform and opacity, so the
   compositor keeps it smooth while the shop renders underneath. Wipes are an outer box
   sliding one way and its content sliding back (no clip-path); glows are pre-blurred
   layers that fade (no animated filter). */
.splash {
  --sp-bg: var(--bg, #040a1c);
  --sp-accent: var(--accent-rgb, 46, 107, 255);
  --sp-pay: var(--ice, #a9c8ff);
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(90% 60% at 50% 45%, var(--glow, #0b1a45) 0%, var(--sp-bg) 62%);
  transition: opacity 0.38s ease;
  will-change: opacity;
  contain: strict;
}
/* The logo is white, so the light theme keeps a dark splash in its own blue. */
.lp.light .splash { --sp-bg: #0f1b3d; --glow: #23408f; --sp-pay: #a9c8ff; }
.splash.out { opacity: 0; pointer-events: none; }
.splash-bar {
  position: absolute;
  left: 50%;
  bottom: calc(18% + env(safe-area-inset-bottom, 0px));
  width: 72px;
  height: 3px;
  margin-left: -36px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(var(--sp-accent), 0.2);
  opacity: 0;
}
.splash-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: rgb(var(--sp-accent));
  animation: sp-load 1s ease-in-out infinite;
}
.splash.play .splash-bar { animation: sp-fade 0.3s ease 1.2s forwards; }
@keyframes sp-load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.splash-glow {
  position: absolute;
  width: 70vmin;
  height: 70vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sp-accent), 0.32), transparent 65%);
  opacity: 0;
  will-change: transform, opacity;
}
.splash.play .splash-glow { animation: sp-glow 1.2s ease-out 0.1s forwards, sp-breathe 2.4s ease-in-out 1.3s infinite; }
@keyframes sp-glow { 40% { opacity: 1; } to { opacity: 0.6; } }
@keyframes sp-breathe { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.92); } }
.splash-logo { position: relative; width: min(80vw, 350px); aspect-ratio: 1160 / 880; }
.splash-logo > * { position: absolute; opacity: 0; will-change: transform, opacity; }
.splash-logo img { display: block; }
.splash-logo .sp-wi img, .sp-star img { width: 100%; height: 100%; }
.sp-trail { left:23.879%;top:13.068%;width:48.966%;height:21.477%; overflow: hidden; }
.sp-line { left:2.759%;top:80.568%;width:69.655%;height:8.409%; overflow: hidden; }
.sp-lunas { left:3.879%;top:38.523%;width:92.328%;height:35.909%; overflow: hidden; }
.sp-tag { left:8.103%;top:86.023%;width:27.414%;height:3.636%; }
.sp-sparks { left:71.983%;top:4.886%;width:20.690%;height:10.114%; }
.sp-pay { left:70.259%;top:76.477%;width:24.828%;height:19.773%; }
.sp-star { left:72.845%;top:6.591%;width:18.879%;height:27.614%; transform-origin: 47.95% 49.79%; }
.sp-wi { width: 100%; height: 100%; will-change: transform; }
.sp-pay i {
  position: absolute;
  inset: 0;
  background: var(--sp-pay);
  -webkit-mask: url("/brand-lp-pay.webp") center / 100% 100% no-repeat;
  mask: url("/brand-lp-pay.webp") center / 100% 100% no-repeat;
}
.sp-pay i + i { filter: blur(9px); opacity: 0; background: rgb(var(--sp-accent)); will-change: opacity; }
.sp-star b {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sp-accent), 0.95), transparent 62%);
  opacity: 0;
  will-change: opacity;
}
.sp-star img { position: relative; will-change: transform; }
/* the star flies along the drawn arc and the trail is revealed right behind it */
.splash.play .sp-star { animation: sp-fly 0.6s cubic-bezier(0.45, 0.05, 0.4, 1) 0.05s forwards; }
.splash.play .sp-star img { animation: sp-pop 0.3s ease-out 0.65s; }
.splash.play .sp-star b { animation: sp-flash 0.45s ease-out 0.62s; }
.splash.play .sp-trail { opacity: 1; animation: sp-trail-out 0.6s cubic-bezier(0.45, 0.05, 0.4, 1) 0.05s both; }
.splash.play .sp-trail .sp-wi { animation: sp-trail-in 0.6s cubic-bezier(0.45, 0.05, 0.4, 1) 0.05s both; }
.splash.play .sp-sparks { animation: sp-fade 0.25s ease-out 0.62s forwards; }
.splash.play .sp-lunas { opacity: 1; animation: sp-wipe-out 0.45s cubic-bezier(0.3, 0, 0.2, 1) 0.35s both; }
.splash.play .sp-lunas .sp-wi { animation: sp-wipe-in 0.45s cubic-bezier(0.3, 0, 0.2, 1) 0.35s both; }
/* «Pay» slides in from the right into its own empty spot */
.splash.play .sp-pay { animation: sp-slide 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) 0.7s forwards; }
.splash.play .sp-pay i + i { animation: sp-glow-in 0.4s ease-out 0.85s forwards; }
.splash.play .sp-line { opacity: 1; animation: sp-wipe-out 0.35s cubic-bezier(0.3, 0, 0.2, 1) 0.75s both; }
.splash.play .sp-line .sp-wi { animation: sp-wipe-in 0.35s cubic-bezier(0.3, 0, 0.2, 1) 0.75s both; }
.splash.play .sp-tag { animation: sp-fade 0.3s ease 0.9s forwards; }
@keyframes sp-fly {
  0.0% { opacity: 0; transform: translate(-305.94%, 46.91%) scale(0.35) rotate(-200deg); }
  9.1% { opacity: 1; transform: translate(-284.02%, 27.57%) scale(0.39) rotate(-182deg); }
  17.3% { opacity: 1; transform: translate(-262.10%, 12.35%) scale(0.43) rotate(-165deg); }
  24.8% { opacity: 1; transform: translate(-240.18%, 0.82%) scale(0.46) rotate(-150deg); }
  32.0% { opacity: 1; transform: translate(-218.26%, -8.64%) scale(0.49) rotate(-136deg); }
  38.9% { opacity: 1; transform: translate(-196.35%, -15.64%) scale(0.52) rotate(-122deg); }
  45.6% { opacity: 1; transform: translate(-174.43%, -20.58%) scale(0.56) rotate(-109deg); }
  52.2% { opacity: 1; transform: translate(-152.51%, -24.28%) scale(0.58) rotate(-96deg); }
  58.7% { opacity: 1; transform: translate(-130.59%, -25.93%) scale(0.61) rotate(-83deg); }
  65.2% { opacity: 1; transform: translate(-108.68%, -26.34%) scale(0.64) rotate(-70deg); }
  71.7% { opacity: 1; transform: translate(-86.76%, -23.87%) scale(0.67) rotate(-57deg); }
  78.8% { opacity: 1; transform: translate(-64.84%, -16.05%) scale(0.7) rotate(-42deg); }
  89.2% { opacity: 1; transform: translate(-36.53%, 0.41%) scale(0.75) rotate(-22deg); }
  100.0% { opacity: 1; transform: translate(0.00%, 0.00%) scale(1) rotate(0deg); }
}
@keyframes sp-trail-out {
  0.0% { transform: translateX(-99.5%); }
  9.1% { transform: translateX(-91.0%); }
  17.3% { transform: translateX(-82.6%); }
  24.8% { transform: translateX(-74.1%); }
  32.0% { transform: translateX(-65.7%); }
  38.9% { transform: translateX(-57.2%); }
  45.6% { transform: translateX(-48.8%); }
  52.2% { transform: translateX(-40.3%); }
  58.7% { transform: translateX(-31.9%); }
  65.2% { transform: translateX(-23.4%); }
  71.7% { transform: translateX(-15.0%); }
  78.8% { transform: translateX(-6.5%); }
  89.2% { transform: translateX(-0.0%); }
  100.0% { transform: translateX(-0.0%); }
}
@keyframes sp-trail-in {
  0.0% { transform: translateX(99.5%); }
  9.1% { transform: translateX(91.0%); }
  17.3% { transform: translateX(82.6%); }
  24.8% { transform: translateX(74.1%); }
  32.0% { transform: translateX(65.7%); }
  38.9% { transform: translateX(57.2%); }
  45.6% { transform: translateX(48.8%); }
  52.2% { transform: translateX(40.3%); }
  58.7% { transform: translateX(31.9%); }
  65.2% { transform: translateX(23.4%); }
  71.7% { transform: translateX(15.0%); }
  78.8% { transform: translateX(6.5%); }
  89.2% { transform: translateX(0.0%); }
  100.0% { transform: translateX(0.0%); }
}
@keyframes sp-wipe-out { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes sp-wipe-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sp-pop { 50% { transform: scale(1.12); } }
@keyframes sp-flash { 40% { opacity: 0.9; } }
@keyframes sp-slide { from { opacity: 0; transform: translateX(45%); } to { opacity: 1; transform: none; } }
@keyframes sp-glow-in { to { opacity: 0.55; } }
@keyframes sp-fade { to { opacity: 1; } }
/* A unique, team-made animation for a partner store (animated WebP). */
.splash .sc { display: none; }
.splash[data-kind="custom"] .sc { display: grid; place-items: center; }
.splash .sc img { width: min(80vw, 360px); height: auto; max-height: 70vh; object-fit: contain; }
.splash[data-kind="store"] .splash-logo,
.splash[data-kind="wait"] .splash-logo,
.splash[data-kind="custom"] .splash-logo,
.splash[data-kind="custom"] .splash-glow { display: none; }
@media (prefers-reduced-motion: reduce) {
  .splash { transition: opacity 0.2s ease; }
  .splash-logo > * { opacity: 1; animation: none !important; }
  .splash-logo .sp-wi, .splash-logo img, .splash-logo b { animation: none !important; }
  .sp-pay i + i, .sp-star b { display: none; }
  .splash-glow, .splash-bar::after { animation: none !important; }
}

.lp .profile-summary > .row { overflow: visible; }
.lp .balance-picker { position: relative; margin-inline-start: auto; }
.lp .balance-picker[open] { z-index: 6; }
.lp .balance-picker summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--solid2);
  color: var(--tx);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.lp .balance-picker summary::-webkit-details-marker { display: none; }
.lp .balance-picker[open] summary { border-color: var(--accent, currentColor); box-shadow: inset 0 0 0 1px currentColor; }
.lp .balance-picker-menu {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 8px);
  width: min(270px, calc(100vw - 64px));
  max-height: min(48dvh, 320px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  box-shadow: 0 12px 30px rgb(0 0 0 / .25);
}
.lp .balance-picker-menu button {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--tx);
  text-align: start;
}
.lp .balance-picker-menu button[aria-pressed="true"] { background: var(--solid2); border-color: var(--line); }
.lp .balance-picker-menu small { color: var(--tx2); }
.lp .balance-picker-menu > p { padding: 8px; }

/* PUBG artwork has its own transparent edge. Let the tile alone define its outline. */
.lp :is(.game-button, .suggest-popular) .cover.g-pubg:has(.game-art:not([hidden])) {
  background: transparent;
}
.lp :is(.game-button, .suggest-popular) .cover.g-pubg:has(.game-art:not([hidden]))::after {
  content: none;
}
.lp :is(.game-button, .suggest-popular) .cover.g-pubg .game-art:not([hidden]) {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
}

.lp .pk-uc-art { display: block; width: 40px; height: 32px; }
.lp .pk-uc-art svg { display: block; width: 100%; height: 100%; }

/* Standard opening animation for partner stores: logo, name, platform tag. */
.splash .ss { display: none; }
.splash[data-kind="store"] .ss {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}
.ss-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--sp-accent), 1), rgba(var(--sp-accent), 0.55));
  box-shadow: 0 18px 50px rgba(var(--sp-accent), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font: 800 52px/1 Manrope, sans-serif;
  opacity: 0;
}
.ss-mark.has-logo { background: rgba(255, 255, 255, 0.06); }
.ss-mark img { width: 100%; height: 100%; object-fit: contain; }
.ss-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
}
.ss-ring {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  border-radius: 36px;
  border: 2px solid rgba(var(--sp-accent), 0.9);
  opacity: 0;
}
.ss-name {
  max-width: min(80vw, 320px);
  font: 800 26px/1.15 Manrope, sans-serif;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  opacity: 0;
}
.ss-tag { font: 600 12px/1 Manrope, sans-serif; color: rgba(255, 255, 255, 0.62); opacity: 0; }
.splash.play .ss-mark { animation: ss-in 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) 0.1s forwards; }
.splash.play .ss-mark::after { animation: ss-shine 0.7s ease-out 0.55s forwards; }
.splash.play .ss-ring { animation: ss-ring 0.9s ease-out 0.35s forwards; }
.splash.play .ss-name { animation: ss-up 0.4s ease-out 0.5s forwards; }
.splash.play .ss-tag { animation: ss-up 0.4s ease-out 0.75s forwards; }
@keyframes ss-in { from { opacity: 0; transform: scale(0.55) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes ss-shine { to { transform: translateX(120%); } }
@keyframes ss-ring { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes ss-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ss-mark, .ss-name, .ss-tag { opacity: 1; animation: none !important; }
  .ss-ring, .ss-mark::after { display: none; }
}
/* Store logo in the header and on the appearance page. */
.lp .logo.store-logo { background: rgba(var(--surface-rgb, 255, 255, 255), 0.06); overflow: hidden; padding: 0; }
.lp .logo.store-logo img { width: 100%; height: 100%; object-fit: contain; }
.lp .logo.store-mono { background: var(--blue); color: #fff; font: 800 20px/1 Manrope, sans-serif; }
.lp .brand-logo-row { display: flex; align-items: center; gap: 14px; }
.lp .brand-logo-row .logo { width: 72px; height: 72px; border-radius: 22px; }
.lp .brand-logo-row .logo.store-mono { font-size: 32px; }
.lp .brand-logo-row .grow { flex: 1; min-width: 0; display: grid; gap: 8px; }
.lp .brand-logo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lp .brand-logo-actions .btn { width: auto; min-height: 44px; height: 44px; padding: 0 16px; font-size: 14px; }
.lp .file-btn { position: relative; overflow: hidden; }
.lp .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.lp .file-btn:focus-within { outline: 2px solid var(--ice); outline-offset: 2px; }
