:root{--bg:#0d100e;--panel:#151a16;--panel2:#1b221c;--line:#29332a;--green:#63f078;--text:#f3f7f3;--muted:#9da99f;--red:#ffcf7a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -15%,#1d3b25 0,transparent 48%),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.top{height:76px;padding:0 max(calc((100% - 1050px)/2),20px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #222b23;background:#0d100ee8;position:sticky;top:0;z-index:4;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:11px}.gem{color:var(--green);font-size:30px}.brand b{font-size:16px;letter-spacing:1.5px}.brand em{font-style:normal;color:var(--green)}.brand small{display:block;font-size:9px;letter-spacing:1.4px;color:var(--muted);margin-top:4px}.admin-open,.secondary{background:#202920;border:1px solid #38463a;color:#dfe9e0;padding:10px 14px;border-radius:10px;cursor:pointer}main{max-width:920px;margin:auto;padding:0 18px}.hero{padding:52px 0 32px}.pill{display:inline-block;color:var(--green);border:1px solid #2c6038;background:#16301c;padding:7px 11px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:1.3px}.hero h1{font-size:clamp(36px,7vw,64px);line-height:.99;letter-spacing:-2px;margin:20px 0 14px}.hero h1 span{color:var(--green)}.hero p{color:#aeb9af;max-width:510px;line-height:1.6}.notice{margin-top:20px;background:#1a241b;border:1px solid #2d4931;color:#c6e7ca;border-radius:10px;padding:12px;font-size:12px}.section{margin:18px 0 28px;padding:22px;border:1px solid var(--line);background:#121713eF;border-radius:18px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-head small,.admin-head+small,#adminLoginPanel>small{color:var(--green);font-weight:800;font-size:10px;letter-spacing:1.4px}.section h2,.modal h2{margin:5px 0 0;font-size:22px}.muted,.tiny{color:var(--muted);font-size:12px}.packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.package{background:linear-gradient(145deg,#202820,#141914);border:1px solid #303c31;border-radius:13px;padding:14px 10px;text-align:left;color:var(--text);cursor:pointer;min-height:124px}.package.active{border-color:var(--green);box-shadow:0 0 0 1px #63f07830,inset 0 0 20px #63f0780c}.crystal{font-size:24px;color:#69bfff;display:block;margin-bottom:8px}.package strong{display:block;font-size:14px}.package small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.package b{display:block;color:var(--green);margin-top:12px}.loading{color:var(--muted);padding:16px}form label{display:block;font-size:12px;color:#c9d3ca;margin-bottom:14px}input,select{width:100%;margin-top:7px;background:#0c100d;border:1px solid #303a31;border-radius:10px;padding:13px;color:var(--text);outline:none;font:inherit}input:focus,select:focus{border-color:var(--green)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pay-note{background:#211e13;border:1px solid #4b3d1c;border-radius:10px;padding:13px;margin:12px 0 18px;font-size:12px;color:#e8d6a6}.pay-note p{margin:7px 0 0;line-height:1.5}.summary{display:grid;grid-template-columns:1fr auto;gap:10px;padding:15px 0;border-top:1px solid var(--line);font-size:13px}.summary span{color:var(--muted)}.summary b{max-width:180px;text-align:right}.primary{width:100%;border:0;border-radius:11px;padding:14px;background:var(--green);color:#071008;font-weight:900;font-size:14px;cursor:pointer}.primary:disabled{opacity:.5}.tiny{line-height:1.5}.result{margin-top:15px;border:1px solid #31543a;background:#14251a;padding:14px;border-radius:10px;line-height:1.6;overflow-wrap:anywhere}.hidden{display:none!important}.trackform{display:grid;grid-template-columns:1fr auto;gap:8px}.trackform input{margin:0}.trackform button{padding:0 18px}.status{display:inline-block;border-radius:6px;padding:4px 7px;background:#273027;color:#d4e2d5;font-size:10px;font-weight:800}.track-result{padding:14px;border:1px solid var(--line);border-radius:10px;margin-top:12px;font-size:13px;line-height:1.8}footer{text-align:center;padding:30px 15px 45px;color:#718075;font-size:10px;letter-spacing:1.5px}.modal{position:fixed;inset:0;z-index:10;background:#000b;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.modal-card{width:min(680px,100%);max-height:90vh;overflow:auto;background:#111712;border:1px solid #354236;border-radius:18px;padding:24px;position:relative}.close{position:absolute;right:16px;top:12px;background:none;border:0;color:#fff;font-size:28px;cursor:pointer}.admin-head{display:flex;align-items:center;justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:15px 0}.stat{background:#202820;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:11px;color:var(--muted)}.stat b{display:block;color:#fff;font-size:17px;margin-top:5px}.order-card{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.order-card select{margin-bottom:7px}.order-card button{width:100%;padding:10px}.danger{color:#ffc4b8}@media(max-width:560px){.packages{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:16px}.hero{padding-top:36px}.fields{gap:8px}.top{height:68px}.brand b{font-size:14px}.brand small{font-size:8px}.modal-card{padding:18px}}

/* Customer account popup: mobile polish */
#customerPanel > small {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
}

#customerPanel h2 {
  margin: 0 42px 12px 0;
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.2;
}

#accountSummary,
#customerMessage {
  overflow-wrap: anywhere;
}

#customerPanel form {
  margin-top: 18px;
}

#customerPanel form label {
  font-size: 14px;
  margin-bottom: 15px;
}

#customerPanel input {
  min-height: 50px;
  font-size: 16px;
}

#customerPanel .primary {
  min-height: 54px;
  margin-top: 3px;
}

.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.customer-actions .secondary {
  min-height: 44px;
  flex: 1 1 110px;
  font-size: 14px;
}

#myOrders:empty {
  display: none;
}

#myOrders h3 {
  margin-top: 24px;
  font-size: 20px;
}

#myOrders .order-card {
  overflow-wrap: anywhere;
}

#adminModal {
  align-items: center;
  padding: 12px;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

#adminModal .modal-card {
  width: min(520px, 100%);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px;
}

#adminModal .close {
  position: sticky;
  float: right;
  top: 0;
  margin: -5px -3px 0 8px;
  z-index: 2;
  line-height: 1;
}

@media (max-width: 420px) {
  #adminModal .modal-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .customer-actions .secondary {
    flex: 1 1 calc(50% - 8px);
  }

  .top {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admin-open {
    max-width: 130px;
    white-space: normal;
    line-height: 1.25;
  }
}

/* Correct order: game details, package selection, order summary */
.package-selection {
  margin: 24px 0 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.package-selection .section-head {
  margin-bottom: 16px;
}

.package-selection .packages {
  width: 100%;
}

#orderForm .summary {
  margin-top: 18px;
}


/* ===== PREMIUM PAYMENT METHODS ===== */
.payment-availability-section {
  position: relative;
  margin-top: 30px;
  padding: 22px 0 4px;
  border-top: 1px solid var(--line);
}

.payment-availability-section h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -.5px;
}

.payment-availability-section > .tiny {
  margin: 0 0 18px;
  font-size: 13px;
}

.payment-availability {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-availability p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 68px;
  margin: 0;
  padding: 12px;
  border: 1px solid #303c32;
  border-radius: 13px;
  background:
    linear-gradient(135deg, #1c261e 0%, #121713 78%);
  box-shadow: inset 0 1px 0 #ffffff08;
  transition: border-color .18s ease, transform .18s ease,
              background .18s ease;
}

.payment-availability p strong {
  min-width: 0;
  color: #e9f2e9;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.payment-availability p span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 999px;
  background: #292e2a;
  border: 1px solid #414942;
  color: #c0c8c1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}

.payment-availability p .payment-active {
  background: #12351d;
  border-color: #28743a;
  color: #70fa89;
  box-shadow: 0 0 14px #63f07812;
}

.payment-availability p:has(.payment-active) {
  border-color: #367747;
  background:
    radial-gradient(ellipse at top left, #24482b 0%, transparent 75%),
    linear-gradient(135deg, #19281c, #121713);
}

.payment-availability p:has(.payment-active) strong::before {
  content: "◆";
  display: inline-block;
  margin-right: 7px;
  color: var(--green);
  font-size: 10px;
}

.payment-availability p:not(:has(.payment-active)) span {
  color: #aab2ab;
}

.payment-availability p:hover {
  border-color: #536b56;
  transform: translateY(-2px);
}

@media (max-width: 420px) {
  .payment-availability-section {
    margin-top: 25px;
    padding-top: 20px;
  }

  .payment-availability {
    gap: 8px;
  }

  .payment-availability p {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 11px;
  }

  .payment-availability p strong {
    font-size: 12px;
  }

  .payment-availability p span {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-availability p {
    transition: none;
  }
}


/* Premium payment method cards */
.payment-availability-section {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #293b30;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 0%, #123b251c, transparent 55%),
    linear-gradient(145deg, #121b15, #0e130f);
  overflow: hidden;
}
.payment-availability-section h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 5vw, 27px);
  line-height: 1.25;
  letter-spacing: -.5px;
}
.payment-availability-section > .tiny {
  margin: 0 0 20px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.payment-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  min-height: 112px;
  border-radius: 17px;
  border: 1px solid #2b3930;
  background: linear-gradient(145deg, #19221b, #111712);
  box-shadow: inset 0 1px 0 #ffffff05;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.payment-card.is-active {
  border-color: #4b9960;
  background: radial-gradient(ellipse at top left, #1e492b, #151e17 78%);
  box-shadow: inset 0 0 0 1px #63f07812, 0 5px 18px #0002;
}
.payment-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f5f8f5;
  color: #123c28;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.8px;
  box-shadow: 0 3px 10px #0002;
}
.logo-qrph { color: #1377c9; font-size: 20px; }
.logo-gcash { color: white; background: #0879ed; }
.logo-grabpay { color: #00a85a; }
.logo-maya { color: #003b44; background: #18e5a0; }
.logo-wallet { color: white; background: #16a86c; }
.logo-shopeepay { color: white; background: #ee4d2d; }
.logo-googlepay { color: #4285f4; }
.logo-cards { color: white; background: #183e8a; }
.logo-bdo { color: #153a8a; }
.logo-bpi { color: #c62828; }
.logo-landbank { color: #15934b; }
.logo-metrobank { color: #164d9a; }
.logo-rcbc { color: #1686d9; }
.logo-ubp { color: white; background: #f47716; }
.logo-billease { color: #1d5ed1; }
.logo-loyalty { color: white; background: #139b5d; }
.payment-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.payment-info strong {
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.payment-info > span {
  color: #9caea3;
  font-size: 11px;
}
.payment-status {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  padding: 5px 8px;
  border: 1px solid #47554d;
  border-radius: 999px;
  background: #28332d;
  color: #c2ccc5;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}
.is-active .payment-status {
  color: #75f492;
  background: #103d22;
  border-color: #287743;
}
@media (min-width: 700px) {
  .payment-card { padding: 17px; gap: 14px; }
  .payment-logo { width: 58px; height: 58px; flex-basis: 58px; font-size: 25px; }
  .payment-info strong { font-size: 15px; }
  .payment-info > span { font-size: 12px; }
}
@media (max-width: 380px) {
  .payment-availability-section { padding: 14px; }
  .payment-grid { gap: 8px; }
  .payment-card { padding: 10px 8px; gap: 8px; min-height: 105px; }
  .payment-logo { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
  .payment-info strong { font-size: 12px; }
  .payment-info > span { font-size: 10px; }
  .payment-status { font-size: 9px; padding: 4px 6px; }
}

/* Payment cards: balanced mobile layout */
.payment-availability-section {
  padding: 20px 16px;
  border-radius: 20px;
}

.payment-availability-section h3 {
  font-size: clamp(20px, 5vw, 25px);
  line-height: 1.3;
  margin-bottom: 8px;
}

.payment-availability-section > .tiny {
  margin-bottom: 18px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.payment-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
  min-width: 0;
  min-height: 112px;
  padding: 13px 10px;
  border-radius: 15px;
  background: linear-gradient(145deg, #19211b, #121713);
  border: 1px solid #2b3930;
  box-shadow: none;
}

.payment-logo {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 11px;
  font-size: 19px;
}

.payment-info {
  display: contents;
}

.payment-info strong {
  grid-column: 2;
  min-width: 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.payment-info > span {
  grid-column: 2;
  min-width: 0;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.payment-status {
  grid-column: 2;
  justify-self: start;
  margin-top: 7px;
  padding: 5px 7px;
  max-width: 100%;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}

.payment-card.is-active {
  border-color: #438b55;
  background: linear-gradient(145deg, #1b3a24, #141c16);
}

@media (min-width: 560px) {
  .payment-card {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 105px;
    padding: 14px;
    column-gap: 12px;
  }

  .payment-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .payment-info strong {
    font-size: 14px;
  }

  .payment-info > span {
    font-size: 11px;
  }

  .payment-status {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .payment-availability-section {
    padding: 14px 10px;
  }

  .payment-grid {
    gap: 8px;
  }

  .payment-card {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 7px;
    min-height: 105px;
    padding: 10px 7px;
  }

  .payment-logo {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    font-size: 16px;
  }

  .payment-info strong {
    font-size: 11px;
  }

  .payment-info > span {
    font-size: 9px;
  }

  .payment-status {
    font-size: 8px;
    padding: 4px 5px;
  }
}

/* Final mobile spacing refinement */
.payment-availability-section {
  scroll-margin-top: 90px;
  margin-top: 24px;
}

.payment-availability-section h3 {
  margin-top: 0;
  padding-top: 4px;
  overflow-wrap: anywhere;
}

.payment-grid {
  gap: 9px;
}

.payment-card {
  min-height: 96px;
  padding: 10px 8px;
  border-radius: 14px;
}

.payment-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.payment-info strong {
  font-size: 12px;
}

.payment-info > span {
  font-size: 10px;
}

.payment-status {
  margin-top: 5px;
  padding: 4px 6px;
}

.track {
  margin-top: 24px;
}

@media (max-width: 420px) {
  .payment-availability-section {
    padding: 16px 12px;
  }

  .payment-card {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 7px;
    min-height: 94px;
    padding: 9px 7px;
  }

  .payment-logo {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .payment-info strong {
    font-size: 11px;
    line-height: 1.35;
  }

  .payment-info > span {
    font-size: 9px;
  }

  .payment-status {
    font-size: 9px;
  }
}

/* ===== FINAL PAYMENT METHODS DESIGN OVERRIDES ===== */
.payment-availability-section {
  margin: 20px 0 24px;
  padding: 20px;
  border: 1px solid #293a2d;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at top left, #1b3524 0, transparent 48%),
    linear-gradient(145deg, #121a14, #101511);
  scroll-margin-top: 90px;
}

.payment-availability-section h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.payment-availability-section > .tiny {
  margin: 0 0 18px;
  line-height: 1.6;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.payment-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 94px;
  padding: 12px;
  border: 1px solid #2c3930;
  border-radius: 16px;
  background: linear-gradient(145deg, #18221a, #121813);
  box-shadow: inset 0 1px 0 #ffffff06;
}

.payment-card.is-active {
  border-color: #43895a;
  background: linear-gradient(145deg, #1b3825, #142019);
  box-shadow: inset 0 0 0 1px #63f07818;
}

.payment-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  flex: none;
  border-radius: 12px;
  background: #f4f7f5;
  color: #1d5baf;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
}

.payment-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.payment-info strong {
  display: block;
  max-width: 100%;
  color: #f0f5f0;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.payment-info > span {
  color: #9eaea1;
  font-size: 10px;
  line-height: 1.35;
}

.payment-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 5px 7px;
  border: 1px solid #46544a;
  border-radius: 999px;
  background: #26322a;
  color: #d0d9d1;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.payment-card.is-active .payment-status {
  border-color: #287b43;
  background: #123d25;
  color: #75f394;
}

@media (max-width: 380px) {
  .payment-availability-section {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .payment-grid {
    gap: 8px;
  }

  .payment-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    min-height: 88px;
    padding: 9px 7px;
    border-radius: 13px;
  }

  .payment-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 16px;
  }

  .payment-info strong {
    font-size: 11px;
  }

  .payment-info > span {
    font-size: 9px;
  }

  .payment-status {
    padding: 4px 5px;
    font-size: 8px;
  }
}

/* ===== MLBB TOP-UP: CLEAN PAYMENT METHODS LAYOUT ===== */
.payment-availability-section {
  margin-top: 30px !important;
  padding: 28px !important;
  border: 1px solid #243d2e !important;
  border-radius: 22px !important;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(39, 112, 65, .18), transparent 48%),
    linear-gradient(145deg, #101b14, #0d1410 72%) !important;
  box-shadow: inset 0 1px 0 rgba(126, 255, 159, .035);
}

.payment-availability-section h3 {
  margin: 0 0 10px !important;
  color: #f3fff5 !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.6px;
}

.payment-availability-section > .tiny {
  margin: 0 0 22px !important;
  color: #9aafa0 !important;
  font-size: 14px !important;
}

.payment-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.payment-card {
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  min-height: 112px !important;
  padding: 17px !important;
  border: 1px solid #263c2e !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, #142219, #101813) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.payment-card.is-active {
  border-color: #43ec80 !important;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(35, 196, 92, .20), transparent 70%),
    linear-gradient(135deg, #14271b, #101b14) !important;
  box-shadow: 0 0 0 1px rgba(67, 236, 128, .12),
              0 0 22px rgba(40, 220, 100, .07),
              inset 0 0 22px rgba(40, 220, 100, .035) !important;
}

.payment-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 66px !important;
  height: 66px !important;
  flex: none !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 15px !important;
  background: #f7faf8 !important;
  color: #20533a !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  overflow: hidden;
}

.logo-qrph { color: #1679b8 !important; }
.logo-gcash { background: #0878ed !important; color: #fff !important; }
.logo-grabpay { color: #079b5b !important; }
.logo-maya { background: #08dca0 !important; color: #063d34 !important; }
.logo-wallet, .logo-loyalty { background: #079e69 !important; color: white !important; }
.logo-shopeepay { background: #f04b31 !important; color: white !important; }
.logo-googlepay { color: #4285f4 !important; }
.logo-cards { background: #173b82 !important; color: white !important; }
.logo-bdo { color: #164681 !important; }
.logo-bpi { color: #b52635 !important; }
.logo-landbank { color: #16834a !important; }
.logo-metrobank { color: #164d91 !important; }
.logo-rcbc { color: #1589bb !important; }
.logo-ubp { background: #f47b13 !important; color: white !important; }
.logo-billease { color: #2765b7 !important; }

.payment-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.payment-info strong {
  display: block !important;
  color: #f3f8f4 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere;
}

.payment-info > span {
  display: block !important;
  color: #9aada0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.payment-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #46574e !important;
  border-radius: 999px !important;
  background: #26342d !important;
  color: #c0cec5 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.payment-card.is-active .payment-status {
  border-color: #278e50 !important;
  background: #103b24 !important;
  color: #68ff99 !important;
  box-shadow: 0 0 12px rgba(51, 230, 112, .08);
}

@media (max-width: 700px) {
  .payment-availability-section {
    padding: 18px !important;
    border-radius: 19px !important;
  }

  .payment-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .payment-card {
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    min-height: 88px !important;
    padding: 13px !important;
    gap: 12px !important;
    border-radius: 15px !important;
  }

  .payment-logo {
    width: 54px !important;
    height: 54px !important;
    border-radius: 13px !important;
    font-size: 22px !important;
  }

  .payment-info strong { font-size: 14px !important; }
  .payment-info > span { font-size: 12px !important; }

  .payment-status {
    max-width: 112px;
    white-space: normal !important;
    text-align: center;
    padding: 7px 9px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 360px) {
  .payment-availability-section { padding: 12px !important; }
  .payment-card {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 10px !important;
  }
  .payment-logo {
    width: 44px !important;
    height: 44px !important;
    font-size: 19px !important;
  }
  .payment-info strong { font-size: 13px !important; }
  .payment-status { max-width: 92px; font-size: 9px !important; }
}
/* ===== END CLEAN PAYMENT METHODS LAYOUT ===== */


/* ===== REFERENCE-MATCH PAYMENT CARDS ===== */
.payment-availability-section {
  margin: 20px 0 24px !important;
  padding: 22px 16px !important;
  border: 1px solid #20392c !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #101d15, #0c130f) !important;
  overflow: hidden;
}

.payment-availability-section h3 {
  margin: 0 0 8px !important;
  font-size: clamp(22px, 5vw, 30px) !important;
  line-height: 1.25 !important;
  letter-spacing: -.5px;
}

.payment-availability-section > .tiny {
  margin: 0 0 20px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.payment-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.payment-card {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 4px !important;
  min-width: 0 !important;
  min-height: 100px !important;
  padding: 14px !important;
  border: 1px solid #233a2e !important;
  border-radius: 17px !important;
  background: linear-gradient(145deg, #142119, #101812) !important;
  box-shadow: none !important;
}

.payment-card.is-active {
  border-color: #43e984 !important;
  background: linear-gradient(120deg, #153c27, #112017) !important;
  box-shadow: inset 0 0 0 1px #43e98435 !important;
}

.payment-logo {
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  padding: 4px !important;
  border-radius: 12px !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.payment-info {
  display: contents !important;
}

.payment-info strong {
  grid-column: 2 !important;
  min-width: 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere !important;
}

.payment-info > span {
  grid-column: 2 !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #9aafa3 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.payment-status {
  grid-column: 2 !important;
  justify-self: start !important;
  align-self: start !important;
  max-width: 100% !important;
  margin: 3px 0 0 !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.payment-card.is-active .payment-status {
  color: #70f49b !important;
  background: #103d25 !important;
  border-color: #287b49 !important;
}

@media (min-width: 700px) {
  .payment-availability-section {
    padding: 28px !important;
  }

  .payment-grid {
    gap: 14px !important;
  }

  .payment-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 112px !important;
    padding: 16px 18px !important;
    column-gap: 16px !important;
  }

  .payment-logo {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
  }

  .payment-info strong {
    font-size: 16px !important;
  }

  .payment-info > span {
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  .payment-availability-section {
    padding: 12px !important;
  }

  .payment-grid {
    gap: 8px !important;
  }

  .payment-card {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    min-height: 94px !important;
    padding: 9px 7px !important;
    column-gap: 7px !important;
    row-gap: 4px !important;
  }

  .payment-logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
    font-size: 17px !important;
  }

  .payment-info strong {
    font-size: 11px !important;
  }

  .payment-info > span {
    font-size: 10px !important;
  }

  .payment-status {
    padding: 4px 6px !important;
    font-size: 9px !important;
  }
}
/* ===== END REFERENCE-MATCH PAYMENT CARDS ===== */


/* REAL QRPH LOGO */
.payment-logo.logo-qrph {
  background: #fff !important;
  padding: 5px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.payment-logo.logo-qrph img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}


/* REAL GCASH LOGO */
.payment-logo.logo-gcash {
  background: #fff !important;
  padding: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.payment-logo.logo-gcash img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* GCash original blue logo */
.payment-logo.logo-gcash {
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.payment-logo.logo-gcash img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* GrabPay logo sizing */
.payment-logo.logo-grabpay {
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.payment-logo.logo-grabpay img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Maya original logo display */
.payment-logo.logo-maya {
  padding: 0 !important;
  overflow: hidden !important;
}

.payment-logo.logo-maya img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Premium MLBB package cards */
.package-selection .packages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.package-selection .package {
  position: relative;
  min-width: 0;
  min-height: 142px;
  padding: 16px 13px;
  overflow: hidden;
  border: 1px solid #303c31;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, #25472c 0, transparent 48%),
    linear-gradient(145deg, #1b241c, #101511);
  transition: border-color .18s ease, transform .18s ease,
              box-shadow .18s ease;
}

.package-selection .package:active {
  transform: scale(.98);
}

.package-selection .package.active {
  border: 1.5px solid var(--green);
  background:
    radial-gradient(circle at 100% 0%, #2b5934 0, transparent 52%),
    linear-gradient(145deg, #1b2c1e, #111812);
  box-shadow: 0 0 0 1px #63f07825, 0 7px 24px #0003;
}

.package-selection .package.active::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--green);
  color: #071008;
  font-size: 13px;
  font-weight: 900;
}

.package-selection .crystal {
  width: fit-content;
  margin-bottom: 12px;
  font-size: 26px;
  color: #75c7ff;
  filter: drop-shadow(0 0 8px #4bafff35);
}

.package-selection .package strong {
  padding-right: 13px;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.package-selection .package small {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.package-selection .package b {
  margin-top: 13px;
  font-size: 17px;
  letter-spacing: -.3px;
}

#orderForm .summary {
  gap: 12px;
  margin-top: 20px;
  padding: 18px 0;
}

#orderForm .summary b {
  overflow-wrap: anywhere;
}

#submitOrder {
  min-height: 52px;
  letter-spacing: .4px;
  box-shadow: 0 5px 18px #63f07818;
}

@media (max-width: 380px) {
  .package-selection .packages {
    gap: 8px;
  }

  .package-selection .package {
    padding: 13px 10px;
    min-height: 135px;
  }

  .package-selection .package strong {
    font-size: 13px;
  }

  .package-selection .package b {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .package-selection .package {
    transition: none;
  }
}

/* Packages waiting for confirmed prices */
.package.package-unavailable {
  opacity: 0.68;
  cursor: not-allowed;
  border-style: dashed;
}
.package.package-unavailable b {
  color: #a9b5ac;
  font-size: 0.78rem;
}

/* Checkout details review */
.checkout-review-card { max-width: 480px; }
.review-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(140, 170, 145, .2);
}
.review-row span { color: #a7b5aa; }
.review-row strong { text-align: right; overflow-wrap: anywhere; }
.review-total strong { color: #61ed7b; font-size: 1.15rem; }
#continueToPayment, #editCheckoutDetails { width: 100%; margin-top: 12px; }

/* Fix package section headings inside the existing grid */
.package-section-title {
  grid-column: 1 / -1 !important;
  width: 100%;
  margin: 24px 0 4px;
  padding: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: .5px;
  overflow-wrap: anywhere;
}

.package-section-title:first-child {
  margin-top: 0;
}

/* Keep bundle and diamond cards in a consistent two-column layout */
.package-selection .packages {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 12px;
}

.package {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 360px) {
  .package-section-title {
    font-size: 18px;
  }
}


/* MYTH TOPUP: selectable QRPh payment method */
#paymentQrph { cursor: pointer; }
#paymentQrph:focus-visible {
  outline: 3px solid #63f078;
  outline-offset: 3px;
}
#paymentQrph.is-selected {
  border-color: #63f078 !important;
  box-shadow: 0 0 0 2px #63f07855, inset 0 0 22px #43e98418 !important;
}

/* MYTH TOPUP: QRPh is available, but not selected by default */
#paymentQrph {
  border-color: #2b3930 !important;
  background: linear-gradient(145deg, #19221b, #111712) !important;
  box-shadow: inset 0 1px 0 #ffffff05 !important;
}
#paymentQrph.is-selected {
  border-color: #43e984 !important;
  background: radial-gradient(ellipse at top left, rgba(35,196,92,.20), transparent 70%), linear-gradient(135deg, #14271b, #101b14) !important;
  box-shadow: 0 0 0 1px rgba(67,236,128,.12), 0 0 22px rgba(40,220,100,.07), inset 0 0 22px rgba(40,220,100,.035) !important;
}

/* MYTH TOPUP: clearly mark unavailable methods */
.payment-card.is-unavailable {
  border: 1px solid #ef4444 !important;
  cursor: pointer;
}
.payment-card.is-unavailable .payment-status {
  color: #fecaca !important;
  border-color: #ef4444 !important;
}
.payment-card.is-unavailable .payment-status::first-letter {
  color: #ef4444;
}
.payment-card.is-unavailable:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 3px;
}

/* Separate status dots */
.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.payment-status .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #ef4444;
}
#paymentQrph .payment-status .status-dot {
  background: #22c55e;
}

/* Unavailable cards: neutral until tapped */
.payment-card.is-unavailable {
  border: 1px solid #2b3930 !important;
  background: linear-gradient(145deg, #19221b, #111712) !important;
  box-shadow: inset 0 1px 0 #ffffff05 !important;
}
.payment-card.is-unavailable.is-unavailable-selected {
  border: 1px solid #ef4444 !important;
  background: linear-gradient(145deg, #301719, #171112) !important;
  box-shadow: 0 0 0 1px #ef444433, 0 0 16px #ef44441a !important;
}

/* ShopeePay logo sizing fix */
.payment-logo.logo-shopeepay {
  overflow: hidden;
  padding: 4px !important;
  background: #fff !important;
  border-radius: 13px !important;
}
.payment-logo.logo-shopeepay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Google Pay logo sizing */
.payment-logo.logo-googlepay {
  overflow: hidden;
  padding: 4px !important;
  background: #fff !important;
}
.payment-logo.logo-googlepay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Google Pay: constrain only its logo image */
.payment-logo.logo-googlepay img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Visa / Mastercard logo only */
.payment-logo.logo-visa-mastercard {
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 3px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
}
.payment-logo.logo-visa-mastercard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Real diamond image — preserve existing package layout */
.crystal.crystal-image {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0 0 8px;
}
.gem.gem-image {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 52px;
  border-radius: 50%;
}

/* MYTH TOPUP customer profile */
.customer-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #31543a;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(99,240,120,.12), transparent 42%),
    linear-gradient(145deg, #1a241b, #111712);
}

.customer-profile-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #4d8c58;
  background: #16301c;
  color: var(--green);
  font-size: 23px;
  box-shadow: 0 0 20px rgba(99,240,120,.12);
}

.customer-profile-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.customer-profile-info > .tiny:first-child {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

#profileName {
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#profileEmail {
  overflow-wrap: anywhere;
}

#customerPanel #accountTitle {
  margin-bottom: 6px;
}

#customerPanel #accountSummary {
  margin-top: 0;
}

@media (max-width: 560px) {
  .customer-profile-card {
    padding: 14px;
    gap: 12px;
  }

  .customer-profile-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 20px;
  }

  #profileName {
    font-size: 16px;
  }
}

/* Customer profile photo + ID */
.customer-profile-photo-wrap {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.customer-profile-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  overflow: hidden;
  border: 2px solid #4d8c58;
  background: #16301c;
  box-shadow:
    0 0 0 4px rgba(99,240,120,.06),
    0 0 24px rgba(99,240,120,.12);
}

#profileAvatarImage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

#profileAvatarFallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.profile-photo-button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 2px 4px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.profile-photo-button:hover {
  text-decoration: underline;
}

.profile-photo-button:disabled {
  opacity: .55;
  cursor: wait;
}

.profile-customer-id {
  display: inline-block;
  width: fit-content;
  margin-top: 5px;
  padding: 5px 8px;
  border: 1px solid #304c35;
  border-radius: 7px;
  background: #101a12;
  color: #b8c8bb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
}

@media (max-width: 560px) {
  .customer-profile-card {
    align-items: center;
  }

  .customer-profile-photo-wrap {
    flex-basis: 82px;
  }

  .customer-profile-avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}


/* Native mobile profile-photo picker */
.profile-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-photo-button {
  display: inline-block;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Hard fix: native file input receives the tap directly */
.customer-profile-photo-wrap {
  position: relative;
}

.profile-photo-button {
  position: relative;
  z-index: 1;
}

.profile-photo-input {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 32px;
  opacity: 0;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}


/* MYTH TOPUP live payment verification */
.payment-live-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 25%, rgba(38, 92, 255, .20), transparent 34%),
    rgba(3, 7, 18, .92);
  backdrop-filter: blur(10px);
}

.payment-live-modal.hidden {
  display: none;
}

.payment-live-card {
  width: min(100%, 430px);
  padding: 28px 22px 24px;
  border: 1px solid rgba(82, 137, 255, .34);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 28, 53, .98), rgba(8, 13, 27, .99));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .55),
    0 0 45px rgba(33, 91, 255, .10);
  text-align: center;
}

.payment-live-brand {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
}

.payment-live-brand span {
  color: #5b8cff;
}

.payment-live-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 38px;
  font-weight: 900;
}

.payment-live-icon.is-loading {
  border: 1px solid rgba(91, 140, 255, .20);
  background: rgba(36, 82, 190, .10);
}

.payment-live-spinner {
  display: none;
}

.payment-live-icon.is-loading .payment-live-spinner {
  display: block;
  position: absolute;
  inset: 8px;
  border: 5px solid rgba(91, 140, 255, .18);
  border-top-color: #5b8cff;
  border-radius: 50%;
  animation: mythPaymentSpin .85s linear infinite;
}

.payment-live-icon.is-success {
  color: #8dffb1;
  border: 1px solid rgba(77, 235, 135, .38);
  background: rgba(34, 197, 94, .12);
  box-shadow: 0 0 34px rgba(34, 197, 94, .14);
}

.payment-live-icon.is-warning {
  color: #ffd36a;
  border: 1px solid rgba(255, 193, 7, .34);
  background: rgba(255, 193, 7, .10);
}

@keyframes mythPaymentSpin {
  to { transform: rotate(360deg); }
}

#paymentLiveEyebrow {
  display: block;
  margin-bottom: 8px;
  color: #7ea2ff;
  font-weight: 800;
  letter-spacing: .12em;
}

#paymentLiveTitle {
  margin: 0 0 10px;
  font-size: clamp(24px, 7vw, 32px);
  line-height: 1.08;
}

#paymentLiveMessage {
  min-height: 48px;
  margin: 0 auto 20px;
  color: rgba(235, 241, 255, .76);
  line-height: 1.55;
}

.payment-live-progress {
  overflow: hidden;
  height: 8px;
  margin: 18px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.payment-live-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3468ff, #74a0ff);
  box-shadow: 0 0 16px rgba(72, 120, 255, .55);
  transition: width .45s ease;
}

.payment-live-order {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  text-align: left;
}

.payment-live-order span {
  color: rgba(235, 241, 255, .60);
}

.payment-live-order strong {
  color: #fff;
  word-break: break-word;
}

.payment-live-steps {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  text-align: left;
}

.payment-live-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(235, 241, 255, .48);
  background: rgba(255, 255, 255, .025);
  transition: .25s ease;
}

.payment-live-step > span {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  font-size: 12px;
}

.payment-live-step.active {
  color: #fff;
  background: rgba(67, 112, 255, .11);
}

.payment-live-step.active > span {
  border-color: #5b8cff;
  color: #8eacff;
}

.payment-live-step.done {
  color: #b9ffd0;
  background: rgba(34, 197, 94, .08);
}

.payment-live-step.done > span {
  border-color: rgba(77, 235, 135, .45);
  color: #8dffb1;
}

#paymentLiveHint {
  margin: 16px 0;
  color: rgba(235, 241, 255, .55);
  line-height: 1.45;
}

#paymentLiveClose {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .payment-live-card {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .payment-live-icon {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-live-spinner {
    animation-duration: 1.8s !important;
  }

  .payment-live-progress span {
    transition: none;
  }
}

/* MYTH TOPUP social links */
.social-connect {
  max-width: 1180px;
  margin: 18px auto 26px;
  padding: 20px;
  text-align: center;
}

.social-connect > small {
  display: block;
  margin-bottom: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  opacity: .72;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.social-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(75,255,184,.55);
  background: rgba(75,255,184,.08);
}

.social-icon {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 29px;
  border-radius: 50%;
  background: rgba(75,255,184,.12);
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 640px) {
  .social-connect {
    padding: 14px 0;
    margin-top: 12px;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-link {
    min-height: 50px;
    font-size: 13px;
  }
}

.social-icon-whatsapp {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.social-icon-whatsapp svg {
  display: block;
  width: 100%;
  height: 100%;
}

.social-icon-facebook {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.social-icon-facebook svg {
  display: block;
  width: 100%;
  height: 100%;
}

.social-icon-instagram {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.social-icon-instagram svg {
  display: block;
  width: 100%;
  height: 100%;
}

.social-icon-tiktok {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.social-icon-tiktok svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* MYTH TOPUP trust section */
.trust-section {
  max-width: 1180px;
  margin: 6px auto 34px;
  padding: 22px 20px;
  text-align: center;
  border: 1px solid rgba(75,255,184,.14);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(75,255,184,.045),
    rgba(255,255,255,.018)
  );
}

.trust-section > small {
  display: block;
  margin-bottom: 16px;
  color: #58e77c;
  font-weight: 900;
  letter-spacing: .13em;
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-feature {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  font-weight: 800;
}

.trust-feature-icon {
  font-size: 21px;
  line-height: 1;
}

.trust-since {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.trust-since strong {
  display: block;
  color: #58e77c;
  font-size: 14px;
  letter-spacing: .12em;
}

.trust-since span {
  display: block;
  margin-top: 6px;
  opacity: .64;
  font-size: 12px;
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .trust-section {
    margin: 4px 0 28px;
    padding: 18px 14px;
  }

  .trust-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .trust-feature {
    min-height: 76px;
    flex-direction: column;
    gap: 7px;
    padding: 9px 5px;
    font-size: 11px;
    line-height: 1.25;
  }

  .trust-feature-icon {
    font-size: 20px;
  }
}

/* Fixed MLBB Layla background */
body {
  position: relative;
  background: #0d100e !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/images/layla-image.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 15, 9, .52) 0%,
      rgba(5, 18, 10, .66) 42%,
      rgba(4, 13, 7, .76) 100%
    );
  pointer-events: none;
}

main {
  position: relative;
  z-index: 0;
}

/* Improve readability over the fixed Layla background */
.social-connect,
.trust-section {
  background: rgba(7, 22, 12, .82) !important;
  border-color: rgba(99, 240, 120, .22) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.social-links a,
.trust-feature {
  background: rgba(10, 25, 15, .88) !important;
}

footer {
  background: rgba(5, 15, 9, .78);
  border-radius: 14px;
}

/* MYTH TOPUP Rewards */
.myth-rewards-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(99, 240, 120, .24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(99,240,120,.10), transparent 34%),
    linear-gradient(145deg, rgba(19,31,21,.96), rgba(10,17,12,.96));
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.myth-rewards-head,
.myth-mission-head,
.myth-points-progress-row,
.myth-streak-card,
.myth-rewards-disabled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.myth-rewards-head {
  margin-bottom: 15px;
}

.myth-rewards-head small,
.myth-mission-head small,
.myth-streak-card small {
  display: block;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.myth-rewards-head h3,
.myth-mission-head h4 {
  margin: 4px 0 0;
  color: var(--text);
}

.myth-rewards-head h3 {
  font-size: 20px;
}

.myth-points-balance {
  min-width: 86px;
  padding: 10px 13px;
  border: 1px solid rgba(99,240,120,.32);
  border-radius: 12px;
  background: rgba(22,48,28,.82);
  text-align: center;
}

.myth-points-balance strong {
  display: block;
  color: var(--green);
  font-size: 25px;
  line-height: 1;
}

.myth-points-balance span {
  display: block;
  margin-top: 5px;
  color: #b7c5b9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.myth-points-progress-card,
.myth-mission-card {
  padding: 14px;
  border: 1px solid #2c3d2f;
  border-radius: 13px;
  background: rgba(8,15,10,.70);
}

.myth-points-progress-row {
  margin-bottom: 9px;
  color: #b9c7bb;
  font-size: 11px;
}

.myth-points-progress-row strong {
  color: var(--text);
  font-size: 11px;
}

.myth-points-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #222c24;
}

#pointsProgressBar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3cc95a, var(--green));
  box-shadow: 0 0 12px rgba(99,240,120,.30);
  transition: width .35s ease;
}

#pointsProgress {
  margin: 9px 0 0;
}

.myth-streak-card {
  margin-top: 13px;
  padding: 13px 14px;
  border: 1px solid #304b35;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(30,59,35,.82), rgba(12,23,15,.82));
}

.myth-streak-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.myth-streak-card strong {
  color: #fff;
  font-size: 17px;
}

.myth-reward-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(99,240,120,.34);
  border-radius: 999px;
  background: rgba(99,240,120,.10);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

#streakStatus {
  margin: 7px 2px 14px;
}

.myth-mission-card {
  margin-top: 10px;
}

.myth-mission-head {
  margin-bottom: 9px;
}

.myth-mission-card textarea {
  width: 100%;
  min-height: 84px;
  margin-top: 7px;
  resize: vertical;
  border: 1px solid #303a31;
  border-radius: 10px;
  background: #0c100d;
  padding: 12px;
  color: var(--text);
  outline: none;
  font: inherit;
}

.myth-mission-card textarea:focus {
  border-color: var(--green);
}

#missionCycle {
  margin: 10px 0;
  color: #b9c7bb;
}

#shareMissionStatus {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.myth-rewards-disabled {
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px dashed #354539;
  border-radius: 11px;
  background: rgba(18,25,19,.70);
}

.myth-rewards-disabled strong {
  font-size: 11px;
}

.myth-rewards-disabled span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.myth-points-history {
  margin-top: 18px;
}

.myth-points-history h4 {
  margin: 0 0 5px;
}

#pointsHistory .order-card b {
  color: var(--green);
}

@media (max-width: 560px) {
  .myth-rewards-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .myth-points-balance {
    min-width: 76px;
  }

  .myth-points-balance strong {
    font-size: 22px;
  }

  .myth-points-progress-card,
  .myth-mission-card {
    padding: 12px;
  }

  .myth-streak-card {
    padding: 12px;
  }
}

/* =========================================================
   MYTH TOPUP MEMBER DASHBOARD
   ========================================================= */

.myth-member-dashboard {
  margin-top: 14px;
}

.myth-member-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(99,240,120,.24);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(99,240,120,.13), transparent 40%),
    linear-gradient(135deg, rgba(18,39,23,.97), rgba(8,17,11,.97));
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.myth-member-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.myth-member-hero-copy small,
.myth-member-points small,
.myth-menu-label,
.myth-dashboard-welcome small,
.myth-dashboard-stats small,
.myth-member-section-head small {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.myth-member-hero-copy strong {
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.myth-member-hero-copy > span {
  margin-top: 3px;
  color: #aebbb0;
  font-size: 11px;
  font-weight: 700;
}

.myth-member-points {
  flex: 0 0 auto;
  min-width: 82px;
  padding: 10px 12px;
  border: 1px solid rgba(99,240,120,.30);
  border-radius: 12px;
  background: rgba(7,18,10,.72);
  text-align: center;
}

.myth-member-points strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 25px;
  line-height: 1;
}

.myth-member-menu {
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(99,240,120,.16);
  border-radius: 15px;
  background: rgba(7,14,9,.92);
}

.myth-menu-label {
  display: block;
  padding: 13px 15px 8px;
}

.myth-menu-item {
  width: 100%;
  min-height: 49px;
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.055);
  border-radius: 0;
  background: transparent;
  color: #e7eee8;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.myth-menu-item:hover,
.myth-menu-item.active {
  background: rgba(99,240,120,.07);
}

.myth-menu-item.active {
  color: var(--green);
}

.myth-menu-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(99,240,120,.18);
  border-radius: 8px;
  background: rgba(99,240,120,.07);
  color: var(--green);
  font-size: 13px;
}

.myth-menu-item > b {
  color: #657168;
  font-size: 20px;
  font-weight: 400;
  text-align: right;
}

.myth-menu-logout {
  color: #ff9292;
}

.myth-menu-logout .myth-menu-icon {
  border-color: rgba(255,100,100,.18);
  background: rgba(255,100,100,.07);
  color: #ff9292;
}

.myth-member-view {
  display: none;
  margin-top: 15px;
}

.myth-member-view.active {
  display: block;
}

.myth-dashboard-welcome,
.myth-profile-note {
  padding: 15px;
  border: 1px solid rgba(99,240,120,.15);
  border-radius: 14px;
  background: rgba(8,17,10,.86);
}

.myth-dashboard-welcome h3 {
  margin: 4px 0 3px;
  color: #fff;
  font-size: 18px;
}

.myth-dashboard-welcome p,
.myth-profile-note p {
  margin-bottom: 0;
}

.myth-dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.myth-dashboard-stats button {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(99,240,120,.18);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(19,38,23,.90), rgba(8,16,10,.92));
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.myth-dashboard-stats strong {
  margin: 5px 0;
  color: var(--green);
  font-size: 25px;
}

.myth-dashboard-stats button > span:last-child {
  color: #9eaaa0;
  font-size: 9px;
  font-weight: 800;
}

.myth-member-section-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.myth-member-section-head h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 18px;
}

.myth-member-back {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(99,240,120,.20);
  border-radius: 9px;
  background: rgba(99,240,120,.07);
  color: var(--green);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* Existing Rewards card becomes a child of the dashboard. */
.myth-member-dashboard .myth-rewards-panel {
  margin-top: 0;
}

/* Profile card stays compact above the member dashboard. */
#customerProfileCard:not(.hidden) {
  margin-bottom: 12px;
}

/* Logged-in account heading is less bulky. */
#memberDashboard:not(.hidden) ~ * {
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .myth-member-dashboard {
    margin-top: 10px;
  }

  .myth-member-hero {
    padding: 13px;
  }

  .myth-member-hero-copy strong {
    font-size: 15px;
  }

  .myth-member-points {
    min-width: 70px;
    padding: 9px 10px;
  }

  .myth-member-points strong {
    font-size: 22px;
  }

  .myth-member-menu {
    margin-top: 11px;
  }

  .myth-menu-item {
    min-height: 46px;
    padding: 0 13px;
  }

  .myth-dashboard-stats button {
    min-height: 92px;
    padding: 12px;
  }

  .myth-dashboard-stats strong {
    font-size: 22px;
  }

  .myth-member-view {
    margin-top: 12px;
  }
}

/* MYTH member hamburger button */
#adminOpen:has(.myth-hamburger-icon) {
  width: 46px;
  min-width: 46px;
  height: 42px;
  padding: 8px;
  display: inline-grid;
  place-items: center;
}

.myth-hamburger-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--green);
}

/* =========================================================
   MYTH HAMBURGER MEMBER MENU
   ========================================================= */

.myth-member-menu-home {
  margin-top: 12px;
}

.myth-drawer-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px 3px 11px;
}

.myth-drawer-head small {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.myth-drawer-head strong {
  color: #fff;
  font-size: 20px;
}

.myth-profile-menu-card {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto 14px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(99,240,120,.25);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0,
      rgba(99,240,120,.12),
      transparent 42%),
    linear-gradient(135deg,
      rgba(17,37,21,.98),
      rgba(7,15,9,.98));
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
}

.myth-profile-menu-card:active {
  transform: scale(.99);
}

.myth-profile-menu-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99,240,120,.30);
  border-radius: 50%;
  background: rgba(99,240,120,.08);
  color: var(--green);
  font-size: 18px;
}

.myth-profile-menu-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.myth-profile-menu-copy small,
.myth-profile-menu-points small {
  color: #7f9283;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.myth-profile-menu-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.myth-profile-menu-copy > span {
  color: #a3aea5;
  font-size: 10px;
  font-weight: 700;
}

.myth-profile-menu-points {
  min-width: 60px;
  padding: 8px 9px;
  border: 1px solid rgba(99,240,120,.20);
  border-radius: 10px;
  background: rgba(3,11,5,.55);
  text-align: center;
}

.myth-profile-menu-points strong {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-size: 19px;
  line-height: 1;
}

.myth-profile-menu-arrow {
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
}

.myth-member-menu-home .myth-member-menu {
  margin-top: 10px;
}

/* Real Profile card lives only inside the Profile member view. */
[data-member-panel="profile"].active #customerProfileCard:not(.hidden) {
  display: flex;
}

/* Keep member screens clean when one menu item is opened. */
.myth-member-view.active {
  animation: mythMemberViewIn .16s ease-out;
}

@keyframes mythMemberViewIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .myth-profile-menu-card {
    grid-template-columns: 42px minmax(0,1fr) auto 12px;
    gap: 9px;
    padding: 11px;
  }

  .myth-profile-menu-avatar {
    width: 42px;
    height: 42px;
  }

  .myth-profile-menu-points {
    min-width: 54px;
    padding: 7px;
  }

  .myth-profile-menu-points strong {
    font-size: 17px;
  }
}

/* Logged-in member area owns its own headings. */
#customerPanel:has(#memberDashboard:not(.hidden)) > #accountEyebrow,
#customerPanel:has(#memberDashboard:not(.hidden)) > #accountTitle,
#customerPanel:has(#memberDashboard:not(.hidden)) > #accountSummary {
  display: none !important;
}

#customerPanel:has(#memberDashboard:not(.hidden)) #memberDashboard {
  margin-top: 0;
}

/* Separate MYTH Tokens from Rewards Points */
.myth-profile-menu-card {
  grid-template-columns: 48px minmax(0,1fr) auto 14px;
}

.myth-profile-menu-balances {
  display: flex;
  align-items: stretch;
  gap: 5px;
}

.myth-profile-menu-balance {
  min-width: 50px;
  padding: 7px 6px;
  border: 1px solid rgba(99,240,120,.20);
  border-radius: 9px;
  background: rgba(3,11,5,.55);
  text-align: center;
}

.myth-profile-menu-balance small {
  display: block;
  color: #7f9283;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .6px;
}

.myth-profile-menu-balance strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 420px) {
  .myth-profile-menu-card {
    grid-template-columns: 40px minmax(0,1fr) auto 10px;
    gap: 7px;
    padding: 10px;
  }

  .myth-profile-menu-avatar {
    width: 40px;
    height: 40px;
  }

  .myth-profile-menu-balances {
    gap: 4px;
  }

  .myth-profile-menu-balance {
    min-width: 43px;
    padding: 6px 4px;
  }

  .myth-profile-menu-balance small {
    font-size: 6px;
    letter-spacing: .3px;
  }

  .myth-profile-menu-balance strong {
    font-size: 15px;
  }
}


/* Profile page wallet summary */
.myth-profile-page-balances {
  margin-top: 10px;
  width: 100%;
}

.myth-profile-page-balances .myth-profile-menu-balance {
  flex: 1 1 0;
  padding: 12px 10px;
}

.myth-profile-page-balances .myth-profile-menu-balance small {
  font-size: 8px;
}

.myth-profile-page-balances .myth-profile-menu-balance strong {
  margin-top: 5px;
  font-size: 20px;
}

/* MYTH Wallet Deposit inside My Profile */
.myth-profile-deposit-button {
  width: 100%;
  margin-top: 10px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(99,240,120,.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 50%, rgba(99,240,120,.10), transparent 35%),
    rgba(3,11,5,.72);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.myth-profile-deposit-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99,240,120,.28);
  border-radius: 12px;
  background: rgba(99,240,120,.07);
  color: var(--green);
}

.myth-profile-deposit-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.myth-profile-deposit-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.myth-profile-deposit-copy small {
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.myth-profile-deposit-copy strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.myth-profile-deposit-copy span {
  color: #89988c;
  font-size: 11px;
}

.myth-profile-deposit-button > b {
  color: var(--green);
  font-size: 24px;
  font-weight: 400;
}

.myth-profile-deposit-button:active {
  transform: scale(.99);
}

/* =========================================================
   FINAL MYTH TOPUP MEMBER MENU
   Compact animated list drawer
   ========================================================= */

#adminModal.member-menu-open {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 72px 8px 8px;
}

#adminModal.member-menu-open > .modal-card {
  width: min(300px, 76vw);
  max-height: calc(100vh - 82px);
  padding: 14px 13px 10px;
  overflow-y: auto;
  border-radius: 15px;
  transform: translateX(0);
  opacity: 1;
  animation: mythMenuSlideIn .20s ease-out both;
}

#adminModal.member-menu-closing > .modal-card {
  animation: mythMenuSlideOut .18s ease-in both;
}

@keyframes mythMenuSlideIn {
  from {
    transform: translateX(105%);
    opacity: .35;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes mythMenuSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(105%);
    opacity: .25;
  }
}

#adminModal.member-menu-open #memberDashboard {
  margin-top: 0;
}

#adminModal.member-menu-open #memberMenuHome .myth-drawer-head {
  margin-bottom: 5px;
  padding: 0 30px 6px 2px;
}

#adminModal.member-menu-open #memberMenuHome .myth-drawer-head small {
  display: block;
  color: var(--green);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

#adminModal.member-menu-open #memberMenuHome .myth-drawer-head strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 19px;
  line-height: 1.1;
}

#adminModal.member-menu-open #memberMainMenu {
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-item {
  width: 100%;
  min-height: 39px;
  padding: 3px 2px;
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) 16px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-align: left;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-item:last-child {
  border-bottom: 0;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 16px;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-item > span:nth-child(2) {
  font-size: 13px;
  font-weight: 700;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-item > b {
  color: #87968a;
  font-size: 16px;
  font-weight: 400;
  text-align: right;
}

#adminModal.member-menu-open #memberMainMenu .myth-menu-item:active {
  background: rgba(99,240,120,.06);
}

#adminModal.member-menu-open #memberMainMenu #customerLogout {
  color: #ff9b90;
}

#adminModal.member-menu-open #memberMainMenu #customerLogout .myth-menu-icon {
  color: #ff9b90;
}

@media (max-width: 420px) {
  #adminModal.member-menu-open > .modal-card {
    width: min(285px, 74vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  #adminModal.member-menu-open > .modal-card,
  #adminModal.member-menu-closing > .modal-card {
    animation-duration: .01ms;
  }
}

/* =========================================================
   MYTH MEMBER REAL PAGE SHELL
   Drawer stays modal; account sections are normal pages.
   ========================================================= */

.myth-member-page-shell {
  min-height: calc(100vh - 68px);
  padding: 28px 16px 56px;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(29, 59, 37, .55) 0,
      rgba(13, 16, 14, 0) 42%
    ),
    rgba(13, 16, 14, .96);
}

.myth-member-page-shell.hidden {
  display: none !important;
}

.myth-member-page-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.myth-member-page-shell .myth-member-view {
  display: none;
  margin: 0;
}

.myth-member-page-shell .myth-member-view.active {
  display: block;
  animation: mythMemberRealPageIn .18s ease-out;
}

.myth-member-page-shell .myth-member-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
}

.myth-member-page-shell .myth-member-section-head > div {
  min-width: 0;
}

.myth-member-page-shell .myth-member-section-head small {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .16em;
}

.myth-member-page-shell .myth-member-section-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.myth-member-page-shell .myth-member-back {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(99, 240, 120, .24);
  border-radius: 11px;
  background: rgba(17, 28, 19, .88);
  color: var(--green);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.myth-member-page-shell .myth-member-back:active {
  transform: scale(.96);
}

/*
  A member page replaces the normal shop content.
  The existing site header remains visible.
*/
body.myth-member-page-active > main,
body.myth-member-page-active > footer {
  display: none !important;
}

body.myth-member-page-active {
  min-height: 100vh;
}

@keyframes mythMemberRealPageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .myth-member-page-shell {
    min-height: calc(100vh - 60px);
    padding: 20px 15px 42px;
  }

  .myth-member-page-inner {
    width: 100%;
  }

  .myth-member-page-shell .myth-member-section-head {
    margin-bottom: 18px;
    gap: 12px;
  }

  .myth-member-page-shell .myth-member-section-head h3 {
    font-size: 22px;
  }

  .myth-member-page-shell .myth-member-back {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* MYTH TOPUP: selectable Token wallet payment method */
#paymentToken {
  cursor: pointer;
  border-color: #2b3930 !important;
  background: linear-gradient(145deg, #19221b, #111712) !important;
  box-shadow: inset 0 1px 0 #ffffff05 !important;
}

#paymentToken:focus-visible {
  outline: 3px solid #63f078;
  outline-offset: 3px;
}

#paymentToken.is-selected {
  border-color: #43e984 !important;
  background: radial-gradient(ellipse at top left, rgba(35,196,92,.20), transparent 70%), linear-gradient(135deg, #14271b, #101b14) !important;
  box-shadow: 0 0 0 1px rgba(67,236,128,.12), 0 0 22px rgba(40,220,100,.07), inset 0 0 22px rgba(40,220,100,.035) !important;
}

#paymentToken .payment-status .status-dot {
  background: #22c55e;
}

.payment-logo.logo-token {
  font-weight: 900;
  color: #63f078;
}

/* MYTH Token official icon */
.payment-logo.logo-token {
  padding: 5px !important;
  overflow: hidden !important;
  background: #f7faf8 !important;
}

.payment-logo.logo-token img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* MYTH Token icon beside Profile TOKENS label */
.myth-token-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.myth-token-label img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  object-fit: contain;
}

/* Profile MYTH Token icon — green on dark background */
.myth-token-label img {
  filter: invert(73%) sepia(82%) saturate(484%) hue-rotate(77deg) brightness(101%) contrast(91%);
}


/* MYTH Token currency prefix for package and checkout amounts */
.myth-token-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  vertical-align: middle;
}

.myth-token-currency img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  object-fit: contain;
  filter: invert(73%) sepia(82%) saturate(484%) hue-rotate(77deg) brightness(101%) contrast(91%);
}

.package .myth-token-currency {
  justify-content: flex-start;
}

#selectedPrice .myth-token-currency,
#reviewTotal .myth-token-currency {
  justify-content: flex-end;
}

.result .myth-token-currency {
  margin: 0 2px;
}

/* =========================================================
   MYTH TOKEN WALLET DEPOSIT
   ========================================================= */

.myth-token-deposit-card,
.myth-token-deposit-return {
  padding: 18px;
  border: 1px solid rgba(99,240,120,.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(99,240,120,.08), transparent 34%),
    rgba(5,13,7,.88);
}

.myth-token-deposit-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(99,240,120,.13);
}

.myth-token-deposit-balance small {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.myth-token-deposit-balance > span {
  padding: 6px 9px;
  border: 1px solid rgba(99,240,120,.22);
  border-radius: 999px;
  color: #a7b4aa;
  font-size: 10px;
}

.myth-token-deposit-balance-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 25px;
}

.myth-token-deposit-balance-value img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: invert(73%) sepia(82%) saturate(484%) hue-rotate(77deg) brightness(101%) contrast(91%);
}

.myth-token-deposit-label {
  display: block;
  margin-bottom: 8px;
  color: #d9e3db;
  font-size: 12px;
  font-weight: 700;
}

.myth-token-deposit-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #344338;
  border-radius: 12px;
  background: #090e0a;
}

.myth-token-deposit-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(99,240,120,.08);
}

.myth-token-deposit-input-wrap img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  filter: invert(73%) sepia(82%) saturate(484%) hue-rotate(77deg) brightness(101%) contrast(91%);
}

.myth-token-deposit-input-wrap input {
  margin: 0;
  padding: 14px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
}

.myth-token-deposit-input-wrap input:focus {
  border: 0;
}

#tokenDepositHint {
  margin: 8px 0 16px;
}

.myth-token-deposit-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  margin: 16px 0;
  padding: 15px;
  border: 1px solid rgba(99,240,120,.14);
  border-radius: 13px;
  background: rgba(3,9,4,.62);
  font-size: 13px;
}

.myth-token-deposit-summary > span {
  color: #94a198;
}

.myth-token-deposit-summary > strong {
  text-align: right;
  color: #fff;
}

.myth-token-deposit-security {
  margin: 15px 0;
  padding: 13px;
  border: 1px solid rgba(99,240,120,.15);
  border-radius: 12px;
  background: rgba(99,240,120,.045);
}

.myth-token-deposit-security strong {
  color: #dfffe4;
  font-size: 12px;
}

.myth-token-deposit-security p {
  margin: 5px 0 0;
  color: #91a095;
  font-size: 11px;
  line-height: 1.5;
}

.myth-token-deposit-submit {
  min-height: 52px;
  margin-top: 4px;
}

.myth-token-deposit-message {
  min-height: 18px;
  margin: 10px 0 0;
  text-align: center;
}

.myth-token-deposit-return {
  margin-top: 14px;
}

.myth-token-deposit-return > small {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.myth-token-deposit-return h4 {
  margin: 7px 0 5px;
  color: #fff;
  font-size: 19px;
}

.myth-token-deposit-return-details {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 16px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(99,240,120,.13);
  font-size: 12px;
}

.myth-token-deposit-return-details span {
  color: #8f9d92;
}

.myth-token-deposit-return-details strong {
  max-width: 210px;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .myth-token-deposit-card,
  .myth-token-deposit-return {
    padding: 15px;
  }

  .myth-token-deposit-balance-value {
    font-size: 22px;
  }
}

/* === MYTH REFERRAL MEMBER PAGE === */

.myth-referral-page {
  display: grid;
  gap: 16px;
  width: 100%;
}

.myth-referral-hero,
.myth-referral-progress-card,
.myth-referral-link-card,
.myth-referral-rule-card,
.myth-referral-list-card,
.myth-referral-reward-card {
  border: 1px solid rgba(91, 211, 255, .16);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(11, 27, 48, .96),
      rgba(7, 18, 34, .98)
    );
  box-shadow:
    0 14px 36px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .03);
}

.myth-referral-hero {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.myth-referral-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(54, 204, 255, .09);
  filter: blur(4px);
  pointer-events: none;
}

.myth-referral-hero small,
.myth-referral-link-card > small,
.myth-referral-reward-card > small,
.myth-referral-progress-head small,
.myth-referral-list-head small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #58d8ff;
}

.myth-referral-hero h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.15;
}

.myth-referral-hero p {
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

.myth-referral-progress-card {
  padding: 18px;
}

.myth-referral-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.myth-referral-progress-head strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.myth-referral-status {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .045);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.myth-referral-status[data-status="UNLOCKED"] {
  border-color: rgba(74, 222, 128, .38);
  background: rgba(74, 222, 128, .1);
  color: #86efac;
}

.myth-referral-status[data-status="CLAIMED"] {
  border-color: rgba(250, 204, 21, .36);
  background: rgba(250, 204, 21, .09);
  color: #fde047;
}

.myth-referral-status[data-status="FULFILLED"] {
  border-color: rgba(56, 189, 248, .4);
  background: rgba(56, 189, 248, .1);
  color: #7dd3fc;
}

.myth-referral-status[data-status="CANCELLED"] {
  border-color: rgba(248, 113, 113, .35);
  background: rgba(248, 113, 113, .08);
  color: #fca5a5;
}

.myth-referral-progress-track {
  width: 100%;
  height: 10px;
  margin: 18px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

#referralProgressBar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #11b9f4,
      #68e7ff
    );
  box-shadow: 0 0 18px rgba(61, 211, 255, .34);
  transition: width .35s ease;
}

#referralRemainingText {
  margin: 0;
}

.myth-referral-link-card {
  padding: 18px;
}

.myth-referral-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.myth-referral-link-row input {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(90, 211, 255, .18);
  border-radius: 12px;
  background: rgba(1, 11, 24, .72);
  padding: 12px 13px;
  color: inherit;
  font-size: 13px;
}

.myth-referral-link-row button {
  min-width: 82px;
  border-radius: 12px;
}

.myth-referral-link-card p {
  margin: 10px 0 0;
}

#referralCode {
  color: #79ddff;
}

.myth-referral-rule-card {
  padding: 18px;
}

.myth-referral-rule-card h4,
.myth-referral-list-head h4 {
  margin: 0;
}

.myth-referral-rule {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

.myth-referral-rule > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(74, 211, 255, .24);
  border-radius: 50%;
  background: rgba(40, 192, 255, .08);
  color: #72ddff;
  font-size: 12px;
  font-weight: 900;
}

.myth-referral-rule p {
  margin: 5px 0 0;
  line-height: 1.5;
}

.myth-referral-list-card {
  padding: 18px;
}

.myth-referral-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

#referralQualifiedBadge {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(60, 204, 255, .08);
  color: #70dbff;
  font-size: 12px;
}

#referralQualifiedList {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.myth-referral-qualified-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.myth-referral-qualified-item > div {
  min-width: 0;
}

.myth-referral-qualified-item strong,
.myth-referral-qualified-item span,
.myth-referral-qualified-item small,
.myth-referral-qualified-item b {
  display: block;
}

.myth-referral-qualified-item span,
.myth-referral-qualified-item small {
  margin-top: 3px;
  font-size: 11px;
  opacity: .75;
}

.myth-referral-qualified-item > div:last-child {
  text-align: right;
}

.myth-referral-qualified-item b {
  color: #86efac;
  font-size: 10px;
  letter-spacing: .08em;
}

.myth-referral-reward-card {
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(55, 208, 255, .14),
      transparent 48%
    ),
    linear-gradient(
      145deg,
      rgba(11, 27, 48, .98),
      rgba(7, 18, 34, .99)
    );
}

.myth-referral-reward-card > strong {
  display: block;
  margin: 7px 0;
  font-size: clamp(24px, 7vw, 34px);
  letter-spacing: .025em;
  color: #86e6ff;
}

.myth-referral-reward-card p {
  margin: 0;
}

#referralPageMessage {
  min-height: 18px;
  margin: 0;
  text-align: center;
}

@media (max-width: 560px) {
  .myth-referral-hero,
  .myth-referral-progress-card,
  .myth-referral-link-card,
  .myth-referral-rule-card,
  .myth-referral-list-card,
  .myth-referral-reward-card {
    border-radius: 15px;
  }

  .myth-referral-link-row {
    grid-template-columns: 1fr;
  }

  .myth-referral-link-row button {
    width: 100%;
  }

  .myth-referral-progress-head {
    align-items: flex-start;
  }

  .myth-referral-qualified-item {
    align-items: flex-start;
  }
}

/* === MYTH REFERRAL CLAIM FORM === */

.myth-referral-claim-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: left;
}

.myth-referral-claim-form.hidden {
  display: none !important;
}

.myth-referral-claim-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(235, 247, 252, .86);
}

.myth-referral-claim-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  border: 1px solid rgba(89, 213, 255, .2);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(2, 12, 25, .76);
  color: #f3fbff;
  font: inherit;
  outline: none;
}

.myth-referral-claim-form input:focus {
  border-color: rgba(92, 221, 255, .62);
  box-shadow: 0 0 0 3px rgba(56, 195, 255, .08);
}

.myth-referral-claim-form button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.myth-referral-claim-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

#referralClaimMessage {
  min-height: 18px;
  margin: 0;
  text-align: center;
  line-height: 1.45;
}


/* === MYTH REFERRAL CYCLE TIMER === */

.myth-referral-cycle-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.myth-referral-cycle-meta > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(91, 211, 255, .15);
  border-radius: 13px;
  background: rgba(3, 15, 29, .58);
}

.myth-referral-cycle-meta small {
  display: block;
  margin-bottom: 6px;
  color: rgba(196, 226, 239, .66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.myth-referral-cycle-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: #eafaff;
  font-size: 14px;
  line-height: 1.3;
}

#referralCycleCountdown {
  color: #67dcff;
  font-variant-numeric: tabular-nums;
}

#referralCycleWindow {
  margin: 11px 0 0;
  line-height: 1.5;
}

#copyReferralLink:disabled {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .myth-referral-cycle-meta {
    grid-template-columns: 1fr;
  }
}


/* CUSTOMER CONVENIENCE FINAL CSS V1 */

.myth-saved-checkout {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid #2e4332;
  border-radius: 14px;
  background: linear-gradient(145deg,#152019,#101511);
}

.myth-saved-checkout-head small {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.myth-saved-checkout-head strong {
  display: block;
  margin-top: 4px;
}

.myth-saved-checkout-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.myth-saved-checkout-controls select {
  margin: 0;
}

.myth-inline-action {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.package-card-wrap {
  position: relative;
  min-width: 0;
}

.package-card-wrap .package {
  width: 100%;
  height: 100%;
}

.package-favorite {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #415143;
  border-radius: 50%;
  background: #101711ee;
  color: #d1dbd2;
  font-size: 19px;
  cursor: pointer;
}

.package-favorite.is-favorite {
  color: #ffe36f;
  border-color: #74652c;
  background: #282310;
}

.package-selection .package.active::after {
  left: 9px;
  right: auto;
}

.package-selection .package strong {
  padding-left: 29px;
  padding-right: 34px;
}

.myth-favorite-title {
  color: #ffe36f;
}

.myth-saved-account-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid #303d32;
  border-radius: 15px;
  background: linear-gradient(145deg,#182019,#111612);
}

.myth-saved-account-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.myth-saved-account-head small {
  display: block;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.myth-saved-account-head strong {
  display: block;
  margin-top: 4px;
}

.myth-default-badge {
  align-self: start;
  padding: 5px 7px;
  border: 1px solid #3d6847;
  border-radius: 999px;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.myth-account-ids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.myth-account-ids span {
  padding: 10px;
  border: 1px solid #29342b;
  border-radius: 10px;
  background: #0e130f;
}

.myth-account-ids small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.myth-account-ids b {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.myth-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.myth-account-actions button {
  width: 100%;
}

.myth-danger-action {
  border-color: #623934 !important;
  color: #ffc1b6 !important;
}

.myth-account-add-button {
  width: 100%;
}

.myth-order-card {
  display: grid;
  gap: 10px;
}

.myth-order-main {
  display: grid;
  gap: 4px;
}

.myth-order-main > b {
  color: var(--green);
}

.myth-order-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.myth-reorder-button {
  width: 100%;
  min-height: 42px;
}

@media(max-width:560px) {
  .myth-saved-checkout-controls {
    grid-template-columns: 1fr;
  }
}

@media(max-width:360px) {
  .myth-account-ids,
  .myth-account-actions {
    grid-template-columns: 1fr;
  }
}

/* END CUSTOMER CONVENIENCE FINAL CSS V1 */

/* MYTH COMPACT CHECKOUT MODAL START */

/* Keep the existing modal behavior — size only */
#checkoutReview > * {
  width: calc(100% - 40px) !important;
  max-width: 500px !important;

  max-height: 82dvh !important;
  overflow-y: auto !important;

  padding: 18px 20px !important;
  border-radius: 20px !important;
}

/* Small top label */
#checkoutReview #checkoutReviewStepLabel {
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
  margin-bottom: 5px !important;
}

/* Main title */
#checkoutReview h2 {
  font-size: 1.75rem !important;
  line-height: 1.1 !important;
  margin: 3px 0 10px !important;
}

/* Intro text */
#checkoutReview h2 + p {
  font-size: 0.94rem !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}

/* Player / server / contact / package / payment / total */
#checkoutReview .review-row {
  min-height: 0 !important;
  padding: 9px 0 !important;
  gap: 12px !important;
}

#checkoutReview .review-row span {
  font-size: 0.94rem !important;
}

#checkoutReview .review-row strong {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  max-width: 68% !important;
}

/* Payment explanation */
#checkoutReview #reviewPaymentNote {
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
  margin: 10px 0 !important;
}

/* Buttons */
#checkoutReview #continueToPayment,
#checkoutReview #editCheckoutDetails {
  min-height: 48px !important;
  padding: 11px 14px !important;
  margin-top: 9px !important;

  font-size: 0.95rem !important;
  border-radius: 13px !important;
}

/* Smaller X */
#checkoutReview #closeCheckoutReview {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;

  font-size: 1.5rem !important;
}

/* Extra compact for phones */
@media (max-width: 600px) {
  #checkoutReview > * {
    width: calc(100% - 30px) !important;
    max-width: 460px !important;
    max-height: 80dvh !important;

    padding: 15px 17px !important;
    border-radius: 18px !important;
  }

  #checkoutReview h2 {
    font-size: 1.55rem !important;
  }

  #checkoutReview .review-row {
    padding: 8px 0 !important;
  }

  #checkoutReview .review-row span {
    font-size: 0.9rem !important;
  }

  #checkoutReview .review-row strong {
    font-size: 0.96rem !important;
  }

  #checkoutReview #continueToPayment,
  #checkoutReview #editCheckoutDetails {
    min-height: 46px !important;
  }
}

/* MYTH COMPACT CHECKOUT MODAL END */


/* MYTH SUPPORT CENTER UI V1 */

.myth-support-page{
  display:grid;
  gap:18px;
}

.myth-support-create,
.myth-support-detail{
  padding:18px;
  border:1px solid #314538;
  border-radius:20px;
  background:rgba(15,25,18,.96);
}

.myth-support-create h4,
.myth-support-list-head h4,
.myth-support-detail h4{
  margin:4px 0 12px;
}

.myth-support-create form,
.myth-support-reply{
  display:grid;
  gap:12px;
}

.myth-support-create label,
.myth-support-reply label{
  display:grid;
  gap:7px;
}

.myth-support-create input,
.myth-support-create select,
.myth-support-create textarea,
.myth-support-reply textarea{
  width:100%;
  box-sizing:border-box;
  padding:12px 13px;
  border:1px solid #35483b;
  border-radius:13px;
  background:#09100c;
  color:#f4f8f5;
  font:inherit;
}

.myth-support-list-head,
.myth-support-detail-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

#supportTicketList{
  display:grid;
  gap:10px;
}

.myth-support-ticket{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  text-align:left;
  padding:14px;
  border:1px solid #304438;
  border-radius:16px;
  background:#111c15;
  color:#eef5ef;
}

.myth-support-ticket-main{
  min-width:0;
  display:grid;
  gap:5px;
}

.myth-support-ticket-main small,
.myth-support-ticket-main span,
.myth-support-ticket-side small{
  color:#9fad9f;
}

.myth-support-ticket-main span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.myth-support-ticket-side{
  display:grid;
  align-content:start;
  justify-items:end;
  gap:7px;
}

.myth-support-ticket-side b{
  color:#6ced89;
  font-size:.82rem;
}

.myth-support-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 16px;
}

.myth-support-meta span,
.myth-support-meta strong{
  padding:6px 9px;
  border-radius:20px;
  background:#16251b;
  font-size:.82rem;
}

.myth-support-meta strong{
  color:#6ced89;
}

.myth-support-thread{
  display:grid;
  gap:10px;
  margin:14px 0;
}

.myth-support-message{
  padding:12px 14px;
  border-radius:15px;
  background:#121d16;
  border:1px solid #2f4136;
}

.myth-support-message.is-admin{
  border-color:#377b49;
  background:#122b1a;
}

.myth-support-message.is-system{
  border-style:dashed;
}

.myth-support-message small{
  color:#91a397;
  font-size:.75rem;
}

.myth-support-message p{
  margin:6px 0 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.myth-support-closed-note{
  padding:12px;
  border-radius:12px;
  background:#221917;
  color:#e9b3aa;
}

@media(max-width:600px){
  .myth-support-ticket{
    grid-template-columns:1fr;
  }

  .myth-support-ticket-side{
    justify-items:start;
  }
}


/* DIGITAL RECEIPTS CUSTOMER UI V1 */

.myth-order-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:12px;
}

.myth-receipt-button{
  border-color:#2f7650;
}

.myth-receipt-modal{
  position:fixed;
  inset:0;
  z-index:12000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(2,7,5,.82);
  backdrop-filter:blur(8px);
}

.myth-receipt-modal.hidden{
  display:none;
}

.myth-receipt-shell{
  width:min(100%,620px);
  max-height:92vh;
  overflow:auto;
  padding:18px;
  border:1px solid #315438;
  border-radius:22px;
  background:#101712;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
}

.myth-receipt-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.myth-receipt-modal-head small{
  color:#63f078;
  font-weight:800;
  letter-spacing:.09em;
}

.myth-receipt-modal-head h2{
  margin:3px 0 0;
}

.myth-receipt-close{
  width:38px;
  min-width:38px;
  height:38px;
  padding:0;
  border-radius:50%;
  font-size:1.45rem;
}

.myth-receipt-card{
  overflow:hidden;
  border:1px solid #315438;
  border-radius:20px;
  background:
    linear-gradient(
      180deg,
      rgba(31,56,38,.96),
      rgba(13,20,16,.98)
    );
}

.myth-receipt-brand{
  padding:22px 20px 18px;
  text-align:center;
  border-bottom:1px dashed #42634a;
}

.myth-receipt-logo{
  margin-bottom:4px;
  font-size:1.55rem;
  font-weight:900;
  letter-spacing:.04em;
}

.myth-receipt-logo span{
  color:#63f078;
}

.myth-receipt-brand small{
  color:#afc7b5;
  letter-spacing:.08em;
}

.myth-receipt-official{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  padding:6px 10px;
  border:1px solid rgba(99,240,120,.38);
  border-radius:999px;
  background:rgba(99,240,120,.10);
  color:#77f58b;
  font-size:.78rem;
  font-weight:800;
}

.myth-receipt-summary{
  padding:18px;
  border-bottom:1px solid #2d4433;
}

.myth-receipt-code{
  display:block;
  margin-bottom:6px;
  color:#9bb2a0;
  font-size:.78rem;
}

.myth-receipt-summary strong{
  display:block;
  font-size:1.05rem;
  overflow-wrap:anywhere;
}

.myth-receipt-amount{
  margin-top:8px;
  color:#63f078;
  font-size:1.65rem;
  font-weight:900;
}

.myth-receipt-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  padding:6px 18px;
}

.myth-receipt-row{
  padding:12px 4px;
  border-bottom:1px solid rgba(74,103,80,.38);
}

.myth-receipt-row:nth-last-child(-n+2){
  border-bottom:0;
}

.myth-receipt-row small{
  display:block;
  margin-bottom:4px;
  color:#879d8c;
  font-size:.75rem;
}

.myth-receipt-row strong{
  display:block;
  color:#eff7f0;
  font-size:.9rem;
  overflow-wrap:anywhere;
}

.myth-receipt-footer{
  padding:16px 18px 18px;
  text-align:center;
  color:#8da092;
  font-size:.76rem;
}

.myth-receipt-footer b{
  color:#c6d6ca;
}

.myth-receipt-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin-top:14px;
}

@media(max-width:600px){
  .myth-receipt-shell{
    padding:14px;
    border-radius:17px;
  }

  .myth-receipt-grid{
    grid-template-columns:1fr;
  }

  .myth-receipt-row:nth-last-child(-n+2){
    border-bottom:1px solid rgba(74,103,80,.38);
  }

  .myth-receipt-row:last-child{
    border-bottom:0;
  }

  .myth-receipt-actions{
    grid-template-columns:1fr;
  }
}

@media print{
  body.myth-print-receipt{
    background:#fff !important;
  }

  body.myth-print-receipt > *:not(#receiptModal){
    display:none !important;
  }

  body.myth-print-receipt #receiptModal{
    position:static !important;
    display:block !important;
    padding:0 !important;
    background:#fff !important;
    backdrop-filter:none !important;
  }

  body.myth-print-receipt .myth-receipt-shell{
    width:100% !important;
    max-width:none !important;
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow:none !important;
  }

  body.myth-print-receipt .myth-receipt-modal-head,
  body.myth-print-receipt .myth-receipt-actions{
    display:none !important;
  }

  body.myth-print-receipt .myth-receipt-card{
    border:1px solid #bbb !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#111 !important;
  }

  body.myth-print-receipt .myth-receipt-brand{
    border-color:#bbb !important;
  }

  body.myth-print-receipt .myth-receipt-logo,
  body.myth-print-receipt .myth-receipt-logo span,
  body.myth-print-receipt .myth-receipt-summary strong,
  body.myth-print-receipt .myth-receipt-row strong,
  body.myth-print-receipt .myth-receipt-footer b{
    color:#111 !important;
  }

  body.myth-print-receipt .myth-receipt-brand small,
  body.myth-print-receipt .myth-receipt-code,
  body.myth-print-receipt .myth-receipt-row small,
  body.myth-print-receipt .myth-receipt-footer{
    color:#555 !important;
  }

  body.myth-print-receipt .myth-receipt-official{
    color:#111 !important;
    border-color:#777 !important;
    background:#f1f1f1 !important;
  }

  body.myth-print-receipt .myth-receipt-amount{
    color:#111 !important;
  }

  body.myth-print-receipt .myth-receipt-row{
    border-color:#ddd !important;
  }
}

/* END DIGITAL RECEIPTS CUSTOMER UI V1 */


/* DIGITAL RECEIPT SINGLE PAGE PRINT FIX V1 */
@media print {
  @page {
    size: auto;
    margin: 10mm;
  }

  html,
  body.myth-print-receipt {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.myth-print-receipt::before,
  body.myth-print-receipt::after {
    display: none !important;
    content: none !important;
  }

  body.myth-print-receipt #receiptModal {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    break-after: avoid !important;
    page-break-after: avoid !important;
  }

  body.myth-print-receipt .myth-receipt-shell,
  body.myth-print-receipt #receiptPrintArea,
  body.myth-print-receipt .myth-receipt-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    break-after: avoid !important;
    page-break-after: avoid !important;
  }

  body.myth-print-receipt .myth-receipt-card {
    margin: 0 !important;
  }
}
/* END DIGITAL RECEIPT SINGLE PAGE PRINT FIX V1 */


/* MYTH DIGITAL RECEIPT BRAND V2 */

.myth-receipt-card{
  position:relative;
  isolation:isolate;
  border:1px solid rgba(70,239,112,.55);
  background:
    radial-gradient(
      circle at 50% -12%,
      rgba(42,225,101,.20),
      transparent 38%
    ),
    radial-gradient(
      circle at 100% 22%,
      rgba(22,145,74,.14),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #112719 0%,
      #0b1c12 42%,
      #07130c 100%
    );
  box-shadow:
    inset 0 0 34px rgba(46,224,102,.07),
    0 18px 46px rgba(0,0,0,.34);
}

.myth-receipt-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.48;
  background:
    linear-gradient(
      135deg,
      transparent 0 7%,
      rgba(70,239,112,.05) 7.2% 7.5%,
      transparent 7.8% 100%
    );
}

.myth-receipt-brand{
  position:relative;
  padding:22px 20px 20px;
  border-bottom:1px dashed rgba(91,232,127,.34);
  background:
    linear-gradient(
      180deg,
      rgba(26,72,42,.34),
      rgba(9,27,16,.04)
    );
}

.myth-receipt-brand-lockup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.myth-receipt-brand-image{
  display:block;
  width:82px;
  height:82px;
  object-fit:contain;
  filter:
    drop-shadow(0 0 8px rgba(54,236,101,.32))
    drop-shadow(0 5px 14px rgba(0,0,0,.36));
}

.myth-receipt-brand-copy{
  text-align:left;
}

.myth-receipt-logo{
  margin:0;
  color:#f4f8f4;
  font-size:1.68rem;
  font-weight:900;
  letter-spacing:.055em;
  line-height:1.05;
}

.myth-receipt-logo span{
  color:#59ef77;
  text-shadow:0 0 18px rgba(72,236,111,.20);
}

.myth-receipt-brand-copy small{
  display:block;
  margin-top:7px;
  color:#adbbb0;
  font-size:.76rem;
  letter-spacing:.24em;
}

.myth-receipt-official{
  margin-top:15px;
  border:1px solid rgba(82,241,121,.55);
  background:
    linear-gradient(
      180deg,
      rgba(68,233,108,.12),
      rgba(44,154,76,.07)
    );
  color:#69f488;
  box-shadow:
    inset 0 0 16px rgba(67,239,111,.05),
    0 0 18px rgba(67,239,111,.05);
}

.myth-receipt-summary{
  position:relative;
  margin:16px 16px 0;
  padding:18px;
  border:1px solid rgba(76,228,111,.34);
  border-radius:16px;
  background:
    linear-gradient(
      135deg,
      rgba(18,54,31,.92),
      rgba(7,24,14,.92)
    );
  box-shadow:inset 0 0 22px rgba(65,233,105,.035);
}

.myth-receipt-code{
  color:#84c893;
  letter-spacing:.04em;
}

.myth-receipt-summary strong{
  color:#f3f7f3;
}

.myth-receipt-amount{
  color:#58ef78;
  font-size:1.85rem;
  text-shadow:0 0 18px rgba(66,236,105,.11);
}

.myth-receipt-grid{
  margin:14px 16px 0;
  padding:4px 14px;
  border:1px solid rgba(76,228,111,.22);
  border-radius:16px;
  background:rgba(4,18,10,.40);
}

.myth-receipt-row{
  padding:13px 7px;
  border-bottom-color:rgba(93,163,108,.26);
}

.myth-receipt-row small{
  color:#7fab89;
}

.myth-receipt-row strong{
  color:#f0f6f1;
}

.myth-receipt-footer{
  margin:14px 16px 16px;
  padding:17px 15px;
  border:1px solid rgba(73,215,106,.16);
  border-radius:15px;
  background:#041109;
  color:#829888;
  letter-spacing:.055em;
}

.myth-receipt-footer b{
  color:#69ee86;
  letter-spacing:.22em;
}

@media(max-width:600px){
  .myth-receipt-brand-lockup{
    gap:11px;
  }

  .myth-receipt-brand-image{
    width:68px;
    height:68px;
  }

  .myth-receipt-logo{
    font-size:1.42rem;
  }

  .myth-receipt-brand-copy small{
    font-size:.68rem;
    letter-spacing:.17em;
  }

  .myth-receipt-summary,
  .myth-receipt-grid,
  .myth-receipt-footer{
    margin-left:12px;
    margin-right:12px;
  }
}


/* Preserve MYTH branding in Android Save-as-PDF */
@media print{

  html,
  body.myth-print-receipt,
  body.myth-print-receipt #receiptModal,
  body.myth-print-receipt .myth-receipt-shell,
  body.myth-print-receipt #receiptPrintArea,
  body.myth-print-receipt .myth-receipt-card,
  body.myth-print-receipt .myth-receipt-card *{
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  body.myth-print-receipt .myth-receipt-card{
    border:1px solid #33c963 !important;
    background:
      radial-gradient(
        circle at 50% -12%,
        rgba(42,225,101,.20),
        transparent 38%
      ),
      linear-gradient(
        180deg,
        #112719 0%,
        #0b1c12 42%,
        #07130c 100%
      ) !important;
    color:#f2f7f3 !important;
  }

  body.myth-print-receipt .myth-receipt-brand{
    border-color:rgba(91,232,127,.38) !important;
    background:
      linear-gradient(
        180deg,
        rgba(26,72,42,.55),
        rgba(9,27,16,.16)
      ) !important;
  }

  body.myth-print-receipt .myth-receipt-brand-image{
    display:block !important;
    width:70px !important;
    height:70px !important;
  }

  body.myth-print-receipt .myth-receipt-logo{
    color:#ffffff !important;
  }

  body.myth-print-receipt .myth-receipt-logo span{
    color:#4fe879 !important;
  }

  body.myth-print-receipt .myth-receipt-brand-copy small{
    color:#aebbb1 !important;
  }

  body.myth-print-receipt .myth-receipt-official{
    color:#55ea7b !important;
    border-color:#45d970 !important;
    background:rgba(62,198,95,.12) !important;
  }

  body.myth-print-receipt .myth-receipt-summary{
    border-color:#2ea953 !important;
    background:#0b2414 !important;
  }

  body.myth-print-receipt .myth-receipt-code{
    color:#81bd8e !important;
  }

  body.myth-print-receipt .myth-receipt-summary strong,
  body.myth-print-receipt .myth-receipt-row strong{
    color:#f7faf7 !important;
  }

  body.myth-print-receipt .myth-receipt-amount{
    color:#4ee875 !important;
  }

  body.myth-print-receipt .myth-receipt-grid{
    border-color:#226f39 !important;
    background:#07180e !important;
  }

  body.myth-print-receipt .myth-receipt-row{
    border-color:#234c2f !important;
  }

  body.myth-print-receipt .myth-receipt-row small{
    color:#83a28a !important;
  }

  body.myth-print-receipt .myth-receipt-footer{
    border-color:#1e5730 !important;
    background:#031008 !important;
    color:#889d8e !important;
  }

  body.myth-print-receipt .myth-receipt-footer b{
    color:#4ee875 !important;
  }
}

/* END MYTH DIGITAL RECEIPT BRAND V2 */


/* PROMO_CHECKOUT_STYLE_V1 */

.checkout-promo-box{
  margin:14px 0 12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}

.checkout-promo-box > label{
  display:block;
  margin-bottom:8px;
  font-weight:800;
}

.checkout-promo-controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.checkout-promo-controls input{
  flex:1 1 180px;
  min-width:0;
  text-transform:uppercase;
}

.checkout-promo-controls button{
  flex:0 0 auto;
}

#promoCodeMessage{
  display:block;
  margin-top:8px;
  min-height:18px;
}

#reviewOriginalTotal{
  opacity:.8;
}

#reviewDiscount{
  font-weight:900;
}

#reviewDiscountRow strong{
  font-weight:900;
}

@media(max-width:520px){
  .checkout-promo-controls{
    align-items:stretch;
  }

  .checkout-promo-controls input{
    flex:1 1 100%;
    width:100%;
  }

  .checkout-promo-controls button{
    flex:1 1 auto;
  }
}

/* END PROMO_CHECKOUT_STYLE_V1 */


/* MYTH_LEGAL_FOOTER_STYLE_V1 */

.myth-legal-footer{
  width:100%;
  margin-top:35px;
  padding:
    18px
    16px
    calc(18px + env(safe-area-inset-bottom));
  border-top:
    1px solid rgba(53,255,107,.12);
  background:
    rgba(2,11,6,.92);
  color:#718078;
  font-size:11px;
}

.myth-legal-footer__inner{
  width:min(1100px,100%);
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.myth-legal-footer nav{
  display:flex;
  align-items:center;
  gap:16px;
}

.myth-legal-footer a{
  color:#a8b8ae;
  text-decoration:none;
  font-weight:750;
}

.myth-legal-footer a:hover,
.myth-legal-footer a:focus-visible{
  color:#4cff7b;
  text-decoration:underline;
}

@media(max-width:600px){
  .myth-legal-footer__inner{
    flex-direction:column;
    text-align:center;
  }

  .myth-legal-footer nav{
    justify-content:center;
    flex-wrap:wrap;
  }
}

/* END MYTH_LEGAL_FOOTER_STYLE_V1 */

/* MYTH_LEGAL_CONSENT_STYLE_V2 */

.myth-legal-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  margin:12px 0;
  padding:12px 14px;
  border:1px solid rgba(65,255,113,.20);
  border-radius:12px;
  background:rgba(7,25,13,.72);
  color:#aab8ae;
  font-size:12px;
  line-height:1.5;
  cursor:pointer;
}

.myth-legal-consent input{
  width:18px;
  height:18px;
  min-width:18px;
  flex:0 0 18px;
  margin:1px 0 0;
  accent-color:#2fcf65;
  cursor:pointer;
}

.myth-legal-consent span{
  min-width:0;
}

.myth-legal-consent a{
  color:#54ff83;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}

.myth-legal-consent a:hover,
.myth-legal-consent a:focus-visible{
  color:#8affaa;
}

.myth-token-legal-consent{
  margin-top:14px;
}

/* END MYTH_LEGAL_CONSENT_STYLE_V2 */


/* MULTI_GAME_DRAWER_STYLE_V1 */

.myth-game-drawer-open {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(89,233,124,.28);
  border-radius: 13px;
  background: rgba(19,35,26,.92);
  color: #eaf5ec;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.myth-game-drawer-open:hover {
  border-color: #59e97c;
}

.myth-game-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8998;
  background: rgba(0,0,0,.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.myth-game-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.myth-game-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8999;

  width: min(88vw, 390px);
  height: 100dvh;

  padding: 22px 18px 28px;

  overflow-y: auto;

  border-right:
    1px solid rgba(89,233,124,.24);

  background:
    linear-gradient(
      180deg,
      #07140c 0%,
      #08170e 48%,
      #050b07 100%
    );

  box-shadow:
    22px 0 60px rgba(0,0,0,.52);

  transform: translateX(-105%);

  transition:
    transform .24s ease;
}

.myth-game-drawer.open {
  transform: translateX(0);
}

.myth-game-drawer-open-body {
  overflow: hidden;
}

.myth-game-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.myth-game-drawer-head small {
  display: block;
  margin-bottom: 3px;
  color: #59e97c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.myth-game-drawer-head h2 {
  margin: 0;
  font-size: 27px;
  color: #f5faf6;
}

#gameDrawerClose {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border: 1px solid #31483a;
  border-radius: 50%;

  background: #142219;
  color: #f3f8f4;

  font-size: 29px;
  line-height: 1;
}

.myth-game-drawer-copy {
  margin:
    0 0 20px;

  color: #8ea195;
  line-height: 1.5;
}

.myth-game-drawer-list {
  display: grid;
  gap: 11px;
}

.myth-game-choice {
  width: 100%;

  display: grid;
  grid-template-columns:
    44px minmax(0,1fr) 24px;

  align-items: center;
  gap: 12px;

  padding: 14px;

  border: 1px solid #294032;
  border-radius: 17px;

  background: #101c14;
  color: #e9f1eb;

  text-align: left;
}

.myth-game-choice.active {
  border-color: #59e97c;

  background:
    linear-gradient(
      135deg,
      rgba(29,75,42,.9),
      rgba(13,35,21,.96)
    );

  box-shadow:
    0 0 0 1px
    rgba(89,233,124,.11);
}

.myth-game-choice-icon {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  border-radius: 13px;

  background: #071009;

  font-size: 23px;
}

.myth-game-choice-copy {
  min-width: 0;
}

.myth-game-choice-copy strong {
  display: block;

  overflow: hidden;

  color: #f4faf5;

  font-size: 16px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.myth-game-choice-copy small {
  display: block;
  margin-top: 4px;

  color: #8fa097;
  font-size: 12px;
}

.myth-game-choice-check {
  color: #59e97c;
  font-size: 22px;
  font-weight: 800;
}

.myth-active-game-bar {
  width:
    min(calc(100% - 28px), 1100px);

  margin:
    18px auto 0;

  padding:
    15px 16px;

  display: grid;

  grid-template-columns:
    44px minmax(0,1fr) auto;

  align-items: center;
  gap: 13px;

  border:
    1px solid #294032;

  border-radius:
    18px;

  background:
    linear-gradient(
      135deg,
      rgba(18,37,24,.96),
      rgba(8,19,12,.96)
    );
}

.myth-active-game-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: #071009;

  font-size: 23px;
}

.myth-active-game-copy {
  min-width: 0;
}

.myth-active-game-copy small {
  display: block;

  color: #59e97c;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.myth-active-game-copy strong {
  display: block;

  overflow: hidden;

  margin-top: 2px;

  color: #f3f8f4;

  font-size: 17px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.myth-active-game-copy span {
  display: block;
  margin-top: 3px;

  color: #92a298;
  font-size: 12px;
}

.myth-empty-game-catalog {
  grid-column: 1 / -1;

  padding: 30px 18px;

  border:
    1px dashed #385343;

  border-radius: 18px;

  background:
    rgba(10,24,14,.72);

  text-align: center;
}

.myth-empty-game-icon {
  margin-bottom: 8px;
  font-size: 34px;
}

.myth-empty-game-catalog strong {
  display: block;

  color: #f2f7f3;

  font-size: 18px;
}

.myth-empty-game-catalog p {
  margin:
    8px auto;

  max-width: 440px;

  color: #a0aea5;

  line-height: 1.45;
}

.myth-empty-game-catalog small {
  color: #59e97c;
}

@media (max-width: 680px) {
  .myth-game-drawer-open {
    padding: 8px 10px;
    font-size: 13px;
  }

  .myth-active-game-bar {
    width:
      calc(100% - 24px);

    grid-template-columns:
      40px minmax(0,1fr) auto;

    padding: 13px;
  }

  .myth-active-game-icon {
    width: 40px;
    height: 40px;
  }

  .myth-active-game-copy strong {
    font-size: 15px;
  }

  .myth-active-game-bar
  > button {
    min-height: 40px;
    padding: 7px 10px;
    font-size: 13px;
  }
}

/* END MULTI_GAME_DRAWER_STYLE_V1 */


/* TOP_UP_GAMES_GRID_V1 */

/*
  The old drawer remains in the DOM temporarily so the
  existing battle-tested game-switching logic can still
  be reused. It is no longer visible to the customer.
*/
#gameDrawerOpen,
#gameDrawerBackdrop,
#gameDrawer {
  display: none !important;
}

.topup-games-section {
  width: min(
    calc(100% - 32px),
    1180px
  );
  margin:
    24px auto
    28px;
  padding:
    24px;
  border:
    1px solid rgba(93, 236, 137, .20);
  border-radius:
    28px;
  background:
    rgba(8, 20, 13, .94);
  box-shadow:
    0 18px 48px
    rgba(0, 0, 0, .26);
  backdrop-filter:
    blur(14px);
}

.topup-games-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.topup-games-kicker {
  display: block;
  margin-bottom: 5px;
  color: #5dec89;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .15em;
}

.topup-games-heading h2 {
  margin: 0;
  color: #fff;
  font-size:
    clamp(26px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 700;
}

.topup-games-grid {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.topup-game-card {
  position: relative;
  min-width: 0;
  min-height: 148px;
  padding: 16px 10px 14px;
  border:
    1.5px solid
    rgba(255,255,255,.20);
  border-radius: 23px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 37, 25, .96),
      rgba(7, 18, 12, .98)
    );
  color: #fff;
  cursor: pointer;
  appearance: none;
  font: inherit;
  text-align: center;
  transition:
    border-color .18s ease,
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.topup-game-card:active {
  transform: scale(.975);
}

.topup-game-card:hover {
  border-color:
    rgba(93, 236, 137, .62);
}

.topup-game-card.is-active {
  border-color: #5dec89;
  box-shadow:
    0 0 0 1px
    rgba(93, 236, 137, .20),
    0 10px 30px
    rgba(0,0,0,.24);
  background:
    linear-gradient(
      180deg,
      rgba(24, 68, 39, .98),
      rgba(8, 28, 17, .98)
    );
}

.topup-game-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 17px;
  background:
    rgba(0, 0, 0, .34);
  font-size: 31px;
  line-height: 1;
}

.topup-game-card-name {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-overflow: ellipsis;
}

.topup-game-card-count {
  display: block;
  margin-top: 6px;
  color:
    rgba(255,255,255,.54);
  font-size: 12px;
  line-height: 1.2;
}

/*
  Selected packages:
  green border stays.
  Check badge/check icon is removed.
*/
.package-check,
.package-checkmark,
.package-selected-check,
.package-selected-badge,
.selected-check,
.selected-badge,
.checkmark,
.selection-check {
  display: none !important;
}

.package-card.selected::before,
.package-card.is-selected::before,
.package-card.active::before,
[data-package-id].selected::before,
[data-package-id].is-selected::before {
  display: none !important;
  content: none !important;
}

/* Mobile */
@media (max-width: 760px) {
  .topup-games-section {
    width: min(
      calc(100% - 32px),
      1180px
    );
    padding: 20px 14px;
    margin-top: 18px;
    border-radius: 25px;
  }

  .topup-games-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .topup-game-card {
    min-height: 126px;
    padding:
      13px 7px
      11px;
    border-radius: 20px;
  }

  .topup-game-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 9px;
    border-radius: 15px;
    font-size: 27px;
  }

  .topup-game-card-name {
    font-size: 13px;
  }

  .topup-game-card-count {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .topup-games-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* END TOP_UP_GAMES_GRID_V1 */


/* SEPARATE_GAME_PAGES_V1 */

/* HOME: game catalog only */
.home-catalog-page
.myth-active-game-bar,

.home-catalog-page
#gameCheckoutSection,

.home-catalog-page
.payment-availability-section {
  display: none !important;
}

/* GAME CHECKOUT PAGE */
.game-checkout-page
.hero,

.game-checkout-page
#topUpGamesSection,

.game-checkout-page
#changeActiveGame {
  display: none !important;
}

.game-checkout-page
.myth-active-game-bar {
  margin-top: 24px;
}

.back-to-games-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin:
    22px 0
    8px;
  padding:
    0 17px;
  border:
    1px solid
    rgba(93,236,137,.30);
  border-radius: 15px;
  background:
    rgba(8,25,15,.92);
  color: #5dec89;
  text-decoration: none;
  font-weight: 700;
}

/*
  6 games:
  three across on mobile,
  two rows total.
*/
.topup-games-grid {
  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    ) !important;
}

@media (max-width: 760px) {
  .topup-games-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0,1fr)
      ) !important;
  }

  .topup-game-card {
    min-height: 132px;
    padding:
      12px 5px
      10px;
  }

  .topup-game-card-icon {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .topup-game-card-name {
    font-size: 12px;
  }

  .topup-game-card-count {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .topup-games-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0,1fr)
      ) !important;
  }
}

/* Selected package = green border only */
#packages .selected,
#packages .is-selected,
#packages .active {
  border-color:
    #5dec89 !important;
}

/* POPPO */
.poppo-coming-main {
  width:
    min(
      calc(100% - 32px),
      720px
    );
  margin:
    0 auto;
  padding-bottom:
    60px;
}

.poppo-coming-card {
  margin-top: 30px;
  padding:
    42px 24px;
  border:
    1px solid
    rgba(93,236,137,.25);
  border-radius:
    28px;
  background:
    rgba(8,20,13,.95);
  text-align: center;
}

.poppo-coming-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin:
    0 auto
    20px;
  border-radius:
    24px;
  background:
    rgba(93,236,137,.09);
  font-size: 42px;
}

.poppo-coming-card small {
  color: #5dec89;
  font-weight: 800;
  letter-spacing: .15em;
}

.poppo-coming-card h1 {
  margin:
    10px 0
    12px;
  color: #fff;
  font-size: 38px;
}

.poppo-coming-card p {
  color:
    rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.55;
}

.poppo-back-button {
  display: inline-flex;
  width: auto;
  margin-top: 18px;
  text-decoration: none;
}

/* END SEPARATE_GAME_PAGES_V1 */


/* HOME_GRID_MOBILE_WIDER_V1 */

/*
  Make the homepage look closer to Nexone:
  - less wasted side space
  - wider game grid
  - tighter mobile spacing
  - compact intro
*/

body.home-catalog-page .hero,
body.home-page .hero,
body[data-page="home"] .hero,
.home-catalog-page .hero {
  width: min(calc(100% - 14px), 1280px);
  margin: 10px auto 10px;
  padding: 0 4px;
}

body.home-catalog-page .hero h1,
body.home-page .hero h1,
body[data-page="home"] .hero h1,
.home-catalog-page .hero h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.05;
}

body.home-catalog-page .hero p,
body.home-page .hero p,
body[data-page="home"] .hero p,
.home-catalog-page .hero p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}

body.home-catalog-page .hero .notice,
body.home-page .hero .notice,
body[data-page="home"] .hero .notice,
.home-catalog-page .hero .notice {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.35;
}

body.home-catalog-page .topup-games-section,
body.home-page .topup-games-section,
body[data-page="home"] .topup-games-section,
.home-catalog-page .topup-games-section {
  width: min(calc(100% - 12px), 1280px);
  margin: 12px auto 18px;
  padding: 18px 10px 12px;
  border-radius: 28px;
}

body.home-catalog-page .topup-games-heading,
body.home-page .topup-games-heading,
body[data-page="home"] .topup-games-heading,
.home-catalog-page .topup-games-heading {
  margin-bottom: 12px;
}

body.home-catalog-page .topup-games-kicker,
body.home-page .topup-games-kicker,
body[data-page="home"] .topup-games-kicker,
.home-catalog-page .topup-games-kicker {
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .18em;
}

body.home-catalog-page .topup-games-heading h2,
body.home-page .topup-games-heading h2,
body[data-page="home"] .topup-games-heading h2,
.home-catalog-page .topup-games-heading h2 {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.05;
}

body.home-catalog-page .topup-games-grid,
body.home-page .topup-games-grid,
body[data-page="home"] .topup-games-grid,
.home-catalog-page .topup-games-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.home-catalog-page .topup-game-card,
body.home-page .topup-game-card,
body[data-page="home"] .topup-game-card,
.home-catalog-page .topup-game-card {
  min-height: 172px;
  padding: 14px 8px 12px;
  border-radius: 22px;
}

body.home-catalog-page .topup-game-card-icon,
body.home-page .topup-game-card-icon,
body[data-page="home"] .topup-game-card-icon,
.home-catalog-page .topup-game-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 18px;
  font-size: 31px;
}

body.home-catalog-page .topup-game-card-name,
body.home-page .topup-game-card-name,
body[data-page="home"] .topup-game-card-name,
.home-catalog-page .topup-game-card-name {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

body.home-catalog-page .topup-game-card-count,
body.home-page .topup-game-card-count,
body[data-page="home"] .topup-game-card-count,
.home-catalog-page .topup-game-card-count {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.25;
}

body.home-catalog-page .section.track,
body.home-page .section.track,
body[data-page="home"] .section.track,
.home-catalog-page .section.track {
  width: min(calc(100% - 12px), 1280px);
  margin: 0 auto 22px;
  padding: 22px 14px;
  border-radius: 26px;
}

@media (max-width: 760px) {
  body.home-catalog-page .top,
  body.home-page .top,
  body[data-page="home"] .top,
  .home-catalog-page .top {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.home-catalog-page .brand,
  body.home-page .brand,
  body[data-page="home"] .brand,
  .home-catalog-page .brand {
    gap: 10px;
  }

  body.home-catalog-page .brand .gem-image,
  body.home-page .brand .gem-image,
  body[data-page="home"] .brand .gem-image,
  .home-catalog-page .brand .gem-image {
    width: 64px;
    height: 64px;
  }

  body.home-catalog-page .admin-open,
  body.home-page .admin-open,
  body[data-page="home"] .admin-open,
  .home-catalog-page .admin-open {
    padding: 14px 16px;
    border-radius: 18px;
  }

  body.home-catalog-page .hero,
  body.home-page .hero,
  body[data-page="home"] .hero,
  .home-catalog-page .hero {
    width: calc(100% - 10px);
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 0 2px;
  }

  body.home-catalog-page .hero p,
  body.home-page .hero p,
  body[data-page="home"] .hero p,
  .home-catalog-page .hero p {
    font-size: 14px;
  }

  body.home-catalog-page .hero .notice,
  body.home-page .hero .notice,
  body[data-page="home"] .hero .notice,
  .home-catalog-page .hero .notice {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
  }

  body.home-catalog-page .topup-games-section,
  body.home-page .topup-games-section,
  body[data-page="home"] .topup-games-section,
  .home-catalog-page .topup-games-section {
    width: calc(100% - 10px);
    margin-top: 10px;
    margin-bottom: 16px;
    padding: 16px 8px 12px;
    border-radius: 24px;
  }

  body.home-catalog-page .topup-games-grid,
  body.home-page .topup-games-grid,
  body[data-page="home"] .topup-games-grid,
  .home-catalog-page .topup-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.home-catalog-page .topup-game-card,
  body.home-page .topup-game-card,
  body[data-page="home"] .topup-game-card,
  .home-catalog-page .topup-game-card {
    min-height: 164px;
    padding: 12px 6px 10px;
    border-radius: 20px;
  }

  body.home-catalog-page .topup-game-card-icon,
  body.home-page .topup-game-card-icon,
  body[data-page="home"] .topup-game-card-icon,
  .home-catalog-page .topup-game-card-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
    font-size: 28px;
    border-radius: 16px;
  }

  body.home-catalog-page .topup-game-card-name,
  body.home-page .topup-game-card-name,
  body[data-page="home"] .topup-game-card-name,
  .home-catalog-page .topup-game-card-name {
    font-size: 12px;
  }

  body.home-catalog-page .topup-game-card-count,
  body.home-page .topup-game-card-count,
  body[data-page="home"] .topup-game-card-count,
  .home-catalog-page .topup-game-card-count {
    font-size: 10px;
  }

  body.home-catalog-page .section.track,
  body.home-page .section.track,
  body[data-page="home"] .section.track,
  .home-catalog-page .section.track {
    width: calc(100% - 10px);
    padding: 18px 12px;
    border-radius: 22px;
  }
}

@media (max-width: 390px) {
  body.home-catalog-page .topup-games-grid,
  body.home-page .topup-games-grid,
  body[data-page="home"] .topup-games-grid,
  .home-catalog-page .topup-games-grid {
    gap: 7px;
  }

  body.home-catalog-page .topup-game-card,
  body.home-page .topup-game-card,
  body[data-page="home"] .topup-game-card,
  .home-catalog-page .topup-game-card {
    min-height: 156px;
    padding: 10px 5px 9px;
  }

  body.home-catalog-page .topup-game-card-name,
  body.home-page .topup-game-card-name,
  body[data-page="home"] .topup-game-card-name,
  .home-catalog-page .topup-game-card-name {
    font-size: 11px;
  }
}

/* END HOME_GRID_MOBILE_WIDER_V1 */


/* PREMIUM_MYTH_STOREFRONT_V1 */

/* ======================================================
   PAGE FOUNDATION
====================================================== */

html {
  background: #050806;
}

body.home-catalog-page {
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(43, 121, 73, .16),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #080d0a 0%,
      #050806 100%
    ) !important;

  background-image:
    radial-gradient(
      circle at 50% -10%,
      rgba(43, 121, 73, .16),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #080d0a 0%,
      #050806 100%
    ) !important;

  color: #f4f7f5;
}

.home-catalog-page main {
  width: 100%;
  min-height: 100vh;
}


/* ======================================================
   HEADER
====================================================== */

.home-catalog-page .top {
  position: relative;
  z-index: 10;

  min-height: 86px;

  padding:
    12px
    max(14px, env(safe-area-inset-right))
    12px
    max(14px, env(safe-area-inset-left));

  border-bottom:
    1px solid rgba(255,255,255,.08);

  background:
    rgba(5, 10, 7, .96);

  backdrop-filter:
    blur(18px);
}

.home-catalog-page .brand {
  gap: 11px;
}

.home-catalog-page .brand .gem-image {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
}

.home-catalog-page .brand b {
  font-size: 20px;
  letter-spacing: .07em;
}

.home-catalog-page .brand small {
  margin-top: 3px;

  color:
    rgba(255,255,255,.45);

  font-size: 9px;
  letter-spacing: .18em;
}

.home-catalog-page .admin-open {
  min-height: 52px;

  padding:
    0 17px;

  border:
    1px solid rgba(93,236,137,.24);

  border-radius: 16px;

  background:
    rgba(18, 34, 24, .95);

  color: #f8faf8;

  font-size: 14px;
  line-height: 1.15;

  box-shadow: none;
}


/* ======================================================
   HERO
====================================================== */

.home-catalog-page .storefront-hero {
  position: relative;

  width:
    min(
      calc(100% - 24px),
      900px
    ) !important;

  min-height: 0;

  margin:
    22px auto
    16px !important;

  padding:
    28px
    22px !important;

  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 26px;

  background:
    linear-gradient(
      135deg,
      rgba(16, 37, 24, .96),
      rgba(7, 17, 11, .98)
    ) !important;

  box-shadow:
    0 20px 55px
    rgba(0,0,0,.30);
}

.home-catalog-page
.storefront-hero::before {
  content: "";

  position: absolute;
  width: 230px;
  height: 230px;

  top: -120px;
  right: -70px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(93,236,137,.22),
      rgba(93,236,137,0) 68%
    );

  pointer-events: none;
}

.home-catalog-page
.storefront-hero::after {
  content: "";

  position: absolute;

  right: 20px;
  bottom: -45px;

  width: 155px;
  height: 155px;

  border:
    1px solid
    rgba(93,236,137,.10);

  border-radius: 36px;

  transform:
    rotate(24deg);

  pointer-events: none;
}

.storefront-hero-copy {
  position: relative;
  z-index: 2;
}

.storefront-eyebrow {
  display: block;

  margin-bottom: 10px;

  color: #63ec8d;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .20em;
}

.home-catalog-page
.storefront-hero h1 {
  max-width: 560px;

  margin:
    0 0 13px !important;

  color: #f7faf8;

  font-size:
    clamp(
      34px,
      7.8vw,
      58px
    ) !important;

  line-height: .98 !important;

  letter-spacing: -.035em;
}

.home-catalog-page
.storefront-hero h1 span {
  display: block;

  margin-top: 4px;

  color: #5dec89;
}

.home-catalog-page
.storefront-hero p {
  max-width: 590px;

  margin:
    0 0 20px !important;

  color:
    rgba(239,246,241,.68) !important;

  font-size:
    clamp(
      14px,
      3.6vw,
      17px
    ) !important;

  line-height: 1.55 !important;
}

.storefront-trust {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.storefront-trust span {
  display: inline-flex;
  align-items: center;

  min-height: 32px;

  padding:
    0 11px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 999px;

  background:
    rgba(255,255,255,.035);

  color:
    rgba(244,248,245,.70);

  font-size: 10px;
  font-weight: 600;
}

.storefront-trust span::before {
  content: "";

  width: 5px;
  height: 5px;

  margin-right: 7px;

  border-radius: 50%;

  background: #5dec89;

  box-shadow:
    0 0 10px
    rgba(93,236,137,.55);
}


/* ======================================================
   GAMES SECTION
====================================================== */

.home-catalog-page
.topup-games-section {
  width:
    min(
      calc(100% - 16px),
      900px
    ) !important;

  margin:
    0 auto
    22px !important;

  padding:
    22px 12px
    14px !important;

  border:
    1px solid
    rgba(255,255,255,.075) !important;

  border-radius:
    26px !important;

  background:
    rgba(8, 15, 10, .98) !important;

  box-shadow:
    0 18px 50px
    rgba(0,0,0,.28) !important;
}

.home-catalog-page
.topup-games-heading {
  margin:
    0 4px
    18px !important;
}

.home-catalog-page
.topup-games-kicker {
  margin-bottom: 5px !important;

  color: #5dec89 !important;

  font-size: 10px !important;

  font-weight: 800;

  letter-spacing:
    .20em !important;
}

.home-catalog-page
.topup-games-heading h2 {
  margin: 0 !important;

  color: #f7faf8;

  font-size:
    clamp(
      28px,
      7vw,
      42px
    ) !important;

  line-height: 1.05 !important;

  letter-spacing: -.025em;
}

.topup-games-subtitle {
  margin:
    6px 0 0;

  color:
    rgba(255,255,255,.48);

  font-size: 12px;
}


/* ======================================================
   3 × 2 PREMIUM GAME GRID
====================================================== */

.home-catalog-page
.topup-games-grid {
  display: grid !important;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    ) !important;

  gap: 9px !important;
}

.home-catalog-page
.topup-game-card {
  isolation: isolate;

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content:
    flex-end;

  align-items:
    flex-start;

  aspect-ratio:
    .73 / 1;

  min-height: 0 !important;

  padding:
    11px !important;

  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.12) !important;

  border-radius:
    20px !important;

  background:
    #0c120e !important;

  text-align: left !important;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.035);

  transform: none;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}


/*
  No preselected game on the store homepage.
*/
.home-catalog-page
.topup-game-card.is-active {
  border-color:
    rgba(255,255,255,.12)
    !important;

  background:
    #0c120e !important;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.035)
    !important;
}

.home-catalog-page
.topup-game-card:active {
  transform:
    scale(.975);
}


/* Poster background */
.home-catalog-page
.topup-game-card::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.02),
      rgba(0,0,0,.10) 42%,
      rgba(3,8,5,.95) 100%
    );
}


/* LIVE badge */
.home-catalog-page
.topup-game-card::before {
  content: "LIVE";

  position: absolute;

  top: 9px;
  right: 8px;

  z-index: 5;

  padding:
    4px 6px;

  border-radius: 999px;

  background:
    rgba(5,13,8,.72);

  color:
    rgba(255,255,255,.75);

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .10em;

  backdrop-filter:
    blur(8px);
}

.home-catalog-page
.topup-game-card[
  data-topup-game="poppo"
]::before {
  content: "SOON";

  color: #e7c9ff;
}


/* Individual poster treatments */
.home-catalog-page
.topup-game-card[
  data-topup-game="mlbb"
] {
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(96,151,255,.55),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #112a59,
      #151a37 55%,
      #09110d
    ) !important;
}

.home-catalog-page
.topup-game-card[
  data-topup-game="pubg"
] {
  background:
    radial-gradient(
      circle at 75% 18%,
      rgba(245,166,56,.42),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #3f2b16,
      #171816 56%,
      #09110d
    ) !important;
}

.home-catalog-page
.topup-game-card[
  data-topup-game="mcgg"
] {
  background:
    radial-gradient(
      circle at 75% 18%,
      rgba(174,104,255,.46),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #36204f,
      #191329 58%,
      #09110d
    ) !important;
}

.home-catalog-page
.topup-game-card[
  data-topup-game="roblox"
] {
  background:
    radial-gradient(
      circle at 74% 18%,
      rgba(221,228,236,.23),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      #30353d,
      #17191d 58%,
      #09110d
    ) !important;
}

.home-catalog-page
.topup-game-card[
  data-topup-game="mla"
] {
  background:
    radial-gradient(
      circle at 74% 18%,
      rgba(238,177,78,.44),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #5a3d19,
      #25213d 56%,
      #09110d
    ) !important;
}

.home-catalog-page
.topup-game-card[
  data-topup-game="poppo"
] {
  background:
    radial-gradient(
      circle at 74% 18%,
      rgba(230,88,209,.45),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #522348,
      #202246 57%,
      #09110d
    ) !important;
}


/* Game emblem */
.home-catalog-page
.topup-game-card-icon {
  position: absolute;

  top: 20%;
  left: 50%;

  display: grid;

  place-items: center;

  width: 54px !important;
  height: 54px !important;

  margin: 0 !important;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius:
    17px !important;

  background:
    rgba(4,8,6,.38) !important;

  color: #fff;

  font-size: 0 !important;

  transform:
    translateX(-50%);

  backdrop-filter:
    blur(9px);
}

.home-catalog-page
.topup-game-card-icon::after {
  color: #f8faf9;

  font-size: 16px;
  font-weight: 900;

  letter-spacing: -.03em;
}

.home-catalog-page
[data-topup-game="mlbb"]
.topup-game-card-icon::after {
  content: "ML";
}

.home-catalog-page
[data-topup-game="pubg"]
.topup-game-card-icon::after {
  content: "PUBG";
  font-size: 10px;
}

.home-catalog-page
[data-topup-game="mcgg"]
.topup-game-card-icon::after {
  content: "MC";
}

.home-catalog-page
[data-topup-game="roblox"]
.topup-game-card-icon::after {
  content: "R";
}

.home-catalog-page
[data-topup-game="mla"]
.topup-game-card-icon::after {
  content: "MLA";
  font-size: 12px;
}

.home-catalog-page
[data-topup-game="poppo"]
.topup-game-card-icon::after {
  content: "P";
}


/* Titles */
.home-catalog-page
.topup-game-card-name {
  position: relative;
  z-index: 4;

  display:
    -webkit-box !important;

  width: 100%;

  overflow: hidden;

  color: #fff !important;

  font-size:
    clamp(
      11px,
      3vw,
      15px
    ) !important;

  font-weight: 750 !important;

  line-height:
    1.18 !important;

  text-align: left;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-catalog-page
.topup-game-card-count {
  position: relative;
  z-index: 4;

  display: block;

  width: 100%;

  margin-top:
    5px !important;

  color:
    rgba(255,255,255,.45)
    !important;

  font-size:
    clamp(
      8px,
      2.3vw,
      11px
    ) !important;

  text-align: left;
}


/* ======================================================
   ORDER LOOKUP
====================================================== */

.home-catalog-page
.section.track {
  width:
    min(
      calc(100% - 16px),
      900px
    ) !important;

  margin:
    0 auto
    30px !important;

  padding:
    22px 16px !important;

  border:
    1px solid
    rgba(255,255,255,.07);

  border-radius:
    24px !important;

  background:
    rgba(8,15,10,.98);

  box-shadow:
    0 18px 50px
    rgba(0,0,0,.22);
}

.home-catalog-page
.section.track
.section-head {
  margin-bottom: 15px;
}

.home-catalog-page
.section.track h2 {
  font-size:
    clamp(
      26px,
      7vw,
      38px
    );

  letter-spacing: -.025em;
}

.home-catalog-page
.trackform {
  gap: 8px;
}

.home-catalog-page
.trackform input {
  min-height: 54px;

  border-radius: 15px;
}

.home-catalog-page
.trackform button {
  min-height: 54px;

  border-radius: 15px;
}


/* ======================================================
   MOBILE POLISH
====================================================== */

@media (max-width: 760px) {

  .home-catalog-page .top {
    min-height: 78px;

    padding:
      9px
      10px;
  }

  .home-catalog-page
  .brand .gem-image {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .home-catalog-page
  .brand b {
    font-size: 18px;
  }

  .home-catalog-page
  .brand small {
    max-width: 165px;

    font-size: 7px;
  }

  .home-catalog-page
  .admin-open {
    min-height: 48px;

    padding:
      0 13px;

    font-size: 12px;
  }

  .home-catalog-page
  .storefront-hero {
    width:
      calc(
        100% - 16px
      ) !important;

    margin:
      12px auto
      10px !important;

    padding:
      22px 16px !important;

    border-radius:
      22px;
  }

  .home-catalog-page
  .storefront-hero h1 {
    font-size:
      clamp(
        31px,
        10vw,
        45px
      ) !important;
  }

  .storefront-trust {
    gap: 6px;
  }

  .storefront-trust span {
    min-height: 29px;

    padding:
      0 9px;

    font-size: 8px;
  }

  .home-catalog-page
  .topup-games-section {
    width:
      calc(
        100% - 12px
      ) !important;

    padding:
      18px 8px
      10px !important;

    border-radius:
      22px !important;
  }

  .home-catalog-page
  .topup-games-heading {
    margin:
      0 4px
      14px !important;
  }

  .home-catalog-page
  .topup-games-grid {
    gap:
      7px !important;
  }

  .home-catalog-page
  .topup-game-card {
    padding:
      9px !important;

    border-radius:
      17px !important;
  }

  .home-catalog-page
  .topup-game-card-icon {
    width:
      47px !important;

    height:
      47px !important;

    border-radius:
      14px !important;
  }

  .home-catalog-page
  .section.track {
    width:
      calc(
        100% - 12px
      ) !important;

    padding:
      18px 12px !important;

    border-radius:
      22px !important;
  }
}


/* Small phones stay 3 columns */
@media (max-width: 390px) {

  .home-catalog-page
  .topup-games-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0,1fr)
      ) !important;

    gap:
      6px !important;
  }

  .home-catalog-page
  .topup-game-card {
    padding:
      8px !important;
  }

}


/* END PREMIUM_MYTH_STOREFRONT_V1 */


/* MYTH_MATURE_STOREFRONT_V2 */

/* ======================================================
   GLOBAL HOME
====================================================== */

body.home-catalog-page {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(41,111,67,.14),
      transparent 30%
    ),
    #050806 !important;

  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(41,111,67,.14),
      transparent 30%
    ) !important;

  color: #f5f7f6;
}

.home-catalog-page main {
  width: 100%;
}


/* ======================================================
   COMPACT HEADER
====================================================== */

.home-catalog-page .top {
  min-height: 72px !important;

  padding:
    8px 12px !important;

  border-bottom:
    1px solid rgba(255,255,255,.07);

  background:
    rgba(5,9,7,.97) !important;
}

.home-catalog-page .brand {
  min-width: 0;
  gap: 9px !important;
}

.home-catalog-page .brand .gem-image {
  width: 52px !important;
  height: 52px !important;
  flex-basis: 52px !important;
}

.home-catalog-page .brand b {
  font-size: 18px !important;
  line-height: 1;
}

.home-catalog-page .brand small {
  max-width: 170px;

  margin-top: 4px;

  color:
    rgba(255,255,255,.42);

  font-size: 7px !important;
  line-height: 1.2;

  letter-spacing: .16em;
}

.home-catalog-page .admin-open {
  min-height: 46px !important;

  padding:
    0 13px !important;

  border-radius:
    14px !important;

  font-size:
    12px !important;
}


/* ======================================================
   HERO: SHORT, WIDE, DENSE
====================================================== */

.home-catalog-page .myth-store-hero {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    105px;

  gap: 14px;

  align-items: center;

  width:
    min(
      calc(100% - 16px),
      1040px
    ) !important;

  min-height: 180px !important;

  margin:
    12px auto
    10px !important;

  padding:
    22px !important;

  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius:
    22px !important;

  background:
    linear-gradient(
      120deg,
      #13271a 0%,
      #0a120d 58%,
      #071009 100%
    ) !important;

  box-shadow:
    0 16px 42px
    rgba(0,0,0,.26);
}

.home-catalog-page
.myth-store-hero::before {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  right: -70px;
  top: -95px;

  border-radius: 50%;

  background:
    rgba(73,223,118,.10);

  filter: blur(8px);
}

.myth-store-hero-copy {
  position: relative;
  z-index: 2;

  min-width: 0;
}

.myth-store-overline {
  display: block;

  margin-bottom: 7px;

  color: #5dec89;

  font-size: 9px;
  font-weight: 850;

  letter-spacing: .20em;
}

.home-catalog-page
.myth-store-hero h1 {
  margin:
    0 0
    8px !important;

  color: #fff;

  font-size:
    clamp(
      27px,
      7vw,
      48px
    ) !important;

  line-height:
    1.02 !important;

  letter-spacing:
    -.035em;
}

.home-catalog-page
.myth-store-hero h1 span {
  display: block;

  color: #5dec89;
}

.home-catalog-page
.myth-store-hero p {
  max-width: 580px;

  margin:
    0 0
    14px !important;

  color:
    rgba(255,255,255,.60) !important;

  font-size:
    12px !important;

  line-height:
    1.45 !important;
}

.myth-hero-actions {
  display: flex;

  gap: 7px;
}

.myth-hero-actions a {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 38px;

  padding:
    0 13px;

  border-radius: 11px;

  font-size: 10px;
  font-weight: 750;

  text-decoration: none;
}

.myth-hero-primary {
  background: #5dec89;

  color: #061008;
}

.myth-hero-secondary {
  border:
    1px solid
    rgba(255,255,255,.12);

  background:
    rgba(255,255,255,.04);

  color: #fff;
}

.myth-hero-mark {
  position: relative;
  z-index: 2;

  display: grid;

  place-items: center;

  width: 94px;
  height: 94px;

  margin-left: auto;

  border:
    1px solid
    rgba(93,236,137,.15);

  border-radius: 26px;

  background:
    rgba(0,0,0,.20);
}

.myth-hero-mark img {
  width: 78px;
  height: 78px;

  object-fit: contain;
}


/* ======================================================
   GAME CATALOG — NO GIANT CONTAINER
====================================================== */

.home-catalog-page
.topup-games-section {
  width:
    min(
      calc(100% - 16px),
      1040px
    ) !important;

  margin:
    0 auto
    14px !important;

  padding:
    14px 0
    0 !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;
}

.home-catalog-page
.topup-games-heading {
  margin:
    0 2px
    12px !important;
}

.home-catalog-page
.topup-games-kicker {
  margin-bottom: 3px !important;

  font-size:
    9px !important;

  letter-spacing:
    .18em !important;
}

.home-catalog-page
.topup-games-heading h2 {
  font-size:
    clamp(
      23px,
      6vw,
      36px
    ) !important;

  line-height:
    1 !important;
}

.home-catalog-page
.topup-games-subtitle {
  margin-top: 5px;

  font-size: 10px;

  color:
    rgba(255,255,255,.42);
}


/* 3 x 2 cards */
.home-catalog-page
.topup-games-grid {
  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    ) !important;

  gap:
    8px !important;
}

.home-catalog-page
.topup-game-card {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  align-items: flex-start;

  height: 148px !important;

  min-height: 148px !important;

  aspect-ratio: auto !important;

  padding:
    10px !important;

  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.10)
    !important;

  border-radius:
    17px !important;

  text-align:
    left !important;
}

.home-catalog-page
.topup-game-card.is-active {
  border-color:
    rgba(255,255,255,.10)
    !important;

  box-shadow:
    none !important;
}


/* Top-right status */
.home-catalog-page
.topup-game-card::before {
  top: 7px !important;
  right: 7px !important;

  padding:
    3px 5px !important;

  font-size:
    6px !important;
}


/* compact icon */
.home-catalog-page
.topup-game-card-icon {
  top: 22px !important;

  width: 44px !important;
  height: 44px !important;

  border-radius:
    13px !important;
}

.home-catalog-page
.topup-game-card-icon::after {
  font-size:
    13px !important;
}

.home-catalog-page
[data-topup-game="pubg"]
.topup-game-card-icon::after {
  font-size:
    8px !important;
}


/* Card text */
.home-catalog-page
.topup-game-card-name {
  font-size:
    11px !important;

  line-height:
    1.15 !important;

  letter-spacing:
    -.01em;
}

.home-catalog-page
.topup-game-card-count {
  margin-top:
    4px !important;

  font-size:
    8px !important;

  line-height:
    1.1 !important;
}


/* ======================================================
   HOW IT WORKS
====================================================== */

.myth-home-mini-features {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: 7px;

  width:
    min(
      calc(100% - 16px),
      1040px
    );

  margin:
    0 auto
    10px;
}

.myth-home-mini-features article {
  display: flex;

  gap: 8px;

  align-items: flex-start;

  min-width: 0;

  padding:
    12px 9px;

  border:
    1px solid
    rgba(255,255,255,.07);

  border-radius:
    14px;

  background:
    #0a100c;
}

.myth-feature-num {
  flex:
    0 0 auto;

  display: grid;

  place-items: center;

  width: 24px;
  height: 24px;

  border-radius: 8px;

  background:
    rgba(93,236,137,.10);

  color: #5dec89;

  font-size: 8px;
  font-weight: 850;
}

.myth-home-mini-features strong {
  display: block;

  color: #fff;

  font-size: 9px;

  line-height: 1.15;
}

.myth-home-mini-features small {
  display: block;

  margin-top: 3px;

  color:
    rgba(255,255,255,.42);

  font-size: 7px;

  line-height: 1.3;
}


/* ======================================================
   PAYMENT STRIP
====================================================== */

.myth-home-payments {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  width:
    min(
      calc(100% - 16px),
      1040px
    );

  margin:
    0 auto
    12px;

  padding:
    14px;

  border:
    1px solid
    rgba(255,255,255,.07);

  border-radius:
    16px;

  background:
    #0a100c;
}

.myth-small-label {
  display: block;

  margin-bottom: 3px;

  color: #5dec89;

  font-size: 7px;
  font-weight: 850;

  letter-spacing: .16em;
}

.myth-home-payments strong {
  display: block;

  color: #fff;

  font-size: 12px;
}

.myth-home-payments p {
  max-width: 360px;

  margin:
    3px 0 0;

  color:
    rgba(255,255,255,.42);

  font-size: 8px;

  line-height: 1.35;
}

.myth-payment-chips {
  display: flex;

  gap: 6px;

  flex:
    0 0 auto;
}

.myth-payment-chips span {
  display: flex;

  align-items: center;

  gap: 5px;

  min-height: 40px;

  padding:
    0 9px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 11px;

  background:
    rgba(255,255,255,.025);

  color: #fff;

  font-size: 8px;

  font-weight: 700;
}

.myth-payment-chips img {
  width: 24px;
  height: 24px;

  object-fit: contain;
}


/* ======================================================
   TRACK ORDER — COMPACT
====================================================== */

.home-catalog-page
.section.track {
  width:
    min(
      calc(100% - 16px),
      1040px
    ) !important;

  margin:
    0 auto
    10px !important;

  padding:
    15px !important;

  border-radius:
    16px !important;

  background:
    #0a100c !important;

  border:
    1px solid
    rgba(255,255,255,.07) !important;

  box-shadow:
    none !important;
}

.home-catalog-page
.section.track .section-head {
  margin-bottom:
    9px !important;
}

.home-catalog-page
.section.track small {
  font-size:
    7px !important;
}

.home-catalog-page
.section.track h2 {
  font-size:
    20px !important;

  line-height: 1;
}

.home-catalog-page
.trackform {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  gap: 6px !important;
}

.home-catalog-page
.trackform input,
.home-catalog-page
.trackform button {
  min-height:
    44px !important;

  border-radius:
    11px !important;

  font-size:
    11px !important;
}


/* ======================================================
   SUPPORT
====================================================== */

.myth-home-support {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  width:
    min(
      calc(100% - 16px),
      1040px
    );

  margin:
    0 auto
    10px;

  padding:
    14px;

  border:
    1px solid
    rgba(93,236,137,.11);

  border-radius:
    16px;

  background:
    linear-gradient(
      120deg,
      #0d1a11,
      #09100b
    );
}

.myth-home-support strong {
  display: block;

  color: #fff;

  font-size: 12px;
}

.myth-home-support p {
  max-width: 390px;

  margin:
    3px 0 0;

  color:
    rgba(255,255,255,.42);

  font-size: 8px;

  line-height: 1.35;
}

.myth-home-support button {
  flex: 0 0 auto;

  min-height: 40px;

  padding:
    0 11px;

  border:
    1px solid
    rgba(93,236,137,.22);

  border-radius:
    11px;

  background:
    #14261a;

  color: #fff;

  font-size: 8px;

  font-weight: 750;
}


/* ======================================================
   FOOTER
====================================================== */

.myth-store-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  width:
    min(
      calc(100% - 16px),
      1040px
    );

  margin:
    0 auto;

  padding:
    18px 4px
    26px;

  border-top:
    1px solid
    rgba(255,255,255,.06);
}

.myth-footer-brand {
  display: flex;

  align-items: center;

  gap: 8px;
}

.myth-footer-brand img {
  width: 34px;
  height: 34px;

  object-fit: contain;
}

.myth-footer-brand strong {
  display: block;

  color: #fff;

  font-size: 10px;
}

.myth-footer-brand span {
  display: block;

  margin-top: 2px;

  color:
    rgba(255,255,255,.35);

  font-size: 7px;
}

.myth-footer-meta {
  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 8px;
}

.myth-footer-meta span {
  color:
    rgba(255,255,255,.35);

  font-size: 7px;
}


/* ======================================================
   MOBILE — DENSE, NOT CRAMPED
====================================================== */

@media (max-width: 600px) {

  .home-catalog-page .top {
    min-height:
      68px !important;

    padding:
      7px 8px !important;
  }

  .home-catalog-page
  .brand .gem-image {
    width:
      48px !important;

    height:
      48px !important;

    flex-basis:
      48px !important;
  }

  .home-catalog-page
  .brand b {
    font-size:
      16px !important;
  }

  .home-catalog-page
  .admin-open {
    min-height:
      42px !important;

    padding:
      0 10px !important;

    font-size:
      10px !important;
  }

  .home-catalog-page
  .myth-store-hero {
    grid-template-columns:
      minmax(0,1fr)
      76px;

    min-height:
      154px !important;

    width:
      calc(100% - 10px)
      !important;

    margin:
      8px auto
      7px !important;

    padding:
      16px 14px
      !important;

    gap: 8px;

    border-radius:
      18px !important;
  }

  .home-catalog-page
  .myth-store-hero h1 {
    font-size:
      clamp(
        24px,
        7.8vw,
        34px
      ) !important;
  }

  .home-catalog-page
  .myth-store-hero p {
    max-width: 100%;

    font-size:
      9px !important;

    margin-bottom:
      10px !important;
  }

  .myth-store-overline {
    font-size: 7px;
  }

  .myth-hero-actions a {
    min-height:
      34px;

    padding:
      0 9px;

    border-radius:
      9px;

    font-size:
      8px;
  }

  .myth-hero-mark {
    width: 70px;
    height: 70px;

    border-radius:
      20px;
  }

  .myth-hero-mark img {
    width: 60px;
    height: 60px;
  }

  .home-catalog-page
  .topup-games-section {
    width:
      calc(100% - 10px)
      !important;

    margin-bottom:
      9px !important;

    padding-top:
      10px !important;
  }

  .home-catalog-page
  .topup-games-heading {
    margin-bottom:
      9px !important;
  }

  .home-catalog-page
  .topup-games-heading h2 {
    font-size:
      23px !important;
  }

  .home-catalog-page
  .topup-games-grid {
    gap:
      6px !important;
  }

  .home-catalog-page
  .topup-game-card {
    height:
      136px !important;

    min-height:
      136px !important;

    padding:
      8px !important;

    border-radius:
      14px !important;
  }

  .home-catalog-page
  .topup-game-card-icon {
    top:
      18px !important;

    width:
      40px !important;

    height:
      40px !important;
  }

  .home-catalog-page
  .topup-game-card-name {
    font-size:
      10px !important;
  }

  .home-catalog-page
  .topup-game-card-count {
    font-size:
      7px !important;
  }

  .myth-home-mini-features {
    width:
      calc(100% - 10px);

    gap: 5px;

    margin-bottom:
      7px;
  }

  .myth-home-mini-features article {
    gap: 5px;

    padding:
      9px 6px;

    border-radius:
      11px;
  }

  .myth-feature-num {
    width: 20px;
    height: 20px;

    border-radius: 6px;

    font-size: 6px;
  }

  .myth-home-mini-features strong {
    font-size: 7px;
  }

  .myth-home-mini-features small {
    font-size: 6px;
  }

  .myth-home-payments,
  .myth-home-support,
  .home-catalog-page
  .section.track,
  .myth-store-footer {
    width:
      calc(100% - 10px)
      !important;
  }

  .myth-home-payments {
    padding:
      11px;

    border-radius:
      13px;
  }

  .myth-home-payments strong {
    font-size: 10px;
  }

  .myth-home-payments p {
    font-size: 7px;
  }

  .myth-payment-chips {
    gap: 4px;
  }

  .myth-payment-chips span {
    min-height: 34px;

    padding:
      0 6px;

    font-size: 7px;
  }

  .myth-payment-chips img {
    width: 20px;
    height: 20px;
  }

  .home-catalog-page
  .section.track {
    padding:
      11px !important;

    border-radius:
      13px !important;
  }

  .home-catalog-page
  .section.track h2 {
    font-size:
      17px !important;
  }

  .home-catalog-page
  .trackform input,
  .home-catalog-page
  .trackform button {
    min-height:
      40px !important;
  }

  .myth-home-support {
    padding: 11px;

    border-radius:
      13px;
  }

  .myth-home-support strong {
    font-size: 10px;
  }

  .myth-home-support p {
    font-size: 7px;
  }

  .myth-home-support button {
    min-height: 36px;

    font-size: 7px;
  }

  .myth-store-footer {
    padding:
      13px 2px
      20px;

    gap: 7px;
  }

  .myth-footer-meta {
    gap: 5px;
  }

  .myth-footer-meta span {
    font-size: 6px;
  }

}


/* END MYTH_MATURE_STOREFRONT_V2 */


/* HOME_DENSITY_COMPACT_V3 */


/* Remove redundant old homepage blocks completely */
.home-catalog-page
.myth-home-legacy-remove {
  display: none !important;
}


/* ======================================================
   KEEP CONTENT CLOSE TOGETHER
====================================================== */

.home-catalog-page main {
  padding-bottom: 12px !important;
}

.home-catalog-page
.myth-home-payments {
  margin-bottom:
    7px !important;

  padding:
    10px 11px !important;

  min-height: 0 !important;
}

.home-catalog-page
.myth-home-payments strong {
  font-size:
    10px !important;
}

.home-catalog-page
.myth-home-payments p {
  margin-top:
    2px !important;

  font-size:
    7px !important;

  line-height:
    1.25 !important;
}


/* ======================================================
   TRACK ORDER — MUCH SMALLER
====================================================== */

body.home-catalog-page
.section.track {
  width:
    calc(100% - 10px)
    !important;

  margin:
    0 auto
    7px !important;

  padding:
    10px !important;

  min-height:
    0 !important;

  border-radius:
    13px !important;
}

body.home-catalog-page
.section.track
.section-head {
  margin:
    0 0
    7px !important;
}

body.home-catalog-page
.section.track
.section-head small {
  font-size:
    6px !important;

  letter-spacing:
    .14em !important;
}

body.home-catalog-page
.section.track
.section-head h2 {
  margin:
    2px 0
    0 !important;

  font-size:
    17px !important;

  line-height:
    1.05 !important;
}

body.home-catalog-page
.trackform {
  display: grid !important;

  grid-template-columns:
    minmax(0,1fr)
    78px !important;

  gap:
    6px !important;
}

body.home-catalog-page
.trackform input {
  min-height:
    39px !important;

  height:
    39px !important;

  padding:
    0 10px !important;

  border-radius:
    10px !important;

  font-size:
    10px !important;
}

body.home-catalog-page
.trackform button {
  min-height:
    39px !important;

  height:
    39px !important;

  padding:
    0 8px !important;

  border-radius:
    10px !important;

  font-size:
    9px !important;
}


/* ======================================================
   SUPPORT — SINGLE COMPACT ROW
====================================================== */

.home-catalog-page
.myth-home-support {
  width:
    calc(100% - 10px)
    !important;

  margin:
    0 auto
    7px !important;

  padding:
    9px 10px !important;

  min-height:
    0 !important;

  border-radius:
    13px !important;
}

.home-catalog-page
.myth-home-support
.myth-small-label {
  font-size:
    6px !important;
}

.home-catalog-page
.myth-home-support strong {
  font-size:
    10px !important;
}

.home-catalog-page
.myth-home-support p {
  margin-top:
    2px !important;

  font-size:
    6px !important;

  line-height:
    1.25 !important;
}

.home-catalog-page
.myth-home-support button {
  min-height:
    34px !important;

  padding:
    0 9px !important;

  border-radius:
    9px !important;

  font-size:
    7px !important;
}


/* ======================================================
   FOOTER — NO GIANT EMPTY AREA
====================================================== */

.home-catalog-page
.myth-store-footer {
  width:
    calc(100% - 10px)
    !important;

  margin:
    0 auto !important;

  padding:
    10px 3px
    14px !important;

  min-height:
    0 !important;
}

.home-catalog-page
.myth-footer-brand img {
  width:
    28px !important;

  height:
    28px !important;
}

.home-catalog-page
.myth-footer-brand strong {
  font-size:
    8px !important;
}

.home-catalog-page
.myth-footer-brand span {
  font-size:
    5px !important;
}

.home-catalog-page
.myth-footer-meta {
  gap:
    4px !important;
}

.home-catalog-page
.myth-footer-meta span {
  font-size:
    5px !important;
}


/* ======================================================
   HOW-IT-WORKS ROW
====================================================== */

.home-catalog-page
.myth-home-mini-features {
  margin-bottom:
    6px !important;
}

.home-catalog-page
.myth-home-mini-features article {
  min-height:
    50px !important;

  padding:
    7px 5px !important;
}

.home-catalog-page
.myth-home-mini-features strong {
  font-size:
    7px !important;
}

.home-catalog-page
.myth-home-mini-features small {
  font-size:
    5.5px !important;

  line-height:
    1.2 !important;
}


/* ======================================================
   REMOVE EXCESSIVE GENERIC SECTION GAPS
====================================================== */

.home-catalog-page main > section {
  scroll-margin-top: 76px;
}


/* END HOME_DENSITY_COMPACT_V3 */


/* MYTH_READABLE_COMPACT_V4 */

/*
  Compact does NOT mean tiny.
  Keep all useful sections and make them readable.
*/

.home-catalog-page
.myth-home-legacy-remove {
  display: block !important;
}


/* ---------- GAME CARDS ---------- */

.home-catalog-page
.topup-game-card {
  height: 148px !important;
  min-height: 148px !important;
}

.home-catalog-page
.topup-game-card-name {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.home-catalog-page
.topup-game-card-count {
  margin-top: 5px !important;
  font-size: 10px !important;
}


/* ---------- 3 STEPS ---------- */

.home-catalog-page
.myth-home-mini-features {
  gap: 7px !important;
  margin-bottom: 9px !important;
}

.home-catalog-page
.myth-home-mini-features article {
  min-height: 70px !important;
  padding: 10px 8px !important;
}

.home-catalog-page
.myth-feature-num {
  width: 27px !important;
  height: 27px !important;
  font-size: 9px !important;
}

.home-catalog-page
.myth-home-mini-features strong {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.home-catalog-page
.myth-home-mini-features small {
  font-size: 8px !important;
  line-height: 1.3 !important;
}


/* ---------- PAYMENT ---------- */

.home-catalog-page
.myth-home-payments {
  min-height: 82px !important;

  margin-bottom: 9px !important;

  padding: 13px !important;
}

.home-catalog-page
.myth-small-label {
  font-size: 9px !important;
}

.home-catalog-page
.myth-home-payments strong {
  font-size: 14px !important;
}

.home-catalog-page
.myth-home-payments p {
  margin-top: 4px !important;

  font-size: 10px !important;

  line-height: 1.35 !important;
}

.home-catalog-page
.myth-payment-chips span {
  min-height: 42px !important;

  padding: 0 9px !important;

  font-size: 10px !important;
}


/* ---------- TRACK ORDER ---------- */

body.home-catalog-page
.section.track {
  margin-bottom: 9px !important;

  padding: 14px !important;
}

body.home-catalog-page
.section.track
.section-head small {
  font-size: 9px !important;
}

body.home-catalog-page
.section.track
.section-head h2 {
  font-size: 22px !important;
}

body.home-catalog-page
.trackform {
  grid-template-columns:
    minmax(0,1fr)
    88px !important;
}

body.home-catalog-page
.trackform input,
body.home-catalog-page
.trackform button {
  min-height: 46px !important;
  height: 46px !important;

  font-size: 12px !important;
}


/* ======================================================
   SOCIAL SECTION
   Facebook / Instagram / TikTok / WhatsApp
   compact like Nexone — NOT removed
====================================================== */

.home-catalog-page
.myth-home-social-block {
  display: block !important;

  width:
    calc(100% - 10px) !important;

  margin:
    9px auto !important;

  padding:
    14px 10px !important;

  border:
    1px solid
    rgba(255,255,255,.07)
    !important;

  border-radius:
    16px !important;

  background:
    #080e0a !important;
}

.home-catalog-page
.myth-home-social-block h2,
.home-catalog-page
.myth-home-social-block h3 {
  margin:
    0 0 13px !important;

  color:
    rgba(255,255,255,.75)
    !important;

  font-size:
    14px !important;

  text-align: center !important;

  letter-spacing:
    .12em !important;
}


/*
  Force the four social items into one compact row.
*/
.home-catalog-page
.myth-home-social-block
> div {
  display: grid !important;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    ) !important;

  gap: 7px !important;
}

.home-catalog-page
.myth-home-social-block a {
  min-width: 0 !important;
  min-height: 72px !important;

  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 6px !important;

  padding:
    7px 3px !important;

  border:
    0 !important;

  border-radius:
    12px !important;

  background:
    transparent !important;

  color:
    rgba(255,255,255,.78)
    !important;

  font-size:
    10px !important;

  line-height:
    1.15 !important;

  text-align: center !important;
}

.home-catalog-page
.myth-home-social-block img {
  width: 42px !important;
  height: 42px !important;

  max-width: 42px !important;
  max-height: 42px !important;

  object-fit: contain !important;
}


/* ======================================================
   SECURE / RELIABLE SECTION
   keep it, but compact it
====================================================== */

.home-catalog-page
.myth-home-trust-block {
  display: block !important;

  width:
    calc(100% - 10px) !important;

  margin:
    9px auto !important;

  padding:
    15px 10px !important;

  border:
    1px solid
    rgba(93,236,137,.14)
    !important;

  border-radius:
    16px !important;

  background:
    #081009 !important;
}

.home-catalog-page
.myth-home-trust-block h2,
.home-catalog-page
.myth-home-trust-block h3 {
  margin:
    0 0 13px !important;

  color: #5dec89 !important;

  font-size:
    15px !important;

  line-height:
    1.2 !important;

  text-align: center !important;

  letter-spacing:
    .10em !important;
}

.home-catalog-page
.myth-home-trust-block
> div:first-of-type {
  display: grid !important;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    ) !important;

  gap:
    7px !important;
}

.home-catalog-page
.myth-home-trust-block article,
.home-catalog-page
.myth-home-trust-block
> div:first-of-type > div {
  min-height:
    92px !important;

  padding:
    10px 5px !important;

  border:
    1px solid
    rgba(255,255,255,.07)
    !important;

  border-radius:
    13px !important;

  background:
    rgba(255,255,255,.018)
    !important;

  text-align:
    center !important;
}

.home-catalog-page
.myth-home-trust-block strong {
  font-size:
    11px !important;

  line-height:
    1.25 !important;
}

.home-catalog-page
.myth-home-trust-block p {
  margin:
    9px 0
    0 !important;

  color:
    rgba(255,255,255,.54)
    !important;

  font-size:
    11px !important;

  line-height:
    1.35 !important;

  text-align:
    center !important;
}


/* ---------- SUPPORT ---------- */

.home-catalog-page
.myth-home-support {
  min-height:
    76px !important;

  padding:
    12px 13px !important;
}

.home-catalog-page
.myth-home-support strong {
  font-size:
    13px !important;
}

.home-catalog-page
.myth-home-support p {
  margin-top:
    3px !important;

  font-size:
    9px !important;
}

.home-catalog-page
.myth-home-support button {
  min-height:
    40px !important;

  font-size:
    9px !important;
}


/* ---------- FOOTER ---------- */

.home-catalog-page
.myth-store-footer {
  padding:
    14px 5px
    19px !important;
}

.home-catalog-page
.myth-footer-brand img {
  width:
    36px !important;

  height:
    36px !important;
}

.home-catalog-page
.myth-footer-brand strong {
  font-size:
    11px !important;
}

.home-catalog-page
.myth-footer-brand span,
.home-catalog-page
.myth-footer-meta span {
  font-size:
    8px !important;
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

  .home-catalog-page
  .myth-home-social-block
  > div {
    grid-template-columns:
      repeat(
        4,
        minmax(0,1fr)
      ) !important;

    gap: 4px !important;
  }

  .home-catalog-page
  .myth-home-social-block a {
    min-height:
      68px !important;

    font-size:
      9px !important;
  }

  .home-catalog-page
  .myth-home-social-block img {
    width:
      38px !important;

    height:
      38px !important;
  }

  .home-catalog-page
  .myth-home-trust-block
  article,

  .home-catalog-page
  .myth-home-trust-block
  > div:first-of-type > div {
    min-height:
      86px !important;
  }

}


/* END MYTH_READABLE_COMPACT_V4 */


/* FINAL_HOME_LOWER_POLISH_V5 */

/*
  Final lower homepage:
  - socials stay
  - trust stays
  - support stays
  - no giant dead space
  - readable typography
  - visually continuous footer
*/


/* ======================================================
   REMOVE DEAD SPACE BETWEEN MAIN AND LEGAL FOOTER
====================================================== */

body.home-catalog-page main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.home-catalog-page
main > *:last-child {
  margin-bottom: 0 !important;
}

body.home-catalog-page
footer {
  margin-top: 0 !important;
}


/* ======================================================
   SOCIAL CONNECT — NEXONE-LIKE
====================================================== */

body.home-catalog-page
.social-connect {
  width:
    calc(100% - 10px) !important;

  margin:
    8px auto !important;

  padding:
    14px 10px 13px !important;

  border:
    1px solid
    rgba(255,255,255,.07) !important;

  border-radius:
    16px !important;

  background:
    #080e0a !important;

  box-shadow:
    none !important;
}

body.home-catalog-page
.social-connect > small {
  display: block !important;

  margin:
    0 0 13px !important;

  color:
    rgba(255,255,255,.74) !important;

  font-size:
    13px !important;

  font-weight:
    750 !important;

  line-height:
    1.2 !important;

  letter-spacing:
    .13em !important;

  text-align:
    center !important;
}

body.home-catalog-page
.social-links {
  display: grid !important;

  grid-template-columns:
    repeat(4, minmax(0,1fr))
    !important;

  gap:
    6px !important;
}

body.home-catalog-page
.social-link {
  display: flex !important;

  flex-direction:
    column !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    6px !important;

  min-width:
    0 !important;

  min-height:
    68px !important;

  padding:
    6px 2px !important;

  border:
    0 !important;

  border-radius:
    12px !important;

  background:
    transparent !important;

  color:
    rgba(255,255,255,.78)
    !important;

  text-align:
    center !important;

  font-size:
    10px !important;

  line-height:
    1.15 !important;
}

body.home-catalog-page
.social-icon {
  display: grid !important;

  place-items:
    center !important;

  width:
    42px !important;

  height:
    42px !important;

  margin:
    0 !important;
}

body.home-catalog-page
.social-icon svg {
  width:
    100% !important;

  height:
    100% !important;
}


/* ======================================================
   TRUST — DENSE BUT READABLE
====================================================== */

body.home-catalog-page
.trust-section {
  width:
    calc(100% - 10px) !important;

  margin:
    8px auto !important;

  padding:
    14px 10px !important;

  border:
    1px solid
    rgba(93,236,137,.14)
    !important;

  border-radius:
    16px !important;

  background:
    #081009 !important;

  box-shadow:
    none !important;
}

body.home-catalog-page
.trust-section > small {
  display: block !important;

  margin:
    0 0 12px !important;

  color:
    #5dec89 !important;

  font-size:
    14px !important;

  font-weight:
    800 !important;

  line-height:
    1.2 !important;

  letter-spacing:
    .10em !important;

  text-align:
    center !important;
}

body.home-catalog-page
.trust-features {
  display: grid !important;

  grid-template-columns:
    repeat(3, minmax(0,1fr))
    !important;

  gap:
    7px !important;
}

body.home-catalog-page
.trust-feature {
  min-width:
    0 !important;

  min-height:
    82px !important;

  padding:
    9px 4px !important;

  display:
    flex !important;

  flex-direction:
    column !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    6px !important;

  border:
    1px solid
    rgba(255,255,255,.07)
    !important;

  border-radius:
    13px !important;

  background:
    rgba(255,255,255,.018)
    !important;

  text-align:
    center !important;
}

body.home-catalog-page
.trust-feature-icon {
  font-size:
    28px !important;

  line-height:
    1 !important;
}

body.home-catalog-page
.trust-feature span:last-child {
  font-size:
    10px !important;

  font-weight:
    700 !important;

  line-height:
    1.25 !important;
}

body.home-catalog-page
.trust-since {
  margin-top:
    12px !important;

  padding-top:
    12px !important;

  border-top:
    1px solid
    rgba(255,255,255,.07)
    !important;

  text-align:
    center !important;
}

body.home-catalog-page
.trust-since strong {
  display:
    block !important;

  color:
    #5dec89 !important;

  font-size:
    12px !important;

  line-height:
    1.25 !important;

  letter-spacing:
    .10em !important;
}

body.home-catalog-page
.trust-since span {
  display:
    block !important;

  margin-top:
    5px !important;

  color:
    rgba(255,255,255,.56)
    !important;

  font-size:
    10px !important;

  line-height:
    1.3 !important;
}


/* ======================================================
   SUPPORT — COMPACT
====================================================== */

body.home-catalog-page
.myth-home-support {
  width:
    calc(100% - 10px) !important;

  min-height:
    72px !important;

  margin:
    8px auto !important;

  padding:
    11px 12px !important;

  border-radius:
    14px !important;
}

body.home-catalog-page
.myth-home-support
.myth-small-label {
  font-size:
    8px !important;
}

body.home-catalog-page
.myth-home-support strong {
  font-size:
    13px !important;
}

body.home-catalog-page
.myth-home-support p {
  margin-top:
    3px !important;

  font-size:
    9px !important;

  line-height:
    1.3 !important;
}

body.home-catalog-page
.myth-home-support button {
  min-height:
    40px !important;

  padding:
    0 11px !important;

  font-size:
    9px !important;
}


/* ======================================================
   BRAND FOOTER
====================================================== */

body.home-catalog-page
.myth-store-footer {
  width:
    calc(100% - 10px) !important;

  min-height:
    66px !important;

  margin:
    8px auto 0 !important;

  padding:
    11px 10px !important;

  border:
    1px solid
    rgba(255,255,255,.06)
    !important;

  border-radius:
    14px 14px 0 0 !important;

  background:
    #071009 !important;
}

body.home-catalog-page
.myth-footer-brand {
  gap:
    8px !important;
}

body.home-catalog-page
.myth-footer-brand img {
  width:
    38px !important;

  height:
    38px !important;
}

body.home-catalog-page
.myth-footer-brand strong {
  font-size:
    11px !important;

  letter-spacing:
    .12em !important;
}

body.home-catalog-page
.myth-footer-brand span {
  margin-top:
    3px !important;

  font-size:
    8px !important;

  line-height:
    1.25 !important;
}

body.home-catalog-page
.myth-footer-meta {
  gap:
    6px !important;
}

body.home-catalog-page
.myth-footer-meta span {
  font-size:
    8px !important;

  line-height:
    1.25 !important;
}


/* ======================================================
   LEGAL FOOTER — ATTACHED, NO GIANT GAP
====================================================== */

body.home-catalog-page
> .myth-legal-footer {
  width:
    calc(100% - 10px) !important;

  min-height:
    0 !important;

  margin:
    0 auto 8px !important;

  padding:
    13px 10px 16px !important;

  border:
    1px solid
    rgba(255,255,255,.06)
    !important;

  border-top:
    0 !important;

  border-radius:
    0 0 14px 14px !important;

  background:
    #071009 !important;
}

body.home-catalog-page
.myth-legal-footer__inner {
  display:
    flex !important;

  flex-direction:
    column !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    9px !important;

  width:
    100% !important;

  min-height:
    0 !important;

  padding:
    0 !important;

  margin:
    0 !important;
}

body.home-catalog-page
.myth-legal-footer__inner
> span {
  color:
    rgba(255,255,255,.48)
    !important;

  font-size:
    10px !important;

  line-height:
    1.3 !important;

  letter-spacing:
    .08em !important;

  text-align:
    center !important;
}

body.home-catalog-page
.myth-legal-footer nav {
  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    22px !important;

  margin:
    0 !important;
}

body.home-catalog-page
.myth-legal-footer a {
  color:
    rgba(255,255,255,.72)
    !important;

  font-size:
    11px !important;

  font-weight:
    700 !important;

  line-height:
    1.2 !important;

  letter-spacing:
    .10em !important;
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 600px) {

  body.home-catalog-page
  .social-connect,

  body.home-catalog-page
  .trust-section,

  body.home-catalog-page
  .myth-home-support,

  body.home-catalog-page
  .myth-store-footer,

  body.home-catalog-page
  > .myth-legal-footer {
    width:
      calc(100% - 10px) !important;
  }

  body.home-catalog-page
  .social-links {
    gap:
      3px !important;
  }

  body.home-catalog-page
  .social-link {
    min-height:
      64px !important;

    font-size:
      9px !important;
  }

  body.home-catalog-page
  .social-icon {
    width:
      38px !important;

    height:
      38px !important;
  }

  body.home-catalog-page
  .trust-feature {
    min-height:
      78px !important;
  }

  body.home-catalog-page
  .trust-feature-icon {
    font-size:
      26px !important;
  }

  body.home-catalog-page
  .trust-feature span:last-child {
    font-size:
      9px !important;
  }

}


/* END FINAL_HOME_LOWER_POLISH_V5 */


/* SINGLE_MYTH_LOGO_V6 */

/*
  Professional branding rule:
  Keep the MYTH logo only in the main header.
  Remove repeated decorative logos.
*/

/* Remove duplicate hero logo */
body.home-catalog-page
.myth-hero-mark {
  display: none !important;
}

/* Hero becomes full-width copy */
body.home-catalog-page
.myth-store-hero {
  grid-template-columns:
    minmax(0, 1fr) !important;
}

body.home-catalog-page
.myth-store-hero-copy {
  max-width: 720px !important;
}

/* Remove duplicate footer logo */
body.home-catalog-page
.myth-footer-brand img {
  display: none !important;
}

/* Keep footer branding as text only */
body.home-catalog-page
.myth-footer-brand {
  gap: 0 !important;
}

body.home-catalog-page
.myth-footer-brand strong {
  font-size: 12px !important;
  letter-spacing: .14em !important;
}

body.home-catalog-page
.myth-footer-brand span {
  margin-top: 4px !important;
}

/* Mobile */
@media (max-width: 600px) {

  body.home-catalog-page
  .myth-store-hero {
    grid-template-columns:
      minmax(0, 1fr) !important;
  }

  body.home-catalog-page
  .myth-store-hero-copy {
    max-width: 100% !important;
  }

}

/* END SINGLE_MYTH_LOGO_V6 */


/* COMPACT_GAME_BACK_ICON_V1 */

.myth-back-icon-only{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;
  margin:12px 0 14px !important;
  padding:0 !important;
  border:1px solid rgba(93,236,137,.22) !important;
  border-radius:14px !important;
  background:linear-gradient(180deg,#101a13,#0a110d) !important;
  color:#5dec89 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

.myth-back-icon-only:hover,
.myth-back-icon-only:focus-visible{
  background:linear-gradient(180deg,#132017,#0c1510) !important;
  border-color:rgba(93,236,137,.34) !important;
  outline:none !important;
}

.myth-back-icon-only svg{
  display:block;
  width:18px !important;
  height:18px !important;
  fill:currentColor !important;
}

.myth-back-icon-only span,
.myth-back-icon-only strong,
.myth-back-icon-only small{
  display:none !important;
}

/* PROFESSIONAL_AUTH_MODAL_V1 */

/* ---------------------------------------------
   FORGOT PASSWORD
   Clean text action only — no box/button look.
--------------------------------------------- */

#showForgotPassword {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 10px 0 4px auto !important;
  padding: 4px 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: rgba(255,255,255,.70) !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;

  text-decoration: none !important;

  cursor: pointer;
}

#showForgotPassword:hover,
#showForgotPassword:focus-visible {
  color: #5dec89 !important;
  background: transparent !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;

  outline: none !important;
}


/* ---------------------------------------------
   LOGIN BUTTON
   Main action stays visually dominant.
--------------------------------------------- */

#customerLoginForm button[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;

  margin-top: 18px !important;

  border-radius: 14px !important;

  font-weight: 750 !important;
}


/* ---------------------------------------------
   LOGIN FORM ACTIONS
--------------------------------------------- */

#customerLoginForm {
  position: relative;
}


/* ---------------------------------------------
   CREATE ACCOUNT AREA
   Secondary action, not another giant button.
--------------------------------------------- */

#showCustomerRegister {
  position: relative;

  display: flex !important;

  align-items: center;
  justify-content: center;

  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;

  margin:
    18px auto 0 !important;

  padding:
    0 14px !important;

  border:
    1px solid rgba(93,236,137,.22)
    !important;

  border-radius:
    12px !important;

  background:
    rgba(93,236,137,.04)
    !important;

  box-shadow:
    none !important;

  color:
    rgba(255,255,255,.86)
    !important;

  font-size:
    14px !important;

  font-weight:
    650 !important;

  line-height:
    1 !important;

  cursor: pointer;
}

#showCustomerRegister:hover,
#showCustomerRegister:focus-visible {
  border-color:
    rgba(93,236,137,.48)
    !important;

  background:
    rgba(93,236,137,.09)
    !important;

  color:
    #5dec89 !important;

  outline:
    none !important;
}


/* ---------------------------------------------
   DIVIDER BEFORE REGISTER
--------------------------------------------- */

#guestCustomerActions {
  position: relative;

  margin-top:
    8px !important;

  padding-top:
    16px !important;
}

#guestCustomerActions::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 1px;

  background:
    rgba(255,255,255,.07);
}


/* ---------------------------------------------
   REGISTER FORM
--------------------------------------------- */

#customerRegisterForm button[type="submit"] {
  width: 100% !important;

  min-height:
    52px !important;

  margin-top:
    16px !important;

  border-radius:
    14px !important;

  font-weight:
    750 !important;
}


/* Back to login = text-style secondary control */

#showCustomerLogin,
#showCustomerLoginFromReset {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin:
    12px auto 0 !important;

  padding:
    5px 2px !important;

  border:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  color:
    rgba(255,255,255,.70)
    !important;

  font-size:
    14px !important;

  font-weight:
    500 !important;
}

#showCustomerLogin:hover,
#showCustomerLoginFromReset:hover {
  color:
    #5dec89 !important;

  background:
    transparent !important;
}


/* ---------------------------------------------
   AUTH MODAL SPACING
--------------------------------------------- */

#customerPanel .modal-card {
  padding:
    26px !important;
}

#customerPanel label {
  margin-bottom:
    14px;
}

#customerPanel input {
  min-height:
    52px !important;

  border-radius:
    13px !important;
}


/* Password eye stays clean and aligned */

#customerPanel
.myth-password-toggle {
  width:
    38px !important;

  height:
    38px !important;

  right:
    8px !important;

  border-radius:
    10px !important;
}


/* ---------------------------------------------
   MOBILE
--------------------------------------------- */

@media (max-width: 600px) {

  #customerPanel .modal-card {
    padding:
      22px 18px !important;
  }

  #customerPanel input {
    min-height:
      50px !important;
  }

  #customerLoginForm
  button[type="submit"],
  #customerRegisterForm
  button[type="submit"] {
    min-height:
      50px !important;
  }

  #showForgotPassword {
    font-size:
      13px !important;
  }

  #showCustomerRegister {
    min-height:
      40px !important;

    padding:
      0 13px !important;

    font-size:
      13px !important;
  }
}

/* END PROFESSIONAL_AUTH_MODAL_V1 */

/* PROFESSIONAL_AUTH_FLOW_V2 */

/* Remove the old oversized guest-action layout */
#guestCustomerActions {
  margin: 16px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
}

/* CREATE ACCOUNT from login screen = clean text action */
#guestCustomerActions #showCustomerRegister {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #5dec89 !important;

  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  cursor: pointer;
}

/* Login link used on register screen */
#guestCustomerActions #showCustomerLogin {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #5dec89 !important;

  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* Forgot screen Back to Login */
#customerForgotForm #showCustomerLogin,
#customerResetForm #showCustomerLoginFromReset {
  display: inline-flex !important;
  align-items: center;

  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 14px 0 0 !important;
  padding: 4px 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: rgba(255,255,255,.72) !important;

  font-size: 14px !important;
  font-weight: 500 !important;

  cursor: pointer;
}

#customerForgotForm #showCustomerLogin:hover,
#customerResetForm #showCustomerLoginFromReset:hover,
#guestCustomerActions #showCustomerLogin:hover,
#guestCustomerActions #showCustomerRegister:hover {
  color: #7af29d !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Keep primary actions dominant */
#customerForgotForm button[type="submit"],
#customerRegisterForm button[type="submit"],
#customerLoginForm button[type="submit"],
#customerResetForm button[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 14px !important;
  font-weight: 750 !important;
}

/* Remove excessive empty space inside auth modal */
#customerPanel form {
  margin-bottom: 0 !important;
}

#customerPanel label:last-of-type {
  margin-bottom: 0 !important;
}

/* END PROFESSIONAL_AUTH_FLOW_V2 */

/* PROFESSIONAL_GAME_ARTWORK_V2 */

/*
  Cleaner, more professional game artwork handling.
  Better crop, readability, and consistency.
*/

.home-catalog-page .topup-game-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #08100b !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.18) !important;
}

/* readable dark overlay */
.home-catalog-page .topup-game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(3,8,6,.02) 0%,
      rgba(3,8,6,.06) 22%,
      rgba(3,8,6,.16) 42%,
      rgba(3,8,6,.42) 68%,
      rgba(3,8,6,.82) 100%
    ) !important;
}

/* status badge always visible */
.home-catalog-page .topup-game-card::before {
  z-index: 5 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(8,14,11,.78) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* text above artwork */
.home-catalog-page .topup-game-card-name,
.home-catalog-page .topup-game-card-count {
  position: relative;
  z-index: 4;
}

.home-catalog-page .topup-game-card-name {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

.home-catalog-page .topup-game-card-count {
  color: rgba(255,255,255,.78) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.68);
}

/* remove fake icon when real artwork exists */
.home-catalog-page .topup-game-card[data-topup-game="pubg"] .topup-game-card-icon,
.home-catalog-page .topup-game-card[data-topup-game="mcgg"] .topup-game-card-icon,
.home-catalog-page .topup-game-card[data-topup-game="roblox"] .topup-game-card-icon,
.home-catalog-page .topup-game-card[data-topup-game="mla"] .topup-game-card-icon,
.home-catalog-page .topup-game-card[data-topup-game="poppo"] .topup-game-card-icon,
.home-catalog-page .topup-game-card[data-topup-game="poppo-live"] .topup-game-card-icon {
  display: none !important;
}

/* -----------------------------
   PER-GAME CROPPING
------------------------------ */

/* PUBG */
.home-catalog-page .topup-game-card[data-topup-game="pubg"] {
  background-image: url("/images/games/pubg.jpeg") !important;
  background-size: 155% auto !important;
  background-position: center 22% !important;
}

/* MAGIC CHESS */
.home-catalog-page .topup-game-card[data-topup-game="mcgg"] {
  background-image: url("/images/games/magic-chess-go.jpeg") !important;
  background-size: 150% auto !important;
  background-position: center 20% !important;
}

/* ROBLOX */
.home-catalog-page .topup-game-card[data-topup-game="roblox"] {
  background-image: url("/images/games/roblox.jpeg") !important;
  background-size: 120% auto !important;
  background-position: center 42% !important;
}

/* ML ADVENTURE */
.home-catalog-page .topup-game-card[data-topup-game="mla"] {
  background-image: url("/images/games/mla.jpeg") !important;
  background-size: 150% auto !important;
  background-position: center 18% !important;
}

/* POPPO LIVE */
.home-catalog-page .topup-game-card[data-topup-game="poppo"],
.home-catalog-page .topup-game-card[data-topup-game="poppo-live"] {
  background-image: url("/images/games/poppo-live.png") !important;
  background-size: 105% auto !important;
  background-position: center 50% !important;
}

/* keep MLBB premium placeholder clean until real art is added */
.home-catalog-page .topup-game-card[data-topup-game="mlbb"] .topup-game-card-icon {
  display: flex !important;
}

@media (hover:hover) {
  .home-catalog-page .topup-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(93,236,137,.28) !important;
    box-shadow:
      0 14px 28px rgba(0,0,0,.24),
      inset 0 0 0 1px rgba(93,236,137,.03) !important;
  }
}

.home-catalog-page .topup-game-card:active {
  transform: scale(.985) !important;
}

/* END_PROFESSIONAL_GAME_ARTWORK_V2 */

/* POPPO_CARD_FIX_V3 */

.home-catalog-page
.topup-game-card[data-topup-game="poppo"],
.home-catalog-page
.topup-game-card[data-topup-game="poppo-live"] {
  background-color: #080b09 !important;
  background-image: url("/images/games/poppo-live.png") !important;

  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center 42% !important;
}

.home-catalog-page
.topup-game-card[data-topup-game="poppo"]::after,
.home-catalog-page
.topup-game-card[data-topup-game="poppo-live"]::after {
  display: block !important;

  background:
    linear-gradient(
      180deg,
      rgba(4,7,5,.02) 0%,
      rgba(4,7,5,.06) 42%,
      rgba(4,7,5,.42) 67%,
      rgba(4,7,5,.92) 100%
    ) !important;
}

/* END POPPO_CARD_FIX_V3 */

/* MCGG_ACTIVE_GAME_ART_V1 */

.myth-active-game-icon.has-game-art {
  overflow: hidden !important;
  padding: 0 !important;

  background:
    #07100b !important;

  border:
    1px solid
    rgba(93,236,137,.16) !important;
}

.myth-active-game-icon.has-game-art img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position:
    center 28%;

  border-radius:
    inherit;
}

/*
  Give the artwork a subtle professional
  dark treatment without hiding the image.
*/

.myth-active-game-icon.has-game-art::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius:
    inherit;

  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.04);
}

/* END MCGG_ACTIVE_GAME_ART_V1 */

/* MULTI_GAME_DETAILS_VISIBILITY_V2 */

/*
  Some older site CSS overrides the HTML hidden attribute.
  These rules make the game-account behavior authoritative.
*/

#gamePlayerIdField[hidden],
#gameServerIdField[hidden] {
  display: none !important;
}


/* ---------- ACTIVE GAME ARTWORK ---------- */

.myth-active-game-icon.has-game-art {
  position: relative !important;

  overflow: hidden !important;

  padding: 0 !important;

  background:
    #07100b !important;

  border:
    1px solid
    rgba(93,236,137,.16) !important;

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.03) !important;
}

.myth-active-game-icon.has-game-art img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;

  border-radius:
    inherit !important;
}


/* PUBG */
.myth-active-game-icon.game-art-pubg img {
  object-position:
    center 22% !important;
}


/* Magic Chess */
.myth-active-game-icon.game-art-mcgg img {
  object-position:
    center 28% !important;
}


/* Roblox */
.myth-active-game-icon.game-art-roblox img {
  object-position:
    center center !important;
}


/* Mobile Legends Adventure */
.myth-active-game-icon.game-art-mla img {
  object-position:
    center 24% !important;
}


/* subtle image finish */
.myth-active-game-icon.has-game-art::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  border-radius:
    inherit;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.02),
      rgba(0,0,0,.08)
    );

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.035);
}

/* END MULTI_GAME_DETAILS_VISIBILITY_V2 */

/* GAME_SPECIFIC_PACKAGE_ICONS_V1 */

/*
  MLBB keeps the original diamond gem.
  Other games use their own visual identity.
*/

.package-game-icon:not(.package-game-icon-mlbb) {
  width: 34px !important;
  height: 34px !important;

  object-fit: cover !important;
  object-position: center !important;

  border-radius: 9px !important;

  background: #08100b !important;

  border:
    1px solid
    rgba(255,255,255,.10) !important;

  box-shadow:
    0 4px 12px
    rgba(0,0,0,.25) !important;
}

.package-game-icon-pubg {
  object-position:
    center 22% !important;
}

.package-game-icon-mcgg {
  object-position:
    center 28% !important;
}

.package-game-icon-roblox {
  object-position:
    center center !important;
}

.package-game-icon-mla {
  object-position:
    center 24% !important;
}

/* END GAME_SPECIFIC_PACKAGE_ICONS_V1 */

/* REAL_PACKAGE_ASSETS_V3 */

.package-game-icon-pubg,
.package-game-icon-roblox {
  object-fit: contain !important;
  object-position: center !important;

  padding: 3px !important;

  background:
    rgba(7,12,9,.58) !important;

  border:
    1px solid
    rgba(255,255,255,.08) !important;
}

.package-game-icon-pubg {
  padding: 1px !important;
}

.package-game-icon-roblox {
  padding: 4px !important;
}

/* END REAL_PACKAGE_ASSETS_V3 */

/* MLBB_REAL_ARTWORK_V1 */

/* Homepage MLBB card */
.home-catalog-page
.topup-game-card[data-topup-game="mlbb"] {
  background-image:
    url("/images/games/mlbb.jpeg") !important;

  background-size:
    cover !important;

  background-position:
    center 28% !important;
}

/* remove old ML placeholder */
.home-catalog-page
.topup-game-card[data-topup-game="mlbb"]
.topup-game-card-icon {
  display:
    none !important;
}

/* keep bottom text readable */
.home-catalog-page
.topup-game-card[data-topup-game="mlbb"]::after {
  display:
    block !important;

  background:
    linear-gradient(
      180deg,
      rgba(3,8,6,.02) 0%,
      rgba(3,8,6,.08) 38%,
      rgba(3,8,6,.50) 70%,
      rgba(3,8,6,.94) 100%
    ) !important;
}

/* Active Game MLBB thumbnail */
.myth-active-game-icon.game-art-mlbb img {
  object-position:
    center 28% !important;
}

/* END MLBB_REAL_ARTWORK_V1 */
