
.head {
    width: 100%;
    height: 0.8rem;
    background: #000;
}

.head-inner {
    width: 14rem;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 0.4rem;
    display: block;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    flex-grow: 1;
    margin-left: 0.8rem;
}

.nav-links a {
    font-size: 0.16rem;
    color: #666;
    transition: color 0.2s;
}

/* 顶栏 Tab 点击状态呈现 */
.nav-links a.active,
.nav-links a:hover {
    color: #fff;
    font-weight: bold;
}

.user-action {
    font-size: 0.14rem;
    color: #666;
}

.user-action .logout {
    color: #3f9dfd;
    cursor: pointer;
    margin-left: 0.1rem;
}

/* ---- 横幅 Banner ---- */
.banner {
    width: 100%;
    height: 4rem;
    background: url(../image/re-index.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

.banner-logo {
    width: 1.69rem;
    height: .97rem;
    position: absolute;
    left: 2.6rem;
    top: .1rem;
}

.btn-goto {
    position: absolute;
    top: 3rem;
    right: 2.5rem;
    background-color: #df212b;
    color: #fff;
    font-size: 0.18rem;
    border-radius: 0.1rem;
    font-weight: bold;
    width: 1.9rem;
    height: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---- 资产/游戏信息栏 ---- */
.user-status {
    width: 14rem;
    margin: -0.3rem auto 0;
    position: relative;
    z-index: 0;
    background: #fff;
    padding: 0.2rem;
    border-radius: 0.1rem;
}


.status-inner {
    width: 14rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.avatar-box {
    width: .99rem;
    height: .9;
    border-radius: 0.1rem;
    margin-right: 0.1rem;
}
/* 
.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.info-details {
    flex-grow: 1;
}

.role-title {
    font-size: 0.18rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.05rem;
}

.role-account {
    font-size: 0.14rem;
    color: #999;
    margin-bottom: 0.08rem;
    display: flex;
    align-items: center;
}

.role-login {
    font-size: 0.14rem;
    color: #999;
    margin-bottom: 0.08rem;
    display: flex;
    align-items: center;
}

.role-login a {
    color: #396cff;
}

.icon-right {
    height: 0.14rem;
    margin-left: 0.05rem;
}

.role-tips {
    font-size: 0.14rem;
    color: #d12228;
}

.role-tips .highlight {
    font-weight: bold;
}

.balance-box {
    font-size: 0.15rem;
    color: #4d4d4d;
    font-weight: 700;
}

.balance-num {
    color: #df212b;
    font-weight: bold;
    font-size: 0.15rem;
}

/* ---- 主体内容区 ---- */
.main-content {
    background-color: #fff;
    padding: 0.3rem 0 1rem;
}

.main-inner {
    width: 14rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* -- 左侧打金币面额列表 -- */
.packages-area {
    width: 10rem;
}

.pkg-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0.4rem;
    column-gap: 0.2rem;
}

.pkg-item {
    width: 3.2rem;
    background: #fff;
    border: .02rem solid transparent;
    border-radius: 0.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.pkg-img {
    width: 100%;
    height: 3.2rem;
    border-radius: 0.1rem;
    background-color: #fbf5eb;
    overflow: hidden;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.pkg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pkg-name {
    font-size: 0.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

/* 默认状态红底白字 */
.pkg-btn {
    display: block;
    width: 80%;
    margin: 0 auto;
    height: 0.44rem;
    line-height: 0.42rem;
    background-color: #fff;
    color: #ca3332;
    border: .01rem solid #ca3332;
    border-radius: 0.06rem;
    font-size: 0.2rem;
    font-weight: bold;
    transition: 0.2s;
}

/* 选中状态（交互高亮）：触发按钮字体颜色变更（白底红字），呈现点击反馈 */
/* .pkg-item.active .pkg-img {
    box-shadow: 0 0.1rem 0.2rem rgba(202, 51, 50, 0.3);
} */

.pkg-item.active .pkg-btn {
    background-color: #ca3332;
    color: #fff;
}

/* 说明文本 */
.rules-text {
    margin-top: 0.6rem;
    font-size: 0.14rem;
    color: #4c4c4c;
    line-height: 1.2;
}

.rules-title {
    font-weight: bold;
    color: #333;
    margin-top: 0.2rem;
}

.red-text {
    color: red;
}

/* -- 右侧付款结算浮窗 -- */
.pay-sidebar {
width: 3.4rem;
    background-color: #f8f9fa;
    border-radius: 0.1rem;
    margin-left: 0.3rem;
    position: sticky;
    top: 0.5rem;
    padding: 0.2rem;
    /* 伴随页面滚动悬浮 */
}

.pay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.15rem;
    margin-bottom: 0.3rem;
}

.pay-label {
    font-weight: bold;
    color: #333;
}

.pay-huabei {
    color: #3573e8;
    font-size: 0.14rem;
    font-weight: 700;
}

.pay-methods {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.25rem;
}

.pay-card {
    display: flex;
    align-items: center;
    padding: 0.1rem 0 0.1rem .2rem;
    cursor: pointer;
    font-size: 0.16rem;
    color: #333;
    user-select: none;
}

.pay-icon {
    width: 0.33rem;
    height: 0.33rem;
    margin-right: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 单选自绘原点 */
.radio-mark {
    margin-left: auto;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    border: .01rem solid #ccc;
    position: relative;
    box-sizing: border-box;
    transition: 0.2s;
    background-color: #fff;
}

/* 选中呈现红圈加纯白对勾 */
.pay-card.active .radio-mark {
    border-color: #df212b;
    background-color: #df212b;
}

.pay-card.active .radio-mark::after {
    content: '';
    position: absolute;
    width: 0.08rem;
    height: 0.04rem;
    border-left: .02rem solid #fff;
    border-bottom: .02rem solid #fff;
    left: 0.04rem;
    top: 0.05rem;
    transform: rotate(-45deg);
}

.pay-summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.pay-summary-money {
    display: flex;
    align-items: center;
}

.pay-summary .sum-label {
    font-size: 0.16rem;
    color: #333;
    font-weight: bold;
}

.pay-summary .sum-currency {
    font-size: 0.2rem;
    color: #df212b;
    font-weight: bold;
}

.pay-summary .sum-price {
    font-size: 0.24rem;
    color: #df212b;
    font-weight: bold;
}

.btn-submit {
    display: block;
    width: 1.5rem;
    background-color: #ca3332;
    color: #fff;
    text-align: center;
    line-height: 0.4rem;
    border-radius: 0.06rem;
    font-size: 0.18rem;
    font-weight: bold;
}

.btn-submit:hover {
    background-color: #bd2d2c;
}

.pay-tips {
    font-size: 0.14rem;
    color: #000;
    line-height: 1.6;
}

.pay-tips a {
    color: #3573e8;
}

.head-login {
    display: inline-block;
    width: 1.4rem;
    height: .5rem;
    background-color: #cc2929;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: .18rem;
    font-weight: 700;
    border-radius: .1rem;
}






