:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #090e13;
  --panel: #171b21;
  --control: rgba(162, 174, 189, .12);
  --muted: #8993a3;
  --text: #f7f9fb;
  --blue: #006eff;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; min-height: 100svh; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.target-icon { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; background: currentColor; -webkit-mask: var(--target-icon) center / contain no-repeat; mask: var(--target-icon) center / contain no-repeat; }

.taobao-lobby { min-height: 100svh; padding-bottom: calc(96px + var(--safe-bottom)); background: var(--bg); }
.taobao-header { position: sticky; z-index: 45; top: 0; width: min(100%, 1180px); height: calc(71px + var(--safe-top)); display: flex; align-items: center; gap: 10px; margin: 0 auto; padding: calc(8px + var(--safe-top)) 16px 7px; background: var(--bg); }
.kgames-wordmark { min-width: 0; flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.kgames-wordmark span { display: block; white-space: nowrap; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: 1px; }
.taobao-head-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.taobao-head-actions button { flex: 0 0 auto; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; transition: transform .16s ease, background-color .16s ease; }
.taobao-head-actions button:active, .taobao-bottom-nav button:active { transform: scale(.95); }
.taobao-head-actions .head-square { width: 44px; color: #8c96a5; background: var(--control); font-size: 22px; }
.head-moon .target-icon { width: 23px; height: 23px; }
.currency-button { gap: 3px; min-width: 52px; color: #f7f8fa; font-size: 16px; font-weight: 760; }
.currency-button .target-icon { width: 16px; color: #7f8998; }
.header-balance { min-width: 60px; color: #f7f8fa; font-size: 16px; font-weight: 760; }
.taobao-head-actions .recharge-button { min-width: 50px; padding: 0 10px; color: #fff; background: var(--blue); font-size: 15px; font-weight: 760; }


/* Functional pages cloned from the authenticated mobile WebApp. */
.feature-page, .home-page { width: min(calc(100% - 32px), 520px); margin: 0 auto; }
.feature-page { padding: 1px 0 24px; }
.feature-page h1 { margin: 4px 0 24px; font-size: 24px; line-height: 1.2; letter-spacing: -.5px; }
.home-carousel { position: relative; }
.home-banner { width: 100%; display: block; overflow: hidden; aspect-ratio: 1.78; padding: 0; border: 0; border-radius: 16px; background: #35110a; cursor: pointer; }
.home-banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-dots { position: absolute; z-index: 2; bottom: 13px; left: 17px; display: flex; gap: 4px; pointer-events: auto; }
.home-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.58); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.home-dots button.active { width: 27px; background: #fff; }
.home-promos { display: flex; gap: 8px; margin: 16px 0 18px; overflow: hidden; }
.home-promos button { position: relative; min-width: 108px; height: 60px; overflow: hidden; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 2px solid #fff; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#8149ff,#d752ec); cursor: pointer; }
.home-promos button:nth-child(2) { background: linear-gradient(135deg,#ff6a13,#ffb100); }
.home-promos button:nth-child(3) { background: linear-gradient(135deg,#28bff2,#3979ff); }
.home-promos button:nth-child(4) { background: linear-gradient(135deg,#f34956,#ff8b18); }
.home-promos img { width: 38px; height: 38px; margin-top: 8px; object-fit: contain; }
.home-promos span { align-self: flex-end; margin-left: auto; font-size: 12px; font-weight: 800; }
.home-promos small { position: absolute; z-index: 2; top: 2px; left: 3px; display: flex; align-items: center; gap: 2px; font-size: 9px; font-weight: 850; line-height: 1; }
.home-promos small .target-icon { width: 13px; height: 13px; }
.home-categories { height: 47px; display: flex; align-items: stretch; gap: 13px; overflow: hidden; border-bottom: 1px solid rgba(162,174,189,.14); color: var(--muted); white-space: nowrap; }
.home-categories > * { flex: 0 0 auto; }
.home-categories button, .home-categories > span { height: 46px; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; color: inherit; background: transparent; font-size: 14px; font-weight: 650; }
.home-categories button { cursor: pointer; }
.home-categories .search-mini { width: 44px; height: 44px; justify-content: center; border-radius: 12px; color: #a5afbd; background: var(--control); }
.home-categories .search-mini .target-icon { width: 20px; height: 20px; }
.home-categories .active { position: relative; color: var(--text); }
.home-categories .active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--blue); }
.home-categories .active .target-icon { width: 20px; height: 20px; color: var(--blue); }
.home-categories span img { width: 20px; height: 20px; object-fit: contain; }

.activity-tabs { height: 88px; display: grid; grid-template-columns: repeat(4,1fr); padding: 4px; border-radius: 14px; background: #171c22; }
.activity-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; border-radius: 10px; color: #9aa4b2; background: transparent; cursor: pointer; }
.activity-tabs button.active { color: #fff; background: #303640; }
.activity-tabs img { width: 42px; height: 42px; object-fit: contain; }
.activity-tabs span { font-size: 13px; font-weight: 720; }
.bonus-list { display: grid; gap: 16px; margin-top: 24px; }
.bonus-card { min-height: 226px; padding: 18px 16px 16px; border-radius: 17px; color: #fff; background: linear-gradient(135deg,#7657ff,#d45edb); box-shadow: inset 0 1px rgba(255,255,255,.14); }
.bonus-card.cyan { background: linear-gradient(135deg,#19b4f2,#61d6dd); }
.bonus-card.blue { background: linear-gradient(135deg,#2788f8,#625fff); }
.bonus-card.orange { background: linear-gradient(135deg,#ff773d,#ffb049); }
.bonus-card.green { background: linear-gradient(135deg,#13b58e,#71d261); }
.bonus-heading { display: flex; align-items: center; gap: 10px; }
.bonus-heading > img { width: 58px; height: 58px; object-fit: contain; }
.bonus-heading > div { min-width: 0; flex: 1; }
.bonus-heading h2 { margin: 0 0 3px; font-size: 17px; }
.bonus-heading p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; }
.bonus-heading > button { width: 23px; height: 23px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: rgba(255,255,255,.88); background: transparent; cursor: pointer; }
.bonus-heading > button .target-icon { width: 20px; height: 20px; }
.bonus-rule { display: flex; align-items: center; gap: 4px; margin: 9px 0 12px; font-size: 12px; font-weight: 650; }
.bonus-rule .target-icon { width: 14px; height: 14px; }
.bonus-gifts { height: 46px; display: flex; align-items: center; justify-content: space-around; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.08); }
.bonus-gifts img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(255,255,255,.46)); transform: scale(1.35); }
.bonus-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.bonus-card footer strong { font-size: 20px; }
.bonus-card footer button { padding: 9px 14px; border: 0; border-radius: 9px; color: rgba(255,255,255,.74); background: rgba(74,45,108,.5); cursor: pointer; font-weight: 760; }

.wallet-shell { padding: 16px; border-radius: 16px; background: #151a20; }
.wallet-title { height: 38px; display: flex; align-items: center; gap: 11px; }
.wallet-title h1 { flex: 1; margin: 0; font-size: 22px; }
.wallet-title button { height: 38px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 10px; color: var(--text); background: var(--control); cursor: pointer; font-weight: 720; }
.wallet-title button:first-child { min-width: 44px; padding: 0; }
.wallet-title button:first-child .target-icon { width: 20px; height: 20px; }
.wallet-switch { height: 44px; display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 25px; padding: 2px; border-radius: 12px; background: #282d35; }
.wallet-switch button { border: 0; border-radius: 10px; color: #8e97a5; background: transparent; cursor: pointer; font-weight: 750; }
.wallet-switch button.active { color: #fff; background: #3a404b; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.wallet-banner { width: 100%; display: block; margin-bottom: 20px; border-radius: 14px; }
.payment-methods { display: flex; gap: 7px; margin-bottom: 18px; }
.payment-methods button { min-width: 0; flex: 1; height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 7px; border: 0; border-radius: 10px; color: #9aa4b2; background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; }
.payment-methods button.active { color: #fff; background: var(--blue); }
.payment-methods img { width: 28px; height: 28px; object-fit: contain; }
.deposit-panel { text-align: center; }
.deposit-panel > img { width: min(232px,80%); padding: 17px; border-radius: 10px; background: #fff; image-rendering: pixelated; }
.deposit-panel h2 { margin: 14px 0 7px; font-size: 16px; }
.deposit-panel code { display: block; overflow: hidden; margin: 0 auto 10px; color: #aeb7c4; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.copy-address, .primary-action { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 11px; color: #fff; background: var(--blue); cursor: pointer; font-weight: 800; }
.copy-address .target-icon { width: 18px; height: 18px; }
.deposit-panel p, .withdraw-panel p { color: #7f8998; font-size: 11px; line-height: 1.6; }
.deposit-create > img, .telegram-required > img { width: 88px; height: 88px; padding: 9px; object-fit: contain; image-rendering: auto; }
.deposit-create label { display: grid; gap: 8px; margin: 18px 0 12px; color: #a5afbc; font-size: 13px; text-align: left; }
.deposit-create input { height: 50px; padding: 0 15px; border: 1px solid rgba(162,174,189,.18); border-radius: 12px; outline: 0; color: var(--text); background: #242a32; font-size: 18px; font-weight: 780; }
.deposit-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.deposit-presets button { height: 38px; border: 1px solid rgba(144,156,173,.15); border-radius: 10px; color: #9ca7b6; background: var(--control); cursor: pointer; font-weight: 750; }
.deposit-presets button.active { border-color: var(--blue); color: var(--blue); background: rgba(0,123,255,.12); }
.deposit-panel .deposit-amount { display: block; margin: 9px 0 4px; color: var(--blue); font-size: 25px; }
.deposit-panel > small { display: block; margin-bottom: 12px; color: #8c96a4; }
.live-deposit > img { width: min(250px,82%); image-rendering: auto; }
.deposit-actions { display: grid; grid-template-columns: 1.7fr 1fr; gap: 8px; margin-top: 14px; }
.deposit-actions > button { height: 44px; border: 0; border-radius: 11px; color: #aab4c2; background: var(--control); cursor: pointer; font-weight: 800; }
.deposit-actions > .primary-action { color: #fff; background: var(--blue); }
.deposit-panel button:disabled { cursor: wait; opacity: .62; }
.payment-history-panel > h2 { margin: 0 0 12px; font-size: 17px; }
.payment-history-panel article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid rgba(144,156,173,.12); }
.payment-history-panel article div { display: grid; gap: 4px; }
.payment-history-panel article b { font-size: 14px; }
.payment-history-panel article small { color: #8791a0; font-size: 10px; }
.payment-history-panel article > span { padding: 5px 8px; border-radius: 8px; color: #f0a73a; background: rgba(240,167,58,.11); font-size: 11px; font-weight: 760; }
.payment-history-panel article > .status-paid { color: #18b86b; background: rgba(24,184,107,.11); }
.payment-history-panel article > .status-cancelled, .payment-history-panel article > .status-expired { color: #8b95a4; background: rgba(139,149,164,.11); }
.payment-history-panel > .primary-action { margin-top: 18px; }
.withdraw-panel { padding: 12px 4px 20px; }
.withdraw-panel h2 { margin: 4px 0 8px; color: #9da6b4; font-size: 14px; }
.withdraw-panel > strong { display: block; margin-bottom: 24px; font-size: 32px; }
.withdraw-panel label { display: grid; gap: 8px; margin-bottom: 16px; color: #a5afbc; font-size: 13px; }
.withdraw-panel input { height: 48px; padding: 0 14px; border: 1px solid rgba(162,174,189,.16); border-radius: 11px; outline: none; color: var(--text); background: #242a32; }
.empty-state { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > .target-icon { width: 48px; height: 48px; color: #87919f; }
.empty-state h2 { margin: 12px 0 4px; font-size: 18px; }
.empty-state p { margin: 0 0 20px; color: #77818f; font-size: 12px; }
.empty-state button { padding: 10px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); cursor: pointer; }

.profile-page { display: grid; gap: 16px; }
.profile-hero { min-height: 120px; display: flex; align-items: center; gap: 15px; padding: 16px; border-radius: 17px; color: #fff; background: linear-gradient(135deg,#17b9e9,#2f93f4); box-shadow: 0 10px 24px rgba(22,148,230,.18); }
.profile-hero > img { width: 62px; height: 62px; border: 2px solid rgba(255,255,255,.7); border-radius: 12px; object-fit: cover; }
.profile-hero > div { min-width: 0; flex: 1; }
.profile-hero h1 { margin: 0 0 8px; font-size: 17px; }
.profile-hero p { display: flex; align-items: center; gap: 7px; margin: 4px 0; }
.profile-hero p span, .profile-hero p button, .profile-hero p b { padding: 4px 8px; border: 0; border-radius: 8px; color: #fff; background: rgba(255,255,255,.18); font-size: 12px; font-style: normal; font-weight: 750; }
.profile-hero p b { display: flex; align-items: center; gap: 4px; }
.profile-hero p b .target-icon { width: 14px; height: 14px; }
.profile-hero p button { cursor: pointer; }
.vip-card { position: relative; padding: 17px 16px; border-radius: 16px; color: #f7f9fc; background: linear-gradient(135deg,#121f33,#121920); box-shadow: 0 10px 24px rgba(7,15,28,.18); }
.vip-card header { display: flex; justify-content: space-between; }
.vip-card header b { font-size: 18px; }
.vip-card header button { padding: 0; border: 0; color: #929cab; background: transparent; cursor: pointer; font-weight: 750; }
.vip-card p { margin: 16px 0 8px; color: #8d96a4; font-size: 12px; }
.vip-card > div { height: 6px; overflow: hidden; border-radius: 5px; background: #262c36; }
.vip-card > div span { width: 2%; height: 100%; display: block; background: var(--blue); }
.vip-card small { display: block; margin-top: 9px; color: #939dab; text-align: right; }
.profile-actions { padding: 16px; border-radius: 16px; background: #151a20; }
.money-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.money-actions button { height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); cursor: pointer; font-weight: 800; }
.money-actions .target-icon { width: 18px; height: 18px; }
.profile-tools { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 16px; }
.profile-tools button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; color: #8f99a7; background: transparent; cursor: pointer; }
.profile-tools i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #f2f4f7; background: #2c3139; font-style: normal; }
.profile-tools i .target-icon { width: 21px; height: 21px; }
.profile-tools span { font-size: 11px; white-space: nowrap; }
.invite-row { height: 59px; display: flex; align-items: center; gap: 11px; padding: 0 16px; border: 0; border-radius: 13px; color: var(--text); background: #151a20; cursor: pointer; text-align: left; }
.invite-row > .target-icon { width: 27px; height: 27px; color: #eef2f5; }
.invite-row b { min-width: 0; flex: 1; font-size: 13px; }
.invite-row em { display: flex; align-items: center; gap: 4px; color: #9ca5b2; font-size: 12px; font-style: normal; }
.invite-row em .target-icon { width: 14px; height: 14px; }
.profile-menu { overflow: hidden; border-radius: 14px; background: #151a20; }
.profile-menu button { width: 100%; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 0; border-bottom: 1px solid rgba(162,174,189,.08); color: var(--text); background: transparent; cursor: pointer; text-align: left; }
.profile-menu button:last-child { border-bottom: 0; }
.profile-menu button > .target-icon:first-child { width: 22px; height: 22px; color: #d9dde3; }
.profile-menu b { flex: 1; font-size: 13px; }
.profile-menu button > .target-icon:last-child { width: 18px; height: 18px; color: #737e8c; }

.kg-modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.kg-modal { position: relative; width: min(100%,398px); max-height: 80svh; overflow: auto; padding: 24px 20px 20px; border: 1px solid rgba(162,174,189,.12); border-radius: 18px; color: var(--text); background: #232a33; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.kg-modal h2 { margin: 0 35px 18px 0; font-size: 21px; }
.kg-modal p { margin: 8px 0; color: #aab3bf; font-size: 13px; line-height: 1.6; }
.kg-modal .primary-action { margin-top: 18px; }
.kg-modal-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; color: #aeb7c3; background: var(--control); cursor: pointer; font-size: 24px; }

html.light-mode { --bg: #eef2f7; --panel: #fff; --control: rgba(48,60,76,.1); --muted: #647084; --text: #111722; color-scheme: light; }
html.light-mode .taobao-header, html.light-mode .taobao-lobby { background: var(--bg); }
html.light-mode .kgames-wordmark { color: #14233b; }
html.light-mode .currency-button, html.light-mode .header-balance { color: #111722; }
html.light-mode .activity-tabs, html.light-mode .wallet-shell, html.light-mode .profile-actions, html.light-mode .invite-row, html.light-mode .profile-menu { background: #fff; box-shadow: 0 4px 18px rgba(32,47,66,.07); }
html.light-mode .profile-actions { border: 1px solid rgba(47,65,88,.06); }
html.light-mode .vip-card { color: #f8fbff; }
html.light-mode .vip-card header button { color: #c7d0dc; }
html.light-mode .vip-card p, html.light-mode .vip-card small { color: #aeb9c7; }
html.light-mode .profile-tools button { color: #536174; }
html.light-mode .profile-tools i { color: #fff; background: #273140; box-shadow: 0 5px 12px rgba(25,39,58,.18); }
html.light-mode .invite-row > .target-icon { color: #2477e8; }
html.light-mode .profile-menu button > .target-icon:first-child { color: #526176; }
html.light-mode .profile-menu button > .target-icon:last-child { color: #7a8798; }
html.light-mode .taobao-bottom-nav { background: rgba(248,250,253,.96); }
html.light-mode .taobao-bottom-nav button.active { color: #111722; background: rgba(48,60,76,.08); }
html.light-mode .withdraw-panel input { background: #fff; }
html.light-mode .deposit-create input { background: #fff; }
html.light-mode .deposit-panel code { color: #5c6879; }

.floating-controls { position: fixed; z-index: 30; right: 16px; bottom: calc(99px + var(--safe-bottom)); left: 16px; display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.floating-controls button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; color: #eef3f8; box-shadow: 0 9px 26px rgba(0,0,0,.34); pointer-events: auto; cursor: pointer; }
.scroll-top { visibility: hidden; opacity: 0; background: rgba(30,36,44,.98); transform: translateY(7px); transition: .2s ease; }
.scroll-top.show { visibility: visible; opacity: 1; transform: translateY(0); }
.scroll-top .target-icon { width: 21px; height: 21px; }
.support-button { margin-left: auto; color: #fff; background: var(--blue); }
.support-button .target-icon { width: 23px; height: 23px; }

.taobao-bottom-nav { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; height: calc(70px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 5px var(--safe-bottom); border-top: 1px solid rgba(162,174,189,.1); background: rgba(20,24,30,.97); box-shadow: 0 -5px 22px rgba(0,0,0,.16); backdrop-filter: blur(18px); }
.taobao-bottom-nav button { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; border-radius: 16px; color: #8c96a5; background: transparent; cursor: pointer; transition: transform .16s ease, color .16s ease, background-color .16s ease; }
.taobao-bottom-nav button.active { color: #f2f5f8; background: rgba(162,174,189,.095); }
.taobao-bottom-nav .target-icon { width: 21px; height: 21px; }
.taobao-bottom-nav span { font-size: 12px; font-weight: 720; line-height: 1; }
.taobao-toast { position: fixed; z-index: 80; left: 50%; bottom: calc(126px + var(--safe-bottom)); max-width: calc(100% - 40px); padding: 10px 14px; border: 1px solid rgba(162,174,189,.16); border-radius: 10px; color: #edf1f5; background: rgba(30,36,44,.96); box-shadow: 0 14px 34px rgba(0,0,0,.36); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: .2s ease; font-size: 12px; white-space: nowrap; }
.taobao-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .taobao-header { max-width: 560px; }
}
@media (max-width: 410px) {
  .taobao-header { gap: 5px; padding-right: 12px; padding-left: 12px; }
  .kgames-wordmark span { font-size: 29px; }
  .taobao-head-actions { gap: 5px; }
  .taobao-head-actions .head-square { width: 38px; height: 40px; border-radius: 11px; font-size: 19px; }
  .currency-button { min-width: 47px; font-size: 14px; }
  .currency-button .target-icon { width: 13px; }
  .header-balance { min-width: 55px; font-size: 14px; }
  .taobao-head-actions .recharge-button { min-width: 47px; height: 40px; padding: 0 9px; font-size: 14px; }
}
@media (max-width: 355px) {
  .head-expand { display: none !important; }
  .kgames-wordmark span { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .taobao-head-actions button, .taobao-bottom-nav button { transition-duration: .01ms; }
}
