/* ============================================================
   落雨支付 · LUOYU PAY UI
   Neon esports payment console
   ============================================================ */

:root {
    --bg: #05070d;
    --bg-deep: #02040a;
    --panel: rgba(11, 19, 31, 0.9);
    --panel-solid: #0a121d;
    --panel-2: rgba(8, 14, 23, 0.86);
    --line: rgba(0, 229, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.06);
    --cyan: #53b1fd;
    --cyan-deep: #0098c8;
    --magenta: #ff2d6f;
    --gold: #ffc24b;
    --green: #175cd3;
    --red: #ff5d6c;
    --text: #eaf6ff;
    --muted: #8ba0b6;
    --faint: #5c7189;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --mono: "SF Mono", "JetBrains Mono", "DIN Alternate", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-deep);
}

body {
    font-family: var(--font);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3, h4, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, pre, .mono { font-family: var(--mono); }
[hidden] { display: none !important; }

::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }

/* ------------------------------------------------------------ 动态背景 */
.bg-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(120% 80% at 50% -10%, #0a1a29 0%, #060a12 46%, #04060b 100%);
}

.bg-aurora, .bg-aurora-2 {
    position: absolute;
    width: 140%;
    height: 90%;
    left: -20%;
    filter: blur(70px);
    opacity: 0.85;
}

.bg-aurora {
    top: -28%;
    background:
        radial-gradient(34% 44% at 24% 30%, rgba(0, 229, 255, 0.22), transparent 68%),
        radial-gradient(32% 40% at 76% 20%, rgba(255, 45, 111, 0.19), transparent 66%),
        radial-gradient(28% 34% at 56% 66%, rgba(88, 76, 255, 0.16), transparent 70%);
    animation: auroraFloat 18s ease-in-out infinite alternate;
}

.bg-aurora-2 {
    top: auto;
    bottom: -38%;
    background:
        radial-gradient(34% 42% at 68% 68%, rgba(0, 229, 255, 0.13), transparent 70%),
        radial-gradient(30% 40% at 28% 60%, rgba(255, 45, 111, 0.12), transparent 70%);
    animation: auroraFloat2 24s ease-in-out infinite alternate;
}

.bg-grid {
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: -12%;
    height: 58%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.13) 1px, transparent 1px);
    background-size: 52px 52px;
    transform: perspective(340px) rotateX(64deg);
    transform-origin: 50% 100%;
    opacity: 0.42;
    animation: gridScroll 10s linear infinite;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 100%);
}

.bg-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 3px);
    opacity: 0.55;
}

.bg-beam {
    position: absolute;
    left: -30%;
    top: -30%;
    width: 45%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.055), transparent);
    transform: rotate(16deg);
    animation: beamMove 13s linear infinite;
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(110% 80% at 50% 30%, transparent 48%, rgba(2, 4, 8, 0.74) 100%);
}

@keyframes auroraFloat {
    0% { transform: translate3d(-3%, -2%, 0) scale(1); }
    100% { transform: translate3d(4%, 3%, 0) scale(1.07); }
}
@keyframes auroraFloat2 {
    0% { transform: translate3d(3%, 2%, 0) scale(1.04); }
    100% { transform: translate3d(-4%, -3%, 0) scale(1); }
}
@keyframes gridScroll {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 52px, 0 0; }
}
@keyframes beamMove {
    0% { transform: translateX(-50%) rotate(16deg); opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateX(360%) rotate(16deg); opacity: 0; }
}
@keyframes pulseDot {
    0%, 100% { opacity: 0.45; transform: scale(0.86); }
    50% { opacity: 1; transform: scale(1.12); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes barGrow {
    from { height: 0; }
    to { height: var(--h); }
}
@keyframes scanLine {
    0% { transform: translateY(-100%); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(320%); opacity: 0; }
}

/* ------------------------------------------------------------ 通用 */
.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 14px; height: 14px; }
.flip { transform: rotate(180deg); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.cyan { color: var(--cyan); }
.mag { color: var(--magenta); }
.gold { color: var(--gold); }
.strong { font-weight: 700; }
.ta-r { text-align: right; }
.ellipsis { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ellipsis-sm { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
.mt12 { margin-top: 12px; }
.link { color: var(--cyan); transition: color 0.2s; }
.link:hover { color: #7df2ff; }
.kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: rgba(0, 229, 255, 0.72);
    text-transform: uppercase;
}
.kicker.gold { color: rgba(255, 194, 75, 0.82); }

/* ------------------------------------------------------------ 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s, background 0.2s, color 0.2s;
    background: transparent;
    color: var(--text);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }

.btn-primary {
    background: linear-gradient(135deg, #53b1fd, #3aa0ff);
    color: #04131c;
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(0, 229, 255, 0.36); }

.btn-gold {
    background: linear-gradient(135deg, #ffd166, #ffab2e);
    color: #241602;
    box-shadow: 0 8px 24px rgba(255, 194, 75, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover { box-shadow: 0 10px 30px rgba(255, 194, 75, 0.34); }

.btn-ghost {
    border-color: rgba(0, 229, 255, 0.26);
    color: #bfe9f5;
    background: rgba(0, 229, 255, 0.04);
}
.btn-ghost:hover { border-color: rgba(0, 229, 255, 0.55); background: rgba(0, 229, 255, 0.09); color: #eff8ff; }

.btn-danger {
    background: linear-gradient(135deg, #ff5d6c, #d92b52);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 45, 111, 0.22);
}
.btn-danger-ghost {
    border-color: rgba(255, 93, 108, 0.32);
    color: #ff96a2;
    background: rgba(255, 45, 111, 0.05);
}
.btn-danger-ghost:hover { border-color: rgba(255, 93, 108, 0.6); background: rgba(255, 45, 111, 0.11); }

.btn-lg { height: 48px; padding: 0 26px; font-size: 14px; border-radius: 12px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12px; border-radius: 8px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; gap: 5px; }
.btn-xs .icon { width: 13px; height: 13px; }
.btn-block { display: flex; width: 100%; }

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s;
}
.icon-btn:hover { color: var(--cyan); border-color: var(--line); background: rgba(0, 229, 255, 0.06); }
.icon-btn .icon { width: 17px; height: 17px; }

/* ------------------------------------------------------------ 徽标 / 状态 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    white-space: nowrap;
}
.badge .dot, .badge i.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}
.badge.ok { color: var(--green); background: rgba(34, 255, 167, 0.08); border-color: rgba(34, 255, 167, 0.24); }
.badge.wait { color: var(--gold); background: rgba(255, 194, 75, 0.08); border-color: rgba(255, 194, 75, 0.24); }
.badge.off { color: #ff8a97; background: rgba(255, 93, 108, 0.08); border-color: rgba(255, 93, 108, 0.24); }
.badge.warn { color: #ffb37a; background: rgba(255, 147, 74, 0.08); border-color: rgba(255, 147, 74, 0.24); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 11px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.02);
}
.pill-live { color: rgba(34, 255, 167, 0.9); border-color: rgba(34, 255, 167, 0.2); background: rgba(34, 255, 167, 0.05); }
.pill-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulseDot 1.6s ease-in-out infinite;
}

.pay-type { display: inline-flex; align-items: center; gap: 6px; color: #a9dcf0; font-size: 12px; }
.pay-type .icon { width: 15px; height: 15px; color: #175cd3; }

/* ------------------------------------------------------------ 表单 */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.field-label .optional { font-style: normal; font-size: 10px; color: var(--faint); }
.hint { font-size: 11px; color: var(--faint); line-height: 1.5; }
.hint-text { font-size: 11px; color: var(--faint); }
.input, select.input, textarea.input {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 15, 0.72);
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: #4d6074; }
.input:focus, select.input:focus, textarea.input:focus {
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
    background: rgba(4, 12, 20, 0.9);
}
select.input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6e8298 50%), linear-gradient(135deg, #6e8298 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}
textarea.input { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.input[type="date"] { color-scheme: dark; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .input { padding-left: 38px; }
.input-wrap .input-icon {
    position: absolute;
    left: 12px;
    color: #5a738c;
    display: flex;
    pointer-events: none;
}
.input-wrap .input-icon .icon { width: 16px; height: 16px; }
.input-wrap .input-action {
    position: absolute;
    right: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #5a738c;
    cursor: pointer;
    border-radius: 8px;
}
.input-wrap .input-action:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.06); }
.input-wrap .input-action .icon { width: 16px; height: 16px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.form-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; }
.checkbox input { appearance: none; width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.3); position: relative; cursor: pointer; flex: none; }
.checkbox input:checked { background: linear-gradient(135deg, #53b1fd, #3aa0ff); border-color: transparent; }
.checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #04131c;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}
.checkbox-block { align-items: flex-start; line-height: 1.5; }

.toggle-row { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 4px; }
.switch-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); cursor: pointer; }
.switch-label input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
    width: 38px;
    height: 21px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: 0.2s;
    flex: none;
}
.switch::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #7e93a8;
    transition: 0.2s;
}
.switch-label input:checked + .switch { background: rgba(0, 229, 255, 0.22); border-color: rgba(0, 229, 255, 0.5); }
.switch-label input:checked + .switch::after { left: 19px; background: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, 0.85); }

/* ------------------------------------------------------------ 卡片 */
.card {
    position: relative;
    background: linear-gradient(160deg, rgba(13, 22, 35, 0.92), rgba(6, 11, 18, 0.96));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 22px;
    overflow: hidden;
    backdrop-filter: blur(14px);
}
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 38px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
    opacity: 0.75;
}
.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.card-title { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.card-sub { font-size: 11px; color: var(--faint); margin-top: 4px; }
.card-link { font-size: 11px; color: var(--cyan); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.card-link:hover { color: #9df6ff; }
.card-table { padding: 0; }
.card-table .card-head { padding: 22px 22px 0; }
.card-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.04);
    border: 1px dashed rgba(0, 229, 255, 0.18);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}
.card-tip .icon { color: var(--cyan); width: 15px; height: 15px; margin-top: 2px; }
.card-tip code { color: #bfe9f5; }
.card-tip-card { display: flex; gap: 16px; align-items: flex-start; }
.card-tip-card h3 { font-size: 14px; margin-bottom: 6px; }
.card-tip-card p { color: var(--muted); font-size: 12px; max-width: 760px; }
.card-tip-card .stat-icon { margin: 0; }

.empty {
    padding: 46px 20px;
    text-align: center;
    color: var(--faint);
    font-size: 12px;
}
.empty.small { padding: 24px 10px; }

/* ------------------------------------------------------------ 表格 */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th {
    text-align: left;
    font-weight: 500;
    font-size: 11px;
    color: var(--faint);
    letter-spacing: 0.06em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-soft);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.014);
}
.table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    vertical-align: middle;
    white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table-hover tbody tr { transition: background 0.16s; }
.table-hover tbody tr:hover { background: rgba(0, 229, 255, 0.03); }
.table .cell-merchant { display: flex; align-items: center; gap: 10px; }
.cell-merchant b { display: block; font-size: 12.5px; font-weight: 600; }
.cell-merchant small { display: block; font-size: 10px; color: var(--faint); }
.row-action { color: var(--faint); display: inline-flex; }
.row-action:hover { color: var(--cyan); }
.row-actions { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.row-actions form { display: inline-flex; }

/* ------------------------------------------------------------ 布局 */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-head h2 { font-size: 26px; font-weight: 800; letter-spacing: 0.01em; margin: 6px 0 6px; }
.page-head p { color: var(--muted); font-size: 12px; }
.page-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--faint); margin-bottom: 6px; }
.back-link:hover { color: var(--cyan); }

.list-meta { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 12px; margin-bottom: 14px; }
.list-meta b { color: var(--text); font-weight: 700; }
.list-meta .sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.1); }

.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px;
    background: rgba(9, 16, 26, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
}
.filter-item { display: flex; flex-direction: column; gap: 6px; min-width: 130px; }
.filter-item.grow { flex: 1 1 220px; }
.filter-item label { font-size: 10px; color: var(--faint); letter-spacing: 0.08em; }
.filter-item .input { height: 38px; font-size: 12px; }
.filter-actions { display: flex; gap: 8px; align-items: center; }
.filter-actions .btn { height: 38px; }

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 18px;
    border-top: 1px solid var(--line-soft);
    flex-wrap: wrap;
}
.page-btn {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 12px;
    font-family: var(--mono);
}
.page-btn:hover { border-color: rgba(0, 229, 255, 0.35); color: var(--cyan); }
.page-btn.active { background: rgba(0, 229, 255, 0.12); border-color: rgba(0, 229, 255, 0.45); color: var(--cyan); }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }
.page-total { margin-left: auto; font-size: 11px; color: var(--faint); }

/* ------------------------------------------------------------ Toast */
.toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(10, 18, 29, 0.96);
    border: 1px solid var(--line-soft);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    pointer-events: auto;
    animation: toastIn 0.3s ease both;
}
.toast p { font-size: 12px; line-height: 1.55; color: var(--text); padding-top: 1px; flex: 1; }
.toast-icon { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.toast-icon .icon { width: 15px; height: 15px; }
.toast--success { border-color: rgba(34, 255, 167, 0.25); }
.toast--success .toast-icon { background: rgba(34, 255, 167, 0.1); color: var(--green); }
.toast--error { border-color: rgba(255, 93, 108, 0.3); }
.toast--error .toast-icon { background: rgba(255, 93, 108, 0.1); color: #ff8a97; }
.toast--info .toast-icon { background: rgba(0, 229, 255, 0.1); color: var(--cyan); }
.toast-close {
    border: 0;
    background: transparent;
    color: var(--faint);
    cursor: pointer;
    padding: 2px;
    display: flex;
    border-radius: 6px;
}
.toast-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.toast-close .icon { width: 13px; height: 13px; }

/* ------------------------------------------------------------ 品牌 */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(255, 45, 111, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.32);
    color: var(--cyan);
    box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.12), 0 0 18px rgba(0, 229, 255, 0.1);
    flex: none;
}
.brand-mark .icon { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; }
.brand-text small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.34em; color: rgba(0, 229, 255, 0.6); margin-top: 3px; }

/* ------------------------------------------------------------ 落地页 */
.page-public { min-height: 100vh; }
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
    padding: 0 40px;
    max-width: 1320px;
    margin: 0 auto;
    background: rgba(5, 7, 13, 0.62);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.landing-links { display: flex; align-items: center; gap: 26px; margin-left: 26px; }
.landing-links a { font-size: 12.5px; color: var(--muted); transition: color 0.2s; }
.landing-links a:hover { color: var(--cyan); }
.landing-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; }

.landing-main { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }

.hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
    align-items: center;
    padding: 74px 0 54px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 26px;
    padding: 0 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.28);
    background: rgba(0, 229, 255, 0.05);
    color: rgba(0, 229, 255, 0.9);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
}
.hero-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulseDot 1.6s infinite; }
.hero h1 {
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 24px 0 20px;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #53b1fd 0%, #7b9dff 45%, #ff2d6f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.25));
}
.hero-sub { color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; color: var(--faint); font-size: 11px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { width: 14px; height: 14px; color: rgba(0, 229, 255, 0.65); }

.hero-visual { position: relative; padding: 16px 0; }
.hero-panel {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    padding: 22px;
    background:
        radial-gradient(90% 100% at 100% 0, rgba(0, 229, 255, 0.14), transparent 55%),
        radial-gradient(70% 90% at 0 100%, rgba(255, 45, 111, 0.12), transparent 60%),
        linear-gradient(155deg, rgba(13, 24, 39, 0.96), rgba(6, 11, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.24);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    animation: floatY 7s ease-in-out infinite;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.06em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); animation: pulseDot 1.4s infinite; }
.panel-tag { font-size: 9px; letter-spacing: 0.2em; color: var(--green); border: 1px solid rgba(34, 255, 167, 0.25); border-radius: 20px; padding: 2px 8px; }
.panel-amount { padding: 22px 0 10px; display: flex; flex-direction: column; gap: 2px; }
.panel-amount span { font-size: 11px; color: var(--faint); letter-spacing: 0.08em; }
.panel-amount strong { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: #eff8ff; text-shadow: 0 0 26px rgba(0, 229, 255, 0.25); }
.panel-amount em { font-style: normal; font-size: 10px; color: var(--faint); }
.panel-bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; padding: 10px 0 6px; border-bottom: 1px dashed rgba(255, 255, 255, 0.07); }
.pbar { flex: 1; height: 100%; display: flex; align-items: flex-end; border-radius: 4px; background: rgba(255, 255, 255, 0.025); overflow: hidden; }
.pbar i {
    display: block;
    width: 100%;
    height: var(--h);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.9), rgba(0, 229, 255, 0.12));
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--d, 0s);
}
.panel-foot { display: flex; justify-content: space-between; padding-top: 16px; }
.panel-foot div { display: flex; flex-direction: column; gap: 2px; }
.panel-foot b { font-size: 16px; color: #dff8ff; }
.panel-foot span { font-size: 9.5px; color: var(--faint); letter-spacing: 0.05em; }
.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 13px;
    background: rgba(8, 15, 24, 0.94);
    border: 1px solid rgba(0, 229, 255, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}
.hero-chip .icon { color: var(--green); width: 20px; height: 20px; }
.hero-chip b { display: block; font-size: 11.5px; }
.hero-chip span { display: block; font-size: 9px; color: var(--faint); }
.hero-chip-a { left: -32px; top: -20px; animation: floatY 6s ease-in-out infinite 0.8s; }
.hero-chip-b { right: -22px; bottom: -18px; animation: floatY 6.6s ease-in-out infinite 1.4s; }
.hero-glow {
    position: absolute;
    inset: 8% 4%;
    z-index: 1;
    background: radial-gradient(closest-side, rgba(0, 229, 255, 0.22), transparent);
    filter: blur(50px);
}

.stat-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 14px;
}
.stat-band-item { display: flex; gap: 16px; padding: 22px 24px; background: rgba(7, 12, 20, 0.78); }
.stat-band-item > .mono { font-size: 11px; color: rgba(0, 229, 255, 0.45); letter-spacing: 0.12em; padding-top: 3px; }
.stat-band-item b { font-size: 14px; display: block; margin-bottom: 5px; }
.stat-band-item p { font-size: 11.5px; color: var(--faint); }

.section { padding: 84px 0 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.01em; margin: 12px 0 12px; }
.section-head p { color: var(--muted); font-size: 13px; line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
    position: relative;
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(12, 21, 33, 0.9), rgba(6, 11, 18, 0.94));
    border: 1px solid var(--line-soft);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover { border-color: rgba(0, 229, 255, 0.26); transform: translateY(-3px); }
.feature-wide { grid-column: span 2; }
.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--cyan);
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.feature-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.feature-list li { position: relative; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.feature-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    transform: rotate(45deg);
}
.feature-corner { position: absolute; right: 22px; top: 24px; font-size: 9px; letter-spacing: 0.24em; color: rgba(0, 229, 255, 0.28); }
.feature-wide .feature-list { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step {
    position: relative;
    padding: 24px;
    border-radius: 16px;
    background: rgba(8, 14, 23, 0.7);
    border: 1px solid var(--line-soft);
}
.flow-step::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 40px;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(0, 229, 255, 0.35);
    border-right: 1px solid rgba(0, 229, 255, 0.35);
    transform: rotate(45deg);
}
.flow-step:last-child::after { display: none; }
.flow-num { font-size: 11px; letter-spacing: 0.16em; color: rgba(0, 229, 255, 0.5); }
.flow-step h3 { font-size: 15px; margin: 14px 0 8px; }
.flow-step p { color: var(--muted); font-size: 12px; line-height: 1.75; }

.code-showcase {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
    padding: 38px;
    border-radius: 22px;
    background:
        radial-gradient(70% 100% at 100% 0, rgba(0, 229, 255, 0.08), transparent 60%),
        linear-gradient(150deg, rgba(11, 20, 32, 0.9), rgba(5, 9, 15, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.14);
}
.code-copy h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.3; margin: 14px 0 16px; font-weight: 800; }
.code-copy p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.code-copy .btn { margin-top: 22px; }

.code-window {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 7, 12, 0.92);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.code-window-flat { box-shadow: none; }
.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.018);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--faint);
}
.code-dots { display: flex; gap: 5px; }
.code-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.code-dots i:nth-child(1) { background: rgba(255, 93, 108, 0.6); }
.code-dots i:nth-child(2) { background: rgba(255, 194, 75, 0.6); }
.code-dots i:nth-child(3) { background: rgba(34, 255, 167, 0.55); }
.code-body {
    margin: 0;
    padding: 18px 20px;
    font-family: var(--mono);
    font-size: 11.5px;
    line-height: 1.9;
    color: #9fb6ca;
    overflow-x: auto;
}
.code-body code { font-family: inherit; white-space: pre; }
.c-key { color: #7fd6ff; }
.c-str { color: #53b1fd; }
.c-arrow { color: var(--magenta); }
.c-comment { color: #536a80; }
.code-copy {
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(0, 229, 255, 0.05);
    color: var(--cyan);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
}
.code-copy:hover { background: rgba(0, 229, 255, 0.12); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price-card {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(12, 21, 34, 0.9), rgba(6, 10, 17, 0.95));
    border: 1px solid var(--line-soft);
}
.price-card-dark { border-color: rgba(255, 194, 75, 0.2); background: linear-gradient(160deg, rgba(24, 21, 12, 0.62), rgba(7, 8, 11, 0.96)); }
.price-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.26);
    border-radius: 20px;
    padding: 3px 10px;
}
.price-tag.gold { color: var(--gold); border-color: rgba(255, 194, 75, 0.3); }
.price-value { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 12px; }
.price-value b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-value span { font-size: 11px; color: var(--faint); }
.price-card > p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.price-card .btn { margin-top: 24px; }

.cta-band {
    margin-top: 84px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(120deg, rgba(0, 229, 255, 0.45), rgba(255, 45, 111, 0.3), rgba(255, 194, 75, 0.35));
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 44px;
    border-radius: 22px;
    background:
        radial-gradient(80% 140% at 100% 0, rgba(0, 229, 255, 0.12), transparent 60%),
        linear-gradient(150deg, #08111c, #05080e);
    flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(24px, 2.4vw, 34px); margin: 10px 0 8px; font-weight: 800; }
.cta-inner p { color: var(--muted); font-size: 12.5px; }
.cta-actions { display: flex; gap: 10px; }

.landing-footer { position: relative; z-index: 2; max-width: 1240px; margin: 30px auto 0; padding: 34px 40px 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand strong { font-size: 14px; letter-spacing: 0.06em; }
.footer-brand p { font-size: 11px; color: var(--faint); margin-top: 2px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 11.5px; color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 10px; color: var(--faint); flex-wrap: wrap; }

/* ------------------------------------------------------------ 登录 / 注册 */
.page-auth { min-height: 100vh; overflow-x: hidden; }
.auth-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}
.auth-brand {
    padding: 54px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    max-width: 660px;
    justify-self: end;
    width: 100%;
}
.auth-headline h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; font-weight: 900; letter-spacing: -0.02em; margin: 16px 0 18px; }
.auth-headline h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #53b1fd, #8b9cff 55%, #ff2d6f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.auth-headline p { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 480px; }
.auth-points { display: flex; flex-direction: column; gap: 12px; }
.auth-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); }
.auth-points .icon { width: 15px; height: 15px; color: var(--green); margin-top: 2px; }
.auth-metrics { display: flex; gap: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.auth-metrics b { display: block; font-size: 26px; font-family: var(--mono); font-weight: 700; letter-spacing: -0.02em; }
.auth-metrics span { font-size: 10px; color: var(--faint); }

.auth-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.auth-panel-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 229, 255, 0.16), transparent);
    filter: blur(40px);
    pointer-events: none;
}
.auth-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(13, 23, 37, 0.94), rgba(6, 10, 17, 0.97));
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    animation: riseIn 0.45s ease both;
}
.auth-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.7);
}
.auth-card-admin::before { background: linear-gradient(90deg, var(--gold), transparent); box-shadow: 0 0 14px rgba(255, 194, 75, 0.6); }
.auth-card-head { margin-bottom: 26px; }
.auth-card-head h2 { font-size: 24px; font-weight: 800; margin: 10px 0 8px; letter-spacing: 0.01em; }
.auth-card-head p { color: var(--faint); font-size: 12px; }
.auth-card .form { gap: 15px; }
.auth-card .btn-block { margin-top: 6px; }
.auth-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 13px;
    border-radius: 9px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.018);
    font-size: 11px;
    color: var(--faint);
}
.auth-demo-label { color: var(--muted); }
.auth-demo code { color: var(--cyan); font-size: 11px; }
.auth-demo .sep { color: rgba(255, 255, 255, 0.18); }
.auth-switch { margin-top: 18px; text-align: center; font-size: 12px; color: var(--faint); }
.auth-switch a { color: var(--cyan); font-weight: 600; }
.admin-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: var(--faint);
}
.admin-entry:hover { color: var(--gold); }
.admin-entry .icon { width: 14px; height: 14px; }
.auth-note { display: flex; gap: 8px; margin-top: 20px; padding: 12px; border-radius: 9px; background: rgba(0, 229, 255, 0.04); border: 1px solid rgba(0, 229, 255, 0.12); color: var(--faint); font-size: 10.5px; line-height: 1.6; }
.auth-note .icon { color: var(--cyan); width: 14px; height: 14px; margin-top: 2px; }
.auth-warn { display: flex; gap: 6px; align-items: flex-start; margin-top: 16px; color: #ffb37a; font-size: 10.5px; line-height: 1.6; }
.auth-warn .icon { width: 13px; height: 13px; margin-top: 2px; }
.auth-foot { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 11px; color: var(--faint); }
.auth-foot a:hover { color: var(--cyan); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }

/* ------------------------------------------------------------ App shell */
.page-app { background: var(--bg-deep); }
.app-shell { position: relative; z-index: 2; display: flex; min-height: 100vh; }
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(2, 4, 8, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 70;
    width: 248px;
    padding: 24px 16px 18px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(8, 14, 23, 0.96), rgba(4, 8, 14, 0.98));
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 0; }
.sidebar .brand { padding: 0 8px 22px; }
.side-scope {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 6px;
}
.side-scope span { font-size: 10px; letter-spacing: 0.14em; color: var(--faint); }
.side-scope em { font-style: normal; font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: rgba(0, 229, 255, 0.35); }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-group { font-size: 9px; letter-spacing: 0.16em; color: #43566a; padding: 16px 12px 6px; }
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 12.5px;
    border: 1px solid transparent;
    transition: 0.18s;
}
.nav-item .icon { width: 17px; height: 17px; color: #5c7189; transition: 0.18s; }
.nav-item:hover { background: rgba(255, 255, 255, 0.03); color: var(--text); }
.nav-item:hover .icon { color: #8fb6cb; }
.nav-item.active {
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), rgba(0, 229, 255, 0.02));
    color: #dffaff;
    border-color: rgba(0, 229, 255, 0.16);
}
.nav-item.active .icon { color: var(--cyan); }
.nav-item.active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.9);
}
.page-admin .nav-item.active {
    background: linear-gradient(90deg, rgba(255, 194, 75, 0.12), rgba(255, 194, 75, 0.02));
    border-color: rgba(255, 194, 75, 0.18);
    color: #fff4dc;
}
.page-admin .nav-item.active .icon { color: var(--gold); }
.page-admin .nav-item.active::before { background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 75, 0.85); }
.page-admin .side-scope em { color: rgba(255, 194, 75, 0.4); }

.side-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.side-balance {
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(0, 229, 255, 0.07), rgba(255, 45, 111, 0.04));
    border: 1px solid rgba(0, 229, 255, 0.13);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.side-balance span { font-size: 9.5px; color: var(--faint); letter-spacing: 0.06em; }
.side-balance strong { font-size: 18px; font-weight: 700; color: #eff8ff; }
.page-admin .side-balance { background: linear-gradient(140deg, rgba(255, 194, 75, 0.07), rgba(255, 45, 111, 0.03)); border-color: rgba(255, 194, 75, 0.14); }
.page-admin .side-balance strong { color: #ffe8b3; }
.side-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.016);
}
.side-user:hover { border-color: rgba(0, 229, 255, 0.2); }
.side-user .icon { margin-left: auto; width: 14px; height: 14px; color: var(--faint); }
.side-user-meta { display: flex; flex-direction: column; min-width: 0; }
.side-user-meta b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-meta small { font-size: 9px; color: var(--faint); }
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(0, 229, 255, 0.06));
    border: 1px solid rgba(0, 229, 255, 0.28);
    color: #cdf8ff;
    font-size: 12px;
    font-weight: 700;
    flex: none;
}
.avatar-gold { background: linear-gradient(135deg, rgba(255, 194, 75, 0.24), rgba(255, 194, 75, 0.06)); border-color: rgba(255, 194, 75, 0.3); color: #ffe9bb; }
.avatar-lg { width: 58px; height: 58px; border-radius: 16px; font-size: 22px; }
.avatar-sm { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }
.side-logout { margin: 0; }
.nav-logout { width: 100%; background: transparent; cursor: pointer; font-family: inherit; text-align: left; border: 0; }
.nav-logout:hover { color: #ff9aa5; background: rgba(255, 93, 108, 0.06); }
.nav-logout:hover .icon { color: #ff9aa5; }

.main { flex: 1; min-width: 0; margin-left: 248px; display: flex; flex-direction: column; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    background: rgba(5, 9, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(18px);
}
.topbar-menu { display: none; }
.topbar-title { display: flex; flex-direction: column; gap: 1px; }
.crumb { font-size: 9.5px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }
.topbar-title h1 { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.26);
    color: #d6f8ff;
    font-weight: 700;
    font-size: 13px;
}
.topbar-avatar.gold { background: linear-gradient(135deg, rgba(255, 194, 75, 0.22), rgba(255, 194, 75, 0.05)); border-color: rgba(255, 194, 75, 0.3); color: #ffe9bb; }
.content { padding: 28px 30px 54px; max-width: 1400px; width: 100%; }
.page-admin .content { max-width: 1440px; }

/* ------------------------------------------------------------ 商户后台组件 */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.01));
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.notice-bar p { font-size: 12px; color: #a9c8d8; flex: 1; min-width: 200px; }
.notice-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; letter-spacing: 0.1em; color: var(--cyan); white-space: nowrap; }
.notice-tag .icon { width: 14px; height: 14px; }
.notice-warn { border-color: rgba(255, 194, 75, 0.22); background: linear-gradient(90deg, rgba(255, 194, 75, 0.06), rgba(255, 194, 75, 0.01)); }
.notice-warn .notice-tag { color: var(--gold); }
.notice-link { font-size: 11px; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card {
    position: relative;
    padding: 19px 20px 17px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(12, 21, 34, 0.92), rgba(6, 10, 17, 0.96));
    border: 1px solid var(--line-soft);
    overflow: hidden;
    min-height: 132px;
    display: flex;
    flex-direction: column;
}
.stat-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 229, 255, 0.12), transparent);
    pointer-events: none;
}
.stat-magenta::after { background: radial-gradient(closest-side, rgba(255, 45, 111, 0.12), transparent); }
.stat-gold::after { background: radial-gradient(closest-side, rgba(255, 194, 75, 0.12), transparent); }
.stat-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); position: relative; z-index: 1; }
.stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.16);
    color: var(--cyan);
}
.stat-icon .icon { width: 15px; height: 15px; }
.stat-magenta .stat-icon { background: rgba(255, 45, 111, 0.08); border-color: rgba(255, 45, 111, 0.18); color: #ff7ca3; }
.stat-gold .stat-icon { background: rgba(255, 194, 75, 0.08); border-color: rgba(255, 194, 75, 0.18); color: var(--gold); }
.stat-value { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 6px; position: relative; z-index: 1; }
.stat-value small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 1px; }
.stat-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 10.5px; color: var(--faint); position: relative; z-index: 1; flex-wrap: wrap; }
.stat-delta { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); }
.stat-delta.up { color: var(--green); }
.stat-delta .icon { width: 12px; height: 12px; }
.stat-spark { position: absolute; right: 18px; bottom: 14px; display: flex; align-items: flex-end; gap: 3px; height: 30px; opacity: 0.55; }
.stat-spark i { width: 4px; border-radius: 2px; background: linear-gradient(180deg, rgba(255, 45, 111, 0.9), rgba(255, 45, 111, 0.15)); }

.grid-2-1 { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; margin-bottom: 20px; }

.chart-card { min-height: 320px; }
.chart-area { display: flex; gap: 12px; height: 230px; padding-top: 8px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: var(--faint); font-family: var(--mono); padding-bottom: 22px; text-align: right; min-width: 52px; }
.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 33.33%;
    padding-bottom: 22px;
}
.chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; position: relative; }
.chart-bar {
    width: 100%;
    max-width: 46px;
    height: var(--h, 20%);
    min-height: 6px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.92), rgba(0, 229, 255, 0.08));
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    transition: filter 0.2s, transform 0.2s;
    animation: barGrow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.chart-bar.gold { background: linear-gradient(180deg, rgba(255, 194, 75, 0.92), rgba(255, 194, 75, 0.08)); box-shadow: 0 0 18px rgba(255, 194, 75, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.chart-col:hover .chart-bar { filter: brightness(1.25); transform: translateY(-2px); }
.chart-value { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); opacity: 0.8; }
.chart-label { font-size: 9.5px; color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 1px; height: 22px; }
.chart-label em { font-style: normal; font-size: 8px; color: #41556a; }

.channel-list { display: flex; flex-direction: column; gap: 4px; }
.channel-row { display: flex; align-items: center; gap: 11px; padding: 10px 4px; border-bottom: 1px dashed rgba(255, 255, 255, 0.04); }
.channel-row:last-child { border-bottom: 0; }
.channel-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.16);
    color: var(--cyan);
}
.channel-logo .icon { width: 17px; height: 17px; }
.channel-logo.wechat { color: #175cd3; background: rgba(34, 255, 167, 0.06); border-color: rgba(34, 255, 167, 0.16); }
.channel-logo.epay { color: #9d8bff; background: rgba(157, 139, 255, 0.07); border-color: rgba(157, 139, 255, 0.17); }
.channel-logo.test { color: var(--gold); background: rgba(255, 194, 75, 0.06); border-color: rgba(255, 194, 75, 0.16); }
.channel-meta { flex: 1; min-width: 0; }
.channel-meta b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-meta span { display: block; font-size: 10px; color: var(--faint); }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.detail-list { display: flex; flex-direction: column; gap: 0; }
.detail-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.045); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { font-size: 11.5px; color: var(--faint); flex: none; }
.detail-list dd { font-size: 12px; text-align: right; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; word-break: break-all; }
.detail-list dd .mono { font-size: 11.5px; }
.detail-list dd.amount { font-size: 20px; font-weight: 800; color: #eff8ff; }

.timeline { margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.08); }
.tl-item:last-child::before { display: none; }
.tl-item i { width: 9px; height: 9px; border-radius: 50%; background: #33465b; margin-top: 4px; flex: none; z-index: 1; border: 2px solid #0a121d; }
.tl-item.done i { background: var(--green); box-shadow: 0 0 10px rgba(34, 255, 167, 0.7); }
.tl-item.pending i { background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 75, 0.6); }
.tl-item b { display: block; font-size: 11.5px; font-weight: 600; }
.tl-item span { font-size: 10px; color: var(--faint); }

.copy-inline {
    border: 0;
    background: rgba(255, 255, 255, 0.03);
    color: var(--faint);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.16s;
    flex: none;
}
.copy-inline:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.copy-inline .icon { width: 13px; height: 13px; }

.json-pop {
    display: none;
    position: absolute;
    z-index: 30;
    right: 30px;
    margin-top: 6px;
    max-width: 420px;
    max-height: 220px;
    overflow: auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: #04090f;
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #9fb6ca;
    font-size: 10.5px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}
.json-pop.static { display: block; position: static; max-width: none; max-height: 260px; margin-top: 8px; }
.json-pop.is-open { display: block; }

/* 通道卡片 */
.channel-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.channel-card {
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(12, 21, 34, 0.92), rgba(6, 10, 17, 0.96));
    border: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s;
}
.channel-card:hover { border-color: rgba(0, 229, 255, 0.22); }
.channel-card.is-off { opacity: 0.68; }
.channel-card-head { display: flex; align-items: center; gap: 12px; }
.channel-card-head > div { flex: 1; min-width: 0; }
.channel-card-head h3 { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.channel-card-head p { font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.default-tag { font-size: 8.5px; color: var(--gold); border: 1px solid rgba(255, 194, 75, 0.3); padding: 1px 6px; border-radius: 20px; letter-spacing: 0.06em; }
.channel-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; border-top: 1px dashed rgba(255, 255, 255, 0.05); border-bottom: 1px dashed rgba(255, 255, 255, 0.05); }
.channel-card-stats div { display: flex; flex-direction: column; gap: 3px; }
.channel-card-stats span { font-size: 9.5px; color: var(--faint); }
.channel-card-stats b { font-size: 12.5px; font-weight: 600; }
.channel-note { font-size: 11px; color: var(--faint); line-height: 1.7; }
.channel-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.channel-card-foot .ready { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--green); }
.channel-card-foot .ready .icon { width: 12px; height: 12px; }
.channel-kv { display: flex; flex-direction: column; gap: 6px; }
.channel-kv span { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10.5px; }
.channel-kv i { font-style: normal; color: var(--faint); }
.channel-kv code { color: #9fc3d6; font-size: 10.5px; }

/* 凭证 / 开发者 */
.cred-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; margin-bottom: 18px; }
.cred-card { display: flex; flex-direction: column; gap: 16px; }
.cred-item { display: flex; flex-direction: column; gap: 6px; }
.cred-label { font-size: 10px; letter-spacing: 0.08em; color: var(--faint); }
.cred-value {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(3, 8, 13, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #c8e6f3;
}
.cred-value code { flex: 1; min-width: 0; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cred-tip { display: flex; gap: 9px; padding: 11px 13px; border-radius: 9px; background: rgba(255, 194, 75, 0.04); border: 1px solid rgba(255, 194, 75, 0.14); color: #c8a879; font-size: 10.5px; line-height: 1.65; }
.cred-tip .icon { width: 14px; height: 14px; color: var(--gold); margin-top: 2px; flex: none; }
.endpoint-list { display: flex; flex-direction: column; gap: 12px; }
.endpoint { padding: 14px; border-radius: 10px; background: rgba(3, 8, 13, 0.55); border: 1px solid rgba(255, 255, 255, 0.05); }
.endpoint-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.endpoint-head b { font-size: 12px; font-weight: 600; }
.endpoint-url { display: block; font-size: 11px; color: #7cb7ff; word-break: break-all; }
.endpoint-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.endpoint-foot span { font-size: 10px; }
.sign-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.06); }
.sign-note p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.sign-note code { color: #7cb7ff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.step { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.018); border: 1px solid rgba(255, 255, 255, 0.05); }
.step-num { font-size: 10px; color: rgba(0, 229, 255, 0.5); letter-spacing: 0.1em; padding-top: 2px; }
.step h4 { font-size: 12.5px; margin-bottom: 5px; font-weight: 600; }
.step p { font-size: 10.5px; color: var(--faint); line-height: 1.6; }
.step code { color: #7cb7ff; }

/* 链接生成 */
.grid-form-result { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.result-card { display: flex; flex-direction: column; }
.result-block { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.result-url {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(3, 8, 13, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.result-url code { flex: 1; min-width: 0; font-size: 10.5px; color: #9fd5e7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-card .btn-block { margin-top: 4px; }
.result-placeholder { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 10px 10px; }
.result-orb {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.18), rgba(0, 229, 255, 0.03));
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--cyan);
    margin-bottom: 16px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.12);
}
.result-orb .icon { width: 26px; height: 26px; }
.result-placeholder h4 { font-size: 14px; margin-bottom: 6px; }
.result-placeholder p { font-size: 11.5px; color: var(--faint); max-width: 300px; line-height: 1.75; }
.result-tips { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 300px; }
.result-tips li { font-size: 10.5px; color: var(--faint); position: relative; padding-left: 14px; text-align: left; }
.result-tips li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 229, 255, 0.5); }

/* 个人资料 */
.profile-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 18px; align-items: start; }
.profile-card { display: flex; flex-direction: column; gap: 18px; }
.profile-head { display: flex; align-items: center; gap: 14px; }
.profile-head > div { flex: 1; min-width: 0; }
.profile-head h3 { font-size: 17px; font-weight: 700; }
.profile-head p { font-size: 10.5px; color: var(--faint); margin-top: 3px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px dashed rgba(255, 255, 255, 0.06); border-bottom: 1px dashed rgba(255, 255, 255, 0.06); }
.profile-stats div { display: flex; flex-direction: column; gap: 2px; }
.profile-stats b { font-size: 17px; font-weight: 700; }
.profile-stats span { font-size: 9.5px; color: var(--faint); }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* 管理：商户行内编辑 */
.row-detail td { background: rgba(0, 229, 255, 0.025); padding: 0 16px; }
.row-edit { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; }
.row-edit-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.row-edit-grid { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; flex: 1; }
.row-edit-grid .field { min-width: 150px; flex: 1; }
.row-edit-form .field { min-width: 150px; }
.row-edit-reset { padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.06); }
.row-edit .input { height: 36px; font-size: 12px; }
.row-edit .btn { height: 36px; }
.form-card-wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; align-items: start; }
.side-note-card h3 { font-size: 14px; margin-bottom: 12px; }

/* 设置 */
.settings-grid { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: 18px; align-items: start; }
.settings-grid .card { padding: 22px; }
.settings-grid .toggle-row { padding: 6px 0 2px; }
.channel-form { display: flex; flex-direction: column; gap: 16px; }
.channel-form .card { padding: 24px; }
.provider-panel .field { margin-bottom: 14px; }
.sticky-actions { position: sticky; bottom: 16px; z-index: 20; padding: 12px 16px; border-radius: 14px; background: rgba(6, 12, 20, 0.9); border: 1px solid var(--line-soft); backdrop-filter: blur(16px); }

/* ------------------------------------------------------------ 文档 */
.docs-hero { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 64px 40px 34px; }
.docs-hero h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; margin: 12px 0 12px; letter-spacing: -0.02em; }
.docs-hero p { color: var(--muted); font-size: 13px; max-width: 620px; }
.docs-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; font-size: 10.5px; color: var(--faint); }
.docs-meta span { display: inline-flex; align-items: center; gap: 5px; }
.docs-meta .icon { width: 13px; height: 13px; color: rgba(0, 229, 255, 0.55); }
.docs-wrap {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: 176px 1fr;
    gap: 44px;
    align-items: start;
}
.docs-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1px; }
.docs-nav a { font-size: 11.5px; color: var(--faint); padding: 7px 12px; border-radius: 7px; border-left: 1px solid rgba(255, 255, 255, 0.06); }
.docs-nav a:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.04); border-left-color: rgba(0, 229, 255, 0.5); }
.docs-body { min-width: 0; }
.doc-section { padding: 30px 0 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); scroll-margin-top: 90px; }
.doc-section:first-child { padding-top: 8px; }
.doc-section h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.doc-section h2 .mono { font-size: 10px; color: rgba(0, 229, 255, 0.45); letter-spacing: 0.12em; }
.doc-section > p { font-size: 12.5px; color: var(--muted); line-height: 1.9; margin-bottom: 12px; }
.doc-section code {
    font-size: 11px;
    color: #7cb7ff;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    word-break: break-all;
}
.doc-callout { display: flex; gap: 10px; padding: 13px 15px; border-radius: 10px; background: rgba(0, 229, 255, 0.04); border: 1px solid rgba(0, 229, 255, 0.14); margin: 14px 0; }
.doc-callout p { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.doc-callout .icon { color: var(--cyan); width: 15px; height: 15px; margin-top: 2px; flex: none; }
.doc-callout.warn { background: rgba(255, 194, 75, 0.04); border-color: rgba(255, 194, 75, 0.16); }
.doc-callout.warn .icon { color: var(--gold); }
.doc-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.doc-kv div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border-radius: 9px; background: rgba(255, 255, 255, 0.018); border: 1px solid rgba(255, 255, 255, 0.05); }
.doc-kv span { font-size: 10.5px; color: var(--faint); }
.doc-kv code { font-size: 10.5px; }
.doc-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; counter-reset: docli; }
.doc-list li { position: relative; padding-left: 24px; font-size: 12px; color: var(--muted); line-height: 1.8; counter-increment: docli; }
.doc-list li::before { content: counter(docli); position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 4px; background: rgba(0, 229, 255, 0.1); color: var(--cyan); font-size: 9px; font-family: var(--mono); display: flex; align-items: center; justify-content: center; }
.doc-muted { color: var(--faint) !important; font-size: 11px !important; }
.doc-section .table-wrap { margin: 14px 0 6px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; }
.doc-section .table th { background: rgba(255, 255, 255, 0.02); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; background: rgba(255, 255, 255, 0.014); overflow: hidden; }
.faq-item summary { padding: 13px 16px; font-size: 12.5px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--faint); font-size: 15px; font-family: var(--mono); }
.faq-item[open] summary::after { content: "−"; color: var(--cyan); }
.faq-item p { padding: 0 16px 15px; font-size: 11.5px; color: var(--muted); line-height: 1.8; }

/* ------------------------------------------------------------ 404 */
.error-hero { position: relative; z-index: 2; min-height: 68vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-hero .glitch { font-size: clamp(90px, 16vw, 180px); font-weight: 900; line-height: 1; margin: 8px 0; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 229, 255, 0.6); position: relative; letter-spacing: 0.05em; }
.error-hero .glitch::before, .error-hero .glitch::after { content: attr(data-text); position: absolute; inset: 0; -webkit-text-stroke: 0; color: var(--magenta); opacity: 0.28; transform: translate(3px, -2px); filter: blur(1px); }
.error-hero .glitch::after { color: var(--cyan); transform: translate(-3px, 2px); opacity: 0.24; }
.error-hero h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.error-hero p { color: var(--muted); font-size: 12.5px; }
.error-hero code { color: #7cb7ff; }
.error-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------ 收银台 */
.page-pay { min-height: 100vh; overflow-x: hidden; }
.pay-shell { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 20px 18px 30px; }
.pay-top { width: 100%; max-width: 460px; display: flex; align-items: center; justify-content: space-between; padding: 8px 2px 22px; }
.pay-top .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.pay-top .brand-mark .icon { width: 18px; height: 18px; }
.pay-top .brand-text strong { font-size: 13.5px; }
.pay-top .brand-text small { font-size: 7px; }
.pay-secure { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: rgba(34, 255, 167, 0.8); border: 1px solid rgba(34, 255, 167, 0.18); background: rgba(34, 255, 167, 0.05); border-radius: 20px; padding: 4px 10px; }
.pay-secure .icon { width: 12px; height: 12px; }
.pay-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 26px 26px 22px;
    border-radius: 24px;
    background:
        radial-gradient(90% 60% at 50% 0, rgba(0, 229, 255, 0.09), transparent 60%),
        linear-gradient(170deg, rgba(13, 23, 37, 0.97), rgba(5, 9, 15, 0.99));
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    animation: riseIn 0.4s ease both;
}
.pay-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.7);
}
.pay-status-line { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.12em; color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.2); background: rgba(0, 229, 255, 0.05); border-radius: 20px; padding: 4px 11px; }
.pay-status-line .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulseDot 1.5s infinite; }
.pay-status-line .dot.off { background: #ff8a97; box-shadow: 0 0 8px #ff8a97; animation: none; }
.pay-merchant { margin-top: 18px; font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.pay-title { font-size: 17px; font-weight: 700; margin: 6px 0 16px; line-height: 1.4; }
.pay-amount { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: #eff8ff; }
.pay-currency { font-size: 20px; font-weight: 600; color: rgba(0, 229, 255, 0.85); }
.pay-amount b { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; text-shadow: 0 0 40px rgba(0, 229, 255, 0.22); }
.pay-expire { font-size: 10.5px; color: var(--faint); margin: 8px 0 22px; }
.pay-expire b { color: var(--gold); font-weight: 600; }
.pay-main { padding-top: 6px; }
.qr-wrap { position: relative; display: inline-flex; padding: 14px; margin: 0 auto 14px; }
.qr-glow { position: absolute; inset: -14px; background: radial-gradient(closest-side, rgba(0, 229, 255, 0.24), transparent); filter: blur(16px); }
.qr-box {
    position: relative;
    width: 206px;
    height: 206px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.35), 0 16px 40px rgba(0, 0, 0, 0.5);
}
.qr-box img, .qr-box canvas { width: 100% !important; height: 100% !important; display: block; }
.qr-tip { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 12px; }
.qr-tip .icon { color: #175cd3; width: 15px; height: 15px; }
.pay-go { margin-top: 6px; }
.pay-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 16px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.1); color: var(--faint); font-size: 11.5px; line-height: 1.7; }
.pay-hint .icon { width: 24px; height: 24px; color: rgba(0, 229, 255, 0.5); }
.test-panel { margin-top: 20px; padding: 16px; border-radius: 12px; border: 1px dashed rgba(255, 194, 75, 0.25); background: rgba(255, 194, 75, 0.04); text-align: left; }
.test-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 8px; }
.test-tag .icon { width: 13px; height: 13px; }
.test-panel p { font-size: 10.5px; color: #b99a6b; line-height: 1.65; margin-bottom: 12px; }
.test-panel .btn { margin-top: 2px; }
.pay-success { padding: 22px 0 6px; }
.success-ring {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(34, 255, 167, 0.16), rgba(34, 255, 167, 0.02));
    border: 1px solid rgba(34, 255, 167, 0.35);
    box-shadow: 0 0 44px rgba(34, 255, 167, 0.2);
    animation: pulseDot 2s ease-in-out infinite;
}
.success-check { display: flex; color: var(--green); }
.success-check .icon { width: 38px; height: 38px; }
.pay-success h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.pay-success > p { font-size: 11.5px; color: var(--faint); }
.success-amount { font-size: 30px; font-weight: 800; margin: 14px 0 22px; color: #eff8ff; }
.pay-success .btn { margin-top: 4px; }
.pay-closed { padding: 22px 0 6px; }
.pay-closed h2 { font-size: 18px; margin: 12px 0 6px; }
.pay-closed p { font-size: 11.5px; color: var(--faint); line-height: 1.7; margin-bottom: 20px; }
.pay-error-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255, 194, 75, 0.08); border: 1px solid rgba(255, 194, 75, 0.24); color: var(--gold); }
.pay-error-icon .icon { width: 26px; height: 26px; }
.pay-info { margin-top: 24px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 8px; }
.pay-info > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 10.5px; text-align: left; }
.pay-info span { color: var(--faint); flex: none; }
.pay-info b { color: #a9c3d5; font-weight: 500; text-align: right; word-break: break-all; }
.pay-brand { margin-top: 22px; font-size: 9.5px; color: #3f5266; display: flex; align-items: center; gap: 5px; text-align: center; }
.pay-brand .icon { width: 12px; height: 12px; }
.pay-card.is-paid .pay-status-line { color: var(--green); border-color: rgba(34, 255, 167, 0.25); background: rgba(34, 255, 167, 0.06); }
.pay-card.is-paid .pay-status-line .dot { background: var(--green); box-shadow: 0 0 8px var(--green); animation: none; }
.pay-card-error { text-align: center; padding: 36px 26px 28px; }
.pay-card-error h1 { font-size: 19px; margin: 10px 0 8px; }
.pay-error-msg { font-size: 12px; color: #ff9aa5; margin-bottom: 16px; line-height: 1.7; word-break: break-all; }
.pay-error-tips { display: flex; flex-direction: column; gap: 5px; margin-bottom: 20px; font-size: 10.5px; color: var(--faint); }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 1180px) {
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .stat-band { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-wide { grid-column: span 2; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-step:nth-child(2)::after { display: none; }
    .grid-2-1 { grid-template-columns: 1fr; }
    .cred-grid, .grid-form-result, .profile-grid, .detail-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .code-showcase { grid-template-columns: 1fr; gap: 28px; }
    .auth-brand { padding: 44px 40px; }
    .auth-shell { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .landing-nav { padding: 0 22px; }
    .landing-links { display: none; }
    .landing-main { padding: 0 22px 50px; }
    .docs-hero, .docs-wrap { padding-left: 24px; padding-right: 24px; }
    .docs-wrap { grid-template-columns: 1fr; gap: 20px; }
    .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
    .docs-nav a { border-left: 0; border: 1px solid rgba(255,255,255,.06); }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-panel { padding: 40px 20px; min-height: 100vh; }
    .sidebar { transform: translateX(-100%); transition: transform 0.28s ease; }
    .main { margin-left: 0; }
    .topbar-menu { display: inline-flex; }
    .content { padding: 22px 20px 44px; }
    body.sidebar-open .sidebar { transform: translateX(0); }
    body.sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
    .channel-cards { grid-template-columns: 1fr; }
    .form-card-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .landing-nav { height: 62px; padding: 0 18px; }
    .landing-nav .landing-actions .btn-ghost { display: none; }
    .landing-main { padding: 0 18px 40px; }
    .hero { padding: 40px 0 34px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 13px; }
    .hero-actions .btn-lg { height: 44px; padding: 0 18px; font-size: 13px; }
    .hero-chip-a { left: -6px; top: -14px; }
    .hero-chip-b { right: 8px; bottom: -16px; }
    .hero-panel { transform: none; padding: 18px; }
    .panel-amount strong { font-size: 32px; }
    .section { padding-top: 54px; }
    .feature-grid, .flow-grid, .pricing-grid { grid-template-columns: 1fr; }
    .feature-wide { grid-column: span 1; }
    .feature-wide .feature-list { flex-direction: column; }
    .flow-step::after { display: none; }
    .code-showcase { padding: 22px; }
    .cta-inner { padding: 26px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }
    .footer-links { gap: 16px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { min-height: 118px; padding: 15px 16px; }
    .stat-value { font-size: 22px; }
    .stat-spark { display: none; }
    .page-head { align-items: flex-start; }
    .page-head h2 { font-size: 22px; }
    .page-head-actions { width: 100%; }
    .page-head-actions .btn { flex: 1; }
    .filter-item { flex: 1 1 140px; min-width: 0; }
    .filter-item.grow { flex-basis: 100%; }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; gap: 12px; }
    .topbar { padding: 0 16px; height: 62px; }
    .topbar-title .crumb { display: none; }
    .topbar-actions .pill-live { display: none; }
    .content { padding: 18px 14px 40px; }
    .card { padding: 18px; }
    .chart-area { height: 190px; }
    .chart-y { min-width: 42px; }
    .chart-value { display: none; }
    .steps { grid-template-columns: 1fr; }
    .detail-list > div { flex-direction: column; gap: 3px; }
    .detail-list dd { text-align: left; justify-content: flex-start; }
    .doc-kv { grid-template-columns: 1fr; }
    .docs-hero { padding: 44px 18px 24px; }
    .docs-wrap { padding: 0 18px 60px; }
    .toast-stack { left: 14px; right: 14px; top: 14px; max-width: none; }
    .row-edit-grid, .row-edit-form { flex-direction: column; align-items: stretch; }
    .row-edit .btn { width: 100%; }
    .sticky-actions { position: static; }
    .profile-grid { gap: 14px; }
    .auth-panel { padding: 26px 16px; }
    .auth-card { padding: 26px 22px; border-radius: 18px; }
    .auth-panel-glow { width: 320px; height: 320px; }
    .pay-shell { padding: 14px 14px 24px; }
    .pay-card { padding: 22px 18px 18px; border-radius: 20px; }
    .pay-amount b { font-size: 46px; }
    .qr-box { width: 188px; height: 188px; }
    .landing-footer { padding: 28px 18px 34px; }
    .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
    .stat-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 31px; }
    .auth-card-head h2 { font-size: 21px; }
    .pay-amount b { font-size: 42px; }
}

/* ------------------------------------------------------------ 交互增强 */
@keyframes toastOut {
    to { opacity: 0; transform: translateX(18px) scale(0.97); }
}
.toast.is-out { animation: toastOut 0.24s ease forwards; }
.toast-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.toast-icon .icon { width: 15px; height: 15px; }

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading .icon { opacity: 0; }
.btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.copy-inline.is-copied, .code-copy.is-copied { color: var(--green); border-color: rgba(34, 255, 167, 0.4); }
.copy-inline.is-on, .input-action.is-on { color: var(--gold); }

.row-detail > td { padding: 0 18px; background: rgba(0, 229, 255, 0.02); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.row-detail[hidden] { display: none; }
.qr-box .qr-fallback { font-size: 11px; color: #0a1420; word-break: break-all; padding: 10px; text-align: center; line-height: 1.6; }
.qr-box .qr-fallback a { color: #0a6cff; }

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .landing-nav.nav-open .landing-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 18px 14px;
        background: #070b13;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
        animation: riseIn 0.22s ease both;
    }
    .landing-nav.nav-open .landing-links a {
        padding: 12px 4px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    body.sidebar-open, body.nav-locked { overflow: hidden; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- 提现 / 商家转账 ---------- */
.mt24 { margin-top: 24px; }

.fee-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    margin: 4px 0 18px;
    font-size: 13px;
    color: var(--muted);
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
}

.fee-preview b { color: var(--text); }
.fee-preview b.gold { color: var(--gold); }

@media (max-width: 720px) {
    .fee-preview { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   浅色专业金融主题 · LIGHT FINTECH THEME
   ============================================================ */
:root {
    color-scheme: light;
    --bg: #f8fafc;
    --bg-deep: #f8fafc;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --panel-2: #ffffff;
    --line: #eff3f9;
    --line-soft: #eff3f9;
    --cyan: #0b4acb;
    --cyan-deep: #093da8;
    --magenta: #b42318;
    --gold: #a15a12;
    --green: #067647;
    --red: #b42318;
    --text: #101828;
    --muted: #475467;
    --faint: #98a2b3;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(28, 25, 18, 0.04), 0 10px 28px rgba(28, 25, 18, 0.06);
}

html, body { background: var(--bg-deep); }
body { color: var(--text); }

/* 去掉霓虹背景层 */
.bg-stage, .bg-aurora, .bg-aurora-2, .bg-grid, .bg-scan, .bg-beam, .bg-vignette { display: none !important; }

::selection { background: rgba(21, 94, 239, 0.16); color: #101828; }

.kicker { color: #667085; font-weight: 600; letter-spacing: 0.16em; }
.kicker.gold { color: var(--gold); }
.link, .card-link, .auth-switch a { color: var(--cyan); }
.link:hover, .card-link:hover, .auth-switch a:hover { color: var(--cyan-deep); }
.cyan { color: var(--cyan); }
.mag { color: var(--magenta); }
.gold { color: var(--gold); }

/* ---------------- 按钮 ---------------- */
.btn { border-radius: 8px; font-weight: 600; letter-spacing: 0; }
.btn:hover, .btn:active { transform: none; }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); }
.btn-primary:hover { background: var(--cyan-deep); box-shadow: 0 2px 6px rgba(21, 94, 239, 0.24); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: none; }
.btn-gold:hover { background: #93370d; box-shadow: none; }
.btn-ghost { background: #fff; border-color: #d0d5dd; color: #344054; }
.btn-ghost:hover { background: #f9fafb; border-color: #b9c0ca; color: #101828; }
.btn-danger { background: var(--red); color: #fff; box-shadow: none; }
.btn-danger-ghost { background: #fff; border-color: #fecdca; color: #b42318; }
.btn-danger-ghost:hover { background: #fef3f2; border-color: #f97066; color: #b42318; }
.btn-oauth { height: 46px; background: #0b4acb; color: #fff; border-color: #0b4acb; }
.btn-oauth:hover { background: #0b4acb; border-color: #0b4acb; }
.btn-oauth .icon { width: 18px; height: 18px; }

.icon-btn { background: #fff; border-color: var(--line); color: #667085; border-radius: 8px; }
.icon-btn:hover { background: #f9fafb; border-color: #d0d5dd; color: #101828; }

/* ---------------- 徽标 ---------------- */
.badge { height: 22px; border-radius: 6px; letter-spacing: 0; }
.badge .dot { box-shadow: none; }
.badge.ok { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.badge.wait { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.badge.off { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.badge.warn { color: #b54708; background: #fffaeb; border-color: #fedf89; }

/* ---------------- 品牌 ---------------- */
.brand-mark { background: var(--cyan); border-color: transparent; color: #fff; box-shadow: none; border-radius: 10px; }
.brand-mark .icon { color: #fff; }
.brand-text strong { color: var(--text); }
.brand-text small { color: var(--faint); }

/* ---------------- 面板 / 卡片 ---------------- */
.card, .channel-card, .auth-card, .auth-panel, .hero-panel, .stat-card,
.code-window, .json-pop, .notice-bar, .filter-bar, .pay-card,
.cred-card, .profile-card, .result-card, .stat-band {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    backdrop-filter: none;
}
.card { border-radius: 12px; }
.card::before, .auth-card::before, .stat-card::after, .pay-card::before,
.auth-panel-glow, .hero-glow { display: none; }
.card-tip { background: #f8faff; border-color: #e4ecfd; }
.card-tip .icon { color: var(--cyan); }
.card-tip code { color: #0b4acb; }
.card-sub, .card-title { color: inherit; }

/* ---------------- 表格 ---------------- */
.table th { background: #f9fafb; color: #667085; border-bottom: 1px solid var(--line); font-weight: 600; }
.table td { border-bottom: 1px solid #eef1f5; color: #344054; }
.table-hover tbody tr:hover { background: #f9fafb; }
.table .cell-merchant small { color: var(--faint); }
.row-detail td { background: #f8faff; }
.row-edit-reset { border-top-color: #eaedf2; }
.pay-type { color: #475467; }
.pay-type .icon { color: #067647; }
.avatar { background: #f2f6ff; border-color: #dbe6ff; color: #0b4acb; }
.avatar-gold { background: #fffaeb; border-color: #fedf89; color: #b54708; }

/* ---------------- 表单 ---------------- */
.input, select.input, textarea.input {
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #101828;
    border-radius: 8px;
}
.input::placeholder { color: #98a2b3; }
.input:focus, select.input:focus, textarea.input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.12);
    background: #fff;
}
select.input {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: calc(100% - 13px) center;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    padding-right: 34px;
}
.input[type="date"] { color-scheme: light; }
.input-wrap .input-icon { color: #98a2b3; }
.input-wrap .input-action { color: #98a2b3; }
.input-wrap .input-action:hover { color: var(--cyan); background: #f2f6ff; }
.field-label { color: #475467; }
.field-label .optional { color: #98a2b3; }
.hint, .hint-text { color: #98a2b3; }
.checkbox { color: #475467; }
.checkbox input { background: #fff; border-color: #d0d5dd; }
.checkbox input:checked { background: var(--cyan); border-color: var(--cyan); }
.checkbox input:checked::after { border-color: #fff; }
.switch { background: #eaecf0; border-color: #d0d5dd; }
.switch::after { background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2); }
.switch-label { color: #475467; }
.switch-label input:checked + .switch { background: var(--cyan); border-color: var(--cyan); }
.switch-label input:checked + .switch::after { left: 19px; }

/* ---------------- 登录 / 注册 ---------------- */
.page-auth { background: var(--bg-deep); }
.auth-headline h1 { color: #101828; }
.auth-headline h1 em {
    background: none;
    color: var(--cyan);
    -webkit-text-fill-color: currentColor;
    filter: none;
}
.auth-headline p, .auth-points li { color: #5f6b7a; }
.auth-points .icon { color: #067647; }
.auth-metrics { border-top-color: #eaecf2; }
.auth-metrics b { color: #101828; }
.auth-metrics span { color: #98a2b3; }
.auth-card { border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06); }
.auth-card-head h2 { color: #101828; }
.auth-card-head p { color: #98a2b3; }
.auth-demo { background: #f9fafb; border-color: #eaecf2; }
.auth-demo code { color: var(--cyan); }
.auth-demo .sep { color: #d0d5dd; }
.auth-demo-label { color: #667085; }
.auth-switch { color: #98a2b3; }
.auth-note { background: #f8faff; border-color: #dbe6ff; color: #5f6b7a; }
.auth-note .icon { color: var(--cyan); }
.auth-warn { color: #b54708; }
.auth-warn .icon { color: #b54708; }
.auth-foot { color: #98a2b3; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #98a2b3; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: #eaecf2; flex: 1; }
.auth-oauth-tip { text-align: center; font-size: 11px; color: #98a2b3; margin-top: 10px; }
.fee-notice {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding: 12px 14px; margin-bottom: 18px;
    background: #fffaeb; border: 1px solid #fedf89; border-radius: 8px;
}
.fee-notice-label { font-size: 11px; color: #b54708; }
.fee-notice strong { font-size: 20px; color: #b54708; }
.fee-notice-note { font-size: 11px; color: #b54708; opacity: 0.85; }

/* ---------------- 后台框架 ---------------- */
.page-app { background: var(--bg-deep); }
.sidebar { background: #fff; border-right: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
.sidebar-backdrop { background: rgba(16, 24, 40, 0.35); }
.side-scope { background: #f9fafb; border-color: #eaecf2; }
.side-scope span { color: #98a2b3; }
.side-scope em { color: #b4bcc8; }
.nav-group { color: #98a2b3; }
.nav-item { color: #475467; border-radius: 8px; }
.nav-item .icon { color: #98a2b3; }
.nav-item:hover { background: #f4f6f9; color: #101828; }
.nav-item:hover .icon { color: #475467; }
.nav-item.active { background: #eff4ff; color: var(--cyan); }
.nav-item.active .icon { color: var(--cyan); }
.nav-item.active::before { background: var(--cyan); box-shadow: none; }
.page-admin .nav-item.active { background: #fffaeb; color: var(--gold); }
.page-admin .nav-item.active .icon { color: var(--gold); }
.page-admin .nav-item.active::before { background: var(--gold); box-shadow: none; }
.page-admin .side-scope em { color: #d9b48c; }
.side-balance { background: #f9fafb; border-color: #eaecf2; }
.side-balance span { color: #98a2b3; }
.side-balance strong { color: #101828; }
.page-admin .side-balance { background: #fffaeb; border-color: #fedf89; }
.page-admin .side-balance strong { color: var(--gold); }
.side-user { background: #fff; border-color: #eaecf2; }
.side-user:hover { border-color: #d0d5dd; }
.side-user .icon { color: #98a2b3; }
.side-user-meta small { color: #98a2b3; }
.nav-logout:hover { color: #b42318; background: #fef3f2; }
.nav-logout:hover .icon { color: #b42318; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; box-shadow: none; }
.topbar-avatar { background: #f2f6ff; border-color: #dbe6ff; color: #0b4acb; }
.topbar-avatar.gold { background: #fffaeb; border-color: #fedf89; color: var(--gold); }
.notice-bar p { color: #475467; }
.notice-tag { color: var(--cyan); }
.notice-warn { background: #fffaeb; border-color: #fedf89; }
.notice-warn .notice-tag { color: var(--gold); }
.notice-link { color: var(--gold); }

/* ---------------- 数据 / 图表 ---------------- */
.stat-icon { background: #f2f6ff; border-color: #dbe6ff; color: var(--cyan); box-shadow: none; }
.stat-magenta .stat-icon { background: #fef3f2; border-color: #fecdca; color: var(--magenta); }
.stat-gold .stat-icon { background: #fffaeb; border-color: #fedf89; color: var(--gold); }
.stat-spark i { background: #c7d7fe; }
.stat-value { color: #101828; }
.chart-bar { background: #155eef; box-shadow: none; }
.chart-bar.gold { background: #f79009; box-shadow: none; }
.chart-col:hover .chart-bar { filter: none; transform: none; }
.chart-label em { color: #98a2b3; }
.chart-y { color: #98a2b3; }

/* ---------------- 通道 / 凭证 / 文档 ---------------- */
.channel-row { border-bottom-color: #f0f2f6; }
.channel-logo { background: #f9fafb; border-color: #eaecf2; }
.channel-logo.wechat { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.channel-logo.epay { color: #3538cd; background: #eef4ff; border-color: #c7d7fe; }
.channel-logo.test { color: var(--gold); background: #fffaeb; border-color: #fedf89; }
.channel-kv code, .cred-value code { color: #344054; }
.channel-card-stats { border-color: #eef1f5; }
.cred-value { background: #f9fafb; border-color: #eaecf2; }
.cred-tip { background: #fffaeb; border-color: #fedf89; color: #93370d; }
.cred-tip .icon { color: var(--gold); }
.endpoint { background: #f9fafb; border-color: #eaecf2; }
.endpoint-url { color: #0b4acb; }
.step { background: #fff; border-color: var(--line); }
.step-num { color: #98a2b3; }
.step code { color: #0b4acb; }
.doc-section { border-bottom-color: #eaecf2; }
.doc-section h2 .mono { color: #98a2b3; }
.doc-section code { background: #f2f4f7; color: #0b4acb; border-color: #e4e8ef; }
.doc-callout { background: #f2f6ff; border-color: #dbe6ff; }
.doc-callout.warn { background: #fffaeb; border-color: #fedf89; }
.doc-callout.warn .icon { color: var(--gold); }
.doc-kv div { background: #f9fafb; border-color: #eaecf2; }
.doc-list li::before { background: #dbe6ff; color: var(--cyan); }
.doc-section .table-wrap { border-color: #eaecf2; }
.doc-section .table th { background: #f9fafb; }
.docs-nav a { color: #98a2b3; border-left-color: #eaecf2; }
.docs-nav a:hover { color: var(--cyan); background: #f2f6ff; border-left-color: var(--cyan); }
.docs-meta .icon { color: #98a2b3; }
.faq-item { background: #fff; border-color: var(--line); }
.faq-item[open] summary::after { color: var(--cyan); }
.json-pop { color: #344054; }
.copy-inline:hover { color: var(--cyan); background: #f2f6ff; }
.result-url { background: #f9fafb; border-color: #eaecf2; }
.result-url code { color: #344054; }
.result-orb { background: #f2f6ff; border-color: #dbe6ff; color: var(--cyan); box-shadow: none; }
.result-placeholder p { color: #98a2b3; }
.result-tips li { color: #98a2b3; }
.row-detail td { background: #f8faff; }

/* ---------------- 收银台 ---------------- */
.page-pay { background: var(--bg-deep); }
.pay-card { border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06); }
.pay-secure { color: #067647; border-color: #abefc6; background: #ecfdf3; }
.pay-status-line { color: #0b4acb; border-color: #dbe6ff; background: #f2f6ff; }
.pay-status-line .dot { background: var(--cyan); box-shadow: none; }
.pay-status-line .dot.off { background: var(--red); box-shadow: none; }
.pay-merchant { color: #98a2b3; }
.pay-title { color: #101828; }
.pay-amount { color: #101828; }
.pay-currency { color: #475467; }
.pay-amount b { color: #101828; text-shadow: none; }
.pay-expire b { color: var(--gold); }
.success-ring { background: #ecfdf3; border-color: #abefc6; box-shadow: none; }
.success-check { color: #067647; }
.success-amount { color: #101828; }
.pay-error-icon { background: #fef3f2; border-color: #fecdca; color: var(--red); box-shadow: none; }
.qr-box { background: #fff; border-color: #eaecf2; }
.pay-simulate-tip { background: #fffaeb; border-color: #fedf89; color: #93370d; }

/* ---------------- Toast ---------------- */
.toast { background: #fff; border-color: var(--line); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12); backdrop-filter: none; }
.toast p { color: #344054; }
.toast--success { border-color: #abefc6; }
.toast--success .toast-icon { background: #ecfdf3; color: #067647; }
.toast--error { border-color: #fecdca; }
.toast--error .toast-icon { background: #fef3f2; color: #b42318; }
.toast--info .toast-icon { background: #f2f6ff; color: var(--cyan); }
.toast-close:hover { color: #101828; background: #f2f4f7; }

/* ---------------- 首页 ---------------- */
.landing-nav { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.landing-links a { color: #5f6b7a; }
.landing-links a:hover { color: var(--cyan); }
.hero-pill { background: #f2f6ff; border-color: #dbe6ff; color: #0b4acb; }
.hero-pill i { background: #067647; box-shadow: none; }
.hero h1 em { background: none; color: var(--cyan); -webkit-text-fill-color: currentColor; filter: none; }
.hero-sub { color: #5f6b7a; }
.hero-trust { color: #98a2b3; }
.hero-trust .icon { color: #98a2b3; }
.hero-panel { transform: none; animation: none; }
.hero-chip { background: #fff; border-color: #eaecf2; box-shadow: 0 2px 10px rgba(16, 24, 40, 0.08); animation: none; }
.stat-band-item { background: #fff; }
.stat-band-item > .mono { color: #98a2b3; }
.stat-band-item p { color: #98a2b3; }
.code-head { background: #f9fafb; border-bottom: 1px solid var(--line); color: #667085; }
.code-body { background: #fcfcfd; color: #344054; }
.code-body code { color: #344054; }
.code-dots i { background: #d0d5dd; }
.code-dots i:nth-child(1) { background: #fda29b; }
.code-dots i:nth-child(2) { background: #fec84b; }
.code-dots i:nth-child(3) { background: #175cd3; }
.code-copy { background: #fff; border: 1px solid var(--line); color: #667085; }
.code-copy:hover { background: #f2f6ff; color: var(--cyan); }
.landing-footer { border-top-color: #eaecf2; color: #98a2b3; }
.code-showcase {
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.price-card { background: #fff; border-color: var(--line); }
.price-card-dark { background: #fff; border-color: #fedf89; }
.price-tag { color: var(--cyan); border-color: #dbe6ff; background: #f2f6ff; }
.price-tag.gold { color: var(--gold); border-color: #fedf89; background: #fffaeb; }
.cta-band { background: #e4e8ef; }
.cta-inner { background: #fff; }
.code-body .c-key { color: #0b4acb; }
.code-body .c-str { color: #067647; }
.code-body .c-arrow { color: #d92d20; }
.code-body .c-comment { color: #98a2b3; }

/* 首页功能卡 / 流程 / 数据面板 */
.feature-card { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.feature-card:hover { border-color: #c7d7fe; transform: none; }
.feature-icon { background: #f2f6ff; border-color: #dbe6ff; color: var(--cyan); }
.feature-list li::before { background: var(--cyan); box-shadow: none; }
.feature-corner { color: #98a2b3; }
.flow-step { background: #fff; border-color: var(--line); }
.flow-step::after { border-color: #c7d7fe; }
.flow-num { color: #98a2b3; }
.hero-panel { background: #fff; border-color: var(--line); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06); }
.panel-head { color: #101828; }
.live-dot { background: #067647; box-shadow: none; animation: none; }
.panel-tag { color: #067647; border-color: #abefc6; background: #ecfdf3; }
.panel-amount span { color: #98a2b3; }
.panel-amount strong { color: #101828; text-shadow: none; }
.panel-foot b { color: #101828; }
.panel-bars { border-bottom-color: #eaecf2; }
.pbar { background: #f2f4f7; }
.pbar i { background: #155eef; box-shadow: none; }
.page-btn { background: #fff; border-color: var(--line); color: #5f6b7a; }
.page-btn:hover { border-color: #c7d7fe; color: var(--cyan); }
.page-btn.active { background: #f2f6ff; border-color: #9db8fb; color: var(--cyan); }

@media (max-width: 1024px) {
    .landing-nav.nav-open .landing-links {
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
        backdrop-filter: none;
    }
    .landing-nav.nav-open .landing-links a { border-bottom: 1px solid #f0f2f6; }
}

/* ============================================================
   历史主题层（配色已由末尾 v5 白蓝主题覆盖）
   仅覆盖视觉层，不动结构与交互
   ============================================================ */
:root {
    --jade: #0b4acb;
    --jade-deep: #093da8;
    --jade-tint: #e8f1ff;
    --paper: #f8fafc;
    --paper-2: #ffffff;
    --hairline: #eaecf2;
    --shadow-card: 0 1px 2px rgba(31, 27, 18, .03), 0 10px 30px rgba(31, 27, 18, .05);
}

body {
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(1200px 600px at 15% -10%, #ffffff 0%, #f8fafc 55%, #f2f4f7 100%) fixed;
}
.mono, code, .stat-value, .table .mono { font-variant-numeric: tabular-nums; }

/* ---------- 侧栏 ---------- */
.sidebar {
    width: 256px;
    padding: 22px 14px 16px;
    background: #ffffff;
    border-right: 1px solid var(--hairline);
}
.main { margin-left: 256px; }
.brand { padding: 2px 8px 20px; }
.brand-mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(150deg, #0b4acb, #093da8);
    box-shadow: 0 6px 16px rgba(10, 86, 72, .25);
}
.brand-mark .icon { color: #fff; }
.brand-text strong { font-size: 15px; letter-spacing: .01em; }
.brand-text small { font-size: 9px; letter-spacing: .18em; color: #a3a89f; }
.side-scope {
    margin: 0 6px 10px;
    padding: 5px 10px;
    background: transparent;
    border: 0;
    border-radius: 7px;
}
.side-scope span { font-size: 11px; color: #667085; letter-spacing: .1em; }
.side-scope em { font-size: 9px; color: #b6bab1; }
.side-nav { gap: 2px; padding: 0 2px; }
.nav-group { padding: 18px 10px 6px; font-size: 9px; letter-spacing: .16em; color: #b0b5ac; }
.nav-item {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: #475467;
    border: 1px solid transparent;
}
.nav-item .icon { width: 17px; height: 17px; color: #98a2b3; }
.nav-item:hover { background: #f2f4f7; color: #101828; }
.nav-item:hover .icon { color: #0b4acb; }
.nav-item.active {
    background: var(--jade-tint);
    color: var(--jade-deep);
    font-weight: 600;
}
.nav-item.active .icon { color: var(--jade); }
.nav-item.active::before {
    left: -8px; top: 8px; bottom: 8px;
    width: 3px; border-radius: 3px;
    background: var(--jade);
    box-shadow: none;
}
.page-admin .nav-item.active { background: #f9f0e2; color: #8a4a0f; }
.page-admin .nav-item.active .icon { color: #a15a12; }
.page-admin .nav-item.active::before { background: #a15a12; }
.side-balance {
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(160deg, #ffffff, #f8fafc);
    border: 1px solid var(--hairline);
}
.side-balance span { font-size: 10.5px; letter-spacing: .08em; color: #98a2b3; }
.side-balance strong { font-size: 18px; color: var(--jade-deep); letter-spacing: -.01em; }
.page-admin .side-balance strong { color: #8a4a0f; }
.side-user { border-radius: 12px; border-color: var(--hairline); }
.side-user .avatar { background: var(--jade-tint); border-color: #cfe5dd; color: var(--jade-deep); }

/* ---------- 顶栏 ---------- */
.topbar {
    height: 64px;
    padding: 0 30px;
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--hairline);
    backdrop-filter: saturate(1.4) blur(10px);
}
.topbar-title .crumb { font-size: 10.5px; letter-spacing: .08em; color: #98a2b3; }
.topbar-title h1 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pill-live { font-size: 10.5px; }

/* ---------- 内容区 ---------- */
.content { max-width: 1180px; padding: 32px 34px 64px; }
.page-admin .content { max-width: 1320px; }
.page-head { align-items: center; margin-bottom: 24px; }
.page-head h2 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; margin: 5px 0 7px; }
.page-head p { font-size: 13px; color: #667085; line-height: 1.6; }
.kicker { font-size: 10px; letter-spacing: .2em; color: #98a2b3; font-weight: 600; }

/* ---------- 卡片 ---------- */
.card, .channel-card, .auth-card, .pay-card, .filter-bar, .notice-bar, .stat-band {
    border-radius: 16px;
    border: 1px solid var(--hairline);
    background: #fff;
    box-shadow: var(--shadow-card);
}
.card { padding: 24px; }
.card-head { margin-bottom: 18px; }
.card-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.005em; }
.card-sub { font-size: 12px; color: #98a2b3; margin-top: 5px; }
.card-tip {
    background: #f8fafc;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 13px 15px;
}
.card-tip .icon { color: var(--jade); }
.card-tip code { color: var(--jade-deep); }

/* ---------- 统计卡 ---------- */
.stat-grid { gap: 14px; margin-bottom: 22px; }
.stat-card {
    min-height: 128px;
    padding: 19px 21px 17px;
    border-radius: 16px;
    border: 1px solid var(--hairline);
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    box-shadow: var(--shadow-card);
    transition: transform .16s ease, box-shadow .16s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31, 27, 18, .04), 0 14px 34px rgba(31, 27, 18, .08); }
.stat-top span:first-child { font-size: 12px; color: #667085; letter-spacing: .02em; }
.stat-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--jade-tint);
    border: 1px solid #c7d7fe;
    color: var(--jade);
}
.stat-gold .stat-icon { background: #faf0e1; border-color: #f0dec4; color: #a15a12; }
.stat-magenta .stat-icon { background: #fbeeec; border-color: #f3d7d3; color: #b42318; }
.stat-value { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: #101828; }
.stat-value small { font-size: 13px; font-weight: 600; color: #98a2b3; }
.stat-foot { margin-top: 10px; }

/* ---------- 按钮 ---------- */
.btn {
    height: 41px;
    padding: 0 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14px; }
.btn-sm, .btn-xs { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn-primary {
    background: linear-gradient(180deg, #175cd3, #0a2c6b);
    color: #fff;
    box-shadow: 0 1px 2px rgba(10, 86, 72, .28), 0 8px 18px rgba(15, 110, 92, .16);
}
.btn-primary:hover { background: linear-gradient(180deg, #0b4acb, #0a2c6b); box-shadow: 0 2px 6px rgba(10, 86, 72, .32); }
.btn-primary:disabled { background: #d3d8d2; color: #fff; box-shadow: none; }
.btn-gold {
    background: linear-gradient(180deg, #b46a1c, #94500f);
    box-shadow: 0 1px 2px rgba(120, 70, 10, .22);
}
.btn-gold:hover { background: #8a4a0f; }
.btn-ghost { background: #fff; border-color: #d0d5dd; color: #344054; }
.btn-ghost:hover { background: #f9fafb; border-color: #98a2b3; color: #101828; }
.btn-danger-ghost { border-color: #f3d7d3; color: #b42318; }
.icon-btn { border-radius: 10px; border-color: var(--hairline); background: #fff; }
.icon-btn:hover { background: #f9fafb; }

/* ---------- 表单 ---------- */
.input, select.input, textarea.input {
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #fff;
    font-size: 13px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
textarea.input { height: auto; padding: 11px 13px; }
.input:hover { border-color: #98a2b3; }
.input:focus, select.input:focus, textarea.input:focus {
    border-color: var(--jade);
    box-shadow: 0 0 0 3px rgba(15, 110, 92, .13);
}
.input-file { height: auto; padding: 8px 10px; font-size: 12px; background: #f9fafb; }
.input-wrap .input { padding-left: 38px; }
.input-wrap .input-icon { color: #98a2b3; }
.field { margin-bottom: 15px; }
.field-label { font-size: 12px; font-weight: 600; color: #344054; letter-spacing: .01em; }
.hint { font-size: 11.5px; color: #98a2b3; margin-top: 6px; }
.form-actions { margin-top: 20px; }
.checkbox input:checked, .switch-label input:checked + .switch { background: var(--jade); border-color: var(--jade); }

/* ---------- 表格 ---------- */
.table th {
    background: #f9fafb;
    color: #667085;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline);
}
.table td { padding: 13px 16px; border-bottom: 1px solid #f2f4f7; color: #101828; font-size: 13px; }
.table-hover tbody tr:hover { background: #ffffff; }
.card-table { border-radius: 16px; overflow: hidden; }
.card-table .card-head { padding: 22px 24px 0; }
.row-detail td { background: #f9fafb; }
.row-edit-reset { border-top-color: #eaecf2; }
.cell-merchant small { color: #98a2b3; }

/* ---------- 徽标 ---------- */
.badge {
    height: 23px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
}
.badge.ok { color: #093da8; background: #e8f1ff; border-color: #c8e2d8; }
.badge.wait { color: #8a4a0f; background: #fdf3e3; border-color: #f1ddbd; }
.badge.off { color: #b42318; background: #fcefed; border-color: #f4d5d0; }

/* ---------- 提示块 ---------- */
.doc-callout { background: #f5f9ff; border: 1px solid #dbe6ff; border-radius: 12px; }
.doc-callout .icon { color: var(--jade); }
.doc-callout.warn { background: #fdf3e3; border-color: #f1ddbd; }
.detail-list > div { border-bottom: 1px dashed #eaecf2; padding: 11px 0; }

/* ---------- 文档 / 凭证 ---------- */
.cred-value, .endpoint, .result-url, .doc-kv div, .step { border-color: var(--hairline); background: #f9fafb; }
.cred-value code, .endpoint-url, .step code, .doc-section code { color: var(--jade-deep); }
.doc-section code { background: #f2f4f7; border-color: var(--hairline); }
.docs-nav a { border-left-color: #eaecf2; }
.docs-nav a:hover { color: var(--jade); background: var(--jade-tint); border-left-color: var(--jade); }
.hero-pill { background: var(--jade-tint); border-color: #c7d7fe; color: var(--jade-deep); }
.hero h1 em, .auth-headline h1 em { color: var(--jade); }
.auth-note { background: #f5f9ff; border-color: #dbe6ff; color: #475467; }
.auth-note .icon { color: var(--jade); }
.auth-demo code { color: var(--jade-deep); }

/* ---------- 收银台 ---------- */
.pay-status-line { background: #f5f9ff; border-color: #dbe6ff; color: var(--jade-deep); }
.pay-status-line .dot { background: var(--jade); }
.pay-amount b { font-size: 46px; letter-spacing: -.04em; }
.pay-card { border-radius: 18px; }
.qr-box { border-color: var(--hairline); }

/* ---------- 头像 / 分页 / Toast ---------- */
.avatar, .topbar-avatar { background: var(--jade-tint); border-color: #c7d7fe; color: var(--jade-deep); }
.avatar-gold, .topbar-avatar.gold { background: #fdf3e3; border-color: #f1ddbd; color: #a15a12; }
.page-btn { border-color: var(--hairline); color: #475467; }
.page-btn:hover { border-color: #bfdcd2; color: var(--jade); }
.page-btn.active { background: var(--jade-tint); border-color: #53b1fd; color: var(--jade-deep); }
.toast--info .toast-icon { background: var(--jade-tint); color: var(--jade); }
.pagination-wrap { border-top-color: #f2f4f7; }

/* ---------- 首页 ---------- */
.landing-nav { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border-bottom-color: var(--hairline); }
.landing-links a { color: #475467; }
.landing-links a:hover { color: var(--jade); }
.stat-band { border-color: var(--hairline); }
.stat-band-item > .mono { color: var(--jade); }
.hero-panel { border-color: var(--hairline); box-shadow: var(--shadow-card); }
.hero-chip { border-color: var(--hairline); }
.pbar i, .chart-bar { background: var(--jade); }
.chart-bar.gold { background: #c98432; }
.live-dot { background: var(--jade); }

@media (max-width: 1024px) {
    .main { margin-left: 0; }
    .content { padding: 22px 18px 48px; }
    .page-head { align-items: flex-start; }
    .page-head h2 { font-size: 22px; }
    .stat-value { font-size: 25px; }
    .card { padding: 18px; }
}

/* ---- v2.1 对比度与层次微调 ---- */
body { background: #f2f4f7; }
.content { max-width: 1160px; }
.page-head { padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.card, .stat-card, .channel-card, .pay-card, .filter-bar, .stat-band {
    border-color: #eff3f9;
    box-shadow: 0 1px 2px rgba(41, 35, 22, .04), 0 6px 20px rgba(41, 35, 22, .045);
}
.card > .card-head { padding-bottom: 14px; border-bottom: 1px solid #f2f4f7; margin-bottom: 18px; }
.stat-card { position: relative; overflow: hidden; background: #fff; }
.stat-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #175cd3, #093da8);
}
.stat-gold::before { background: linear-gradient(180deg, #c98432, #94500f); }
.stat-magenta::before { background: linear-gradient(180deg, #d05a4e, #b42318); }
.stat-value { font-size: 30px; }
.stat-value small { font-size: 12.5px; }
.table th { background: #f8fafc; border-bottom-color: #eff3f9; }
.table td { border-bottom-color: #f8fafc; }
.card-table > .card-head { border-bottom: 1px solid #f2f4f7; padding-bottom: 16px; margin-bottom: 0; }
.side-balance { background: #fff; box-shadow: 0 1px 2px rgba(41,35,22,.04); }
.nav-item { transition: background .14s ease, color .14s ease; }
.empty, .empty-state { color: #98a2b3; }

/* ---- v3 浅底 + 浅按钮 ---- */
body { background: #f8fafc; }
.sidebar { background: #ffffff; border-right-color: #eaecf2; }
.side-scope span { color: #667085; }
.card, .stat-card, .channel-card, .pay-card, .filter-bar, .stat-band,
.auth-card, .notice-bar { border-color: #eaecf2; box-shadow: 0 1px 2px rgba(24, 30, 26, .03), 0 6px 18px rgba(24, 30, 26, .04); }
.stat-card { background: #fff; }
.stat-card::before { background: linear-gradient(180deg, #2970ff, #0a2c6b); }
.stat-gold::before { background: linear-gradient(180deg, #d9a25f, #b87c34); }
.stat-magenta::before { background: linear-gradient(180deg, #e08b80, #c25a4d); }
.page-head { border-bottom-color: #eaecf2; }
.table th { background: #ffffff; border-bottom-color: #f8fafc; }
.table td { border-bottom-color: #f8fafc; }
.side-balance { background: #fff; border-color: #eaecf2; }

.btn-primary {
    background: #0b4acb;
    color: #fff;
    box-shadow: 0 1px 2px rgba(26, 138, 114, .18);
}
.btn-primary:hover { background: #0a2c6b; box-shadow: 0 2px 8px rgba(26, 138, 114, .22); }
.btn-gold { background: #c08a45; box-shadow: 0 1px 2px rgba(160, 110, 55, .18); }
.btn-gold:hover { background: #ad7838; }
.btn-ghost { border-color: #eff3f9; }
.nav-item.active { background: #eaf5f1; color: #0a2c6b; }
.nav-item.active::before { background: #2970ff; }
.page-admin .nav-item.active { background: #fbf2e6; color: #8a5a1c; }
.page-admin .nav-item.active::before { background: #c08a45; }

/* ============================================================
   玻璃拟态 · LH 白蓝主题 v8
   视觉语言：柔光渐变 / 半透明玻璃 / 3D 主视觉 / 悬浮徽章 / 细白描边
   动态：光晕漂移、卡片入场、视差浮动、光泽扫过、数字跳动、滚动进度
   作用范围：公开页（首页 + 文档）、认证页、商户后台、管理后台
   ============================================================ */
:root {
    --gx-ink: #0d1940;
    --gx-ink2: #2b3c68;
    --gx-muted: #5b6a91;
    --gx-faint: #8391b3;
    --gx-blue: #2f5bff;
    --gx-blue-deep: #1b3ad4;
    --gx-violet: #7a5cff;
    --gx-cyan: #3fc9ff;
    --gx-line: rgba(36, 68, 150, .11);
    --gx-glass: rgba(255, 255, 255, .66);
    --gx-glass-2: rgba(255, 255, 255, .84);
    --gx-shadow: 0 22px 60px rgba(28, 54, 140, .12), 0 2px 10px rgba(28, 54, 140, .05);
    --gx-shadow-sm: 0 8px 26px rgba(28, 54, 140, .09);
    --gx-r: 22px;
    --gx-grad: linear-gradient(105deg, #2f5bff 0%, #4f6bff 42%, #8a5cff 100%);
    --gx-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.page-public, body.page-auth, body.page-app {
    color: var(--gx-ink);
    font-family: var(--gx-font);
    background: #f4f8ff;
    -webkit-font-smoothing: antialiased;
}
body.page-public, body.page-auth, body.page-app {
    background-image:
        radial-gradient(58% 46% at 10% 4%, rgba(116, 158, 255, .30), transparent 72%),
        radial-gradient(48% 42% at 92% 10%, rgba(168, 140, 255, .26), transparent 74%),
        radial-gradient(46% 42% at 76% 84%, rgba(80, 205, 255, .18), transparent 76%),
        linear-gradient(165deg, #fcfdff 0%, #f3f7ff 44%, #eef3ff 100%);
    background-attachment: fixed;
}
body.page-public ::selection, body.page-auth ::selection, body.page-app ::selection {
    background: rgba(47, 91, 255, .18); color: #0d1940;
}
/* 历史主题层把 bg-stage 关掉了，这里用独立光晕层，不依赖它 */
.bg-stage, .bg-aurora, .bg-aurora-2, .bg-grid, .bg-scan, .bg-beam, .bg-vignette { display: none !important; }

/* ---------- 通用玻璃与动效基元 ---------- */
.gx-glass {
    background: var(--gx-glass);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--gx-r);
    box-shadow: var(--gx-shadow), inset 0 1px 0 rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
    backdrop-filter: blur(20px) saturate(1.35);
}
/* 默认可见；只有脚本成功接管后才启用入场隐藏，避免脚本异常导致内容不可见 */
html.gx-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .78s cubic-bezier(.22,.8,.3,1), transform .78s cubic-bezier(.22,.8,.3,1); }
html.gx-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.gx-js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- 导航（公开页） ---------- */
.page-public .landing-main { position: relative; z-index: 1; max-width: 1240px; padding: 0 40px 96px; margin: 0 auto; }
.page-public .landing-nav {
    position: sticky; top: 0; z-index: 60;
    max-width: 1240px; height: 76px; margin: 0 auto; padding: 0 40px; gap: 26px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .85);
    border-bottom-color: rgba(47, 91, 255, .08);
    border-radius: 0 0 20px 20px;
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 8px 32px rgba(35, 62, 140, .06);
    transition: height .35s ease, background .35s ease, box-shadow .35s ease;
}
.page-public .landing-nav.is-scrolled {
    height: 64px; background: rgba(255, 255, 255, .84);
    box-shadow: 0 10px 34px rgba(35, 62, 140, .11);
}
.page-public .brand { gap: 10px; }
.page-public .brand-mark, .page-auth .brand-mark, .page-app .brand-mark {
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--gx-grad); border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 20px rgba(47, 91, 255, .32), inset 0 1px 0 rgba(255,255,255,.5);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.page-public .brand:hover .brand-mark { transform: rotate(-9deg) translateY(-2px); box-shadow: 0 12px 26px rgba(47,91,255,.42); }
.page-public .brand-mark .icon, .page-auth .brand-mark .icon, .page-app .brand-mark .icon { width: 19px; height: 19px; color: #fff; }
.page-public .brand-text strong, .page-auth .brand-text strong, .page-app .brand-text strong { font-size: 16px; font-weight: 800; color: var(--gx-ink); letter-spacing: -.01em; }
.page-public .brand-text small, .page-auth .brand-text small, .page-app .brand-text small { font-size: 9px; letter-spacing: .2em; color: var(--gx-faint); }
.page-public .landing-links { display: flex; align-items: center; gap: 30px; }
.page-public .landing-links a {
    position: relative; font-size: 13.5px; font-weight: 600; color: var(--gx-ink2);
    padding: 8px 0; transition: color .25s ease;
}
.page-public .landing-links a::after {
    content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
    border-radius: 2px; background: var(--gx-grad); transition: width .3s cubic-bezier(.2,.8,.2,1);
}
.page-public .landing-links a:hover { color: var(--gx-blue); }
.page-public .landing-links a:hover::after { width: 100%; }
.page-public .landing-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.page-public .landing-actions .btn { border-radius: 11px; padding: 9px 18px; font-size: 13px; font-weight: 700; }
.page-public .landing-actions .btn-ghost {
    background: rgba(255,255,255,.6); color: var(--gx-ink2);
    border: 1px solid rgba(47,91,255,.16); box-shadow: none;
}
.page-public .landing-actions .btn-ghost:hover { color: var(--gx-blue); border-color: rgba(47,91,255,.42); background: #fff; }
.page-public .landing-actions .btn-primary,
.page-public .btn-primary { background: var(--gx-grad); color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 8px 22px rgba(47,91,255,.26); }
.page-public .landing-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,91,255,.36); }
.page-public .nav-toggle { color: var(--gx-ink2); }

/* 页脚 */
.page-public .landing-footer {
    position: relative; z-index: 1; background: rgba(255,255,255,.52);
    border-top: 1px solid rgba(47,91,255,.1);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--gx-muted);
}
.page-public .landing-footer strong { color: var(--gx-ink); }
.page-public .footer-links a { color: var(--gx-muted); font-weight: 600; }
.page-public .footer-links a:hover { color: var(--gx-blue); }
.page-public .footer-copy { border-top-color: rgba(47,91,255,.09); color: var(--gx-faint); }

/* ============================================================
   首页
   ============================================================ */
.gx-root { position: relative; isolation: isolate; }
.gx-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gx-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.gx-orb.a { width: 560px; height: 560px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(85,140,255,.42), transparent 70%); animation: gxDriftA 26s ease-in-out infinite alternate; }
.gx-orb.b { width: 520px; height: 520px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(160,125,255,.38), transparent 70%); animation: gxDriftB 30s ease-in-out infinite alternate; }
.gx-orb.c { width: 460px; height: 460px; right: 12%; bottom: -180px; background: radial-gradient(circle, rgba(70,205,255,.3), transparent 72%); animation: gxDriftA 34s ease-in-out infinite alternate-reverse; }
@keyframes gxDriftA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(90px,60px,0) scale(1.14); } }
@keyframes gxDriftB { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-100px,70px,0) scale(.94); } }

.gx-progress { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 70; width: 2px; height: 96px; background: rgba(47,91,255,.13); border-radius: 3px; overflow: hidden; }
.gx-progress i { display: block; width: 100%; height: 0; background: var(--gx-grad); border-radius: 3px; transition: height .12s linear; }
.gx-progress b { position: absolute; right: 12px; top: -18px; font: 600 9px/1 var(--mono, monospace); letter-spacing: .1em; color: var(--gx-faint); white-space: nowrap; }

/* ---------- Hero ---------- */
.gx-hero {
    position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
    align-items: center; gap: 24px; min-height: 620px; padding: 74px 0 96px;
}
.gx-hero-copy { position: relative; z-index: 3; max-width: 620px; }
.gx-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px;
    padding: 8px 15px 8px 11px; border-radius: 100px;
    background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 6px 22px rgba(35,62,140,.09);
    font-size: 12px; font-weight: 700; color: var(--gx-ink2); letter-spacing: .02em;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.gx-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.16); animation: gxBlink 2.4s ease-in-out infinite; }
.gx-eyebrow em {
    font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .1em;
    padding: 3px 7px; border-radius: 5px; color: #fff; background: var(--gx-grad);
}
@keyframes gxBlink { 0%,100% { opacity: 1; box-shadow: 0 0 0 4px rgba(34,197,94,.16); } 50% { opacity: .6; box-shadow: 0 0 0 7px rgba(34,197,94,.07); } }
.gx-hero h1 {
    margin: 0 0 24px; font-size: clamp(44px, 4.6vw, 68px); line-height: 1.19;
    font-weight: 850; letter-spacing: -.045em; color: var(--gx-ink);
}
.gx-grad {
    background: linear-gradient(100deg, #2f5bff 0%, #5b62ff 38%, #9a5cff 68%, #2f5bff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: gxGradFlow 7s linear infinite;
}
@keyframes gxGradFlow { to { background-position: 220% 0; } }
.gx-lead { margin: 0 0 32px; max-width: 520px; font-size: 15px; line-height: 1.95; color: var(--gx-muted); }
.gx-lead b { color: var(--gx-ink2); font-weight: 700; }
.gx-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gx-btn {
    position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
    padding: 14px 26px; border-radius: 13px; font-size: 14.5px; font-weight: 700;
    text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease;
    white-space: nowrap;
}
.gx-btn::after {
    content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
    transform: rotate(24deg); transition: left .7s ease;
}
.gx-btn:hover::after { left: 130%; }
.gx-btn-primary { color: #fff; background: var(--gx-grad); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 14px 34px rgba(47,91,255,.3); }
.gx-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(47,91,255,.4); }
.gx-btn-primary span { font-size: 17px; transition: transform .3s ease; }
.gx-btn-primary:hover span { transform: translateX(4px); }
.gx-btn-glass {
    color: var(--gx-ink2); background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(35,62,140,.09);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.gx-btn-glass:hover { transform: translateY(-3px); background: #fff; color: var(--gx-blue); box-shadow: 0 14px 30px rgba(35,62,140,.14); }
.gx-trust { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 40px; }
.gx-trust-label { font-size: 11px; color: var(--gx-faint); margin-right: 4px; }
.gx-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px;
    background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 4px 14px rgba(35,62,140,.06); font-size: 11.5px; font-weight: 600; color: var(--gx-ink2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .3s ease, box-shadow .3s ease;
}
.gx-chip:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(35,62,140,.13); }
.gx-chip i { width: 15px; height: 15px; border-radius: 5px; display: inline-block; }
.gx-chip .wx { background: linear-gradient(135deg,#2dc100,#09bb07); }
.gx-chip .ali { background: linear-gradient(135deg,#3b9dff,#1677ff); }
.gx-chip .uni { background: linear-gradient(135deg,#e64545,#2f6bd8); }
.gx-chip .api { background: var(--gx-grad); }

/* 主视觉 */
.gx-hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.gx-halo {
    position: absolute; width: 430px; height: 430px; border-radius: 50%;
    background: radial-gradient(circle, rgba(120,160,255,.34) 0%, rgba(160,140,255,.15) 45%, transparent 72%);
    filter: blur(18px); animation: gxHalo 8s ease-in-out infinite alternate;
}
@keyframes gxHalo { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.1); opacity: 1; } }
.gx-hero-img {
    position: relative; z-index: 2; width: 100%; max-width: 560px; height: auto;
    filter: drop-shadow(0 34px 46px rgba(38,68,160,.22));
    animation: gxFloat 7s ease-in-out infinite;
    will-change: transform;
}
@keyframes gxFloat { 0%,100% { transform: translateY(-8px) rotate(-1.2deg); } 50% { transform: translateY(12px) rotate(1.2deg); } }
.gx-float {
    position: absolute; z-index: 4; padding: 13px 16px; border-radius: 15px;
    background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.96);
    box-shadow: 0 14px 36px rgba(35,62,140,.16), inset 0 1px 0 rgba(255,255,255,.95);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    font-size: 11px; color: var(--gx-muted);
}
.gx-float-1 { left: -6px; top: 74px; animation: gxFloat2 6s ease-in-out infinite; }
.gx-float-2 { right: -10px; top: 128px; animation: gxFloat2 7.5s ease-in-out infinite .8s; }
.gx-float-3 { right: 16px; bottom: 62px; animation: gxFloat2 6.8s ease-in-out infinite 1.5s; }
@keyframes gxFloat2 { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
.gx-float-t { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--gx-faint); margin-bottom: 9px; }
.gx-pay-row { display: flex; align-items: center; gap: 7px; }
.gx-pay-row i { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 800; font-style: normal; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.gx-pay-row i:nth-child(1) { background: linear-gradient(135deg,#2dc100,#09bb07); }
.gx-pay-row i:nth-child(2) { background: linear-gradient(135deg,#3b9dff,#1677ff); }
.gx-pay-row i:nth-child(3) { background: linear-gradient(135deg,#e64545,#2f6bd8); }
.gx-pay-row i:nth-child(4) { background: var(--gx-grad); }
.gx-float-num { display: block; font-size: 20px; font-weight: 800; color: var(--gx-blue); letter-spacing: -.02em; line-height: 1.1; }
.gx-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; margin-top: 9px; }
.gx-bars i { flex: 1; min-width: 5px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg,#8a5cff,#2f5bff); opacity: .85; animation: gxBar 3.2s ease-in-out infinite alternate; }
.gx-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.gx-bars i:nth-child(2) { height: 66%; animation-delay: .3s; }
.gx-bars i:nth-child(3) { height: 48%; animation-delay: .6s; }
.gx-bars i:nth-child(4) { height: 82%; animation-delay: .9s; }
.gx-bars i:nth-child(5) { height: 60%; animation-delay: 1.2s; }
.gx-bars i:nth-child(6) { height: 100%; animation-delay: 1.5s; }
@keyframes gxBar { from { transform: scaleY(.72); } to { transform: scaleY(1); } }
.gx-secure { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gx-ink2); font-size: 11.5px; }
.gx-secure i { width: 24px; height: 24px; border-radius: 8px; background: var(--gx-grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 5px 14px rgba(47,91,255,.3); }
.gx-secure .icon { width: 13px; height: 13px; }
.gx-spark { position: absolute; z-index: 3; width: 6px; height: 6px; border-radius: 50%; background: #7d8bff; box-shadow: 0 0 12px 3px rgba(90,120,255,.5); animation: gxSpark 4.5s linear infinite; }
.gx-spark.s2 { animation-delay: 1.6s; background: #62d5ff; }
.gx-spark.s3 { animation-delay: 3s; }
@keyframes gxSpark { 0% { transform: translate(0,0) scale(.5); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(38px,-52px) scale(1.2); opacity: 0; } }

/* ---------- 区块通用 ---------- */
.gx-section { position: relative; padding: 78px 0 24px; }
.gx-section-head { max-width: 720px; margin-bottom: 38px; }
.gx-kicker {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
    font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--gx-blue);
}
.gx-kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--gx-grad); }
.gx-section-head h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 40px); font-weight: 820; letter-spacing: -.035em; line-height: 1.28; color: var(--gx-ink); }
.gx-section-head p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--gx-muted); }

/* 三张能力卡（参考图第一排） */
.gx-feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gx-feature-card {
    position: relative; padding: 26px 26px 24px; overflow: hidden;
    transition: transform .42s cubic-bezier(.2,.8,.2,1), box-shadow .42s ease;
}
.gx-feature-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(47,91,255,.12), transparent 62%);
    opacity: 0; transition: opacity .35s ease;
}
.gx-feature-card:hover { transform: translateY(-8px); box-shadow: 0 30px 64px rgba(28,54,140,.18); }
.gx-feature-card:hover::before { opacity: 1; }
.gx-feature-ic {
    width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, rgba(47,91,255,.14), rgba(138,92,255,.1));
    border: 1px solid rgba(47,91,255,.14); color: var(--gx-blue); margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.gx-feature-ic .icon { width: 21px; height: 21px; }
.gx-feature-card h3 { margin: 0 0 9px; font-size: 18px; font-weight: 780; color: var(--gx-ink); letter-spacing: -.02em; }
.gx-feature-card p { margin: 0 0 18px; font-size: 12.5px; line-height: 1.85; color: var(--gx-muted); min-height: 46px; }
.gx-feature-card .gx-more { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--gx-blue); }
.gx-feature-card .gx-more span { transition: transform .3s ease; }
.gx-feature-card:hover .gx-more span { transform: translateX(5px); }

/* 数据条 */
.gx-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.gx-metric { padding: 22px 24px; text-align: left; }
.gx-metric b { display: block; font-size: 27px; font-weight: 820; letter-spacing: -.03em; color: var(--gx-blue); line-height: 1.15; }
.gx-metric span { display: block; margin-top: 7px; font-size: 11.5px; color: var(--gx-muted); }

/* 三步流程 */
.gx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.gx-step { position: relative; padding: 26px 22px 24px; }
.gx-step::after {
    content: ''; position: absolute; top: 50px; right: -16px; width: 16px; height: 2px;
    background: linear-gradient(90deg, rgba(47,91,255,.45), rgba(138,92,255,.18));
}
.gx-step:last-child::after { display: none; }
.gx-step-n {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 12px; background: var(--gx-grad); color: #fff; font: 800 13px/1 var(--mono, monospace);
    box-shadow: 0 8px 20px rgba(47,91,255,.28); margin-bottom: 18px;
}
.gx-step h3 { margin: 0 0 9px; font-size: 16px; font-weight: 760; color: var(--gx-ink); }
.gx-step p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--gx-muted); }

/* 深蓝开发者带 */
.gx-devband { position: relative; margin-top: 84px; border-radius: 30px; overflow: hidden; background: linear-gradient(125deg, #0d1f52 0%, #122a68 46%, #241b63 100%); box-shadow: 0 30px 70px rgba(20,38,110,.28); }
.gx-devband::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 15%, rgba(110,120,255,.3), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(60,190,255,.22), transparent 72%); animation: gxBgPulse 9s ease-in-out infinite alternate; }
@keyframes gxBgPulse { from { opacity: .6; } to { opacity: 1; } }
.gx-devband-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 44px; padding: 56px 54px; }
.gx-dev-copy .gx-kicker { color: #9fb6ff; }
.gx-dev-copy .gx-kicker::before { background: linear-gradient(90deg,#7fa2ff,#c39bff); }
.gx-dev-copy h2 { margin: 0 0 16px; font-size: clamp(26px, 2.7vw, 36px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.gx-dev-copy > p { margin: 0 0 22px; font-size: 13.5px; line-height: 1.95; color: #c2cff0; }
.gx-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.gx-ticks li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #d7e1fb; }
.gx-ticks li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex: none; background: rgba(90,220,180,.16); border: 1px solid rgba(120,240,200,.5); box-shadow: inset 0 0 0 4px rgba(90,220,180,.35); }
.gx-endpoint { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); font: 600 11px/1 var(--mono, monospace); color: #b8c8f2; margin: 0 0 22px; }
.gx-endpoint b { color: #7fe0c0; }
.gx-endpoint i { color: rgba(255,255,255,.3); font-style: normal; }
.gx-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.gx-link span { transition: transform .3s ease; }
.gx-link:hover span { transform: translateX(5px); }
.gx-terminal { border-radius: 17px; overflow: hidden; background: rgba(6,14,42,.72); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 22px 48px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.gx-terminal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.09); font: 600 10.5px/1 var(--mono, monospace); color: #9fb0d8; }
.gx-terminal-head .gx-tdots { display: flex; gap: 5px; margin-right: auto; }
.gx-terminal-head .gx-tdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
.gx-terminal-head .gx-tdots i:first-child { background: #ff6b7a; }
.gx-terminal-head .gx-tdots i:nth-child(2) { background: #ffc24b; }
.gx-terminal-head .gx-tdots i:nth-child(3) { background: #4ade80; }
.gx-terminal pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 500 11.5px/1.95 var(--mono, "SFMono-Regular", Consolas, monospace); color: #c7d6f5; }
.gx-code-line { display: block; white-space: pre; transition: opacity .3s ease, transform .3s ease; }
html.gx-js .gx-terminal:not(.is-typed) .gx-code-line { opacity: 0; transform: translateX(-6px); }
.gx-terminal.is-typed .gx-code-line { opacity: 1; transform: none; }
.gx-terminal .lp-k, .gx-terminal .gx-k { color: #79c0ff; }
.gx-terminal .lp-s, .gx-terminal .gx-s { color: #a5e8b0; }
.gx-terminal .lp-c, .gx-terminal .gx-c { color: #6a7ba5; }
.gx-terminal .lp-a, .gx-terminal .gx-a { color: #e2a6ff; }
.gx-caret { display: inline-block; width: 7px; height: 14px; background: #7fe0c0; vertical-align: -2px; animation: gxBlink2 1.1s steps(1) infinite; }
@keyframes gxBlink2 { 50% { opacity: 0; } }

/* 费率 */
.gx-rate { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 12px; }
.gx-rate-left { padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(47,91,255,.09), rgba(138,92,255,.07)), var(--gx-glass-2); }
.gx-rate-num { font-size: clamp(62px, 7vw, 92px); font-weight: 850; letter-spacing: -.06em; line-height: 1; color: var(--gx-blue); }
.gx-rate-num > span { background: var(--gx-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gxGradFlow 7s linear infinite; }
.gx-rate-num small { font-size: 22px; font-weight: 700; letter-spacing: 0; color: var(--gx-violet); }
.gx-rate-sub { margin: 14px 0 0; font-size: 12.5px; color: var(--gx-muted); }
.gx-rate-right { padding: 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.gx-rate-right > p { margin: 0 0 22px; font-size: 14px; line-height: 1.95; color: var(--gx-ink2); }
.gx-perks { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.gx-perks span { padding: 8px 14px; border-radius: 9px; background: rgba(47,91,255,.07); border: 1px solid rgba(47,91,255,.14); font-size: 11.5px; font-weight: 700; color: var(--gx-blue-deep); }
.gx-rate-right .gx-link { color: var(--gx-blue); }

/* CTA */
.gx-cta {
    position: relative; overflow: hidden; margin-top: 88px; padding: 52px 54px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    border-radius: 28px; background: linear-gradient(120deg,#1d3fc9 0%,#3b53e8 44%,#7b4fe0 100%);
    box-shadow: 0 26px 60px rgba(40,60,180,.28); color: #fff;
}
.gx-cta::before { content: ''; position: absolute; width: 420px; height: 420px; right: -80px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 68%); animation: gxHalo 9s ease-in-out infinite alternate; }
.gx-cta > div { position: relative; }
.gx-cta h2 { margin: 0 0 10px; font-size: clamp(23px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.gx-cta p { margin: 0; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.82); max-width: 560px; }
.gx-cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.gx-btn-light { background: #fff; color: var(--gx-blue-deep); box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.gx-btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.gx-btn-line { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.gx-btn-line:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); }

/* ============================================================
   开发者文档
   ============================================================ */
.page-public .docs-hero {
    position: relative; max-width: 1160px; margin: 40px auto 26px; padding: 46px 50px;
    border-radius: 26px; overflow: hidden;
    background: linear-gradient(125deg, rgba(255,255,255,.82), rgba(238,244,255,.66));
    border: 1px solid rgba(255,255,255,.95); box-shadow: var(--gx-shadow);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.page-public .docs-hero::before { content: ''; position: absolute; right: -60px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(120,150,255,.28), transparent 70%); animation: gxHalo 9s ease-in-out infinite alternate; }
.page-public .docs-hero .kicker { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--gx-blue); background: rgba(47,91,255,.09); border: 1px solid rgba(47,91,255,.16); }
.page-public .docs-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 830; letter-spacing: -.035em; color: var(--gx-ink); }
.page-public .docs-hero h1 em { font-style: normal; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-public .docs-hero > p { max-width: 620px; font-size: 14px; line-height: 1.9; color: var(--gx-muted); }
.page-public .docs-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.page-public .docs-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(35,62,140,.07); font-size: 11.5px; font-weight: 600; color: var(--gx-ink2); }
.page-public .docs-meta .icon { width: 14px; height: 14px; color: var(--gx-blue); }
.gx-docs-visual { position: absolute; right: 34px; top: 20px; width: 190px; opacity: .9; pointer-events: none; }
.gx-docs-visual img { width: 100%; filter: drop-shadow(0 18px 26px rgba(38,68,160,.2)); animation: gxFloat 8s ease-in-out infinite; }

.page-public .docs-wrap { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 216px 1fr; gap: 28px; align-items: start; }
.page-public .docs-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 18px; background: var(--gx-glass); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--gx-shadow-sm); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.page-public .docs-nav a { font-size: 12px; font-weight: 600; color: var(--gx-muted); padding: 9px 13px; border-radius: 9px; border-left: 2px solid transparent; transition: .25s ease; }
.page-public .docs-nav a:hover, .page-public .docs-nav a.is-active { color: var(--gx-blue); background: rgba(47,91,255,.08); border-left-color: var(--gx-blue); }
.page-public .docs-body { min-width: 0; padding: 8px 38px 40px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.92); box-shadow: var(--gx-shadow-sm); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.page-public .doc-section { padding: 32px 0 36px; border-bottom: 1px solid var(--gx-line); scroll-margin-top: 96px; }
.page-public .doc-section:first-child { padding-top: 16px; }
.page-public .doc-section:last-child { border-bottom: 0; }
.page-public .doc-section h2 { font-size: 21px; font-weight: 800; color: var(--gx-ink); margin-bottom: 15px; display: flex; align-items: baseline; gap: 11px; letter-spacing: -.02em; }
.page-public .doc-section h2 .mono { font-size: 10px; font-weight: 800; color: var(--gx-blue); letter-spacing: .1em; padding: 4px 7px; border-radius: 6px; background: rgba(47,91,255,.09); }
.page-public .doc-section > p, .page-public .doc-section .doc-list li { font-size: 13px; color: var(--gx-muted); line-height: 1.95; }
.page-public .doc-section code { background: rgba(47,91,255,.07); color: var(--gx-blue-deep); border: 1px solid rgba(47,91,255,.12); border-radius: 5px; padding: 2px 5px; font-size: 11.5px; }
.page-public .doc-callout { display: flex; gap: 12px; padding: 15px 17px; border-radius: 13px; background: rgba(47,91,255,.06); border: 1px solid rgba(47,91,255,.16); margin: 16px 0; }
.page-public .doc-callout p { font-size: 12.5px; color: var(--gx-ink2); line-height: 1.8; }
.page-public .doc-callout .icon { color: var(--gx-blue); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.page-public .doc-callout.warn { background: rgba(230,150,20,.07); border-color: rgba(220,150,30,.22); }
.page-public .doc-callout.warn .icon { color: #b8790d; }
.page-public .doc-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.page-public .doc-kv div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border-radius: 11px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 3px 12px rgba(35,62,140,.05); }
.page-public .doc-kv span { font-size: 11px; color: var(--gx-faint); }
.page-public .doc-list li { padding-left: 26px; }
.page-public .doc-list li::before { background: rgba(47,91,255,.12); color: var(--gx-blue); font-weight: 700; }
.page-public .doc-muted { color: var(--gx-faint) !important; font-size: 11.5px !important; }
.page-public .table-wrap { border-radius: 13px; border: 1px solid var(--gx-line); overflow: hidden; background: rgba(255,255,255,.7); }
.page-public .table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--gx-ink2); }
.page-public .table th { background: rgba(47,91,255,.05); color: var(--gx-ink); font-weight: 700; text-align: left; padding: 12px 15px; font-size: 11.5px; }
.page-public .table td { padding: 12px 15px; border-top: 1px solid var(--gx-line); line-height: 1.7; }
.page-public .table tbody tr { transition: background .2s ease; }
.page-public .table tbody tr:hover { background: rgba(47,91,255,.04); }
.page-public .badge.ok, .page-public .badge.wait { border-radius: 6px; padding: 3px 8px; font-size: 10px; font-weight: 700; }
.page-public .badge.ok { background: rgba(6,118,71,.1); color: #067647; }
.page-public .badge.wait { background: rgba(161,90,18,.1); color: #a15a12; }
.page-public .code-window { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #0c1a44; box-shadow: 0 16px 36px rgba(12,26,68,.18); margin: 16px 0; }
.page-public .code-head { padding: 11px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.09); font: 600 10.5px/1 var(--mono, monospace); color: #9fb0d8; }
.page-public .code-body { margin: 0; padding: 18px 20px; overflow-x: auto; font: 500 11.5px/1.9 var(--mono, "SFMono-Regular", Consolas, monospace); color: #cbd8f5; }
.page-public .code-body .c-str { color: #a5e8b0; }
.page-public .code-body .c-comment { color: #7185b0; }
.page-public .code-body .c-key { color: #e2a6ff; }
.page-public .faq-item { border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); overflow: hidden; box-shadow: 0 3px 12px rgba(35,62,140,.05); margin-bottom: 9px; transition: box-shadow .25s ease; }
.page-public .faq-item:hover { box-shadow: 0 10px 24px rgba(35,62,140,.1); }
.page-public .faq-item summary { padding: 14px 17px; font-size: 12.5px; font-weight: 600; color: var(--gx-ink); }
.page-public .faq-item summary::after { color: var(--gx-blue); }
.page-public .faq-item p { font-size: 12px; color: var(--gx-muted); line-height: 1.85; }

/* ============================================================
   认证页（登录 / 注册 / 管理员登录）
   ============================================================ */
.page-auth { position: relative; }
.page-auth::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(38% 46% at 14% 20%, rgba(120,160,255,.28), transparent 70%),
                radial-gradient(34% 40% at 88% 78%, rgba(170,140,255,.24), transparent 72%);
    animation: gxDriftA 22s ease-in-out infinite alternate;
}
.page-auth .auth-shell { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 56px 48px; }
.page-auth .auth-brand { position: relative; }
.page-auth .auth-brand .brand { margin-bottom: 72px; }
.page-auth .auth-headline .kicker { display: inline-block; margin: 0 0 20px; padding: 7px 13px; border-radius: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--gx-blue); background: rgba(47,91,255,.09); border: 1px solid rgba(47,91,255,.16); }
.page-auth .auth-headline h1 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.22; font-weight: 850; letter-spacing: -.045em; color: var(--gx-ink); margin: 0 0 20px; }
.page-auth .auth-headline h1 em { font-style: normal; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-auth .auth-headline p { font-size: 14px; line-height: 1.95; color: var(--gx-muted); max-width: 440px; margin: 0 0 30px; }
.page-auth .auth-points { display: flex; flex-direction: column; gap: 13px; }
.page-auth .auth-points li { display: flex; align-items: center; gap: 11px; font-size: 12.5px; color: var(--gx-ink2); }
.page-auth .auth-points .icon { width: 15px; height: 15px; color: #fff; background: var(--gx-grad); border-radius: 50%; padding: 3px; box-sizing: content-box; flex: none; }
.page-auth .auth-metrics { display: flex; gap: 34px; padding-top: 26px; margin-top: 34px; border-top: 1px solid rgba(47,91,255,.13); }
.page-auth .auth-metrics b { display: block; font-size: 25px; font-weight: 820; letter-spacing: -.03em; color: var(--gx-blue); }
.page-auth .auth-metrics span { font-size: 10.5px; color: var(--gx-faint); }
.gx-auth-art { position: absolute; right: -18px; top: -34px; width: 188px; opacity: .34; pointer-events: none; }
.gx-auth-art img { width: 100%; animation: gxFloat 9s ease-in-out infinite; }

.page-auth .auth-panel {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: transparent; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
.page-auth .auth-panel-glow {
    display: block; position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(120,150,255,.3), transparent 70%);
    filter: blur(30px); animation: gxHalo 8s ease-in-out infinite alternate;
}
.page-auth .auth-card {
    position: relative; width: 100%; max-width: 440px; padding: 40px 38px;
    border-radius: 26px; background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.96);
    box-shadow: 0 30px 70px rgba(28,54,140,.16), inset 0 1px 0 rgba(255,255,255,.95);
    -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
    animation: gxCardIn .8s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes gxCardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.page-auth .auth-card::before { display: none; }
.page-auth .auth-card-admin { background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(238,236,255,.72)); }
.page-auth .auth-card-head { margin-bottom: 28px; }
.page-auth .auth-card-head .kicker { display: inline-block; margin: 0 0 12px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--gx-blue); }
.page-auth .auth-card-head .kicker.gold { color: #8b5cf6; }
.page-auth .auth-card-head h2 { font-size: 26px; font-weight: 820; letter-spacing: -.03em; color: var(--gx-ink); margin: 0 0 8px; }
.page-auth .auth-card-head p { font-size: 12.5px; color: var(--gx-muted); line-height: 1.7; }
.page-auth .field-label { font-size: 12px; font-weight: 700; color: var(--gx-ink2); }
.page-auth .input, .page-auth select.input, .page-auth textarea.input {
    background: rgba(255,255,255,.82); border: 1px solid rgba(47,91,255,.16); border-radius: 11px;
    color: var(--gx-ink); font-size: 13px; box-shadow: 0 2px 8px rgba(35,62,140,.04);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.page-auth .input::placeholder { color: #9aa7c4; }
.page-auth .input:focus { border-color: var(--gx-blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,91,255,.13); }
.page-auth .input-wrap .input-icon { color: var(--gx-faint); }
.page-auth .input-wrap .input:focus + .input-action, .page-auth .input-wrap .input-icon .icon { color: inherit; }
.page-auth .btn-primary, .page-auth .btn-block.btn-primary {
    background: var(--gx-grad); color: #fff; border: 1px solid rgba(255,255,255,.2);
    border-radius: 11px; box-shadow: 0 10px 26px rgba(47,91,255,.28); font-weight: 700;
    transition: transform .3s ease, box-shadow .3s ease;
}
.page-auth .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,91,255,.38); }
.page-auth .btn-ghost, .page-auth .btn-outline { border-radius: 11px; border: 1px solid rgba(47,91,255,.2); background: rgba(255,255,255,.6); color: var(--gx-ink2); }
.page-auth .auth-switch a, .page-auth .auth-foot a { color: var(--gx-blue); font-weight: 700; }
.page-auth .auth-demo { border-radius: 11px; background: rgba(47,91,255,.06); border: 1px solid rgba(47,91,255,.13); }
.page-auth .auth-demo code { color: var(--gx-blue-deep); font-weight: 700; }
.page-auth .auth-note { border-radius: 11px; background: rgba(47,91,255,.05); border: 1px solid rgba(47,91,255,.12); color: var(--gx-muted); }
.page-auth .fee-notice { border-radius: 12px; background: rgba(47,91,255,.06); border: 1px solid rgba(47,91,255,.15); }
.page-auth .auth-foot { justify-content: center; }
.page-auth .auth-divider { color: var(--gx-faint); }

/* ============================================================
   商户后台 / 管理后台
   ============================================================ */
.page-app { position: relative; }
.page-app .app-shell { position: relative; z-index: 1; }
.page-app .sidebar {
    background: rgba(255,255,255,.72); border-right: 1px solid rgba(255,255,255,.9);
    box-shadow: 8px 0 36px rgba(28,54,140,.07);
    -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35);
}
.page-app .sidebar .brand { padding-bottom: 26px; }
.page-app .side-scope { background: rgba(47,91,255,.06); border: 1px solid rgba(47,91,255,.12); border-radius: 10px; }
.page-app .side-scope span { color: var(--gx-ink2); font-weight: 700; }
.page-app .side-scope em { color: var(--gx-blue); }
.page-app .nav-group { color: var(--gx-faint); font-weight: 700; }
.page-app .nav-item { border-radius: 10px; color: var(--gx-muted); font-weight: 600; transition: .25s ease; }
.page-app .nav-item .icon { color: var(--gx-faint); }
.page-app .nav-item:hover { background: rgba(47,91,255,.07); color: var(--gx-blue); }
.page-app .nav-item:hover .icon { color: var(--gx-blue); }
.page-app .nav-item.active { background: var(--gx-grad); color: #fff; box-shadow: 0 8px 22px rgba(47,91,255,.26); }
.page-app .nav-item.active .icon { color: #fff; }
.page-app .nav-item.active::before { display: none; }
.page-app .side-balance { border-radius: 12px; background: rgba(47,91,255,.06); border: 1px solid rgba(47,91,255,.12); }
.page-app .side-balance strong { color: var(--gx-blue-deep); }
.page-app .side-user { border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(47,91,255,.12); }
.page-app .side-user-meta b { color: var(--gx-ink); }
.page-app .topbar {
    background: rgba(255,255,255,.66); border-bottom: 1px solid rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
    box-shadow: 0 6px 26px rgba(28,54,140,.05);
}
.page-app .topbar-title h1 { color: var(--gx-ink); font-weight: 780; }
.page-app .crumb { color: var(--gx-faint); }
.page-app .topbar-avatar { border-radius: 11px; }
.page-app .topbar-avatar.gold { background: var(--gx-grad); border-color: rgba(255,255,255,.4); color: #fff; }
.page-app .pill-live { background: rgba(6,118,71,.09); color: #067647; border: 1px solid rgba(6,118,71,.18); }
.page-app .content { position: relative; }
.page-app .card, .page-app .stat-card, .page-app .stat-band-item, .page-app .form-card-wrap > .card {
    background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.94);
    border-radius: 18px; box-shadow: var(--gx-shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.page-app .card::before, .page-app .stat-card::after { display: none; }
.page-app .card:hover, .page-app .stat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(28,54,140,.14); }
.page-app .card-title { color: var(--gx-ink); font-weight: 780; }
.page-app .card-sub { color: var(--gx-faint); }
.page-app .card-link { color: var(--gx-blue); }
.page-app .stat-value { color: var(--gx-ink); font-weight: 820; }
.page-app .stat-icon { background: rgba(47,91,255,.1); border-color: rgba(47,91,255,.16); color: var(--gx-blue); }
.page-app .stat-top, .page-app .stat-foot { color: var(--gx-muted); }
.page-app .btn-primary {
    background: var(--gx-grad); color: #fff; border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px; box-shadow: 0 8px 20px rgba(47,91,255,.24);
}
.page-app .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47,91,255,.34); }
.page-app .input, .page-app select.input, .page-app textarea.input { background: rgba(255,255,255,.85); border-color: rgba(47,91,255,.16); color: var(--gx-ink); border-radius: 10px; }
.page-app .input:focus { border-color: var(--gx-blue); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.page-app .table { color: var(--gx-ink2); }
.page-app .table th { background: rgba(47,91,255,.05); color: var(--gx-ink); }
.page-app .table td { border-top-color: var(--gx-line); }
.page-app .table-wrap { border-radius: 14px; border: 1px solid var(--gx-line); }
.page-app .badge.ok, .page-app .pill.ok { border-radius: 7px; }
.page-app .stat-band { border-radius: 18px; overflow: hidden; box-shadow: var(--gx-shadow-sm); }
.page-app .stat-band-item { background: rgba(255,255,255,.75); border-radius: 0; }
.page-app .code-window { border-radius: 14px; background: #0c1a44; border-color: rgba(255,255,255,.14); }
.page-app .code-body { color: #cbd8f5; }
.page-app .notice-bar, .page-app .filter-bar { border-radius: 13px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.92); }

/* ---------- 统一历史遗留的橙色与全大写英文标签 ---------- */
/* 金色主按钮统一改为蓝紫渐变（认证页与后台） */
.page-app .btn-gold, .page-app .btn-gold:hover,
.page-auth .btn-gold, .page-auth .btn-gold:hover {
    background: var(--gx-grad); color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 8px 20px rgba(47,91,255,.24);
}
.page-app .btn-gold:hover, .page-auth .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47,91,255,.34); }
/* 金色柱状图改为蓝紫渐变 */
.page-app .chart-bar.gold {
    background: linear-gradient(180deg, #6d7bff 0%, #2f5bff 100%);
    box-shadow: 0 6px 18px rgba(47,91,255,.22), inset 0 1px 0 rgba(255,255,255,.35);
}
.page-app .chart-bar { background: linear-gradient(180deg, #6d8bff 0%, #2f5bff 100%); }
/* 统计卡左侧的历史彩色描线收敛为蓝色 */
.page-app .stat-card::before, .page-app .stat-band-item::before { border-color: rgba(47,91,255,.35) !important; }
/* 去掉全大写英文小标签（中文标题已足够） */
.page-app .content .kicker, .page-app .side-scope em, .page-app .topbar .kicker { display: none; }
.page-app .side-scope { justify-content: space-between; }
.page-app .brand-text small { font-size: 9px; letter-spacing: .14em; color: var(--gx-faint); }

/* ---------- 版面微调 ---------- */
.gx-hero { min-height: 560px; padding: 56px 0 68px; }
.gx-hero-img { max-width: 610px; }
.gx-endpoint { display: flex; width: fit-content; margin-bottom: 22px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .gx-hero { grid-template-columns: 1fr; min-height: auto; padding: 48px 0 64px; gap: 10px; }
    .gx-hero-copy { max-width: none; }
    .gx-hero-visual { height: 440px; margin-top: 10px; }
    .gx-hero-img { max-width: 440px; }
    .gx-float-1 { left: 2%; }
    .gx-float-2 { right: 2%; }
    .gx-devband-inner { grid-template-columns: 1fr; gap: 30px; padding: 44px 36px; }
    .gx-rate { grid-template-columns: 1fr; }
    .page-auth .auth-shell { grid-template-columns: 1fr; gap: 40px; padding: 40px 30px 60px; }
    .page-auth .auth-brand .brand { margin-bottom: 34px; }
    .page-auth .auth-metrics { margin-top: 24px; }
    .gx-auth-art { display: none; }
    .gx-docs-visual { display: none; }
    .page-public .docs-wrap { grid-template-columns: 1fr; }
    .page-public .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .page-public .landing-main { padding: 0 20px 64px; }
    .page-public .landing-nav { padding: 0 20px; height: 66px; }
    .page-public .landing-links { display: none; }
    .gx-progress { display: none; }
    .gx-hero { padding: 38px 0 54px; }
    .gx-hero h1 { font-size: clamp(36px, 9.5vw, 50px); }
    .gx-lead { font-size: 13.5px; }
    .gx-hero-visual { height: 330px; }
    .gx-hero-img { max-width: 340px; }
    .gx-float { padding: 9px 11px; font-size: 10px; }
    .gx-float-1 { left: -4px; top: 34px; }
    .gx-float-2 { right: -4px; top: 62px; }
    .gx-float-3 { right: 0; bottom: 18px; }
    .gx-float-num { font-size: 16px; }
    .gx-bars { height: 20px; }
    .gx-section { padding: 52px 0 16px; }
    .gx-feature-row, .gx-steps, .gx-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gx-step::after { display: none; }
    .gx-devband { margin-top: 56px; border-radius: 22px; }
    .gx-devband-inner { padding: 34px 24px; }
    .gx-cta { margin-top: 56px; padding: 34px 26px; flex-direction: column; align-items: flex-start; border-radius: 22px; }
    .page-public .docs-hero { margin: 24px 20px 20px; padding: 32px 24px; }
    .page-public .docs-body { padding: 8px 20px 30px; }
    .page-public .doc-kv { grid-template-columns: 1fr; }
    .page-auth .auth-card { padding: 30px 24px; }
    .page-auth .auth-metrics { gap: 20px; }
    .page-auth .auth-metrics b { font-size: 20px; }
}
@media (max-width: 480px) {
    .gx-feature-row, .gx-steps, .gx-metrics { grid-template-columns: 1fr; }
    .gx-feature-card { padding: 22px; }
    .gx-trust { margin-top: 28px; }
    .gx-hero-visual { height: 290px; }
    .gx-hero-img { max-width: 290px; }
    .gx-float-2 { display: none; }
}

/* ============================================================
   首页 v9 · 参考版收敛
   去掉满屏光晕、深色大色块、编号卡与假数据，回到白底 + 极淡蓝紫
   ============================================================ */
.gx-clean ~ * { position: relative; }
body.page-public {
    background-image:
        radial-gradient(42% 38% at 88% 6%, rgba(163, 148, 255, .16), transparent 72%),
        radial-gradient(36% 34% at 4% 12%, rgba(120, 165, 255, .13), transparent 74%),
        linear-gradient(170deg, #ffffff 0%, #fbfcff 52%, #f7f9ff 100%);
    background-attachment: fixed;
}
/* 导航更轻，贴近参考图的白底细线 */
.page-public .landing-nav {
    background: rgba(255, 255, 255, .72);
    border-bottom-color: rgba(47, 91, 255, .07);
    box-shadow: 0 4px 22px rgba(35, 62, 140, .04);
}
.page-public .landing-nav.is-scrolled { background: rgba(255,255,255,.92); }

/* Hero：更大的标题、更多留白、去掉 NEW 徽章与标签排 */
.gx-clean .gx-hero { min-height: 620px; padding: 88px 0 104px; gap: 10px; }
.gx-clean .gx-hero h1 { font-size: clamp(48px, 5.1vw, 76px); line-height: 1.16; letter-spacing: -.05em; margin-bottom: 26px; }
.gx-clean .gx-hero .gx-lead { font-size: 15px; line-height: 1.95; max-width: 500px; color: #5a6789; margin-bottom: 34px; }
.gx-clean .gx-hero .gx-lead b { font-weight: 600; color: #33436c; }
.clean-eyebrow {
    display: inline-block; margin: 0 0 24px; font-size: 12px; font-weight: 700;
    letter-spacing: .04em; color: #4b5b82;
}
.clean-eyebrow::before {
    content: ''; display: inline-block; width: 18px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #2f5bff, #8a5cff); vertical-align: 4px; margin-right: 10px;
}
.clean-support { margin: 40px 0 0; font-size: 11.5px; color: #8a97b5; letter-spacing: .02em; }

/* 主视觉：放大、更靠右、只留两个悬浮徽章 */
.gx-clean .gx-hero-visual { height: 590px; }
.gx-clean .gx-hero-img { max-width: 700px; filter: drop-shadow(0 26px 40px rgba(38,68,160,.13)); animation-duration: 8s; }
.gx-clean .gx-halo { display: none; }
.gx-clean .gx-float { padding: 12px 15px; border-radius: 13px; }
.gx-clean .gx-float-1 { left: -2px; top: 92px; }
.gx-clean .gx-float-2 { right: -6px; bottom: 74px; top: auto; }
.gx-clean .gx-float-num { font-size: 19px; }
.gx-clean .gx-spark { display: none; }

/* 区块：去掉章节编号感，标题更实 */
.gx-clean .gx-section { padding: 84px 0 20px; }
.gx-clean .gx-section-head { margin-bottom: 36px; }
.gx-clean .gx-section-head h2 {
    font-size: clamp(29px, 3.1vw, 42px); font-weight: 820;
    letter-spacing: -.04em; color: #0d1940; margin-bottom: 12px;
}
.gx-clean .gx-section-head p { font-size: 13.5px; color: #6b7899; }

/* 能力卡：参考图的白色细边卡，图标 + 标题 + 说明 + 右下箭头 */
.gx-clean .gx-feature-row { gap: 18px; }
.gx-clean .gx-feature-card {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(228, 234, 248, .95);
    box-shadow: 0 10px 30px rgba(35, 62, 140, .055);
    border-radius: 18px; padding: 28px 26px 24px;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.gx-clean .gx-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(35,62,140,.12); }
.gx-clean .gx-feature-ic {
    width: 42px; height: 42px; border-radius: 12px; margin-bottom: 22px;
    background: linear-gradient(140deg, rgba(47,91,255,.09), rgba(138,92,255,.06));
    border: 1px solid rgba(47,91,255,.1); color: #2f5bff;
    box-shadow: none;
}
.gx-clean .gx-feature-ic .icon { width: 20px; height: 20px; }
.gx-clean .gx-feature-card h3 { font-size: 17px; font-weight: 760; margin-bottom: 8px; }
.gx-clean .gx-feature-card p { font-size: 12.5px; line-height: 1.8; color: #66738f; min-height: 44px; margin-bottom: 20px; }
.clean-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 15px; border-top: 1px solid rgba(47,91,255,.09);
    font-size: 11.5px; color: #7a88a8;
}
.clean-card-foot > span { color: #2f5bff; font-size: 15px; transition: transform .3s ease; }
.gx-clean .gx-feature-card:hover .clean-card-foot > span { transform: translateX(5px); }

/* 三步：细线序号，去掉圆形渐变徽章与连接线 */
.gx-clean .clean-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gx-clean .gx-step {
    background: rgba(255,255,255,.78); border: 1px solid rgba(228,234,248,.95);
    box-shadow: 0 8px 26px rgba(35,62,140,.05); border-radius: 18px; padding: 28px 26px;
}
.gx-clean .gx-step::after { display: none; }
.clean-step-n {
    display: block; font: 800 30px/1 var(--mono, monospace); letter-spacing: -.04em;
    color: transparent; background: linear-gradient(120deg,#2f5bff,#8a5cff);
    -webkit-background-clip: text; background-clip: text; margin-bottom: 20px; opacity: .8;
}
.gx-clean .gx-step h3 { font-size: 16px; font-weight: 750; margin-bottom: 8px; }
.gx-clean .gx-step p { font-size: 12.5px; line-height: 1.8; color: #6b7899; }

/* 费率：一行细条，不再是大数字块 */
.clean-rate {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-top: 78px; padding: 26px 30px; border-radius: 16px;
    background: rgba(255,255,255,.7); border: 1px solid rgba(228,234,248,.95);
    box-shadow: 0 8px 26px rgba(35,62,140,.05);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.clean-rate-label {
    display: inline-block; margin-bottom: 8px; font-size: 10.5px; font-weight: 800;
    letter-spacing: .14em; color: #2f5bff;
}
.clean-rate p { margin: 0; font-size: 14px; color: #3a4a70; }
.clean-rate p b { font-size: 19px; font-weight: 800; color: #2f5bff; }
.clean-rate-link {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: #2f5bff; white-space: nowrap;
}
.clean-rate-link span { transition: transform .3s ease; }
.clean-rate-link:hover span { transform: translateX(5px); }

/* CTA：白底玻璃卡，去掉深蓝大色块 */
.gx-clean .clean-cta {
    margin-top: 76px; padding: 44px 48px; border-radius: 22px;
    background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(240,244,255,.82));
    border: 1px solid rgba(228,234,248,.95);
    box-shadow: 0 18px 46px rgba(35,62,140,.09); color: #0d1940;
}
.gx-clean .clean-cta::before { display: none; }
.gx-clean .clean-cta h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; color: #0d1940; }
.gx-clean .clean-cta p { color: #69769a; }
.gx-clean .clean-cta .gx-btn-primary { background: var(--gx-grad); color: #fff; }
.gx-clean .clean-cta .gx-btn-glass { background: #fff; color: #33436c; border-color: rgba(47,91,255,.18); }

/* 页脚更淡 */
.page-public .landing-footer { background: rgba(255,255,255,.6); }

@media (max-width: 1080px) {
    .gx-clean .gx-hero { min-height: auto; padding: 52px 0 66px; }
    .gx-clean .gx-hero-visual { height: 440px; }
    .gx-clean .gx-hero-img { max-width: 440px; }
}
@media (max-width: 760px) {
    .gx-clean .gx-hero { padding: 36px 0 48px; }
    .gx-clean .gx-hero h1 { font-size: clamp(36px, 9.5vw, 50px); }
    .gx-clean .gx-hero-visual { height: 320px; }
    .gx-clean .gx-hero-img { max-width: 330px; }
    .gx-clean .gx-float-1 { left: -2px; top: 30px; }
    .gx-clean .gx-float-2 { right: -2px; bottom: 16px; }
    .gx-clean .gx-section { padding: 56px 0 16px; }
    .gx-clean .gx-feature-row, .gx-clean .clean-steps { grid-template-columns: 1fr; gap: 12px; }
    .clean-rate { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 52px; padding: 22px 24px; }
    .gx-clean .clean-cta { margin-top: 52px; padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   后台 v10 · 专业控制台（商户中心 / 管理后台）
   用高特异性覆盖历史主题层：纯白细线、扁平控件、紧凑信息密度，
   去掉玻璃拟态、渐变光晕、彩色图标块、悬浮阴影与入场动画。
   ============================================================ */
body.page-app,
body.page-app.page-admin {
    background: #f6f7f9 !important;
    background-image: none !important;
    background-attachment: scroll !important;
    color: #1d2534 !important;
    letter-spacing: 0 !important;
    -webkit-font-smoothing: auto;
}
body.page-app .bg-stage { display: none !important; }
body.page-app a { color: #1746a2; }
body.page-app .mono, body.page-app code, body.page-app .table .mono { font-variant-numeric: tabular-nums; }
body.page-app ::selection { background: #dbe6ff; color: #101828; }
/* 后台不做入场淡入，内容始终可见 */
html.gx-js body.page-app [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- 侧栏 ---------- */
body.page-app .sidebar {
    width: 216px;
    padding: 20px 12px 16px;
    background: #fff !important;
    background-image: none !important;
    border-right: 1px solid #e5e8ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
body.page-app .main { margin-left: 216px !important; }
body.page-app .sidebar .brand { padding: 2px 8px 22px; gap: 10px; }
body.page-app .brand-mark {
    width: 30px; height: 30px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 5px;
    background: #1746a2 !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font: 700 12px/1 Arial, sans-serif;
    letter-spacing: .02em;
}
body.page-app .brand-mark .icon { display: none; }
body.page-app .brand-text strong { font-size: 14px; font-weight: 700; color: #16203a; letter-spacing: 0; }
body.page-app .brand-text small { font-size: 10px; letter-spacing: 0; color: #98a2b3; }
body.page-app .side-scope { display: none !important; }
body.page-app .nav-group {
    padding: 18px 10px 7px;
    font-size: 10px; font-weight: 600; letter-spacing: .06em;
    color: #9aa3b2;
}
body.page-app .nav-item {
    padding: 8px 10px;
    gap: 9px;
    border: 0 !important;
    border-radius: 5px;
    font-size: 13px; font-weight: 500;
    color: #4b5567;
    transition: background .12s ease, color .12s ease;
}
body.page-app .nav-item .icon { width: 16px; height: 16px; color: #9aa3b2; }
body.page-app .nav-item:hover { background: #f3f5f9; color: #16203a; }
body.page-app .nav-item:hover .icon { color: #5b6679; }
body.page-app .nav-item.active,
body.page-app.page-admin .nav-item.active {
    background: #eef3ff !important;
    color: #1746a2 !important;
    font-weight: 600;
    box-shadow: none !important;
}
body.page-app .nav-item.active .icon,
body.page-app.page-admin .nav-item.active .icon { color: #1746a2 !important; }
body.page-app .nav-item.active::before {
    display: block !important;
    left: -12px; top: 6px; bottom: 6px;
    width: 3px; border-radius: 0;
    background: #1746a2 !important;
    box-shadow: none !important;
}
body.page-app .side-foot { margin-top: 24px; padding-top: 0; gap: 0; border-top: 1px solid #eef0f4; }
body.page-app .side-balance {
    display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px;
    padding: 14px 8px 12px;
    background: none !important; border: 0 !important; border-radius: 0 !important;
}
body.page-app .side-balance span { font-size: 11px; letter-spacing: 0; color: #8b95a5; }
body.page-app .side-balance strong { font-size: 14px; font-weight: 700; color: #16203a; }
body.page-app .side-user {
    padding: 9px 8px;
    background: none !important;
    border: 0 !important; border-top: 1px solid #eef0f4 !important;
    border-radius: 0; gap: 8px;
}
body.page-app .side-user:hover { border-color: #eef0f4 !important; }
body.page-app .side-user .avatar {
    width: 26px; height: 26px; border-radius: 5px;
    background: #eef3ff !important; border: 1px solid #dbe6ff !important; color: #1746a2 !important;
    font-size: 12px; font-weight: 600;
}
body.page-app .side-user-meta b { font-size: 12px; font-weight: 600; color: #333c4e; }
body.page-app .side-user-meta small { font-size: 10px; color: #98a2b3; }
body.page-app .side-user .icon { display: none; }
body.page-app .side-logout { margin-top: 2px; }
body.page-app .nav-logout { font-size: 12px; color: #8b95a5; }
body.page-app .nav-logout:hover { background: #f6f7f9 !important; color: #b42318 !important; }
body.page-app .nav-logout:hover .icon { color: #b42318 !important; }

/* ---------- 顶栏 ---------- */
body.page-app .topbar {
    height: 56px; padding: 0 28px;
    display: flex; align-items: center; gap: 14px;
    background: #fff !important;
    border-bottom: 1px solid #e5e8ee !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
body.page-app .topbar-title { flex-direction: row; align-items: baseline; gap: 10px; }
body.page-app .topbar-title .crumb { font-size: 12px; letter-spacing: 0; color: #8b95a5; }
body.page-app .topbar-title h1 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: #16203a; }
body.page-app .topbar-actions { gap: 16px; }
body.page-app .pill-live { display: none !important; }
body.page-app .top-link { font-size: 12px; color: #5b6679; }
body.page-app .top-link:hover { color: #1746a2; }
body.page-app .top-user { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #333c4e; }
body.page-app .top-user span {
    width: 24px; height: 24px; border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eef3ff; color: #1746a2; font-size: 11px; font-weight: 600;
}
body.page-app .topbar-menu { border: 0; background: none; color: #4b5567; box-shadow: none; }

/* ---------- 内容区与页头 ---------- */
body.page-app .content,
body.page-app.page-admin .content { max-width: 1280px !important; padding: 24px 28px 56px !important; }
body.page-app .page-head {
    align-items: flex-end; flex-wrap: wrap; gap: 14px;
    margin-bottom: 18px; padding-bottom: 0; border-bottom: 0;
}
body.page-app .page-head h2 {
    font-size: 20px; font-weight: 650; letter-spacing: 0;
    color: #16203a; margin: 0 0 4px;
}
body.page-app .page-head p { font-size: 12px; line-height: 1.5; color: #8b95a5; margin: 0; }
body.page-app .page-head .kicker, body.page-app .content .kicker { display: none !important; }
body.page-app .page-head-actions { gap: 8px; }
body.page-app .back-link { font-size: 12px; color: #8b95a5; }

/* ---------- 按钮 ---------- */
body.page-app .btn {
    height: 32px; padding: 0 12px;
    border-radius: 5px; font-size: 12px; font-weight: 500; letter-spacing: 0;
    box-shadow: none !important;
    transform: none !important;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
body.page-app .btn:hover, body.page-app .btn:active { transform: none !important; }
body.page-app .btn-lg { height: 38px; padding: 0 18px; font-size: 13px; }
body.page-app .btn-sm, body.page-app .btn-xs { height: 26px; padding: 0 9px; font-size: 11.5px; border-radius: 4px; }
body.page-app .btn-primary,
body.page-app .btn-primary:hover,
body.page-app .btn-gold,
body.page-app .btn-gold:hover {
    background: #1746a2 !important;
    background-image: none !important;
    color: #fff !important;
    border: 1px solid #1746a2 !important;
    box-shadow: none !important;
}
body.page-app .btn-primary:hover,
body.page-app .btn-gold:hover { background: #113877 !important; }
body.page-app .btn-ghost,
body.page-app .btn-ghost:hover {
    background: #fff !important;
    border: 1px solid #d9dee7 !important;
    color: #3c4658 !important;
}
body.page-app .btn-ghost:hover { background: #f6f7f9 !important; }
body.page-app .btn-danger { background: #b42318 !important; color: #fff !important; border-color: #b42318 !important; }
body.page-app .btn-danger-ghost { background: #fff !important; border: 1px solid #f3d7d3 !important; color: #b42318 !important; }
body.page-app .icon-btn { border-radius: 5px; border-color: #d9dee7; background: #fff; color: #5b6679; }

/* ---------- 卡片 / 面板 ---------- */
body.page-app .card,
body.page-app .stat-card,
body.page-app .stat-band,
body.page-app .stat-band-item,
body.page-app .channel-card,
body.page-app .filter-bar,
body.page-app .notice-bar,
body.page-app .cred-card,
body.page-app .profile-card,
body.page-app .result-card,
body.page-app .code-window,
body.page-app .pay-card {
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #e5e8ee !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: #1d2534;
}
body.page-app .card { padding: 18px 20px; }
body.page-app .card::before,
body.page-app .stat-card::before,
body.page-app .stat-card::after,
body.page-app .stat-band-item::before { display: none !important; }
body.page-app .card:hover,
body.page-app .stat-card:hover,
body.page-app .channel-card:hover { transform: none !important; box-shadow: none !important; border-color: #e5e8ee !important; }
body.page-app .card-head,
body.page-app .card > .card-head,
body.page-app .card-table > .card-head {
    margin: 0 0 14px; padding: 0 0 12px;
    border-bottom: 1px solid #eef0f4;
}
body.page-app .card-table .card-head { padding: 16px 20px 12px; margin-bottom: 0; }
body.page-app .card-title { font-size: 14px; font-weight: 650; letter-spacing: 0; color: #16203a; }
body.page-app .card-sub { font-size: 11.5px; color: #8b95a5; margin-top: 3px; }
body.page-app .card-link { font-size: 12px; color: #1746a2; }
body.page-app .card-tip,
body.page-app .card-tip-card { background: #fafbfc !important; border: 1px solid #e5e8ee !important; border-radius: 5px !important; color: #5b6679; }
body.page-app .card-tip-card { padding: 14px 16px; }
body.page-app .card-tip-card .stat-icon { display: none !important; }
body.page-app .card-tip-card h3 { font-size: 13px; font-weight: 650; color: #16203a; margin-bottom: 6px; }
body.page-app .card-tip-card p { font-size: 12px; color: #6b7688; }
body.page-app .empty { color: #98a2b3; }
body.page-app .grid-2-1 { gap: 16px; margin-bottom: 16px; }

/* ---------- 统计区：四列数据总览带（不再是四张浮夸卡片） ---------- */
body.page-app .stat-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 !important; margin-bottom: 18px;
    background: #fff; border: 1px solid #e5e8ee; border-radius: 6px; overflow: hidden;
}
body.page-app .stat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.page-app .stat-card {
    min-height: 0 !important;
    padding: 16px 20px !important;
    border: 0 !important;
    border-right: 1px solid #eef0f4 !important;
    border-radius: 0 !important;
    display: block; overflow: visible;
}
body.page-app .stat-grid > .stat-card:last-child { border-right: 0 !important; }
body.page-app .stat-top { display: block; margin: 0 0 8px; font-size: 12px; color: #6b7688; }
body.page-app .stat-icon,
body.page-app .stat-spark,
body.page-app .stat-delta .icon { display: none !important; }
body.page-app .stat-value {
    display: block; margin: 0 0 6px;
    font-size: 24px; font-weight: 650; letter-spacing: -.01em;
    line-height: 1.2; color: #16203a;
}
body.page-app .stat-value small { font-size: 12px; font-weight: 500; color: #8b95a5; }
body.page-app .stat-foot { display: block; margin-top: 0; font-size: 11px; color: #98a2b3; }
body.page-app .stat-delta { color: #6b7688; }
body.page-app .stat-delta.up { color: #1a7f4b; }

/* ---------- 数据总览带（控制台新结构） ---------- */
.ov-band {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff; border: 1px solid #e5e8ee; border-radius: 6px;
    overflow: hidden; margin-bottom: 18px;
}
.ov-item { padding: 16px 20px; border-right: 1px solid #eef0f4; }
.ov-item:last-child { border-right: 0; }
.ov-label { display: block; font-size: 12px; color: #6b7688; margin-bottom: 8px; }
.ov-value {
    display: block; font-size: 24px; font-weight: 650; line-height: 1.2;
    letter-spacing: -.01em; color: #16203a; font-variant-numeric: tabular-nums;
}
.ov-value small { font-size: 12px; font-weight: 500; color: #8b95a5; margin-left: 2px; }
.ov-meta { display: block; margin-top: 7px; font-size: 11px; color: #98a2b3; }
.ov-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef0f4; font-size: 11.5px; color: #98a2b3; }

/* 七日明细表（替代柱状图） */
.mini-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mini-table th {
    text-align: left; font-size: 11px; font-weight: 600; color: #8b95a5;
    padding: 8px 10px; border-bottom: 1px solid #eef0f4; white-space: nowrap;
}
.mini-table td { padding: 9px 10px; border-bottom: 1px solid #f4f6f8; color: #333c4e; white-space: nowrap; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.mini-table .muted { color: #98a2b3; }
.mini-bar { display: block; width: 100%; min-width: 70px; height: 5px; background: #eef2f8; }
.mini-bar i { display: block; height: 100%; background: #8aa9dd; }

/* 紧凑通道列表 */
.ch-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f4f6f8; font-size: 12px; }
.ch-line:last-child { border-bottom: 0; }
.ch-name { flex: 1; min-width: 0; color: #333c4e; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-desc { font-size: 11px; color: #98a2b3; white-space: nowrap; }
.ch-state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #1a7f4b; white-space: nowrap; }
.ch-state i { width: 6px; height: 6px; border-radius: 50%; background: #1a7f4b; }
.ch-state.off { color: #98a2b3; }
.ch-state.off i { background: #c4cad4; }

/* ---------- 表格 ---------- */
body.page-app .table th {
    background: #fafbfc !important; color: #6b7688 !important;
    font-size: 11px; font-weight: 600; letter-spacing: .02em;
    padding: 10px 14px; border-bottom: 1px solid #e5e8ee !important;
}
body.page-app .table td {
    padding: 11px 14px; font-size: 12.5px; color: #333c4e;
    border-bottom: 1px solid #f0f2f5 !important; border-top: 0 !important;
}
body.page-app .table-hover tbody tr:hover,
body.page-app .table-hover tbody tr:hover td { background: #fafbfc !important; }
body.page-app .table-wrap { border: 0 !important; border-radius: 0 !important; }
body.page-app .card-table { padding: 0; overflow: hidden; }
body.page-app .pagination { border-top: 1px solid #eef0f4; }
body.page-app .page-btn { border-radius: 4px; border-color: #d9dee7; color: #4b5567; }
body.page-app .page-btn.active { background: #eef3ff; border-color: #c7d7fe; color: #1746a2; }
body.page-app .list-meta { font-size: 12px; color: #6b7688; margin-bottom: 12px; }
body.page-app .list-meta b { color: #16203a; }
body.page-app .list-meta .sep { background: #d9dee7; }
body.page-app .row-detail td { background: #fafbfc !important; }

/* ---------- 徽标 ---------- */
body.page-app .badge {
    height: auto; min-height: 20px; line-height: 1.4;
    padding: 2px 7px; border-radius: 3px;
    font-size: 11px; font-weight: 500; letter-spacing: 0;
}
body.page-app .badge.ok { background: #eef7f1; color: #1a7f4b; border-color: #d6ecdf; }
body.page-app .badge.wait { background: #fff7e8; color: #996515; border-color: #f2e2bd; }
body.page-app .badge.off { background: #fdf0ef; color: #b42318; border-color: #f3d7d3; }
body.page-app .badge.warn { background: #fff7e8; color: #996515; border-color: #f2e2bd; }
body.page-app .badge .dot { display: none !important; }
body.page-app .default-tag { border-radius: 3px; background: #fff7e8; color: #996515; border-color: #f2e2bd; letter-spacing: 0; }
body.page-app .avatar,
body.page-app .topbar-avatar { background: #eef3ff; border-color: #dbe6ff; color: #1746a2; }

/* ---------- 表单 / 筛选 ---------- */
body.page-app .input,
body.page-app select.input,
body.page-app textarea.input {
    height: 34px; padding: 0 10px;
    background: #fff !important;
    border: 1px solid #d9dee7 !important;
    border-radius: 5px !important;
    color: #1d2534; font-size: 12.5px;
    box-shadow: none !important;
}
body.page-app textarea.input { height: auto; padding: 9px 10px; }
body.page-app .input:focus,
body.page-app select.input:focus,
body.page-app textarea.input:focus {
    border-color: #1746a2 !important;
    box-shadow: 0 0 0 2px rgba(23, 70, 162, .1) !important;
}
body.page-app .field-label { font-size: 12px; font-weight: 500; color: #4b5567; }
body.page-app .hint, body.page-app .hint-text { font-size: 11.5px; color: #98a2b3; }
body.page-app .filter-bar { padding: 14px 16px; gap: 12px; margin-bottom: 16px; }
body.page-app .filter-item { min-width: 118px; }
body.page-app .filter-item label { font-size: 11px; letter-spacing: 0; color: #6b7688; }
body.page-app .filter-item .input,
body.page-app .filter-actions .btn { height: 34px; }
body.page-app .input-wrap .input { padding-left: 32px; }
body.page-app .checkbox input:checked,
body.page-app .switch-label input:checked + .switch { background: #1746a2 !important; border-color: #1746a2 !important; }

/* ---------- 提示条 ---------- */
body.page-app .notice-bar {
    border-radius: 5px !important;
    border: 1px solid #e5e8ee !important;
    border-left: 3px solid #1746a2 !important;
    background: #f7f9fd !important;
    padding: 10px 14px; margin-bottom: 16px; gap: 10px;
}
body.page-app .notice-bar p { font-size: 12px; color: #4b5567; }
body.page-app .notice-tag { font-size: 11px; font-weight: 600; letter-spacing: 0; color: #1746a2; }
body.page-app .notice-tag .icon { display: none; }
body.page-app .notice-warn { background: #fff9ee !important; border-left-color: #b7791f !important; }
body.page-app .notice-warn .notice-tag, body.page-app .notice-link { color: #996515; }
body.page-app .doc-callout { background: #f7f9fd !important; border: 1px solid #e5e8ee !important; border-radius: 5px !important; }
body.page-app .doc-callout.warn { background: #fff9ee !important; border-color: #f2e2bd !important; }
body.page-app .fee-notice { background: #fff9ee !important; border: 1px solid #f2e2bd !important; border-radius: 5px !important; }

/* ---------- 通道 / 凭证 / 开发者 / 设置等组件 ---------- */
body.page-app .channel-list { gap: 0; }
body.page-app .channel-row { padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
body.page-app .channel-logo { display: none !important; }
body.page-app .channel-meta b { font-size: 12.5px; font-weight: 600; color: #333c4e; }
body.page-app .channel-meta span { font-size: 11px; color: #98a2b3; }
body.page-app .channel-card { padding: 16px 18px; gap: 12px; }
body.page-app .channel-card-head h3 { font-size: 13.5px; font-weight: 650; color: #16203a; }
body.page-app .channel-card-stats { border-top: 1px solid #f0f2f5; border-bottom: 1px solid #f0f2f5; }
body.page-app .channel-card-stats b { color: #16203a; font-weight: 600; }
body.page-app .channel-card-foot { font-size: 11px; color: #8b95a5; }
body.page-app .channel-card-stats span,
body.page-app .channel-note { color: #98a2b3; }
body.page-app .cred-value,
body.page-app .endpoint,
body.page-app .result-url,
body.page-app .doc-kv div,
body.page-app .step,
body.page-app .json-pop.static {
    background: #fafbfc !important;
    border: 1px solid #e5e8ee !important;
    border-radius: 5px !important;
}
body.page-app .cred-tip { background: #fff9ee !important; border: 1px solid #f2e2bd !important; border-radius: 5px !important; color: #996515; }
body.page-app .cred-value code,
body.page-app .cred-label,
body.page-app .endpoint-url { color: #333c4e !important; }
body.page-app .endpoint-url { color: #1746a2 !important; }
body.page-app .step-num { color: #98a2b3; }
body.page-app .step code, body.page-app .sign-note code { color: #1746a2; }
body.page-app .sign-note { border-top: 1px solid #eef0f4; }
body.page-app .result-orb { display: none !important; }
body.page-app .result-placeholder { padding: 26px 10px 10px; }
body.page-app .result-tips li::before { background: #8aa9dd; }
body.page-app .code-window { background: #fff !important; border-color: #e5e8ee !important; }
body.page-app .code-head { background: #f5f7fa !important; color: #6b7688 !important; border-bottom-color: #e5e8ee !important; }
body.page-app .code-body,
body.page-app .code-body code { background: #fafbfc !important; color: #333c4e !important; }
body.page-app .code-body .c-key { color: #1746a2 !important; }
body.page-app .code-body .c-str { color: #1a7f4b !important; }
body.page-app .code-body .c-arrow { color: #b42318 !important; }
body.page-app .code-body .c-comment { color: #98a2b3 !important; }
body.page-app .detail-list > div { border-bottom: 1px solid #f0f2f5; }
body.page-app .detail-list dt { color: #8b95a5; }
body.page-app .detail-list dd.amount { color: #16203a; }
body.page-app .timeline { border-top: 1px solid #f0f2f5; }
body.page-app .tl-item.done i { background: #1a7f4b; box-shadow: none; }
body.page-app .tl-item.pending i { background: #b7791f; box-shadow: none; }
body.page-app .sticky-actions {
    background: #fff !important; border: 1px solid #e5e8ee !important;
    border-radius: 6px !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.page-app .doc-section { border-bottom-color: #eef0f4; }
body.page-app .doc-section code { background: #f2f4f7; border-color: #e5e8ee; color: #1746a2; }
body.page-app .copy-inline { background: #f2f4f7; color: #6b7688; }
body.page-app .pay-type .icon { color: #6b7688; }

/* ---------- Toast ---------- */
body.page-app .toast {
    background: #fff !important;
    border: 1px solid #e5e8ee !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 16px rgba(16, 24, 40, .1) !important;
}
body.page-app .toast--success { border-left: 3px solid #1a7f4b !important; }
body.page-app .toast--error { border-left: 3px solid #b42318 !important; }
body.page-app .toast--info { border-left: 3px solid #1746a2 !important; }
body.page-app .toast p { color: #333c4e; }
body.page-app .toast-close:hover { background: #f2f4f7; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    body.page-app .main { margin-left: 0 !important; }
    body.page-app .topbar { padding: 0 18px; }
    body.page-app .topbar-menu { display: inline-flex !important; }
    body.page-app .content,
    body.page-app.page-admin .content { padding: 20px 18px 48px !important; }
}
@media (max-width: 760px) {
    .ov-band, body.page-app .stat-grid, body.page-app .stat-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ov-item:nth-child(2), body.page-app .stat-grid > .stat-card:nth-child(2) { border-right: 0; }
    .ov-item:nth-child(-n+2), body.page-app .stat-grid > .stat-card:nth-child(-n+2) { border-bottom: 1px solid #eef0f4; }
    body.page-app .grid-2-1, body.page-app .detail-grid,
    body.page-app .cred-grid, body.page-app .settings-grid,
    body.page-app .profile-grid, body.page-app .form-card-wrap,
    body.page-app .grid-form-result, body.page-app .steps { grid-template-columns: 1fr; }
    body.page-app .page-head { align-items: flex-start; }
    body.page-app .page-head-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-app *, body.page-app *::before, body.page-app *::after { animation: none !important; transition: none !important; }
}
