/* 会员中心：登录 / 注册 / 充值 — 统一视觉 */
html { -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #222;
    background: #f3f4f6;
    font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}
a { color: #d10100; text-decoration: none; }
a:hover { color: #b01010; }
img { border: 0; vertical-align: middle; }
button, input { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.auth-top {
    height: 36px;
    background: #1c1c1c;
    color: #bbb;
    font-size: 12px;
}
.auth-top-inner {
    width: 1100px;
    margin: 0 auto;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-top a { color: #ddd; margin-left: 16px; }
.auth-top a:hover,
.auth-top a.is-on { color: #fff; }

.auth-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 1px 0 rgba(209,1,0,0.08);
}
.auth-header-inner {
    width: 1100px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
}
.auth-logo {
    display: flex;
    align-items: center;
    color: #222;
}
.auth-logo img { height: 42px; width: auto; max-width: 220px; }
.auth-logo-fallback {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}
.auth-header-split {
    width: 1px;
    height: 28px;
    margin: 0 18px;
    background: #e6e6e6;
}
.auth-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.auth-header-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-header-nav a {
    display: inline-block;
    padding: 6px 12px;
    color: #555;
    border-radius: 4px;
}
.auth-header-nav a:hover { background: #f6f6f6; color: #d10100; }
.auth-header-nav a.is-on {
    color: #d10100;
    font-weight: 700;
}
.auth-header-nav .auth-cta {
    margin-left: 8px;
    padding: 8px 16px;
    background: #d10100;
    color: #fff !important;
    border-radius: 4px;
}
.auth-header-nav .auth-cta:hover { background: #b01010; }

.auth-main {
    flex: 1 1 auto;
    width: 1100px;
    margin: 28px auto 40px;
}
.auth-stage {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: stretch;
    min-height: 560px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(28,28,28,0.06);
}
.auth-aside {
    width: auto;
    padding: 48px 40px;
    color: #fff;
    background:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.08), transparent 46%),
        linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 55%, #3a0a0a 100%);
    position: relative;
}
.auth-aside::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #d10100;
}
.auth-aside-kicker {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 99px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #f3c7c7;
}
.auth-aside h2 {
    margin: 22px 0 12px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}
.auth-aside p.lead {
    margin: 0 0 28px;
    color: #cfcfcf;
    font-size: 14px;
}
.auth-points { margin: 0; padding: 0; }
.auth-points li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #eaeaea;
}
.auth-points b {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 50%;
    background: #d10100;
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    text-align: center;
}
.auth-points span { padding-top: 3px; }

.auth-panel {
    min-width: 0;
    padding: 46px 56px 40px;
}
.auth-panel h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
}
.auth-panel .auth-sub {
    margin: 0 0 26px;
    color: #888;
    font-size: 13px;
}

.auth-field { margin-bottom: 16px; }
.auth-label {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-size: 13px;
}
.auth-input,
.auth-panel input[type="text"],
.auth-panel input[type="password"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fafafa;
    color: #222;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.auth-input:focus,
.auth-panel input[type="text"]:focus,
.auth-panel input[type="password"]:focus {
    background: #fff;
    border-color: #d10100;
    box-shadow: 0 0 0 3px rgba(209,1,0,0.12);
}
.auth-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-captcha .auth-input { flex: 1; }
.auth-captcha img {
    width: 108px;
    height: 46px;
    border-radius: 6px;
    border: 1px solid #eee;
    cursor: pointer;
    background: #fff;
}
.auth-captcha a {
    flex-shrink: 0;
    font-size: 13px;
    white-space: nowrap;
}

.auth-btn {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 8px;
    border: 0;
    border-radius: 6px;
    background: #d10100;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
}
.auth-btn:hover { background: #b01010; }
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 13px;
    color: #888;
}
.auth-error {
    min-height: 20px;
    margin: 0 0 10px;
    color: #d10100;
    font-size: 13px;
    text-align: left;
}
.auth-tip {
    margin-top: 4px;
    min-height: 18px;
    font-size: 12px;
    color: #888;
}
.auth-agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 4px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
.auth-agree input { margin-top: 3px; }

.auth-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}
.rank {
    display: inline-block;
    width: 120px;
    height: 6px;
    border-radius: 99px;
    background: #ececec;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}
.rank::before {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: #bbb;
}
.rank.r1::before { width: 18%; background: #e74c3c; }
.rank.r2::before { width: 30%; background: #e67e22; }
.rank.r3::before { width: 42%; background: #f1c40f; }
.rank.r4::before { width: 55%; background: #f1c40f; }
.rank.r5::before { width: 68%; background: #27ae60; }
.rank.r6::before { width: 82%; background: #1e8449; }
.rank.r7::before { width: 100%; background: #1e8449; }

.auth-pay {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(28,28,28,0.06);
    overflow: hidden;
}
.auth-pay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: #fff8f8;
    border-bottom: 1px solid #f3dcdc;
}
.auth-pay-bar strong { color: #d10100; }
.auth-pay-extra a {
    margin-left: 18px;
    color: #666;
    font-size: 13px;
}
.auth-pay-extra a:hover { color: #d10100; }
.auth-pay-body { padding: 28px 36px 36px; }
.auth-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}
.auth-row-label {
    flex: 0 0 130px;
    padding-top: 12px;
    color: #333;
    font-weight: 700;
}
.auth-row-ctrl { flex: 1; min-width: 0; }
.auth-row-ctrl .auth-input { max-width: 360px; }
.auth-money {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.auth-money li {
    position: relative;
    min-width: 92px;
    height: 44px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}
.auth-money li a {
    display: block;
    height: 44px;
    line-height: 42px;
    color: #333;
    font-weight: 700;
}
.auth-money li.pay-money-txt {
    min-width: 168px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #666;
}
.auth-money li.pay-money-txt input {
    width: 88px;
    height: 28px;
    margin-right: 6px;
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: transparent;
    outline: none;
    text-align: center;
}
.auth-money li.cur {
    border-color: #d10100;
    background: #fff5f5;
}
.auth-money li.cur a { color: #d10100; }
.auth-money li.cur::after,
.auth-banks li.cur::after {
    content: "✓";
    position: absolute;
    right: 4px;
    top: 2px;
    color: #d10100;
    font-size: 12px;
    font-weight: 700;
}

.auth-way {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.auth-way li {
    position: relative;
    cursor: pointer;
}
.auth-way a {
    display: inline-block;
    height: 42px;
    padding: 0 18px;
    line-height: 40px;
    border: 1px solid #d10100;
    border-radius: 6px;
    color: #d10100;
    font-weight: 700;
    background: #fff5f5;
}
.pay-public {
    display: none;
}

.auth-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.auth-banks li {
    position: relative;
    width: 148px;
    height: 44px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.auth-banks li a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 12px;
    color: #333;
}
.auth-banks .pay-bank-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #d10100;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}
.auth-banks li.cur {
    border-color: #d10100;
    background: #fff5f5;
}
.auth-submit {
    margin: 8px 0 0 130px;
    width: 220px;
    letter-spacing: 2px;
}

.auth-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 22px 0 28px;
    text-align: center;
    color: #888;
    font-size: 12px;
    line-height: 1.8;
}
.auth-footer a { color: #666; }
.auth-footer a:hover { color: #d10100; }
.auth-foot-nav { margin-bottom: 8px; }
.auth-foot-nav a { margin: 0 8px; }

@media (max-width: 1120px) {
    .auth-top-inner,
    .auth-header-inner,
    .auth-main { width: 96%; }
}
@media (max-width: 860px) {
    .auth-stage { display: block; }
    .auth-aside { width: 100%; min-height: 0; padding: 28px 24px; }
    .auth-panel { padding: 28px 20px; }
    .auth-row { display: block; }
    .auth-row-label { padding: 0 0 8px; }
    .auth-submit { margin-left: 0; width: 100%; }
}
