* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}
body {
    background: url('../img/bj.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding-bottom: 50px;
    overflow-x: hidden;
    color: #333;
}
/* 仅首页允许滚动 */
.scrollable {
    height: auto !important;
    padding-bottom: 50px;
}
/* 所有非首页页面禁止滚动 */
.no-scroll {
    height: calc(100vh - 50px) !important;
    overflow: hidden !important;
}
/* 当底部导航显示时，为所有主页面添加底部边距 */
.bottom-nav[style*="flex"] ~ .main-page {
    padding-bottom: 50px;
}
/* 注册/登录页面（外层仅作布局容器，卡片样式由 .auth-card 提供） */
.auth-page {
    width: 90%;
    max-width: 450px;
    min-width: 300px;
    margin: 50px auto;
}
.auth-title {
    text-align: center;
    color: #c8102e;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}
.form-item {
    margin-bottom: 15px;
}
.form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.form-item input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}
.form-item input:focus {
    border-color: #c8102e;
}
.auth-btn {
    width: 100%;
    height: 50px;
    background: #c8102e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.auth-switch {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}
.auth-switch a {
    color: #c8102e;
    text-decoration: none;
}
/* 主页面容器 */
.main-page {
    display: none;
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}
.main-page.active {
    display: block;
}
/* 子页面容器 */
.sub-page {
    display: none;
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}
.sub-page.active {
    display: block;
}
/* 顶部固定图片 */
.top-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}
/* 首页样式 */
.home-func {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 0;
}
.home-func-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 750px;
    margin: 0 auto;
    padding: 15px;
}
/* 首页功能区域样式 */
.no-effect-item {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    border-radius: 6px;
    text-decoration: none; /* 移除链接下划线 */
    color: inherit; /* 继承文字颜色 */
}
.no-effect-item:hover {
    /* 无悬停效果 */
}
.func-icon {
    font-size: 24px;
    color: #c8102e;
    margin-bottom: 5px;
}
.func-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.func-text {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}
.video-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #000;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}
.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
    overflow: hidden;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 新闻区域样式 */
.news-area {
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
}
.news-img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 4px;
}
.news-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}
.news-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 相关文件展示区 */
.file-showcase {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
}
.file-showcase-inner {
    max-width: 750px;
    margin: 0 auto;
}
.file-showcase-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 12px 15px;
}
.file-showcase img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.file-showcase-img {
    cursor: pointer;
}
.file-showcase-img:hover {
    opacity: 0.92;
}

/* 邀请页面样式 */
.invite-code-box {
    background: linear-gradient(135deg, #c8102e, #e63946);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.2);
}
.invite-code-box h3 {
    color: white;
    margin-bottom: 10px;
}
.invite-code {
    font-size: 28px;
    color: #ffd700;
    font-weight: bold;
    margin: 15px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.invite-btn {
    background: white;
    color: #c8102e;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.invite-stats {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}
.invite-stats-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
}
.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.stats-label {
    font-size: 14px;
    color: #333;
}
.stats-value {
    font-size: 16px;
    color: #c8102e;
    font-weight: bold;
}
.invite-reward {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.invite-reward-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
}
.invite-stats .stats-item:last-child,
.invite-reward .reward-item:last-child {
    border-bottom: none;
}
.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.reward-info {
    flex: 1;
}
.reward-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.reward-desc {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.reward-num {
    color: #c8102e;
    font-weight: bold;
    font-size: 16px;
}
.get-reward {
    background: linear-gradient(135deg, #c8102e, #e63946);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 10px;
}
.get-reward:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.get-reward:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(200, 16, 46, 0.3);
}

/* 金条奖励按钮样式 */
.get-gold-reward {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 10px;
}
.get-gold-reward:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.get-gold-reward:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* 奖励区域标题样式 */
.reward-section-title {
    font-size: 16px;
    color: #c8102e;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid #c8102e;
    margin-bottom: 10px;
    text-align: center;
}

#rewardSection .reward-section-title:last-child {
    color: #f59e0b;
    border-bottom-color: #f59e0b;
}

/* 邀请现金奖励领取按钮（禁用置灰、无缩放/位移动画） */
.invite-claim-btn {
    background: linear-gradient(135deg, #c8102e, #e63946);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    margin-left: 10px;
}
.invite-claim-btn:disabled {
    background: #d5d5d5;
    color: #999;
    cursor: not-allowed;
}
/* 申请页面样式 */
.apply-form {
    background: transparent;
    padding: 15px 10px;
    border-radius: 0;
}
.apply-item {
    margin-bottom: 15px;
}
.apply-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.apply-item input {
    width: 100%;
    height: 45px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
    background: #fff;
}
.apply-btn {
    width: 100%;
    height: 50px;
    background: #c8102e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    margin-top: 10px;
}
.apply-success {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 0;
    text-align: center;
    display: none;
}
.apply-success-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 24px 16px 30px;
    text-align: center;
}
.apply-success h3 {
    color: #c8102e;
    margin-bottom: 10px;
}
.apply-info {
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 10px;
}
/* 领取进度页面样式 */
.progress-detail {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 14px 0 10px;
    box-sizing: border-box;
}
.pd-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
}
.pd-logo {
    text-align: center;
    margin-bottom: 8px;
}
.pd-logo img {
    height: 26px;
    width: auto;
    display: inline-block;
}
.pd-bank {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}
.pd-amount-wrap {
    text-align: center;
    margin-bottom: 6px;
}
.pd-amount-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.pd-amount {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
}
.pd-status-wrap {
    text-align: center;
    margin-bottom: 8px;
}
.pd-status {
    display: inline-block;
    background: #e8f7f2;
    color: #199a7a;
    font-size: 12px;
    padding: 3px 14px;
    border-radius: 14px;
}
.pd-divider {
    height: 1px;
    background: #eee;
    margin: 0 0 2px;
}
.pd-rows {
    padding-top: 0;
}
.pd-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 5px 0;
    font-size: 13px;
    line-height: 1.5;
}
.pd-key {
    flex: 0 0 64px;
    color: #999;
}
.pd-val {
    flex: 1;
    color: #333;
    word-break: break-all;
}
.pd-desc {
    color: #8a9440;
}
.pd-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pd-p-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1px 0;
    color: #444;
}
.pd-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    flex-shrink: 0;
}
.pd-p-item.done .pd-dot,
.pd-p-item.active .pd-dot {
    background: #2b7bd6;
}
.pd-p-item.active {
    color: #2b7bd6;
    font-weight: 600;
}
.pd-p-item.active .pd-dot {
    box-shadow: 0 0 0 3px #dcebfb;
}
.pd-p-line {
    width: 2px;
    height: 10px;
    background: #d9d9d9;
    margin-left: 4px;
}

/* 保存截图按钮样式 */
.save-screenshot-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #c8102e, #e63946);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.save-screenshot-btn i {
    font-size: 18px;
}
/* 我的页面样式 */
#myPage.active {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 50px);
}
.my-header {
    position: relative;
    margin-bottom: 12px;
}
.my-header .top-img {
    display: block;
    width: 100%;
}
.user-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(transparent, rgba(120,0,0,0.8));
    box-sizing: border-box;
    color: #fff;
}
.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #eee;
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-detail h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 4px;
}
.user-detail p {
    font-size: 13px;
    color: #fff;
    margin-bottom: 2px;
}
.asset-box {
    background: linear-gradient(160deg, #e60000 0%, #c20000 50%, #920000 100%);
    padding: 20px 18px;
    border-radius: 12px;
    margin: 0 10px 15px;
    box-shadow: 0 6px 18px rgba(165, 14, 38, 0.3);
}
.asset-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
    padding-left: 2px;
}
.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.asset-value {
    font-size: 17px;
    color: #ffd76a;
    font-weight: 900;
}
.asset-btns {
    display: flex;
    gap: 10px;
}
.asset-btn {
    font-size: 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 14px;
    border-radius: 18px;
    cursor: pointer;
    white-space: nowrap;
}
.asset-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}
.my-func {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: #ffffff;
    padding: 15px;
}
.my-func-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none; /* 移除链接下划线 */
    color: inherit; /* 继承文字颜色 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.my-func-icon {
    font-size: 24px;
    color: #c8102e;
    margin-bottom: 5px;
}
.my-func-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.my-func-text {
    font-size: 12px;
    color: #333;
}
.logout-btn {
    display: block;
    width: calc(100% - 20px);
    height: 50px;
    margin: auto 10px 12px;
    background: linear-gradient(160deg, #e60000 0%, #c20000 50%, #920000 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
}
/* 提现页面 */
.withdraw-page {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    min-width: 300px;
    margin: 0 auto;
}
.withdraw-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}
.withdraw-input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
}
.withdraw-btn {
    width: 100%;
    height: 50px;
    background: #c8102e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
}
.withdraw-record {
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}
.record-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: background-color 0.2s;
}

.record-item:hover {
    background-color: #f9f9f9;
}

.contact-btn {
    background: #c8102e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.contact-btn:hover {
    background: #a50e26;
}
/* 实名认证/银行卡页面 */
.form-page {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    min-width: 300px;
    margin: 0 auto;
}
.form-page-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}
/* 资金明细页面 */
.detail-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
}
.detail-page h3 {
    max-width: 750px;
    margin: 0 auto;
    padding: 16px 16px 4px;
    box-sizing: border-box;
}
.detail-page #detailList {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.team-page {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    max-width: 750px;
    margin: 0 auto;
}

.team-stats {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.stat-label {
    font-size: 14px;
    color: #333;
}

.stat-value {
    font-size: 16px;
    color: #c8102e;
    font-weight: bold;
}

.team-list {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.team-member-info {
    flex: 1;
}

.team-member-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.team-member-time {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.detail-type {
    color: #c8102e;
}
.detail-money {
    font-weight: bold;
}
.detail-time {
    color: #999;
    font-size: 12px;
}
/* 底部导航 - 固定禁止滑动 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background: #fff;
    display: flex;
    border-top: 1px solid #eee;
    z-index: 999;
    display: none;
    touch-action: none;
    height: 50px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.nav-item {
    flex: 1;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav-icon {
    font-size: 22px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}
.nav-text {
    font-size: 12px;
    color: #999;
}
.nav-item.active .nav-icon,
.nav-item.active .nav-text {
    color: #c8102e;
}
/* 弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 禁用涟漪动画效果 */
* {
    transition: none !important;
    animation: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
}

/* 确保页面可以正常滚动 */
.main-page:not(.scrollable),
.sub-page {
    overflow-y: auto !important;
}
.modal-content {
    width: 90%;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.modal-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}
.modal-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}
.modal-btn {
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* 联系弹窗样式 */
.contact-modal-content {
    width: 90%;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.contact-modal-body {
    margin-bottom: 15px;
}

.contact-modal-img {
    width: 200px;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    object-fit: contain;
}

#contactModalDesc {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
    margin: 0;
}

#registerPage .auth-card, #loginPage .auth-card {
    background: #fff;
    width: 400px;
    max-width: 92%;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 10px 40px rgba(200, 16, 46, 0.15);
    margin: auto;
}
#registerPage .auth-card-title, #loginPage .auth-card-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #c8102e;
    margin-bottom: 24px;
}
#registerPage .auth-tabs, #loginPage .auth-tabs {
    display: flex;
    border-bottom: 1px solid #f3e6e8;
    margin-bottom: 24px;
}
#registerPage .auth-tab, #loginPage .auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    color: #8a8f99;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
#registerPage .auth-tab.active, #loginPage .auth-tab.active {
    color: #c8102e;
    font-weight: 600;
    border-bottom-color: #c8102e;
}
#registerPage .auth-tab:hover, #loginPage .auth-tab:hover {
    color: #c8102e;
}
#registerPage .form-item, #loginPage .form-item {
    margin-bottom: 18px;
}
#registerPage .form-item label, #loginPage .form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
#registerPage .form-item input, #loginPage .form-item input {
    width: 100%;
    height: 44px;
    border: 1px solid #e6dcde;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    color: #333;
    background: #fefefe;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
#registerPage .form-item input:focus, #loginPage .form-item input:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}
#registerPage .auth-btn, #loginPage .auth-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e22b45, #c8102e);
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.25);
}
#registerPage .auth-btn:active, #loginPage .auth-btn:active {
    transform: translateY(1px);
}
#registerPage .auth-switch, #loginPage .auth-switch {
    text-align: center;
    font-size: 12px;
    color: #9aa0a8;
    margin-top: 16px;
}
#registerPage .auth-switch span, #loginPage .auth-switch span {
    color: #c8102e;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== 每日签到页面 ==================== */
.sign-header {
    background: linear-gradient(135deg, #d31a2e, #a50e26);
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
}
.sign-back {
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    padding: 4px 8px 4px 0;
}
.sign-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    flex: 1;
    margin-right: 28px;
}
.sign-stats {
    display: flex;
    background: linear-gradient(135deg, #d31a2e, #a50e26);
}
.sign-stat {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    color: #fff;
}
.sign-stat-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 6px;
}
.sign-stat-value {
    font-size: 22px;
    font-weight: 800;
}
.sign-card {
    background: #ffffff;
    padding: 16px;
    margin-bottom: 10px;
}
.sign-card-title {
    text-align: center;
    color: #c8102e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}
.sign-days {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 4px;
    margin-bottom: 18px;
}
.sign-days::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}
.sign-day {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 13%;
}
.sign-day-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e0e0e0;
    margin: 0 auto 6px;
}
.sign-day.done .sign-day-dot {
    background: #c8102e;
}
.sign-day.current .sign-day-dot {
    background: #c8102e;
    box-shadow: 0 0 0 4px #f6dede;
}
.sign-day-num {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}
.sign-day-amt {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}
.sign-day-amt span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #999;
}
.sign-day.pending .sign-day-amt {
    color: #999;
}
.sign-btn {
    display: block;
    width: 68%;
    height: 40px;
    margin: 0 auto 8px;
    border: none;
    border-radius: 20px;
    background: #00b578;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.sign-btn:disabled {
    background: #d5d5d5;
    color: #999;
    cursor: not-allowed;
}
.sign-today {
    text-align: center;
    font-size: 12px;
    color: #999;
}
.sign-calendar {
    background: #ffffff;
    padding: 16px;
    margin-bottom: 10px;
}
.sign-cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.sign-cal-title {
    font-size: 16px;
    font-weight: 700;
    color: #c8102e;
}
.sign-cal-month {
    font-size: 12px;
    color: #999;
}
.sign-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.sign-cal-w {
    font-size: 12px;
    color: #999;
    padding: 6px 0;
}
.sign-cal-cell {
    font-size: 13px;
    color: #333;
    padding: 7px 0;
    border-radius: 4px;
}
.sign-cal-cell.blank {
    visibility: hidden;
}
.sign-cal-cell.today {
    box-shadow: inset 0 0 0 1px #c8102e;
    border-radius: 4px;
}
.sign-cal-cell.signed {
    background: #fdeeee;
    color: #c8102e;
    font-weight: 600;
}
.sign-cal-foot {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.sign-rules {
    background: #fffbe8;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sign-rules-title {
    color: #f5a623;
    font-size: 20px;
    flex-shrink: 0;
}
.sign-rules ol {
    margin: 0;
    padding-left: 18px;
    color: #8a8a7a;
    font-size: 12px;
    line-height: 1.9;
}
