/* =========================================================
   Honor of Kings Myanmar — light "royal" theme
   Loaded after style.css: redefines the colour tokens and
   restyles every shared component for a white / gold / navy look.
   ========================================================= */
@font-face { font-family: "Nunito Sans"; font-weight: 400 500; font-display: swap; src: url("/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("/fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800 900; font-display: swap; src: url("/fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #101b3b;
  --ink: #17223f;
  --gold-1: #fbe7b0;
  --gold-2: #f1c768;
  --gold-3: #dba63c;
  --gold-text: #a8751a;
  --blue: #1d5be0;
  --line: #ece4d2;
  --shadow: 0 6px 22px rgba(23, 34, 63, .07);
  --shadow-lg: 0 14px 36px rgba(23, 34, 63, .12);

  /* tokens the base stylesheet reads */
  --accent: #dba63c;
  --accent-2: #c98a2b;
  --yellow: #a8751a;
  --purple: #dba63c;
  --purple-dark: #8a5f12;
  --pink: #c98a2b;
  --pink-dark: #a8751a;
  --cyan: #1d5be0;
  --gold: #a8751a;
  --olive: #dba63c;
  --blue-team: #1d5be0;
  --red-team: #dba63c;
  --dark: #ffffff;
  --dark-2: #f7f3ea;
  --bg: #fbfaf6;
  --card: #ffffff;
  --card-2: #f8f4ea;
  --text: #17223f;
  --muted: #69738f;
  --border: #e8dfcb;
  --green: #12925a;
  --red: #d63c3c;
  --amber: #b9770a;
  --warn-bg: #fdf5df;
  --warn-text: #8a5f12;
  --radius: 12px;
  --cut: 0px;
  --font-display: "Nunito Sans", "Noto Sans Myanmar", "Pyidaungsu", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Noto Sans Myanmar", "Pyidaungsu", system-ui, sans-serif;
  color-scheme: light;
}

/* ---------- reset the old game-HUD decoration ---------- */
*, *::before, *::after { text-shadow: none !important; clip-path: none !important; }
body {
  font-family: var(--font-body); font-weight: 500; color: var(--text); font-size: 16px; line-height: 1.6;
  background:
    radial-gradient(900px 420px at 100% 0, rgba(120, 170, 255, .13), transparent 62%),
    radial-gradient(800px 420px at 0 30%, rgba(241, 199, 104, .12), transparent 62%),
    var(--bg);
  background-attachment: scroll;
}
body::before, body::after { display: none !important; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 800; letter-spacing: 0; text-transform: none; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.muted { color: var(--muted); }
.kicker { color: var(--gold-text); font-family: var(--font-body); font-weight: 800; letter-spacing: .16em; font-size: .78rem; }
.kicker::before { background: var(--gold-3); width: 22px; }
::selection { background: var(--gold-1); color: var(--navy); }

/* ---------- header ---------- */
.site-header { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(23, 34, 63, .05); }
.site-header::after { display: none; }
.brand, .brand:hover { color: var(--navy); }
.brand-text b { font-family: "Cinzel", serif; font-weight: 900; color: transparent; background: linear-gradient(180deg, #e6b95a, #b98322); -webkit-background-clip: text; background-clip: text; }
.brand span { color: inherit; }
.brand-text small { color: var(--gold-text); }
.main-nav a { font-family: var(--font-body); font-weight: 700; color: var(--ink); letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.main-nav a:hover { color: var(--gold-text); }
.main-nav a::after { background: var(--gold-3); }
.main-nav a.nav-mm { font-family: "Noto Sans Myanmar", var(--font-body); }
.main-nav a.btn-nav-login { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--navy) !important; border: 0; border-radius: 10px; }
.main-nav a.btn-nav { background: var(--navy); color: #fff !important; border: 0; border-radius: 10px; }
.nav-toggle { background: transparent; border: 0; }
.nav-toggle span { background: var(--navy); width: 24px; height: 2.5px; border-radius: 2px; }
@media (max-width: 820px) {
  .main-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .main-nav a { border-top: 1px solid var(--line); }
  .main-nav a.btn-nav-login, .main-nav a.btn-nav { border-radius: 0; }
}

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 800; letter-spacing: .01em; text-transform: none; border-radius: 12px; border: 0; box-shadow: none; }
.btn-primary, .btn-primary:hover { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: var(--navy); box-shadow: 0 6px 16px rgba(219, 166, 60, .32); }
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn-ghost, .btn-outline, .btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover, .btn-outline:hover, .btn-secondary:hover { border-color: var(--gold-3); color: var(--navy); }
.btn-small { border-radius: 8px; font-family: var(--font-body); font-weight: 800; }
.btn-approve { background: var(--green); color: #fff; }
.btn-reject { background: var(--red); color: #fff; }
button:disabled, .btn:disabled { opacity: .55; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=url], input[type=date], select, textarea {
  background: #fff !important; color: var(--text) !important; border: 1.5px solid var(--border) !important; border-radius: 10px !important; font-family: var(--font-body); font-weight: 600; letter-spacing: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-3) !important; box-shadow: 0 0 0 3px rgba(241, 199, 104, .3); }
input::placeholder, textarea::placeholder { color: #a3aabd; letter-spacing: 0; }
label { color: var(--ink); }
input[type=checkbox], input[type=radio] { accent-color: var(--gold-3); }

/* ---------- generic surfaces ---------- */
.order-form, .panel, .auth-card, .auth-form.order-form, .stat-card, .feature, .step, .info-card, .wallet-card, .rs-card, .rs-card-lite, .faq-item, .doc-card, .page-card, .account-card, .login-modal-card, .modal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--text);
}
.order-form { border-top: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.notice { background: var(--warn-bg); border: 1px solid #f0dfae; border-left: 4px solid var(--gold-3); border-radius: 10px; color: var(--ink); }
.notice.error { background: #fdecec; border-color: #f3c2c2; border-left-color: var(--red); color: #a12626; }
.notice.success { background: #e7f7ee; border-color: #b9e4cb; border-left-color: var(--green); color: #0c6b41; }
.badge { border-radius: 999px; font-family: var(--font-body); font-weight: 800; letter-spacing: .02em; }
.badge-completed, .badge-success, .badge-approved { background: #e2f6ea; color: #0c6b41; border: 0; }
.badge-pending, .badge-processing, .badge-awaiting_payment { background: #fdf1d3; color: #8a5f12; border: 0; }
.badge-failed, .badge-rejected, .badge-refunded, .badge-cancelled { background: #fde4e4; color: #a12626; border: 0; }
hr { border-color: var(--line); }
code, pre { background: #f4f1ea; color: #25325c; border: 1px solid var(--line); border-radius: 8px; }
pre code { border: 0; background: transparent; }

/* ---------- tables / admin ---------- */
.data-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: auto; }
.data-table { background: transparent; color: var(--text); }
.data-table th { background: #f8f4ea; color: var(--gold-text); font-family: var(--font-body); font-weight: 800; letter-spacing: .06em; border-bottom: 1px solid var(--line); }
.data-table td { border-bottom: 1px solid #f1ecdf; color: var(--text); }
.data-table tr:hover td { background: #fdfbf5; }
.admin-tabs a { background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 700; }
.admin-tabs a:hover { border-color: var(--gold-3); color: var(--gold-text); }
.admin-tabs a.active { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--navy); border-color: transparent; }
.stat-card .stat-num { color: var(--navy); font-family: var(--font-display); font-weight: 800; }
.icon-slot { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.icon-slot.is-custom { border-color: var(--gold-3); }
.icon-prev { background: #f8f4ea; border-color: var(--line); }
.icon-state { color: var(--muted); }
.icon-slot.is-custom .icon-state { color: var(--gold-text); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #aab3cf; border-top: 0; border-image: none; margin-top: 56px; }
.site-footer::before { display: none; }
.site-footer .brand-text b { background: linear-gradient(180deg, #f6dc98, #dba63c); -webkit-background-clip: text; background-clip: text; }
.site-footer .brand-text small { color: #c9a85a; }
.footer-wrap h4 { color: #fff; font-family: var(--font-body); font-weight: 800; letter-spacing: .08em; font-size: .95rem; }
.footer-wrap a { color: #aab3cf; }
.footer-wrap a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); color: #8792b3; }
.footer-bottom a { color: var(--gold-2); }
.footer-note { color: #7f8aab; }
.footer-love { color: var(--gold-2); }

/* =========================================================
   HOME
   ========================================================= */
.hk-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3f7ff, #fdfaf3 70%, transparent); padding-bottom: 6px; }
.hk-hero-art { position: absolute; top: 0; right: 0; height: 100%; width: min(64%, 1150px); pointer-events: none; }
.hk-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 0; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 28%), linear-gradient(180deg, #000 78%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 3%, #000 28%), linear-gradient(180deg, #000 78%, transparent); mask-composite: intersect; }
.hk-hero-in { position: relative; padding-top: 30px; padding-bottom: 12px; max-width: 1140px; }
.hk-hero-in > * { max-width: 430px; }
.hk-logo { display: flex; align-items: center; gap: 16px; }
.hk-logo img { width: 104px; height: auto; flex: none; filter: drop-shadow(0 6px 12px rgba(185, 131, 34, .28)); }
.hk-logo-text { display: flex; flex-direction: column; line-height: 1; }
.hk-logo-text b { font-family: "Cinzel", serif; font-weight: 900; font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: .98; text-transform: uppercase; letter-spacing: .01em;
  color: transparent; background: linear-gradient(180deg, #edc468, #c08a25 70%, #a8751a); -webkit-background-clip: text; background-clip: text; }
.hk-logo-text b i { font-style: normal; font-size: .42em; vertical-align: .5em; margin-right: .18em; }
.hk-logo-text span { font-family: var(--font-body); font-weight: 600; letter-spacing: .5em; color: var(--gold-text); font-size: 1rem; margin-top: 8px; padding-left: .2em; }
.hk-tag { font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .22em; text-transform: uppercase; color: #5d6785; margin: 12px 0 0; }

.hk-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hk-cta .btn { padding: 12px 22px; font-size: 1rem; }
.hk-chips-wrap { position: relative; }
.hk-chips { list-style: none; margin: 8px 0 20px; padding: 12px 22px; display: inline-flex; gap: 30px; flex-wrap: wrap; background: rgba(255, 255, 255, .92); border-radius: 999px; box-shadow: 0 8px 26px rgba(23, 34, 63, .1); }
.hk-chips li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.hk-chips svg { width: 30px; height: 30px; color: var(--blue); flex: none; }

.hk-sec { padding-top: 26px; padding-bottom: 10px; }
.container.hk-sec { padding-left: 20px; padding-right: 20px; }
.hk-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.hk-title { border-left: 5px solid var(--gold-2); padding-left: 16px; line-height: 1.15; }
.hk-title small { display: block; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: #4d5878; font-weight: 600; }
.hk-title h2 { margin: 2px 0 0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.hk-title-crown { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 12px; }
.hk-title-crown img { width: 34px; height: 34px; }
.hk-more { color: var(--navy); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.hk-more span { font-size: 1.2em; margin-left: 4px; }
.hk-more:hover { color: var(--gold-text); }

.hk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hk-card { display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 55%, #fbf5e8); border: 1px solid #f0eadb; border-radius: 16px; padding: 10px 12px 12px; box-shadow: var(--shadow); color: var(--navy); transition: transform .16s, box-shadow .16s, border-color .16s; }
.hk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold-2); color: var(--navy); }
.hk-art { display: block; aspect-ratio: 3 / 2; }
.hk-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-name { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 2px 2px 8px; white-space: nowrap; }
.hk-name b { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-right: 4px; letter-spacing: -.01em; }
.hk-buy { display: flex; align-items: stretch; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3)); margin-top: auto; }
.hk-price { flex: 1; min-width: 0; text-align: center; padding: 9px 4px; font-weight: 800; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.hk-item .hk-price { font-size: 1rem; }
.hk-cart { flex: none; width: 36px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); border-radius: 10px; }

.hk-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hk-item { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #f7f4ff, #fff 45%); border: 1px solid #f0eadb; border-radius: 16px; padding: 12px 16px 12px 10px; box-shadow: var(--shadow); color: var(--navy); transition: transform .16s, box-shadow .16s, border-color .16s; }
.hk-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold-2); color: var(--navy); }
.hk-item-art { flex: none; width: 40%; max-width: 190px; aspect-ratio: 5 / 4; }
.hk-item-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hk-item-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); line-height: 1.25; }
.hk-item-desc { font-size: .88rem; color: #5d6785; font-weight: 500; line-height: 1.45; margin-bottom: 8px; }

.hk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hk-step { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.hk-step > span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); }
.hk-step b { display: block; color: var(--navy); font-weight: 800; line-height: 1.4; }
.hk-step small { color: var(--muted); font-weight: 600; }

/* live feed */
.latest-orders { padding-top: 26px; }
.order-feed, .killfeed { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 4px 16px; }
.order-feed-item { background: transparent !important; border: 0 !important; border-bottom: 1px solid #f1ecdf !important; border-radius: 0 !important; padding: 11px 0 !important; color: var(--text); box-shadow: none !important; }
.order-feed-item:last-child { border-bottom: 0 !important; }
.order-feed-item::before, .order-feed-item::after { display: none !important; }
.kf-player { color: var(--ink); font-weight: 700; font-family: var(--font-body); }
.kf-loot { color: var(--navy); font-weight: 800; font-family: var(--font-body); }
.order-feed-time { color: var(--muted); }
.live-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(18, 146, 90, .18); }

@media (max-width: 1000px) {
  .hk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hk-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hk-hero { background: #fff; padding-bottom: 0; }
  .hk-hero-art { position: relative; display: block; width: 100%; height: auto; }
  .hk-hero-art img { height: auto; aspect-ratio: 768 / 288; object-position: 50% 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .hk-hero-in { padding-top: 0; padding-bottom: 6px; margin-top: -6px; }
  .hk-logo { display: none; }
  .hk-tag { font-size: .74rem; letter-spacing: .18em; margin: 0; text-align: center; max-width: none; }
  .hk-cta { margin-top: 12px; }
  .hk-cta .btn { flex: 1; padding: 11px 10px; font-size: .95rem; }
  .hk-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px 0 4px; margin: 6px 0 4px; background: transparent; box-shadow: none; border-radius: 0; width: 100%; }
  .hk-chips li { gap: 6px; font-size: .74rem; white-space: normal; line-height: 1.25; justify-content: center; }
  .hk-chips svg { width: 24px; height: 24px; }
  .hk-sec { padding-top: 18px; }
  .container.hk-sec { padding-left: 14px; padding-right: 14px; }
  .hk-sec-head { margin-bottom: 12px; }
  .hk-title { padding-left: 10px; border-left-width: 4px; }
  .hk-title small { font-size: .7rem; }
  .hk-title h2 { font-size: 1.05rem; letter-spacing: .03em; }
  .hk-title-crown img { width: 26px; height: 26px; }
  .hk-more { font-size: .82rem; }
  .hk-grid { gap: 9px; }
  .hk-card { padding: 6px 7px 8px; border-radius: 12px; }
  .hk-name { font-size: .78rem; margin: 0 2px 6px; }
  .hk-name b { font-size: 1.15rem; margin-right: 2px; }
  .hk-buy { border-radius: 8px; }
  .hk-price, .hk-item .hk-price { font-size: .68rem; padding: 7px 1px; letter-spacing: -.01em; }
  .hk-cart { width: 24px; border-radius: 8px; }
  .hk-cart svg { width: 15px; height: 15px; }
  .hk-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .hk-item { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 7px 8px; border-radius: 12px; }
  .hk-item-art { width: 100%; max-width: none; aspect-ratio: 3 / 2; }
  .hk-item-name { font-size: .86rem; }
  .hk-item-desc { display: none; }
  .hk-item-name { margin: 0 2px 6px; }
  .hk-item-body { flex: 1; }
  .hk-steps { gap: 9px; }
  .hk-step { padding: 10px; gap: 9px; }
  .hk-step > span { width: 30px; height: 30px; font-size: .9rem; }
  .hk-step b { font-size: .86rem; }
  .hk-step small { font-size: .72rem; }
}
@media (max-width: 380px) {
  .hk-price, .hk-item .hk-price { font-size: .62rem; }
  .hk-cart { width: 22px; }
}

/* =========================================================
   ORDER / WALLET
   ========================================================= */
main h2 { margin-top: 28px; }
.hk-title h2 { margin-top: 2px; }
.data-table-wrap { padding: 0; }
.cat-tab { background: #fff; border: 1.5px solid var(--border); color: var(--ink); font-family: var(--font-body); font-weight: 700; border-radius: 999px; }
.cat-tab:hover { border-color: var(--gold-3); }
.cat-tab.active { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--navy); border-color: transparent; }
.cat-tab .ico-img { width: 1.5em; height: 1.2em; }
.package-select-btn { background: linear-gradient(160deg, #fff 55%, #fbf5e8); border: 1.5px solid #efe7d4; border-radius: 14px; color: var(--navy); box-shadow: 0 3px 10px rgba(23, 34, 63, .05); }
.package-select-btn:hover { border-color: var(--gold-2); }
.package-select-btn .uc-ico { width: 78px; height: 52px; margin-bottom: 0; filter: none; }
.package-select-btn .item-ico .ico-img { width: 78px; height: 56px; }
.package-select-btn .psb-amt { font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.package-select-btn .psb-amt em { color: var(--ink); font-weight: 600; font-size: .68em; }
.psb-name { color: var(--navy); font-weight: 800; }
.package-select-btn small { color: var(--gold-text); font-weight: 800; }
.package-select-btn.selected { border-color: var(--gold-3); background: linear-gradient(180deg, #fff8e3, #fdeec4); box-shadow: 0 0 0 2px var(--gold-2), 0 8px 18px rgba(219, 166, 60, .22); }
.package-select-btn.selected::after { content: "✓"; color: #fff; background: var(--gold-3); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; top: 6px; right: 6px; }
#order-total { color: var(--navy); font-family: var(--font-body); font-weight: 800; }
.pay-method-item { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; }
.pay-method-item:hover { border-color: var(--gold-2); }
.pay-method-item.pay-method-selected { border-color: var(--gold-3); background: #fff8e3; box-shadow: 0 0 0 2px var(--gold-2); }
.pay-method-name { color: var(--navy); }
.pay-method-bal { color: var(--gold-text); }
.pay-info-box { background: #fdf8ea; border: 1px solid #f0dfae; border-radius: 12px; color: var(--ink); }
.wallet-balance-card { background: linear-gradient(120deg, #101b3b, #1c2f66); border: 0; border-radius: 18px; color: #dfe6fb; box-shadow: var(--shadow-lg); }
.wallet-balance-card * { color: inherit; }
.wallet-balance-card strong, .wallet-balance-card b, .wallet-balance-card .wallet-balance, .wallet-balance-card .balance-amount { color: var(--gold-2); font-family: var(--font-body); font-weight: 800; }
.wallet-balance-card::after { opacity: .2; }
.file-upload-label, .file-upload-preview { background: #fdfbf5; border: 2px dashed #dccfae; border-radius: 14px; }
.file-upload-label:hover { border-color: var(--gold-3); }
.file-upload-icon { color: var(--gold-3); }
.file-upload-text strong { color: var(--navy); }
.tut-btn.guide { background: #fff8e3; color: #8a5f12; border: 1px solid #f0dfae; }
.tut-btn.guide:hover { background: #fdeec4; color: #8a5f12; }
.order-summary { border-top: 1px dashed var(--border); }
.login-modal-backdrop, .login-modal { color: var(--text); }

#check-id-btn, .check-id-btn, .id-check-btn, .field-row button, .input-row button { border-radius: 10px; }
.btn-check { background: var(--navy); color: #fff; border: 0; border-radius: 10px; font-family: var(--font-body); font-weight: 800; }
.btn-check:hover { background: #1c2f66; color: #fff; }
.login-modal-card, .login-modal-box, .login-modal > div { background: #fff; color: var(--text); border-radius: 18px; border: 1px solid var(--line); }
.pay-info-inner { background: #fdf8ea; border: 1.5px dashed #e2c98a; border-radius: 12px; color: var(--ink); }
.pay-info-inner strong { color: #8a5f12; }
.pid-result.ok b { color: var(--navy); }
.pwa-install-bar { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-2); border-radius: 14px; box-shadow: var(--shadow-lg); color: var(--text); }
.login-modal-overlay { background: rgba(16, 27, 59, .55); }
.login-modal-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold-2); border-radius: 18px; box-shadow: 0 30px 80px rgba(16, 27, 59, .35); }
pre { background: #101b3b !important; color: #e6ebfa !important; border: 0; }
pre code { color: inherit; }
.kf-loot { white-space: nowrap; }

/* =========================================================
   v2 — framed layout: hero and every home section sit in a
   bordered panel aligned to the same 1100px column
   ========================================================= */
.hk-hero { width: calc(100% - 40px); max-width: 1100px; margin: 22px auto 0; padding-bottom: 0; border: 1px solid #e6dbc1; border-radius: 22px; background: linear-gradient(110deg, #fff 35%, #eef4ff); box-shadow: var(--shadow); }
.hk-hero .container { max-width: none; padding-left: 34px; padding-right: 34px; }
.hk-hero-art { width: 80%; }
.hk-logo img { width: 84px; }
.hk-logo-text b { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.hk-logo-text span { font-size: .86rem; }
.hk-hero-art img { object-position: 35% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 27%); mask-image: linear-gradient(90deg, transparent 5%, #000 27%); -webkit-mask-composite: source-over; mask-composite: add; }
.hk-hero-in { padding-top: 30px; padding-bottom: 12px; }
.hk-chips { margin: 10px 0 28px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(23, 34, 63, .08); }

.container.hk-sec { width: calc(100% - 40px); max-width: 1100px; margin: 20px auto 0; padding: 20px 24px 24px; background: #fff; border: 1px solid #e6dbc1; border-radius: 22px; box-shadow: var(--shadow); }
.hk-sec-head { align-items: center; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.hk-more { border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: .86rem; background: #fff; }
.hk-more:hover { border-color: var(--gold-3); }

.hk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hk-card { background: #fff; border: 1.5px solid #e6dbc1; box-shadow: none; padding: 10px; border-radius: 16px; }
.hk-card:hover { border-color: var(--gold-3); box-shadow: 0 10px 24px rgba(219, 166, 60, .2); }
.hk-art, .hk-item-art { background: linear-gradient(160deg, #fdf8ec, #f1f5ff); border: 1px solid #f0e8d5; border-radius: 12px; padding: 6px; }
.hk-art { aspect-ratio: 16 / 10; }
.hk-name { margin: 10px 4px; font-size: 1rem; }
.hk-name b { font-size: 1.6rem; }
.hk-price { font-size: .95rem; }
.hk-cart { width: 40px; }

.hk-items { gap: 14px; }
.hk-item { background: #fff; border: 1.5px solid #e6dbc1; box-shadow: none; padding: 10px 14px 10px 10px; }
.hk-item:hover { border-color: var(--gold-3); box-shadow: 0 10px 24px rgba(219, 166, 60, .2); }
.hk-item-art { width: 38%; max-width: 150px; aspect-ratio: 1 / 1; }
.hk-item-name { font-size: 1.05rem; }
.hk-item-desc { font-size: .8rem; }

.hk-step { background: #fdfbf6; border: 1.5px solid #ece2cb; box-shadow: none; }
.hk-sec .order-feed, .hk-sec .killfeed { border: 0; box-shadow: none; padding: 0; background: transparent; }
.site-footer { margin-top: 40px; }

@media (max-width: 1000px) {
  .hk-logo { display: none; }
  .hk-hero-in { padding-top: 26px; }
  .hk-tag { max-width: 240px; line-height: 1.7; }
}
@media (max-width: 900px) {
  .hk-grid { gap: 10px; }
  .hk-name { font-size: .82rem; margin: 8px 2px; }
  .hk-name b { font-size: 1.2rem; }
  .hk-price { font-size: .74rem; padding: 8px 2px; }
  .hk-cart { width: 28px; }
  .hk-cart svg { width: 16px; height: 16px; }
  .hk-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hk-hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 18px; background: #fff; }
  .hk-hero .container { padding-left: 14px; padding-right: 14px; }
  .hk-hero-art { width: 100%; }
  .hk-hero-art img { object-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hk-more i { display: none; }
  .hk-title h2 { font-size: 1rem; }
  .hk-hero-in { padding-top: 0; padding-bottom: 4px; }
  .hk-chips { border: 0; box-shadow: none; margin: 8px 0 12px; padding: 10px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
  .container.hk-sec { width: calc(100% - 24px); margin-top: 14px; padding: 14px 12px 16px; border-radius: 18px; }
  .hk-sec-head { padding-bottom: 10px; margin-bottom: 12px; }
  .hk-more { padding: 5px 12px; font-size: .78rem; }
  .hk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hk-card { padding: 8px; border-radius: 14px; }
  .hk-name { font-size: .92rem; margin: 8px 4px; }
  .hk-name b { font-size: 1.45rem; margin-right: 4px; }
  .hk-price, .hk-item .hk-price { font-size: .86rem; padding: 9px 2px; letter-spacing: 0; }
  .hk-cart { width: 36px; }
  .hk-cart svg { width: 18px; height: 18px; }
  .hk-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hk-item { padding: 8px; border-radius: 14px; gap: 6px; }
  .hk-item-art { width: 100%; max-width: none; aspect-ratio: 16 / 10; }
  .hk-item-name { font-size: .9rem; margin: 2px 4px 6px; min-height: 2.5em; }
}
@media (max-width: 380px) {
  .hk-price, .hk-item .hk-price { font-size: .78rem; }
  .hk-cart { width: 30px; }
}
.hk-more i { font-style: normal; }

/* ===== Home: price list + FAQ ===== */
.hk-lead { margin: -4px 0 14px; color: #4d5878; font-weight: 600; max-width: 760px; }
.hk-price-table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hk-price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hk-price-table th { background: #f8f4ea; color: var(--gold-text); text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; }
.hk-price-table td { padding: 10px 16px; border-top: 1px solid #f1ecdf; color: var(--ink); }
.hk-price-table td:nth-child(2) { font-weight: 800; color: var(--navy); white-space: nowrap; }
.hk-price-table td:last-child { text-align: right; width: 1%; }
.hk-price-table td:last-child a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--navy); font-weight: 800; font-size: .82rem; }
.hk-price-table tbody tr:nth-child(even) td { background: #fdfbf6; }
.hk-faq details { border: 1.5px solid #ece2cb; border-radius: 12px; background: #fdfbf6; margin-bottom: 10px; }
.hk-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hk-faq summary::-webkit-details-marker { display: none; }
.hk-faq summary::after { content: "+"; color: var(--gold-text); font-size: 1.2rem; line-height: 1; }
.hk-faq details[open] summary::after { content: "–"; }
.hk-faq details p { margin: 0; padding: 0 16px 14px; color: #4d5878; font-weight: 500; }
@media (max-width: 700px) {
  .hk-lead { font-size: .88rem; }
  .hk-price-table { font-size: .86rem; }
  .hk-price-table th, .hk-price-table td { padding: 9px 10px; }
  .hk-faq summary { padding: 12px; font-size: .92rem; }
  .hk-faq details p { padding: 0 12px 12px; font-size: .88rem; }
}
