/* ==========================================================================
   ⚡ cn5.org 单页面专属样式库 (src/css2.css 完整版)
   ========================================================================== */

body {
  overflow-y: visible !important;
}

/* ================= 1. Home 主页专属 (home.rs) ================= */
body.home-page { background: transparent !important; }
header.header.home-header {
  background: transparent !important;
  border-bottom: none !important;
}

.hero-glow {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; background-color: #FFFFFF;
  background-image:
    radial-gradient(ellipse 65vw 60vh at 100% 12%, rgba(101, 77, 160, 0.35) 0%, rgba(101, 77, 160, 0.12) 45%, transparent 75%),
    radial-gradient(ellipse 55vw 85vh at 0% 45%, rgba(68, 142, 58, 0.32) 0%, rgba(68, 142, 58, 0.12) 48%, transparent 75%),
    radial-gradient(circle 50vw at 0% 90%, rgba(68, 142, 58, 0.25) 0%, transparent 70%);
  background-repeat: no-repeat;
}

.hero-grid {
  position: fixed; top: 100px; left: 0; width: 100vw; height: calc(100vh - 100px);
  z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.065) 1px, transparent 1px);
  background-size: 36px 36px; background-repeat: repeat;
}

/* ================= 2. Mission 使命页专属 (cn5.rs) ================= */
.cn5-wrap { padding-top: max(20px, 10vh) !important; }
.mission-container { padding: 0 20px 20px 20px; text-align: center; max-width: 980px; margin: 0 auto; }
.mission-title { font-size: 65px; font-weight: 700; color: #1d1920; margin-bottom: 40px; }
.mission-text { font-size: 28px; line-height: 1.6; color: #1d1920; font-weight: 400; text-align: center; }

/* ================= 3. Contact 联系我们专属 (lx.rs) ================= */
.lx-admin-wrap:not(.admin-mode) {
  padding-top: max(20px, 10vh) !important;
}
 .lx-content-body {
  padding: 0 20px; text-align: center; max-width: 980px; margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
}
.button.lx-large-btn {
  width: 420px !important; max-width: 90vw !important; height: 92px !important;
  font-size: 26px !important; --radius: 20px !important;
}
.button.lx-large-btn .state { padding-left: 44px !important; }
.button.lx-large-btn .state .icon { transform: scale(1.85) !important; }
.button.lx-large-btn:hover .state--default .icon { transform: rotate(45deg) scale(1.85) !important; }
.button.lx-large-btn .state p span {
  display: inline-block !important; opacity: 1 !important;
  color: #1D1920 !important; font-weight: 700 !important;
}

/* ================= 4. Software 软件页专属 (rj.rs) ================= */
.rj-wrap {
  padding-top: max(20px, 10vh) !important;
  display: flex; justify-content: center; align-items: flex-start;
}
.rj-content-row {
  width: 100%; max-width: 1248px; display: flex;
  align-items: flex-start; justify-content: flex-start; gap: 50px;
}
.rj-preview-box { flex-shrink: 0; }
.rj-preview-img {
  width: 520px; max-width: 100%; height: auto; border-radius: 16px;
  display: block;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(102, 252, 241, 0.25);
  transition: box-shadow 0.2s, transform 0.2s;
}
.rj-preview-img:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 60px rgba(102, 252, 241, 0.4);
}
.rj-btn-column {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start; justify-content: flex-start; margin-top: 20px;
}

@media (max-width: 960px) {
  .rj-content-row { flex-direction: column; align-items: center; gap: 25px; }
  .rj-preview-img { width: 100%; max-width: 480px; }
  .rj-btn-column { align-items: center; width: 100%; margin-top: 0; }
}

/* ================= 5. Driver 驱动页专属 (cj.rs) ================= */
.cj-wrap {
  padding-top: max(20px, 10vh) !important;
  display: flex; justify-content: center; align-items: flex-start;
}
.cj-box {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; margin-top: 40px;
}

/* ================= 6. Account 账号管理专属 (zh.rs) ================= */
/* ================= 6. Account 账号管理专属 (zh.rs) ================= */
.zh-wrap { padding-top: 0 !important; }
#unauthContent { margin-top: 10%; }
.zh-box { display: flex; justify-content: center; align-items: center; width: 100%; }
.zh-form-card {
  width: 510px; max-width: 92vw; height: 390px; box-sizing: border-box;
  background: lightgrey; border: 2.5px solid #323232; border-radius: 8px;
  box-shadow: 6px 6px #323232; padding: 20px 30px; display: flex;
  flex-direction: column; justify-content: center; align-items: center; position: relative;
}
.zh-form-title {
  margin: 0 0 4px 0; font-size: 26px; font-weight: 900;
  text-align: center; color: #323232; letter-spacing: 2px;
}
.zh-form-sub {
  text-align: center; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 12px;
}
.zh-form-group {
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%;
}
.zh-form-input {
  width: 280px; max-width: 82vw; height: 42px; border-radius: 6px;
  border: 2px solid #323232; background-color: #FFFFFF; box-shadow: 4px 4px #323232;
  font-size: 15px; font-weight: 600; color: #323232; padding: 6px 12px; outline: none;
}
.zh-form-input:focus { border: 2px solid #2d8cf0; }
.zh-form-input::placeholder { color: #666; opacity: 0.8; }

.zh-flip-btn {
  width: 130px; height: 40px; margin-top: 6px; border-radius: 0.75em;
  border: 2px solid #000000; background-color: #e8e8e8; box-shadow: 0 0.2em 0 #000000;
  font-size: 16px; font-weight: 700; color: #000000; cursor: pointer;
  transform: translateY(-0.2em); transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.zh-flip-btn:hover { transform: translateY(-0.33em); box-shadow: 0 0.33em 0 #000000; }
.zh-flip-btn:active { transform: translateY(0); box-shadow: 0 0 0 #000000; }

.zh-form-status {
  position: absolute !important;
  bottom: 10px !important;
  left: 0 !important;
  width: 100% !important;
  height: 20px !important;
  line-height: 20px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box !important;
  pointer-events: none !important;
}
.zh-form-status.error { color: #323232; }
.zh-form-status.success { color: #2e7d32; }

/* ================= 7. Manual 轻松按键说明书专属 (qsaj.rs) ================= */
.sub-nav {
  width: 100%; height: 80px; background: #FFFFFF;
  border-bottom: none;
  position: fixed; top: 100px; left: 0; z-index: 900; overflow: hidden;
  user-select: none; -webkit-user-drag: none;
}
.sub-nav-container {
  max-width: 860px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px; white-space: nowrap;
  will-change: transform; transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}
.shine-btn {
  position: relative; transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.55rem; padding-inline: 1.35rem;
  background-color: rgb(0 107 179); border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: #FFFFFF; text-decoration: none; gap: 10px;
  font-weight: bold; border: 3px solid #ffffff4d; outline: none;
  overflow: hidden; font-size: 15px; box-sizing: border-box; flex-shrink: 0;
}
.shine-btn .icon { width: 22px; height: 22px; transition: all 0.3s ease-in-out; fill: currentColor; flex-shrink: 0; }
.shine-btn:hover { transform: scale(1.05); border-color: #ffffff99; }
.shine-btn:hover .icon { transform: translate(4px); }
.shine-btn:hover::before { animation: shine 1.5s ease-out infinite; }
.shine-btn::before {
  content: ""; position: absolute; width: 100px; height: 100%;
  background-image: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.8), rgba(255,255,255,0) 70%);
  top: 0; left: -100px; opacity: 0.6;
}
@keyframes shine { 0% { left: -100px; } 60% { left: 100%; } to { left: 100%; } }

.doc-wrapper { max-width: 860px; margin: 180px auto 0 auto; padding: 0 24px 80vh 24px; }
.doc-section {
  position: relative; padding-top: max(40px, 10vh); padding-bottom: max(40px, 10vh);
  border-bottom: 1px solid var(--line); background: transparent; scroll-margin-top: 180px;
}
.doc-section:first-of-type { border-top: none; }
.section-content { position: relative; padding-right: 24px; border-right: 2px solid var(--line); }
.doc-section-title {
  font-size: 28px; font-weight: 800; color: #1D1920; letter-spacing: -0.01em;
  margin: 0 0 20px 0; display: flex; align-items: center;
}
.doc-section-title::before { content: '#'; color: var(--active); margin-right: 10px; font-weight: 600; opacity: 0.7; }
.steps-container {
  margin: 18px 0 0 6px; padding-left: 22px; border-left: 2px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.step-row { font-size: 16px; color: #1D1920; line-height: 1.7; }
code {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 0.95em; background-color: #F1F5F9; color: #1D1920;
  padding: 3px 8px; border-radius: 6px; border: 1px solid #E2E8F0; font-weight: 600;
}
.tip-text { font-size: 16px; margin: 14px 0 18px 0; line-height: 1.7; }
.tip-text .text-grey { color: #64748B; }
.tip-text .text-purple { color: #6c20e1; font-weight: 700; }
.doc-desc { color: #64748B; font-size: 16px; margin-bottom: 12px; }

/* ================= 8. Admin 管理后台专属 (xc.rs) ================= */
:root {
  --main-color: #323232;
  --bg-color: #FFFFFF;
  --font-color: #323232;
  --font-color-sub: #666;
  --input-focus: #2d8cf0;
}

.admin-wrap { max-width: 1248px; min-width: 248px; margin: 0 auto; padding: 0 16px; }
.admin-header {
  height: 100px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
  position: relative; z-index: 1000; background: #FFFFFF; box-sizing: border-box;
}
.admin-header-container {
  max-width: 1248px; height: 100%; margin: 0 auto; padding: 13px 20px;
  display: flex; align-items: center; justify-content: flex-end; box-sizing: border-box;
}

.push-btn {
  --button_radius: 0.75em; --button_color: #e8e8e8; --button_outline_color: #000000;
  font-size: 17px; font-weight: bold; border: 2px solid var(--button_outline_color);
  cursor: pointer; border-radius: var(--button_radius); background: var(--button_color);
  box-shadow: 0 0.2em 0 var(--button_outline_color); padding: 0; display: inline-block;
  outline: none; vertical-align: middle; transform: translateY(-0.2em);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.push-btn .button_top {
  display: block; box-sizing: border-box; padding: 0.75em 1.5em;
  color: var(--button_outline_color); pointer-events: none;
}
.push-btn:hover { transform: translateY(-0.33em); box-shadow: 0 0.33em 0 var(--button_outline_color); }
.push-btn:active { transform: translateY(0); box-shadow: 0 0 0 var(--button_outline_color); }
.push-btn-lg .button_top { padding: 0.75em calc(1.5em + 30px) !important; }

.admin-container { max-width: 1240px; min-width: 248px; width: 100%; margin: 0 auto; background: #fff; padding: 0 0 80vh 0; }
.user-grid { display: flex; flex-wrap: wrap; max-width: 1240px; min-width: 248px; width: 100%; margin: 0 auto; gap: 0; padding: 0; }
.user-card {
  width: 248px; height: 44px; display: flex; align-items: center; border: 1px solid #edf2f7;
  border-radius: 10px; box-sizing: border-box; font-size: 13px; background-color: #ffffff;
  position: relative; cursor: pointer; transition: border-color 0.15s ease;
}
.user-card > * { pointer-events: none; }
.user-card:hover { border-color: #1D1920; z-index: 10; }
.user-card.highlight { background-color: #fef08a !important; border-color: #1D1920; z-index: 10; }
.col-user { width: 148px; padding: 0 10px; font-weight: 500; position: relative; z-index: 3; }
.text-clip { width: 100%; overflow: hidden; white-space: nowrap; }
.marquee-text { display: inline-block; white-space: nowrap; will-change: transform; transform: translateX(0); }
@keyframes marquee-first-pass { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@keyframes marquee-loop-pass { 0% { transform: translateX(var(--clip-w, 138px)); } 100% { transform: translateX(-100%); } }
.col-bal { width: 50px; text-align: center; color: #2b6cb0; font-weight: bold; overflow: hidden; white-space: nowrap; position: relative; z-index: 1; }
.col-time { width: 50px; text-align: center; color: #4a5568; font-size: 13px; overflow: hidden; white-space: nowrap; transition: color 0.2s ease; position: relative; z-index: 2; }

.order-list {
  display: flex; flex-direction: column; max-width: 1240px; min-width: 248px;
  width: 100%; margin: 0 auto; gap: 0; padding: 0;
}
.order-row {
  width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #edf2f7; border-radius: 10px; box-sizing: border-box; font-size: 13px;
  background-color: #ffffff; position: relative; cursor: pointer; padding: 0 18px;
  transition: border-color 0.15s ease;
}
.order-row:hover { border-color: #1D1920; z-index: 10; }
.order-row.highlight { background-color: #fef08a !important; border-color: #1D1920; z-index: 10; }
.order-col-no { width: 22%; padding-right: 10px; font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 600; color: #1D1920; white-space: nowrap; overflow: hidden; text-align: left; box-sizing: border-box; }
.order-col-user { width: 18%; padding: 0 8px; font-weight: 600; color: #1D1920; white-space: nowrap; overflow: hidden; text-align: left; box-sizing: border-box; }
.order-col-date { width: 28%; padding: 0 8px; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #4a5568; white-space: nowrap; overflow: hidden; text-align: center; box-sizing: border-box; }
.order-col-amount { width: 16%; padding: 0 6px; text-align: center; color: #2b6cb0; font-weight: bold; white-space: nowrap; box-sizing: border-box; }
.order-col-status { width: 16%; text-align: right; font-weight: 700; white-space: nowrap; box-sizing: border-box; }
.status-paid { color: #2e7d32; }
.status-pending { color: #d97706; }
.status-expired { color: #a0aec0; }

.auth-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: center; z-index: 9999;
}
.auth-card {
  position: relative; background: lightgrey !important; border: 2.5px solid #323232 !important;
  border-radius: 8px !important; box-shadow: 6px 6px #323232 !important; width: 510px !important;
  max-width: 92vw !important; padding: 30px 24px !important; display: flex !important;
  flex-direction: column !important; justify-content: center !important; align-items: center !important;
  gap: 18px !important; text-align: center !important; box-sizing: border-box !important;
}
.auth-err { color: #323232; font-size: 14px; font-weight: bold; min-height: 20px; line-height: 20px; margin-top: -6px; }

.admin-modal-overlay {
  position: absolute; top: 0; left: 0; width: 100%; min-height: 100%;
  background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); display: none;
  justify-content: center; align-items: flex-start; padding: 130px 0 20vh 0; z-index: 1000;
}
.admin-modal-overlay.show { display: flex; }
.admin-modal-card {
  position: relative; background: lightgrey !important; border: 2.5px solid #323232 !important;
  border-radius: 8px !important; box-shadow: 6px 6px #323232 !important; width: 510px !important;
  max-width: 92vw !important; padding: 30px 24px !important; display: flex !important;
  flex-direction: column !important; justify-content: center !important; align-items: center !important;
  gap: 18px !important; box-sizing: border-box !important;
}
.admin-modal-title { margin: 0 0 4px 0; font-size: 26px; font-weight: 900; text-align: center; color: #323232; letter-spacing: 2px; }
.admin-modal-actions { display: flex; justify-content: center; margin-top: 8px; width: 100%; }

.auth-card input,
.admin-modal-card input,
#adminPassInput,
#modalInput1,
#modalInput2 {
  display: block !important; width: 280px !important; max-width: 82vw !important; height: 44px !important;
  border-radius: 6px !important; border: 2px solid #323232 !important; background-color: #FFFFFF !important;
  background: #FFFFFF !important; box-shadow: 4px 4px #323232 !important; font-size: 15px !important;
  font-weight: 600 !important; color: #323232 !important; padding: 6px 12px !important; outline: none !important;
  text-align: left !important; box-sizing: border-box !important; margin: 0 auto !important;
  opacity: 1 !important; visibility: visible !important; transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.auth-card input:focus,
.admin-modal-card input:focus,
#adminPassInput:focus,
#modalInput1:focus,
#modalInput2:focus {
  border: 2px solid #2d8cf0 !important; box-shadow: 4px 4px #323232 !important; outline: none !important;
}
.auth-card input::placeholder,
.admin-modal-card input::placeholder { color: #666 !important; opacity: 0.8 !important; }
.auth-card input:-webkit-autofill,
.admin-modal-card input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset, 4px 4px #323232 !important;
  -webkit-text-fill-color: #323232 !important;
}

.admin-modal-card.qr-manage-card {
  width: 510px !important; max-width: 92vw !important; height: auto !important;
  max-height: none !important; overflow: visible !important; padding: 30px 24px !important; gap: 16px !important;
}

.admin-modal-card.qr-manage-card input.qr-uid-input { width: 100% !important; max-width: 100% !important; height: 42px !important; margin: 0 !important; }
.qr-tier-tabs { display: flex; gap: 12px; width: 100%; justify-content: space-between; }
.qr-tab-btn {
  flex: 1; height: 38px; border-radius: 6px; border: 2px solid #323232; background-color: lightgrey;
  box-shadow: 3px 3px #323232; font-size: 13px; font-weight: 800; color: #323232; cursor: pointer;
  white-space: nowrap; padding: 0 4px; transition: all 0.15s ease;
}
.qr-tab-btn:hover { transform: translateY(-2px); box-shadow: 3px 5px #323232; }
.qr-tab-btn:active { box-shadow: 0px 0px #323232; transform: translate(2px, 2px); }
.qr-tab-btn.active { background-color: #2D8CF0 !important; color: #FFFFFF !important; }
.qr-inputs-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; overflow: visible !important; }
.qr-item-box { width: 100%; min-width: 0; display: flex; }
.admin-modal-card.qr-manage-card input.qr-wx-input {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important;
  height: 38px !important; font-size: 13px !important; padding: 4px 10px !important; margin: 0 !important;
}
@media (max-width: 600px) { .qr-inputs-grid { grid-template-columns: minmax(0, 1fr); } }

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }
input[type="number"] { -moz-appearance: textfield !important; }

.admin-toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: #251234; color: #fff; padding: 12px 20px; border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); font-size: 14px; font-weight: 600;
  opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 1100;
}
.admin-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.hash-switch-row { display: flex; gap: 16px; width: 280px; max-width: 82vw; justify-content: space-between; margin: 0 auto; }
.hash-inputs-col { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }

/* ================= ⚡ 充值弹窗与共用组件样式 ================= */
.logo-img { height: 56px; width: auto; object-fit: contain; }

.recharge-card {
  width: 510px !important; max-width: 92vw !important; height: 440px !important;
  box-sizing: border-box !important; background: lightgrey !important;
  border: 2.5px solid #323232 !important; border-radius: 8px !important;
  box-shadow: 6px 6px #323232 !important; padding: 20px 30px !important;
  display: flex !important; flex-direction: column !important; align-items: center !important; position: relative !important;
}
.rc-modal-title { margin: 6px 0 16px 0 !important; font-size: 26px !important; font-weight: 900 !important; text-align: center !important; color: #323232 !important; letter-spacing: 2px !important; }
.rc-user-input { margin-bottom: 0 !important; }
.rc-options-wrap { height: 204px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; width: 100%; transform: translateY(-5px); }
.rc-amount-row { display: flex; gap: 14px; width: 280px; max-width: 82vw; justify-content: space-between; }
.rc-channel-row { display: flex; gap: 16px; width: 280px; max-width: 82vw; justify-content: space-between; }
#mRcSubmitBtn { position: absolute !important; bottom: 80px !important; left: 50% !important; margin: 0 !important; width: 130px !important; height: 42px !important; }

.rc-amount-btn {
  height: 48px !important; border-radius: 6px; border: 2px solid #323232;
  background-color: lightgrey; box-shadow: 3px 3px #323232; color: #323232;
  cursor: pointer; transition: all 0.15s ease; display: inline-flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; flex: 1; outline: none; padding: 0;
}
.rc-amount-btn .rc-btn-text { font-size: 15px; font-weight: 800; line-height: 1.1; }
.rc-amount-btn .rc-btn-sub { font-size: 11px; font-weight: 600; line-height: 1.1; opacity: 0.85; }
.rc-channel-btn {
  height: 42px; border-radius: 6px; border: 2px solid #323232; background-color: lightgrey;
  box-shadow: 3px 3px #323232; font-size: 15px; font-weight: 700; color: #323232;
  cursor: pointer; transition: all 0.15s ease; display: inline-flex;
  align-items: center; justify-content: center; flex: 1; outline: none;
}
.rc-amount-btn:hover, .rc-channel-btn:hover { transform: translateY(-2px); box-shadow: 3px 5px #323232; }
.rc-amount-btn:active, .rc-channel-btn:active { box-shadow: 0px 0px #323232; transform: translate(2px, 2px); }
.rc-amount-btn.active, .rc-channel-btn.active { background-color: #2D8CF0 !important; color: #FFFFFF !important; border-color: #323232 !important; }
.rc-amount-btn.active .rc-btn-text, .rc-amount-btn.active .rc-btn-sub { color: #FFFFFF !important; }

.flip-card__front, .flip-card__back { position: absolute !important; top: 0 !important; left: 0 !important; }
.flip-status {
  position: absolute !important; bottom: 10px !important; left: 0 !important; width: 100% !important;
  height: 20px !important; line-height: 20px !important; margin: 0 !important; padding: 0 10px !important;
  box-sizing: border-box !important; pointer-events: none !important;
}

/* ================= ⚡ 9. 充值支付页专属样式 (cz.rs) ================= */
.cz-wrap {
  padding-top: max(30px, 8vh) !important; padding-bottom: 10vh !important;
  display: flex; justify-content: center; align-items: flex-start;
}
.cz-stage {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-start; width: 220px; gap: 18px; text-align: left;
}
.cz-center-visual {
  width: 220px; height: 220px; display: flex;
  align-items: center; justify-content: center; position: relative;
}
.cz-qr-box {
  width: 220px; height: 220px; padding: 12px; background: #FFFFFF;
  border: 2.5px solid #323232; border-radius: 10px; box-shadow: 5px 5px #323232;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.cz-qr-hint { font-size: 13px; color: #666; font-weight: 700; text-align: center; padding: 10px; }
.cz-qr-hint.error { color: #666; }
.cz-qr-box img, .cz-qr-box canvas { width: 100% !important; height: 100% !important; display: block; }

.cz-regen-box { width: 220px; height: 220px; display: none; align-items: center; justify-content: center; perspective: 1000px; }
.btn {
  --color1: #1a8516; --color2: #236b19; perspective: 1000px; padding: 1em 1em;
  background: linear-gradient(var(--color1), var(--color2)); border: none; outline: none;
  font-size: 20px; text-transform: uppercase; letter-spacing: 4px; color: #fff;
  text-shadow: 0 10px 10px #000; cursor: pointer; transform: rotateX(70deg) rotateZ(30deg);
  transform-style: preserve-3d; transition: transform 0.5s; white-space: nowrap;
}
.btn::before {
  content: ""; width: 100%; height: 15px; background-color: var(--color2);
  position: absolute; bottom: 0; right: 0; transform: rotateX(90deg); transform-origin: bottom;
}
.btn::after {
  content: ""; width: 15px; height: 100%; background-color: var(--color1);
  position: absolute; top: 0; right: 0; transform: rotateY(-90deg); transform-origin: right;
}
.btn:hover { transform: rotateX(30deg) rotateZ(0); }

/* ⚡ 扫码完成显示 logo.svg 图片 */
.cz-logo-box {
  width: 220px; height: 220px; display: none;
  align-items: center; justify-content: center;
}
.cz-success-logo {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

.cz-info-list {
  width: 100%; padding-left: 35px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 8px; font-size: 18px; font-weight: 800;
  color: #1D1920; box-sizing: border-box;
}
.cz-info-item { letter-spacing: 0.5px; white-space: nowrap; }
.cz-order-clickable { display: none; cursor: pointer; user-select: none; transition: color 0.15s ease; }
.cz-order-clickable:hover { color: #6c20e1; }

.cz-bottom-wait {
  width: 100%; display: flex; flex-direction: row;
  align-items: center; justify-content: center; margin-top: 4px;
}
.loader {
  box-sizing: border-box; display: inline-block; width: 25px; height: 40px;
  margin-left: calc(-25px - 3ch); margin-right: 3ch;
  border-top: 2.5px solid #323232; border-bottom: 2.5px solid #323232; position: relative;
  background: linear-gradient(#FF3D00 15px, transparent 0) no-repeat;
  background-size: 1px 20px; background-position: 50% 0px;
  animation: spinx 5s linear infinite; flex-shrink: 0;
}
.loader:before, .loader:after {
  content: ""; width: 20px; left: 50%; height: 17.5px; position: absolute; top: 0;
  transform: translatex(-50%); background: rgba(50, 50, 50, 0.12);
  border-radius: 0 0 10px 10px; background-size: 100% auto;
  background-repeat: no-repeat; background-position: 0 0px; animation: lqt 5s linear infinite;
}
.loader:after { top: auto; bottom: 0; border-radius: 10px 10px 0 0; animation: lqb 5s linear infinite; }
@keyframes lqt {
  0%, 100% { background-image: linear-gradient(#FF3D00 20px, transparent 0); background-position: 0% 0px; }
  50% { background-image: linear-gradient(#FF3D00 20px, transparent 0); background-position: 0% 20px; }
  50.1% { background-image: linear-gradient(#FF3D00 20px, transparent 0); background-position: 0% -20px; }
}
@keyframes lqb {
  0% { background-image: linear-gradient(#FF3D00 20px, transparent 0); background-position: 0 20px; }
  100% { background-image: linear-gradient(#FF3D00 20px, transparent 0); background-position: 0 -20px; }
}
@keyframes spinx {
  0%, 49% { transform: rotate(0deg); background-position: 50% 18px; }
  51%, 98% { transform: rotate(180deg); background-position: 50% 2px; }
  100% { transform: rotate(360deg); background-position: 50% 18px; }
}

.cz-timer {
  font-family: 'JetBrains Mono', 'Noto Sans SC', monospace;
  font-size: 30px; line-height: 1; font-weight: 900;
  color: #323232; letter-spacing: -0.5px; white-space: nowrap;
}

/* ================= ⚡ zh 页二级导航栏与账号/充值记录视图样式 ================= */
.zh-auth-wrapper {
  width: 100%;
  max-width: 1240px;
  min-height: calc(100vh - 100px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2vh;
  padding-bottom: 20vh;
}

/* ⚡ 二级导航栏：靠左 10%，支持按钮放不下时自动换行向下撑开，绝不与下方内容重叠 */
.zh-sub-nav {
  position: relative;
  align-self: flex-start;
  margin-left: 10%;
  margin-bottom: 4vh;
  width: 400px;
  max-width: 80vw;
  min-height: 60px;
  height: auto;
  border-radius: 40px;
  z-index: 20;
}

.zh-sub-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 【修改后】 */
.zh-sub-rect {
  stroke-dashoffset: var(--idle-offset, 3.5);
  stroke-dasharray: var(--idle-dash, 0 0 8 42 8 42);
  stroke: #e4ae0b;
}

.zh-sub-nav.nav-ready .zh-sub-rect {
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
}

.zh-sub-container {
  position: relative;
  width: 100%;
  min-height: 60px;
  background: transparent;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  padding: 0.5em;
}

.zh-sub-btn {
  padding: 0.5em 1.2em;
  color: #4c4c4c;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  white-space: nowrap;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}

/* 激活态（鼠标悬停 或 点击保持700ms期间） */
.zh-sub-btn.nav-active {
  background: #e4ae0b;
  border-radius: 10px;
}

.zh-sub-nav.nav-active .zh-sub-rect {
  stroke-dashoffset: 0;
  stroke-dasharray: var(--btn-dash, 0 0 10 40 10 40);
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease !important;
}

/* ⚡ 账号页内容：左对齐锁定起点（位数变化绝不位移），随导航高度自然排在下方不重叠 */
.zh-account-view {
  align-self: flex-start;
  margin-left: 40%;
  margin-top: 2vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

@media (max-width: 640px) {
  .zh-sub-nav {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
  .zh-account-view {
    margin-left: 12%;
  }
}

.zh-account-line {
  font-size: 22px;
  font-weight: 900;
  color: #323232;
  letter-spacing: 1px;
  white-space: nowrap;
}

.zh-orders-box {
  width: 100%;
  max-width: 1240px;
}

/* ================= ⚡ 支付接口弹窗：微信/支付宝开关复选框样式 ================= */
.qr-alipay-section {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

.admin-modal-card.qr-manage-card input.qr-uid-input {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
}

.qr-chk-container {
  position: relative;
  width: 78px;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  user-select: none;
  white-space: nowrap;
}

.admin-modal-card.qr-manage-card .qr-chk-container input[type="checkbox"] {
  display: none !important;
}

.qr-chk-container svg {
  overflow: visible;
  font-size: 13px;
  flex-shrink: 0;
}

.qr-chk-path {
  fill: none;
  stroke: white;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.qr-chk-container input:checked ~ svg .qr-chk-path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
}

.qr-chk-text {
  font-size: 14px;
  font-weight: 800;
  color: #323232;
}

/* ================= ⚡ 等级 5 ~ 等级 1 管理名单样式 (1:1 复刻 qsaj 两侧灰线、间隔与紫色 # 标题) ================= */
.mgr-container {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mgr-section {
  position: relative;
  width: 100%;
  padding-top: max(40px, 10vh);
  padding-bottom: max(40px, 10vh);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.mgr-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* 右侧竖向灰线 */
.mgr-section-content {
  position: relative;
  padding-right: 24px;
  border-right: 2px solid var(--line);
}

.mgr-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px 0;
}

/* 28px 标题 + 紫色 # 号（与 qsaj 页完全一致） */
.mgr-title {
  font-size: 28px;
  font-weight: 800;
  color: #1D1920;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  margin: 0;
}

.mgr-title::before {
  content: '#';
  color: var(--active);
  margin-right: 10px;
  font-weight: 600;
  opacity: 0.7;
}

/* 左侧竖向灰线包裹内部内容 */
.mgr-body {
  margin: 18px 0 0 6px;
  padding-left: 22px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mgr-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* 添加 / 移出 按钮样式 */
.mgr-action-btn {
  padding: .9rem 1.5rem;
  border: .2rem solid #443;
  border-radius: 95% 4% 97% 5% / 4% 94% 3% 95%;
  color: #443;
  background: none;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1.7rem;
  transition: all .2s linear;
}

.mgr-action-btn:hover {
  border-radius: 4% 95% 6% 95% / 95% 4% 92% 5%;
  border: .2rem dashed #443;
}

/* ================= ⚡ 顶栏 SVG 导航、zh 页经典二级导航 与 手绘“更多”按钮样式 ================= */

/* 1. 顶栏总导航：宽度自适应中/英/日长度，禁止换行撑破边框 */
.header__left .top-svg-nav {
  margin: 0 0 0 12px !important;
  align-self: center !important;
  width: auto !important;
  min-height: 52px !important;
  height: 52px !important;
}

/* 【修改后】 */
.header__left .top-svg-nav .zh-sub-container {
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 0.5em !important;
  flex-wrap: nowrap !important;
  width: max-content;
  min-width: 400px;
  gap: 18px;
}

.header__left .top-svg-nav .zh-sub-btn {
  font-size: 17.5px !important;
  padding: 6px 1.25em !important;
}

@media (max-width: 1140px) {
  .header__left .top-svg-nav {
    display: none !important;
  }
}

/* 2. zh 页二级导航 */
.zh-classic-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-self: flex-start;
  margin-left: 10%;
  margin-bottom: 4vh;
  height: auto !important;
  min-height: 60px;
  gap: 8px 16px;
}

/* 【修改后】 */
.zh-classic-nav .nav-item {
  height: 50px;
  width: auto !important;
  padding: 0 8px;
}
.zh-classic-nav .nav-item.short-item { min-width: 80px; }
.zh-classic-nav .nav-item.long-item { min-width: 112px; }

@media (max-width: 640px) {
  .zh-classic-nav {
    margin-left: 4%;
  }
}

/* 【修改后】 */
/* 3. 顶栏右侧：账号管理/更多左移，右侧增加透明语言切换按钮与透明下拉栏 */
.header__actions,
.header__actions button,
.header__actions p {
  font-family: 'Noto Sans SC', sans-serif;
}

.more-sketch-btn {
  width: 96px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
  border: .2rem solid #443;
  border-radius: 95% 4% 97% 5% / 4% 94% 3% 95%;
  color: #443;
  background: none;
  cursor: pointer;
  margin: 0 6px 0 16px;
  font-size: 16px;
  font-weight: 800;
  transition: border-radius .2s linear, border .2s linear;
  flex-shrink: 0;
  align-self: center;
  outline: none;
}

.more-sketch-btn:hover,
.more-sketch-btn.active {
  border-radius: 4% 95% 6% 95% / 95% 4% 92% 5%;
  border: .2rem dashed #443;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.lang-btn {
  width: 106px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
  gap: 6px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #251234;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: color 0.15s ease;
}

.lang-btn:hover {
  color: var(--active);
}

.lang-caret {
  transition: transform 0.2s ease;
}

.lang-btn.active .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 118px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: transparent;
  border-radius: 8px;
  z-index: 1200;
}

.lang-dropdown.active {
  display: flex;
}

.lang-option {
  width: 100%;
  padding: 7px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #251234;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-option:hover {
  background-color: #2d8cf0;
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .more-sketch-btn {
    width: 74px;
    height: 34px;
    padding: 0;
    font-size: 13px;
    margin: 0 2px 0 8px;
  }
  .lang-switcher {
    margin-left: 6px;
    padding-left: 8px;
  }
  .lang-btn {
    width: 92px;
    height: 32px;
    padding: 0;
    font-size: 13px;
    gap: 4px;
  }
}

/* 4. 联系我们 (/lx) 后台管理容器 */
.lx-admin-wrap.admin-mode {
  padding-top: 30px !important;
}

.lx-admin-box {
  width: 100%;
  max-width: 1240px;
  padding-bottom: 80vh;
}

/* 5. 强制消除全站所有文字下划线 */
a, a:hover, a:visited, a:active,
.zh-sub-btn,
.menu-title,
.top-svg-nav a {
  text-decoration: none !important;
}

/* ⚡ 6. 顶栏总导航：绝对不要任何紫色下划线 */
.top-svg-nav .zh-sub-btn::after {
  display: none !important;
}

/* ⚡ 7. 经典 2px 紫色下划线：只专属于 zh 页的二级导航 (账号 / 充值记录 / 修改密码) */
.zh-classic-nav .nav-item a {
  position: relative !important;
}

.zh-classic-nav .nav-item a.active::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  margin-top: 4px !important;
  left: -4px !important;
  right: -4px !important;
  height: 2px !important;
  background-color: #6c20e1 !important;
  border-radius: 1px !important;
}
/* ================= ⚡ docs 页：1:1 Starlight 侧边栏布局与样式 ================= */
.docs-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  margin: 100px 0 0 0;
  min-height: calc(100vh - 100px);
}

.sl-sidebar {
  position: fixed;
  top: 100px;
  left: 0;
  width: 260px;
  height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 20px 16px;
  background: #FFFFFF;
  z-index: 20;
}

.sl-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sl-nav-link,
.sl-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sl-group-toggle {
  color: #1D1920;
  font-weight: 600;
  margin-top: 4px;
}

.sl-nav-link:hover,
.sl-group-toggle:hover {
  background-color: #f2f2f2;
}

.sl-nav-link.active {
  background-color: #f2f2f2;
  color: var(--active);
  font-weight: 600;
}

.sl-caret {
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.2s ease;
}

.sl-group.collapsed .sl-caret {
  transform: rotate(-90deg);
}

.sl-group-items {
  list-style: none;
  margin: 4px 0 4px 12px;
  padding: 0 0 0 8px;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sl-group.collapsed .sl-group-items {
  display: none;
}

.docs-main {
  width: 100%;
  min-width: 0;
  padding: max(20px, 10vh) 24px 80px 24px;
}

.docs-panel {
  display: none;
  width: 100%;
}

.docs-panel.active {
  display: block;
}

.docs-doc-section {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 0;
}

.docs-mission-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 20px 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.docs-doc-section .step-row {
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: -8px;
}

.docs-doc-section .step-row.doc-highlight-flash {
  animation: docFlashHighlight 1.8s ease forwards;
}

@keyframes docFlashHighlight {
  0% { background-color: transparent; }
  20% { background-color: #fef08a; }
  55% { background-color: #fef08a; }
  100% { background-color: transparent; }
}

.sl-toc {
  position: fixed;
  top: 100px;
  left: calc(50% + 446px);
  right: auto;
  width: 240px;
  height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 20px 16px 20px 0;
  background: #FFFFFF;
  z-index: 20;
}

.sl-toc-title {
  padding: 0 12px 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1D1920;
}

.sl-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sl-toc-link {
  width: 100%;
  display: block;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sl-toc-link:hover {
  background-color: #f2f2f2;
}

.sl-toc-link.active {
  background-color: #f2f2f2;
  color: var(--active);
  font-weight: 600;
}

@media (max-width: 1420px) {
  .docs-main {
    padding-left: 284px;
    padding-right: 264px;
  }
  .sl-toc {
    left: auto;
    right: 16px;
  }
}

@media (max-width: 1024px) {
  .sl-toc {
    display: none;
  }
  .docs-main {
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .sl-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px 16px;
  }
  .docs-main {
    padding: max(20px, 10vh) 20px 60px 20px;
  }
  .docs-mission-container {
    padding-top: 0;
  }
}