* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    color: #2c3e50;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    font-size: 14px;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding-bottom: 90px;
}

/* 毛玻璃效果工具类 */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 游戏切换按钮 - 浅色主题 */
.game-switcher {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.game-switcher-wrapper {
    position: relative;
    display: flex;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 14px;
    padding: 5px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(233, 236, 239, 0.6);
}

.game-switcher-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.game-switcher-slider.pc28 {
    transform: translateX(100%);
}

.game-switcher-btn {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 9px 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.game-switcher-btn.active {
    color: #667eea;
    font-weight: 600;
}

.game-switcher-btn:hover {
    color: #495057;
}

.game-switcher-btn:active {
    transform: scale(0.98);
}

/* 账户栏 - 浅色主题 */
.account-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    padding: 14px 16px;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(233, 236, 239, 0.6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}



@keyframes shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.account-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.balance {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.user-id {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

.login-link {
    color: #667eea;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.login-link:hover {
    color: #764ba2;
}

.account-actions {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #495057;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(233, 236, 239, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.action-btn:active {
    transform: translateY(0) scale(0.98);
}

.action-btn .icon {
    font-size: 18px;
    transition: transform 0.3s;
}

.action-btn:hover .icon {
    transform: scale(1.1);
}

/* 页面头部 */
.page-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.page-header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

/* 主内容区 */
.main-content {
    padding: 12px;
}

.game-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-left: 4px;
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.match-card:active {
    transform: scale(0.98);
}

.match-card.active {
    border-left: 4px solid #28a745;
    background: rgba(255, 255, 255, 0.85);
}

.match-card.finished {
    opacity: 0.7;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 11px;
}

.match-status {
    background: rgba(233, 236, 239, 0.8);
    backdrop-filter: blur(10px);
    color: #6c757d;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.match-time {
    color: #6c757d;
    font-size: 11px;
}

.match-players {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.player {
    flex: 1;
    text-align: center;
}

.player-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.player-odds {
    font-size: 11px;
    color: #6c757d;
}

.player-score-card {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin: 4px 0;
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    display: inline-block;
}

.vs {
    font-size: 12px;
    color: #adb5bd;
    font-weight: 500;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.match-score-display {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    margin-top: 4px;
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 8px;
    white-space: nowrap;
}

.match-result {
    text-align: center;
    color: #28a745;
    font-weight: 500;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.final-score-badge {
    color: #667eea;
    font-weight: 600;
    font-size: 13px;
}

.btn-bet {
    display: block;
    text-align: center;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #495057;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(233, 236, 239, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-bet:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-bet:active {
    transform: translateY(0) scale(0.98);
    background: rgba(248, 249, 250, 0.9);
}

/* 比赛详情 */
.match-detail-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.match-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.match-status-badge.status-0 {
    background: rgba(227, 242, 253, 0.8);
    color: #1976d2;
}

.match-status-badge.status-1 {
    background: rgba(232, 245, 233, 0.8);
    color: #388e3c;
}

.match-status-badge.status-2 {
    background: rgba(243, 229, 245, 0.8);
    color: #7b1fa2;
}

.match-players-large {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 24px 0;
}

.player-large {
    text-align: center;
    flex: 1;
}

.player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 10px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.15);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.player-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.player-odds-large {
    font-size: 12px;
    color: #6c757d;
}

.vs-large {
    font-size: 16px;
    color: #adb5bd;
    font-weight: 600;
    margin: 0 12px;
}

.match-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
}

.match-description h3 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.match-description p {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}

.match-result-box {
    margin-top: 16px;
    padding: 12px;
    background: rgba(232, 245, 233, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #2e7d32;
    font-size: 14px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* 投注表单 */
.bet-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bet-section h2 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.bet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bet-option {
    display: block;
    cursor: pointer;
}

.bet-option input[type="radio"] {
    display: none;
}

.bet-option-content {
    padding: 12px;
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bet-option input[type="radio"]:checked + .bet-option-content {
    border-color: rgba(233, 236, 239, 0.9);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bet-player-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bet-odds {
    font-size: 11px;
    color: #6c757d;
}

.bet-amount-group {
    margin-bottom: 20px;
}

.bet-amount-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.bet-amount-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.bet-amount-group input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.quick-amount {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-amount:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-amount:active {
    transform: translateY(0) scale(0.98);
    background: rgba(248, 249, 250, 0.9);
}

.bet-preview {
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}

.preview-item:last-child {
    margin-bottom: 0;
}

.preview-item strong {
    color: #667eea;
    font-size: 14px;
}

.btn-submit-bet {
    width: 100%;
    padding: 12px;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #495057;
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-submit-bet:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-submit-bet:active {
    transform: translateY(0) scale(0.98);
    background: rgba(248, 249, 250, 0.9);
}

.login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.login-prompt p {
    margin-bottom: 20px;
    color: #6c757d;
}

/* 登录页面 */
.login-page {
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.login-header p {
    color: #6c757d;
    font-size: 14px;
}

.login-tabs {
    display: flex;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    color: #6c757d;
    border-radius: 10px;
    transition: all 0.3s;
}

.tab.active {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #667eea;
    padding: 12px 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.btn-primary:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-block {
    width: 100%;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(212, 237, 218, 0.8);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: rgba(248, 215, 218, 0.8);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* 个人中心 */
.profile-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 16px;
    color: white;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.profile-id {
    font-size: 11px;
    opacity: 0.95;
}

.profile-balance {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.balance-label {
    font-size: 11px;
    opacity: 0.95;
    margin-bottom: 6px;
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 10px;
    color: #6c757d;
}

.menu-list {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.menu-list h3 {
    font-size: 13px;
    margin-bottom: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
    transition: all 0.3s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: rgba(248, 249, 250, 0.8);
}

.menu-icon {
    font-size: 18px;
    margin-right: 10px;
}

.menu-text {
    flex: 1;
    font-size: 13px;
}

.menu-arrow {
    color: #adb5bd;
    font-size: 16px;
}

.logout-section {
    padding: 20px 0;
}

.btn-logout {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #dc3545;
    text-align: center;
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1);
}

.btn-logout:hover {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
}

.btn-logout:active {
    transform: translateY(0) scale(0.98);
}

/* 竞猜记录 */
.bet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bet-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
}

.bet-match {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

.bet-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bet-status.status-0 {
    background: rgba(255, 243, 205, 0.8);
    color: #856404;
}

.bet-status.status-1 {
    background: rgba(212, 237, 218, 0.8);
    color: #155724;
}

.bet-status.status-2 {
    background: rgba(248, 215, 218, 0.8);
    color: #721c24;
}

.bet-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bet-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c757d;
}

.bet-detail-item strong {
    color: #2c3e50;
}

.bet-detail-item.win {
    color: #28a745;
    font-weight: 600;
}

.bet-detail-item.win strong {
    color: #28a745;
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    color: #6c757d;
    margin-bottom: 24px;
    font-size: 15px;
}

/* 充值提现 */
.recharge-card,
.withdraw-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.current-balance {
    text-align: center;
}

.balance-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 6px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
}

.recharge-form,
.withdraw-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.recharge-form label,
.withdraw-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
    font-size: 12px;
}

.recharge-form input,
.withdraw-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 10px;
    font-size: 14px;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.recharge-form input:focus,
.withdraw-form input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.notice-box {
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    font-size: 11px;
    color: #6c757d;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

.notice-box h3 {
    font-size: 12px;
    color: #495057;
    margin-bottom: 10px;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.notice-box li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
}

/* PC28 游戏样式 */
.pc28-container {
    padding: 12px;
}

.pc28-period-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.period-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.period-number {
    font-size: 15px;
    font-weight: 700;
    color: #667eea;
}

.period-time {
    font-size: 11px;
    color: #6c757d;
}

.period-status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.period-status.waiting {
    background: rgba(255, 243, 205, 0.8);
    color: #856404;
}

.period-status.opened {
    background: rgba(212, 237, 218, 0.8);
    color: #155724;
}

.pc28-result {
    text-align: center;
    padding: 14px;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 12px 0;
}

.result-number {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.result-formula {
    color: #495057;
    font-weight: 600;
}

.result-equals {
    color: #adb5bd;
    margin: 0 4px;
}

.result-sum {
    color: #667eea;
    font-size: 36px;
    font-weight: 700;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 16px;
    border-radius: 10px;
}

.result-label {
    font-size: 12px;
    color: #6c757d;
}

/* PC28最近开奖样式 - 重新设计 */
.recent-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.recent-results-list::-webkit-scrollbar {
    width: 4px;
}

.recent-results-list::-webkit-scrollbar-track {
    background: rgba(233, 236, 239, 0.3);
    border-radius: 2px;
}

.recent-results-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

.recent-results-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.recent-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recent-result-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.result-period {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    min-width: 70px;
}

.result-formula-display {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
}

.result-formula {
    color: #495057;
    font-weight: 600;
}

.result-equals {
    color: #adb5bd;
    margin: 0 2px;
}

.result-sum {
    color: #667eea;
    font-size: 18px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.no-results {
    text-align: center;
    color: #6c757d;
    padding: 30px 20px;
    font-size: 13px;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 12px;
    border: 1px dashed rgba(233, 236, 239, 0.6);
}

/* PC28投注样式 - 重新设计 */
.pc28-bet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.pc28-bet-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pc28-bet-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.pc28-bet-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.pc28-bet-item:hover::before {
    opacity: 1;
}

.pc28-bet-item.selected {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.pc28-bet-item.selected::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.bet-number {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.pc28-bet-item.selected .bet-number {
    color: #667eea;
}

.bet-odds-text {
    font-size: 11px;
    color: #6c757d;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.pc28-bet-item.selected .bet-odds-text {
    color: #667eea;
}

/* PC28快速金额按钮 */
.quick-amounts {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.quick-amount {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-amount:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-amount:active {
    transform: translateY(0) scale(0.98);
    background: rgba(248, 249, 250, 0.9);
}

/* PC28表单组 */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
}

#pc28-bet-amount {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s;
    color: #2c3e50;
}

#pc28-bet-amount:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#pc28-bet-amount::placeholder {
    color: #adb5bd;
}

/* PC28投注页面样式 */
.bet-type-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.bet-type-tab {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.bet-type-tab:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #212529;
}

.bet-type-tab.active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.9);
    color: #212529;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.play-type-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.play-type-section:last-child {
    border-bottom: none;
}

.play-type-title {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* 总和和值网格 */
.sum-value-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.sum-value-btn {
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.sum-value-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sum-value-btn.selected {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.6);
    color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 总和大小、单双按钮 */
.sum-size-buttons,
.sum-odd-even-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sum-size-btn,
.sum-odd-even-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.sum-size-btn:hover,
.sum-odd-even-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sum-size-btn.selected,
.sum-odd-even-btn.selected {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.6);
    color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 总和七彩网格 */
.sum-color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sum-color-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.sum-color-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sum-color-btn.selected {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.6);
    color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 总和特殊玩法网格 */
.sum-special-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sum-special-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.sum-special-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sum-special-btn.selected {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.6);
    color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 已选投注列表 */
.selected-bets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-bet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 236, 239, 0.6);
    border-radius: 10px;
    font-size: 13px;
    color: #495057;
}

.remove-bet-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-bet-btn:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
}

.bet-amount-input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(233, 236, 239, 0.6);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s;
    color: #2c3e50;
}

.bet-amount-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bet-amount-input::placeholder {
    color: #adb5bd;
}

/* PC28投注预览 */
.bet-preview {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    margin: 14px 0;
    border: 1px solid rgba(233, 236, 239, 0.6);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: #495057;
}

.preview-item:not(:last-child) {
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.preview-item strong {
    color: #667eea;
    font-size: 15px;
    font-weight: 700;
}

/* 底部导航 - 悬浮层设计 */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 28px;
    display: flex;
    justify-content: space-around;
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: #95a5a6;
    padding: 10px 14px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    border-radius: 18px;
    margin: 0 3px;
    min-height: 64px;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.nav-item:hover {
    color: #667eea;
    transform: translateY(-3px);
}

.nav-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-item.active {
    color: #667eea;
}

.nav-item.active::before {
    transform: translate(-50%, -50%) scale(1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.18) 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.nav-item.active .nav-icon {
    transform: scale(1.25) translateY(-3px);
    filter: drop-shadow(0 4px 10px rgba(102, 126, 234, 0.4));
}

.nav-icon {
    font-size: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.nav-item.active .nav-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: navPulse 2.5s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
    transition: all 0.35s ease;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

.nav-item.active .nav-label {
    font-weight: 600;
    color: #667eea;
    transform: translateY(-1px);
}

/* 响应式 */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
    }
    
    .bottom-nav {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        bottom: 12px;
        border-radius: 24px;
        padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
    }
    
    .nav-item {
        padding: 8px 10px;
        min-height: 60px;
        gap: 4px;
    }
    
    .nav-icon {
        font-size: 22px;
    }
    
    .nav-label {
        font-size: 10px;
    }
}

/* PC28玩法样式 */
.play-type-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.play-type-section:last-child {
    border-bottom: none;
}

.play-type-title {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

/* 输入模式切换 */
.position-input-mode {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.input-mode-btn {
    flex: 1;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-mode-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* 定位玩法 */
.position-row {
    margin-bottom: 12px;
}

.position-row label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
}

.number-grid-small {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.position-number-btn, .group-number-btn, .non-position-btn {
    padding: 8px 4px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.position-number-btn:hover, .group-number-btn:hover, .non-position-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.position-number-btn.selected, .group-number-btn.selected, .non-position-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 手动输入 */
.position-manual-mode, .group-manual-mode {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.manual-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.btn-confirm-manual {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-manual:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 双面玩法 */
.double-side-positions, .double-side-series {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.double-side-position {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.double-side-position label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.double-side-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.double-side-btn, .double-side-series-btn {
    padding: 8px 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 11px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.double-side-btn:hover, .double-side-series-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.double-side-btn.selected, .double-side-series-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 组选选择模式 */
.group-select-mode {
    margin-top: 10px;
}

/* 比赛详情页样式 */
.player-score {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-top: 4px;
}

.score-display {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-top: 8px;
}

.rounds-display {
    margin-top: 16px;
    padding: 12px;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.rounds-display h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
}

.rounds-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.round-item {
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.round-number {
    color: #6c757d;
}

.round-score {
    font-weight: 600;
    color: #667eea;
}

.final-score {
    color: #667eea;
    font-weight: 600;
    margin-left: 8px;
}

/* 投注玩法信息提示 */
.handicap-info, .preset-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.handicap-info p, .preset-info p {
    margin: 0;
}

/* 玩法标签样式优化 */
.bet-type-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bet-type-tab {
    flex: 1;
    min-width: calc(20% - 5px);
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(233, 236, 239, 0.6);
    border-radius: 8px;
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.bet-type-tab:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(233, 236, 239, 0.8);
    color: #495057;
}

.bet-type-tab.active {
    background: rgba(255, 255, 255, 0.98);
    color: #212529;
    border-color: rgba(233, 236, 239, 0.9);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
