:root {
  color-scheme: dark;
  color: #eaf0fb;
  background: #101721;
  font: 16px/1.6 system-ui, sans-serif;
}
body { margin: 0; }
main { max-width: 44rem; margin: 3rem auto; padding: 0 1rem; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .4rem; font-size: 2rem; }
h2 { margin-bottom: 1rem; font-size: 1.15rem; }
header p { color: #a8b5ca; }
section {
  padding: 1.25rem;
  border: 1px solid #344255;
  border-radius: .75rem;
  background: #182332;
  margin-top: 1rem;
}
main form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
main label { grid-column: 1 / -1; }
main input, main button {
  font: inherit;
  padding: .55rem .75rem;
  border: 1px solid #637b9c;
  border-radius: .35rem;
}
main input { background: #101721; min-width: 0; }
main button { background: #263c56; cursor: pointer; }
main button[type="submit"] { background: #b6d5ff; color: #102238; font-weight: 650; }
form[data-recharge-form]:invalid button[type="submit"] { display: none; }
.checkout-role-help { grid-column: 1 / -1; margin: 0 0 .3rem; color: #bad4f2; font-size: .94rem; }
.checkout-role-signin {
  grid-column: 1 / -1;
  background: #b6d5ff;
  color: #102238;
  font-weight: 650;
}
.checkout-change-account { grid-column: 1 / -1; color: #a9cafa; }
main button:disabled { opacity: .55; cursor: default; }
article + article { border-top: 1px solid #344255; padding-top: .75rem; margin-top: .75rem; }
.order-title { display: flex; gap: .5rem; justify-content: space-between; flex-wrap: wrap; }
.order-no { color: #b2bfd1; overflow-wrap: anywhere; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; }
#message { margin: .75rem 0 0; color: #bad4f2; }
.payment-qr {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  image-rendering: pixelated;
  margin: .75rem auto 1rem;
  background: #fff;
}
.payment-qr-download {
  display: inline-block;
  padding: .5rem .8rem;
  color: #102238;
  background: #b6d5ff;
  border-radius: .35rem;
  font-weight: 650;
}
@media (max-width: 450px) {
  main { margin: 1.25rem auto; }
  main form { grid-template-columns: 1fr; }
}
.payment-nav { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 20px; }
.payment-nav a { color: #a9cafa; }
main select { max-width: 100%; padding: 9px; color: inherit; background: #111a25; border: 1px solid #46586d; }
.partner-report { max-width: 1170px; }
.report-table { overflow: auto; }
.report-table table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #324157; }
.report-id { font-family: monospace; overflow-wrap: anywhere; min-width: 10em; }
.report-filters { margin-bottom: 16px; }
.totals { display: flex; flex-wrap: wrap; gap: 24px; }
.totals dd { margin: 6px 0 0; font-size: 1.25rem; font-weight: 700; }

.gcash-page {
  min-height: 100vh;
  background: #10141e;
  color: #eee7d6;
  font: 15px/1.7 Arial, "Microsoft YaHei", sans-serif;
}
.gcash-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #10151c18 0%, #10151c18 38%, #10141ebf 80%, #10141ef2 100%),
    url("/assets/game-ui-20261109/royal-city.webp") center top / cover no-repeat;
}
.gcash-page > :is(header, main) {
  position: relative;
}
.gcash-page .gcash-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: .75rem clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
  color: #f2e3b9;
  background: linear-gradient(180deg, #111723d9, #11172300);
}
.gcash-brand img { display: block; width: clamp(6rem, 15vw, 9rem); height: auto; }
.gcash-page .gcash-site-header .site-account-bar { margin-left: auto; }
.gcash-page .gcash-site-header .site-language-select { display: none; }
.gcash-page .payment-nav { flex-wrap: wrap; gap: .5rem; margin: 0; }
.checkout-language-control { display: inline-flex; gap: .5rem; align-items: center; color: #ead8b0; font-size: 13px; }
#checkout-language { min-height: 40px; padding: 6px 12px; border: 1px solid #9a8053; border-radius: 5px; background: #161f30; color: #efdfb4; font: inherit; }
.gcash-page [data-gcash-english-only][hidden] { display: none; }
html[lang="fil"] .payment-methods { grid-template-columns: minmax(0, 1fr); }
.gcash-page main {
  box-sizing: border-box;
  max-width: 920px;
  width: calc(100% - 64px);
  margin: 3.5rem auto 2rem;
  padding: 28px 32px 22px;
  border: 20px solid transparent;
  isolation: isolate;
}
.gcash-page main::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
  border: 20px solid transparent;
  border-image: url("/assets/game-ui-20261109/window.png") 166 160 80 160 fill / 83px 80px 40px 80px / 0 stretch;
  opacity: .75;
}
.checkout-heading {
  padding-bottom: .8rem;
  border-bottom: 1px solid #c4ad6540;
}
.gcash-page :is(h1, h2, .payment-method-card strong) {
  color: #f0d798;
  font-family: Georgia, "Microsoft YaHei", serif;
  font-weight: 600;
  text-shadow: 0 2px 3px #0a0e18;
}
.gcash-page h1 { font-size: 32px; line-height: 1.3; }
.gcash-page :is(main section, .payment-method-card, .site-login-dialog) {
  border: 12px solid transparent;
  border-image: url("/assets/game-ui-20261109/panel.png") 36 fill / 20px / 0 stretch;
  border-radius: 0;
  background: #1a2133dd;
}
.gcash-page main section {
  max-width: 38rem;
  margin: 18px auto 0;
  padding: 22px;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.payment-method-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .3rem;
  min-height: 106px;
  padding: 14px;
  color: #eee7d6;
  text-align: center;
  text-decoration: none;
}
.payment-method-card strong { font-size: 22px; }
.payment-method-card span { font-size: 14px; }
.payment-method-card:hover { filter: brightness(1.12); }
.gcash-page [data-recharge-form] { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.gcash-page [data-recharge-form] label { margin-top: .35rem; color: #dddacb; font-weight: 600; }
.gcash-page [data-recharge-form] :is(input:not([type="hidden"]), select, button) {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border-radius: 2px;
  font: inherit;
}
.gcash-page [data-recharge-form] :is(input:not([type="hidden"]), select) {
  border: 1px solid #7d806e;
  background: #141d2d;
  color: #eee6d5;
}
.gcash-page :is([data-recharge-form] button[type="submit"], .checkout-role-signin, .site-login-submit) {
  margin-top: .4rem;
  min-height: 50px;
  border: 0 solid transparent;
  border-image: url("/assets/game-ui-20261109/button-red.png") 0 66 fill / 0 48px / 0 stretch;
  border-radius: 0;
  background: transparent;
  color: #fff1cc;
  text-shadow: 0 2px 3px #000;
  font-weight: 700;
}
.gcash-page :is([data-recharge-form] button[type="submit"], .checkout-role-signin, .site-login-submit):hover {
  border-image-source: url("/assets/game-ui-20261109/button-red-active.png");
}
.gcash-page .payment-qr-download {
  min-height: 28px;
  padding: .6rem 2rem;
  border: 0 solid transparent;
  border-image: url("/assets/game-ui-20261109/button-blue.png") 0 53 fill / 0 38px / 0 stretch;
  border-radius: 0;
  background: transparent;
  color: #fff1cc;
  text-shadow: 0 2px 3px #000;
}
.gcash-page .payment-qr-download:hover { border-image-source: url("/assets/game-ui-20261109/button-blue-active.png"); }
.gcash-page .site-login-dialog {
  width: min(26rem, calc(100vw - 2rem));
  padding: clamp(.8rem, 4vw, 1.3rem);
}
.gcash-page .site-login-dialog::before {
  content: "";
  display: block;
  width: 6rem;
  height: 3.375rem;
  margin-bottom: .45rem;
  background: url("/assets/game-brand-20261109/brand-en.webp") center / contain no-repeat;
}
.gcash-page .site-login-dialog form { display: block; }
.gcash-page .site-login-dialog .site-login-status:empty { display: none; }
.gcash-page .site-login-dialog .site-login-submit { margin-top: 1rem; }
.gcash-page :is(a, button, input, select):focus-visible { outline: 2px solid #f2d99c; outline-offset: 2px; }

@media (max-width: 720px) {
  .gcash-page::before { background-size: auto, auto 900px; }
  .gcash-page main { width: calc(100% - 28px); margin: 2rem auto 1.5rem; border-width: 12px; padding: 18px 10px; }
  .gcash-page main::before { inset: -12px; border-width: 12px; border-image-width: 63px 52px 30px; }
  .gcash-page h1 { font-size: 26px; }
  .gcash-page main section { padding: 14px 10px; border-width: 8px; }
  .payment-methods { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .payment-method-card { min-height: 60px; padding: 7px; }
}
