.hero::before {
  background:
    radial-gradient(circle at 78% 28%, rgba(200, 164, 92, .18), transparent 18%),
    linear-gradient(115deg, rgba(9, 11, 16, 1), rgba(20, 24, 33, .75));
}

.game-brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.game-brand-crown{display:grid;place-items:center;color:var(--gold-light);font:28px/1 Georgia,"Times New Roman",serif;text-decoration:none;text-shadow:0 0 18px rgba(239,214,141,.2)}.gate-game-brand{justify-content:center;margin:0 auto 24px;text-align:left}.gate-game-brand strong,.gate-game-brand small,.payment-modal-brand strong,.payment-modal-brand small{display:block}.gate-game-brand strong,.payment-modal-brand strong{font-size:15px;letter-spacing:2px}.gate-game-brand small,.payment-modal-brand small{color:var(--gold);font-size:8px;letter-spacing:2.2px}
.launch-gate-card .brand-mark { margin: 0 auto 24px; }
.product-logo{width:52px;height:52px;font-size:34px}
.kofi-icon { padding: 2px; background: transparent; object-fit: contain; }
.hero-emblem { border: 0; background: transparent; transform: none; box-shadow: 0 0 80px rgba(200,164,92,.12); }
.hero-logo { width: 210px; height: 210px; border-radius: 50%; object-fit: contain; box-shadow: 0 0 55px rgba(200,164,92,.14); }

#rechargeContent,
#siteFooter { display: none; }
body.launch-allowed #rechargeContent,
body.launch-allowed #siteFooter { display: block; }
body.launch-allowed #siteFooter { display: flex; }
body.launch-allowed .launch-gate { display: none; }
.launch-gate {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 50% 35%, rgba(200,164,92,.12), transparent 30%),
    #090b10;
}
.launch-gate-card {
  width: min(560px, 100%);
  padding: 52px 36px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #171c25, #0d1016);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
}
.launch-gate-card .brand-mark { margin: 0 auto 24px; }
.launch-gate-card h1 { margin: 0 0 14px; font-size: clamp(25px, 5vw, 36px); }
.launch-gate-card > p:not(.step-label) { margin: 5px 0; color: var(--muted); }
.launch-gate-card .launch-gate-en { font-size: 12px; }
.launch-gate-card a {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold-light);
  text-decoration: none;
}

.currency-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.currency-tab {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  background: #0d1118;
  color: var(--muted);
  cursor: pointer;
}
.currency-tab.active { border-color: var(--gold); background: rgba(200,164,92,.1); color: var(--gold-light); }
.payment-card.is-hidden { display: none; }
.payment-card:not(:disabled) { cursor: pointer; opacity: 1; }
.payment-card.active { border-color: var(--gold); background: rgba(200,164,92,.1); box-shadow: inset 0 0 0 1px rgba(200,164,92,.18); }
.kofi-steamid-notice {
  margin: 14px 0 0!important;
  padding: 12px 14px;
  border: 1px solid rgba(229,173,103,.72);
  border-left: 4px solid var(--danger);
  border-radius: 4px;
  background: rgba(229,173,103,.1);
  color: var(--gold-light)!important;
  font-size: 13px!important;
  font-weight: 700;
  line-height: 1.65;
}
.kofi-steamid-notice.is-hidden { display: none; }
.package-card { min-height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.package-card.active::after { content: "✓"; position: absolute; top: 0; right: 0; width: 34px; height: 34px; padding: 2px 4px 0 0; background: var(--gold); color: #111; font-size: 14px; font-weight: 900; text-align: right; clip-path: polygon(0 0,100% 0,100% 100%); }
.package-name { min-height: 24px; margin-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 800; }
.reward-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 14px; color: var(--text); font-size: 25px; font-weight: 900; }
.reward-row img { width: 28px; height: 28px; object-fit: contain; image-rendering: auto; }
.reward-row b { font: inherit; color: inherit; }
.package-divider { width: 100%; border-top: 1px dashed rgba(200,164,92,.25); }
.package-price { margin-top: 13px!important; color: var(--gold-light); font-size: 21px!important; }
.package-grid.is-hidden,
.cny-order-row.is-hidden { display: none; }
.custom-package { grid-column: 1 / -1; min-height: auto; align-items: stretch; padding: 18px; cursor: default; }
.custom-package:hover { transform: none; }
.custom-package > strong,.custom-package > small { text-align: left; }
.custom-row { display: grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; margin-top:14px; }
.custom-row > span { color: var(--gold-light); font-size:20px; font-weight:800; }
.custom-row input { min-width:0; padding:10px 12px; border:1px solid rgba(255,255,255,.12); border-radius:4px; background:#090c11; color:var(--text); outline:none; }
.custom-row input:focus { border-color:var(--gold); }
.custom-row button { padding:10px 16px; border:0; border-radius:4px; background:var(--gold); color:#111; font-weight:800; cursor:pointer; }
.checkout-button:not(:disabled) { cursor:pointer; opacity:1; }
.payment-modal[hidden] { display:none; }
.payment-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; }
.payment-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.78); backdrop-filter:blur(8px); }
.payment-modal-card { position:relative; width:min(430px,100%); min-height:440px; padding:34px; border:1px solid var(--line); background:linear-gradient(155deg,#181d26,#0d1016); text-align:center; box-shadow:0 28px 100px rgba(0,0,0,.65); }
.payment-modal-close { position:absolute; top:12px; right:14px; width:34px; height:34px; border:0; background:transparent; color:var(--muted); font-size:26px; cursor:pointer; }
.payment-modal-brand{margin-bottom:14px;text-align:left}
.payment-modal-card h2 { margin:0 0 4px; font-size:23px; }
.payment-modal-amount { margin:0 0 18px; color:var(--gold-light); font-size:21px; font-weight:800; }
.payment-qr { width:244px; min-height:244px; margin:0 auto 16px; padding:11px; background:#fff; color:#111; overflow-wrap:anywhere; }
.payment-qr img,.payment-qr canvas { display:block; width:220px; height:220px; object-fit:contain; }
.payment-qr [hidden] { display:none; }
.qr-content-fallback { display:grid; place-items:center; min-height:220px; padding:12px; font-size:11px; }
.payment-state-icon { display:grid; place-items:center; width:54px; height:54px; margin:12px auto; border:1px solid var(--line); border-radius:50%; color:var(--gold-light); font-size:25px; }
.payment-state-icon.success { border-color:#3ac47d; color:#3ac47d; }
.payment-state-icon.error { border-color:#e16464; color:#e16464; }
.payment-state-icon.warning { border-color:var(--danger); color:var(--danger); }
.payment-state-text { margin:8px 0; color:var(--muted); }
.payment-order-id { color:#737984; font-size:10px; overflow-wrap:anywhere; }
.payment-modal-action { margin-top:16px; padding:10px 24px; border:0; border-radius:4px; background:var(--gold); color:#111; font-weight:800; cursor:pointer; }
body.modal-open { overflow:hidden; }
#rechargeForensicWatermark { position:fixed; inset:0; z-index:2147483000; width:100vw; height:100vh; pointer-events:none; user-select:none; }
.history-open-button { padding:7px 12px; border:1px solid var(--line); border-radius:4px; background:transparent; color:var(--gold-light); cursor:pointer; }
.order-history-modal[hidden] { display:none; }
.order-history-modal { position:fixed; inset:0; z-index:110; display:grid; place-items:center; padding:20px; }
.order-history-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.82); backdrop-filter:blur(8px); }
.order-history-dialog { position:relative; width:min(1080px,100%); max-height:min(820px,calc(100vh - 40px)); overflow:auto; border:1px solid var(--line); background:linear-gradient(155deg,#181d26,#0d1016); box-shadow:0 28px 100px rgba(0,0,0,.72); }
.order-history-close { position:absolute; top:12px; right:14px; z-index:2; width:36px; height:36px; border:0; background:transparent; color:var(--muted); font-size:28px; cursor:pointer; }
.order-history { padding:clamp(22px,4vw,38px); background:rgba(11,14,20,.86); }
.order-history-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.order-history-heading h2 { margin:4px 0 8px; font-size:clamp(22px,3vw,30px); }
.order-history-heading p:not(.step-label) { margin:0; color:var(--muted); font-size:13px; }
.order-history-refresh { flex:0 0 auto; padding:10px 18px; border:1px solid var(--gold); border-radius:4px; background:rgba(200,164,92,.1); color:var(--gold-light); font-weight:800; cursor:pointer; }
.order-history-refresh:disabled { cursor:not-allowed; opacity:.45; }
.order-history-session { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; margin-top:20px; padding:11px 14px; background:#090c11; color:var(--muted); font-size:12px; }
.order-history-message { min-height:22px; margin:14px 0 0; color:var(--muted); font-size:13px; }
.order-history-message.error { color:#e58a8a; }
.order-history-list { display:grid; gap:10px; margin-top:10px; }
.order-history-item { display:grid; grid-template-columns:minmax(180px,1.45fr) repeat(4,minmax(86px,.7fr)); gap:12px; padding:15px; border:1px solid rgba(255,255,255,.08); background:#0d1118; }
.order-history-item > div { min-width:0; }
.order-history-item small { display:block; margin-bottom:4px; color:#737984; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.order-history-item strong,.order-history-item span { display:block; overflow-wrap:anywhere; color:var(--text); font-size:13px; }
.order-history-item .order-history-id { color:var(--gold-light); }
.order-history-item .order-history-times { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,.06); }
.order-status { width:max-content; padding:3px 8px; border:1px solid rgba(200,164,92,.38); border-radius:999px; color:var(--gold-light)!important; }
.order-status.status-success { border-color:rgba(58,196,125,.5); color:#69d49a!important; }
.order-status.status-error { border-color:rgba(225,100,100,.5); color:#e58a8a!important; }
@media(max-width:700px){.order-history-heading{align-items:stretch;flex-direction:column}.order-history-refresh{width:100%}.order-history-item{grid-template-columns:1fr 1fr}.order-history-item>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.site-header nav{gap:8px}.history-open-button{padding:6px 9px;font-size:12px}.custom-row{grid-template-columns:auto 1fr}.custom-row button{grid-column:1/-1}.payment-modal-card{padding:28px 18px}.payment-qr{width:224px;min-height:224px}.payment-qr img,.payment-qr canvas{width:200px;height:200px}.order-history-modal{padding:10px}.order-history-dialog{max-height:calc(100vh - 20px)}.order-history{padding:24px 16px}.order-history-item{grid-template-columns:1fr}.order-history-item>div:first-child,.order-history-item .order-history-times{grid-column:auto}.order-history-item .order-history-times{grid-template-columns:1fr}}
