/* PC v2.1 - 桌面级顶部导航栏布局 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--primary:#1a56db;--primary-dark:#0f3a8e;--primary-light:#3b82f6;--primary-bg:rgba(26,86,219,0.06);--accent:#f59e0b;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--bg-body:#ffffff;--bg-card:#fff;--text-primary:#1a1a2e;--text-secondary:#4a4a6a;--text-muted:#9090a8;--border-color:#d0d5e0;--border-light:#e5e7eb;--shadow-sm:0 1px 3px rgba(0,0,0,0.07);--shadow-md:0 4px 14px rgba(0,0,0,0.1);--shadow-lg:0 6px 20px rgba(0,0,0,0.12);--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--transition:0.15s ease;--topbar-height:56px}
html,body{height:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei','Helvetica Neue',sans-serif;font-size:14px;line-height:1.6;color:var(--text-primary);background:var(--bg-body);-webkit-font-smoothing:antialiased;overflow:auto}
a{text-decoration:none;color:inherit}.pc-page{min-height:100vh;background:var(--bg-body)}

/* 桌面级顶部导航栏 */
.pc-topbar{position:fixed;top:0;left:0;right:0;height:var(--topbar-height);background:var(--bg-card);z-index:1000;box-shadow:0 1px 3px rgba(0,0,0,0.06);border-bottom:1px solid var(--border-color)}
.pc-topbar-inner{width:100%;height:100%;display:flex;align-items:center;padding:0 24px;gap:24px}
.pc-detail-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.pc-back-btn{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:14px;text-decoration:none;padding:8px 16px;border-radius:8px;transition:all var(--transition)}.pc-back-btn:hover{background:var(--primary-bg);color:var(--primary)}
.pc-share-btn{display:inline-flex;align-items:center;gap:6px;color:var(--primary,#3B82F6);font-size:14px;text-decoration:none;padding:8px 16px;border-radius:8px;transition:all var(--transition)}.pc-share-btn:hover{background:var(--primary-bg,#EFF6FF);color:var(--primary-hover,#2563EB)}
.pc-topbar-logo{display:flex;align-items:center;gap:10px;flex-shrink:0;text-decoration:none}
.pc-topbar-logo-icon{width:28px;height:28px;background:linear-gradient(135deg,var(--primary),#6366f1);border-radius:6px;flex-shrink:0}
.pc-topbar-logo-text{font-size:17px;font-weight:700;color:var(--text-primary);letter-spacing:0.5px;white-space:nowrap}
.pc-topbar-nav{display:flex;align-items:center;gap:2px;flex:1;overflow-x:auto}
.pc-topbar-nav::-webkit-scrollbar{display:none}
.pc-topbar-nav-item{display:flex;align-items:center;padding:8px 14px;border-radius:6px;color:var(--text-secondary);font-size:14px;font-weight:500;transition:all var(--transition);text-decoration:none;white-space:nowrap}
.pc-topbar-nav-item:hover{color:var(--primary);background:var(--primary-bg)}
.pc-topbar-nav-item.active{color:var(--primary);background:var(--primary-bg);font-weight:600}
.pc-topbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}
.pc-topbar-btn{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 18px;border-radius:6px;font-size:13px;font-weight:600;text-decoration:none;transition:all var(--transition);white-space:nowrap;letter-spacing:0.3px}
.pc-topbar-btn-recharge{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 2px 6px rgba(245,158,11,0.3)}
.pc-topbar-btn-recharge:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 3px 10px rgba(245,158,11,0.4)}
.pc-topbar-btn-withdraw{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 6px rgba(16,185,129,0.3)}
.pc-topbar-btn-withdraw:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 3px 10px rgba(16,185,129,0.4)}
.pc-topbar-user{display:flex;align-items:center;gap:12px;flex-shrink:0}
.pc-topbar-user-name{font-size:14px;color:var(--text-primary);font-weight:500;white-space:nowrap}
.pc-topbar-user-balance{font-size:14px;font-weight:700;color:var(--accent);white-space:nowrap}
.pc-topbar-logout{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.4);transition:all var(--transition);flex-shrink:0}
.pc-topbar-logout:hover{color:#ef4444;background:rgba(239,68,68,0.1)}
.pc-topbar-logout svg{width:18px;height:18px}

/* 主内容区 */
.pc-body{padding-top:var(--topbar-height);padding-left:24px;padding-right:24px;padding-bottom:32px;min-height:100vh}

/* 首页 */
.pc-dash-banner{position:relative;border-radius:var(--radius-md);overflow:hidden;width:100%;aspect-ratio:3/1;max-height:300px;margin-bottom:24px;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}
.pc-dash-banner .pc-banner-wrapper{display:flex;width:100%;height:100%;transition:transform 0.6s ease}
.pc-dash-banner .pc-banner-slide{flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center;position:relative;background:#f1f5f9}
.pc-dash-banner .pc-banner-img{width:100%;height:100%;object-fit:contain;display:block}
.pc-dash-banner .pc-banner-text{color:#fff;font-size:28px;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,0.3);z-index:1}
.pc-dash-banner .pc-banner-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.pc-dash-banner .pc-banner-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.35);cursor:pointer;transition:all var(--transition)}
.pc-dash-banner .pc-banner-dots span.active{width:24px;border-radius:4px;background:#fff}

.pc-dash-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.pc-quick-action{display:flex;align-items:center;gap:12px;padding:18px 20px;border-radius:var(--radius-md);color:#fff;text-decoration:none;transition:all var(--transition);box-shadow:var(--shadow-sm)}
.pc-quick-action:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.pc-quick-action svg{width:24px;height:24px;flex-shrink:0}.pc-quick-action span{font-size:15px;font-weight:600}
.pc-quick-recharge{background:linear-gradient(135deg,#2563eb,#3b82f6)}
.pc-quick-withdraw{background:linear-gradient(135deg,#059669,#10b981)}
.pc-quick-hema{background:linear-gradient(135deg,#7c3aed,#8b5cf6)}
.pc-quick-signin{background:linear-gradient(135deg,#d97706,#f59e0b)}

.pc-dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.pc-dash-stat-card{background:var(--bg-card);border-radius:var(--radius-md);padding:20px;display:flex;align-items:center;gap:16px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
.pc-dash-stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pc-dash-stat-icon svg{width:24px;height:24px;color:#fff}
.pc-dash-stat-balance{background:linear-gradient(135deg,#2563eb,#3b82f6)}
.pc-dash-stat-bet{background:linear-gradient(135deg,#7c3aed,#8b5cf6)}
.pc-dash-stat-win{background:linear-gradient(135deg,#059669,#10b981)}
.pc-dash-stat-team{background:linear-gradient(135deg,#d97706,#f59e0b)}
.pc-dash-stat-info{flex:1;min-width:0}
.pc-dash-stat-label{font-size:13px;color:var(--text-muted);margin-bottom:4px}
.pc-dash-stat-value{font-size:20px;font-weight:700;color:var(--text-primary)}

.pc-dash-notice{background:var(--bg-card);border-radius:var(--radius-sm);padding:12px 20px;margin-bottom:24px;display:flex;align-items:center;gap:12px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);overflow:hidden}
.pc-dash-notice-icon{font-size:16px;flex-shrink:0;color:var(--primary);display:flex;align-items:center}
.pc-dash-notice-track{flex:1;overflow:hidden;height:22px;position:relative}
.pc-dash-notice-scroll{display:inline-block;font-size:14px;color:var(--text-secondary);line-height:22px;white-space:nowrap;animation:noticeScroll 50s linear infinite;padding-left:100%}
.pc-dash-notice-scroll:hover{animation-play-state:paused}
@keyframes noticeScroll{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
.pc-dash-notice-more{font-size:13px;color:var(--primary);flex-shrink:0;text-decoration:none}
.pc-dash-notice-more:hover{text-decoration:underline}

.pc-dash-games{background:var(--bg-card);border-radius:var(--radius-md);padding:24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
.pc-dash-section-header{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.pc-dash-section-title{font-size:18px;font-weight:700;color:var(--text-primary)}
.pc-dash-game-categories{display:flex;gap:8px;flex-wrap:wrap}
.pc-game-cat-item{padding:6px 16px;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-secondary);background:var(--bg-body);border:1px solid var(--border-color);cursor:pointer;transition:all var(--transition)}
.pc-game-cat-item:hover{border-color:var(--primary-light);color:var(--primary)}
.pc-game-cat-item.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.pc-dash-game-grid{min-height:120px}
.pc-game-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.pc-game-item{background:var(--bg-body);border-radius:var(--radius-sm);padding:20px 12px;text-align:center;border:1px solid var(--border-color);cursor:pointer;transition:all var(--transition);text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:10px}
.pc-game-item:hover{box-shadow:var(--shadow-md);border-color:var(--primary-light);transform:translateY(-1px)}
.pc-game-item.suspended{opacity:0.55;cursor:not-allowed;position:relative;pointer-events:none;background:#fef2f2;border-color:#fecaca}
.pc-game-suspended-badge{position:absolute;top:4px;left:4px;background:rgba(220,38,38,0.85);color:#fff;font-size:10px;padding:2px 6px;border-radius:3px;font-weight:700;line-height:1.4;z-index:9;pointer-events:none}
.pc-game-item.suspended:hover{box-shadow:none;border-color:#fecaca;transform:none}
.pc-game-icon{width:56px;height:56px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}
.pc-game-icon-img{width:56px;height:56px;border-radius:10px;object-fit:cover}
.pc-game-name{font-size:14px;font-weight:600;color:var(--text-primary)}
.pc-game-loading,.pc-game-empty{text-align:center;padding:60px;color:var(--text-muted);font-size:15px}

/* 通用 */
.pc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 24px;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all var(--transition);text-decoration:none;letter-spacing:0.3px}
.pc-btn-primary{background:var(--primary);color:#fff}.pc-btn-primary:hover{background:var(--primary-dark)}
.pc-btn-primary:disabled{opacity:0.45;cursor:not-allowed}.pc-btn-block{display:flex;width:100%}
.pc-input{width:100%;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;color:var(--text-primary);background:var(--bg-card);outline:none;transition:border-color var(--transition);height:40px}
.pc-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px rgba(26,86,219,0.08)}
.pc-form-group{display:flex;flex-direction:column;gap:6px}
.pc-form-label{font-size:14px;font-weight:500;color:var(--text-primary)}
.pc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pc-form-error{background:#fef2f2;color:var(--danger);padding:12px 16px;border-radius:var(--radius-sm);font-size:13px;margin-bottom:16px;border:1px solid #fecaca;display:none}
.pc-form-error.show{display:block}
/* 卡片通用 */
.pc-card{background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);overflow:hidden;margin-bottom:16px}
.pc-card-title{padding:14px 20px;font-size:16px;font-weight:700;color:var(--text-primary);border-bottom:1px solid var(--border-color);background:var(--bg-body)}
.pc-card-body{padding:20px}
/* 密码切换标签 */
.pc-password-tabs{display:flex;margin-bottom:16px;background:var(--bg-body);border-radius:var(--radius-sm);padding:3px}
.pc-password-tab{flex:1;text-align:center;padding:10px 0;font-size:14px;font-weight:500;color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition)}
.pc-password-tab:hover{color:var(--primary)}
.pc-password-tab.active{background:var(--bg-card);color:var(--primary);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,0.08)}
/* 双列布局 */
.pc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.pc-loading-text{text-align:center;padding:24px;color:var(--text-muted);font-size:14px}
/* 自定义下拉选择 */
.pc-custom-select{position:relative;width:100%}
.pc-custom-select-trigger{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;color:var(--text-primary);background:var(--bg-card);cursor:pointer;height:40px;transition:border-color var(--transition)}
.pc-custom-select-trigger:hover{border-color:var(--primary-light)}
.pc-custom-select.open .pc-custom-select-trigger{border-color:var(--primary);box-shadow:0 0 0 2px rgba(26,86,219,0.08)}
.pc-custom-select-dropdown{position:absolute;top:100%;left:0;right:0;z-index:100;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);margin-top:4px;display:none;overflow:hidden}
.pc-custom-select.open .pc-custom-select-dropdown{display:block}
.pc-custom-select-option{padding:10px 14px;font-size:14px;color:var(--text-primary);cursor:pointer;transition:all var(--transition)}
.pc-custom-select-option:hover{background:var(--primary-bg);color:var(--primary)}
.pc-custom-select-option.active{background:var(--primary-bg);color:var(--primary);font-weight:600}
/* 二维码上传 */
.pc-qrcode-upload{position:relative;border:2px dashed var(--border-color);border-radius:var(--radius-md);padding:20px;text-align:center;cursor:pointer;transition:all var(--transition);min-height:180px;display:flex;align-items:center;justify-content:center}
.pc-qrcode-upload:hover{border-color:var(--primary-light);background:var(--primary-bg)}
.pc-qrcode-placeholder{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--text-muted);font-size:13px}
.pc-qrcode-preview{max-width:100%;max-height:200px;border-radius:var(--radius-sm)}
.pc-qrcode-remove{position:absolute;top:8px;right:8px;padding:4px 12px;background:var(--danger);color:#fff;border:none;border-radius:var(--radius-sm);font-size:12px;cursor:pointer}
.pc-toast{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:9999;padding:10px 24px;border-radius:var(--radius-sm);font-size:14px;font-weight:500;box-shadow:var(--shadow-md);display:none;max-width:420px;text-align:center}
.pc-toast.show{display:block}.pc-toast.success{background:#059669;color:#fff}
.pc-toast.error{background:#dc2626;color:#fff}.pc-toast.info{background:var(--primary);color:#fff}
.pc-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:1000;display:none}
.pc-modal{background:var(--bg-card);border-radius:var(--radius-md);width:100%;max-width:560px;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,0.15);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001;display:none;animation:modalIn 0.15s ease}
.pc-modal-sm{max-width:440px}.pc-modal-lg{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0;top:0;left:0;transform:none;display:none;flex-direction:column;overflow:hidden}
@keyframes modalIn{from{opacity:0;transform:translate(-50%,-50%) scale(0.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.pc-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color);font-size:16px;font-weight:600;color:var(--text-primary)}
.pc-modal-close{width:32px;height:32px;border:none;background:transparent;border-radius:var(--radius-sm);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-muted);transition:all var(--transition);flex-shrink:0}
.pc-modal-close:hover{background:#f1f5f9;color:var(--text-primary)}
.pc-modal-body{padding:20px}.pc-modal-split{display:flex;height:420px}
.pc-modal-cats{width:150px;flex-shrink:0;border-right:1px solid var(--border-color);overflow-y:auto;padding:8px}
.pc-modal-cat{padding:8px 12px;font-size:14px;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition)}
.pc-modal-cat:hover{background:var(--primary-bg);color:var(--primary)}
.pc-modal-cat.active{background:var(--primary);color:#fff}
.pc-modal-content{flex:1;overflow-y:auto;padding:12px}
.pc-modal-game-item{padding:10px 14px;font-size:14px;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition)}
.pc-modal-game-item:hover{background:var(--primary-bg);color:var(--primary)}
.pc-modal-game-item.active{background:var(--primary);color:#fff}

/* 认证 */
.pc-auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f0f2f5;padding:24px;position:relative}
.pc-auth-card{width:100%;max-width:440px;background:#fff;border-radius:var(--radius-md);padding:40px 36px;box-shadow:0 2px 12px rgba(0,0,0,0.06);position:relative;border:1px solid var(--border-color)}
.pc-auth-header{text-align:center;margin-bottom:32px}
.pc-auth-logo{font-size:28px;font-weight:700;color:var(--text-primary);letter-spacing:0.5px;text-align:center;margin-bottom:24px}
.pc-auth-logo h1{font-size:24px;font-weight:700;color:var(--text-primary);margin-bottom:8px}
.pc-auth-logo p{font-size:14px;color:var(--text-muted);font-weight:400}
.pc-auth-subtitle{font-size:14px;color:var(--text-muted);margin-top:8px}
.pc-auth-error{background:#fef2f2;color:var(--danger);padding:12px 16px;border-radius:var(--radius-sm);font-size:13px;margin-bottom:16px;border:1px solid #fecaca}
.pc-auth-success{background:#f0fdf4;color:#16a34a;padding:12px 16px;border-radius:var(--radius-sm);font-size:13px;margin-bottom:16px;border:1px solid #bbf7d0}
.pc-auth-form{display:flex;flex-direction:column;gap:18px}
.pc-auth-links{text-align:center;margin-top:24px;font-size:14px}
.pc-auth-link{color:var(--primary);text-decoration:none}.pc-auth-link:hover{text-decoration:underline}
.pc-auth-sep{color:#cbd5e1;margin:0 12px}
.pc-auth-footer{text-align:center;margin-top:20px;font-size:14px;color:var(--text-secondary)}
.pc-auth-footer a{color:var(--primary);text-decoration:none}.pc-auth-footer a:hover{text-decoration:underline}

/* 个人中心 */
.pc-profile-card{background:var(--primary);border-radius:var(--radius-sm);padding:24px 28px;color:#fff;display:flex;align-items:center;gap:20px;box-shadow:var(--shadow-sm);position:relative;border:1px solid rgba(255,255,255,0.1)}
.pc-profile-avatar{width:64px;height:64px;border-radius:8px;background:rgba(255,255,255,0.15);display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2px solid rgba(255,255,255,0.2);cursor:pointer;position:relative;overflow:hidden}
.pc-avatar-img{width:100%;height:100%;object-fit:cover}
.pc-avatar-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;opacity:0;transition:opacity var(--transition)}
.pc-profile-avatar:hover .pc-avatar-overlay{opacity:1}
.pc-profile-info{flex:1;min-width:0}
.pc-profile-row{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:14px;line-height:1.6}
.pc-profile-row:last-child{margin-bottom:0}.pc-profile-label{opacity:0.8;white-space:nowrap}
.pc-profile-amount{font-weight:700;color:#fbbf24}
.pc-level-tag{display:inline-block;font-size:11px;background:rgba(251,191,36,0.2);color:#fbbf24;padding:2px 8px;border-radius:3px;font-weight:600;white-space:nowrap}
.pc-profile-actions{position:absolute;top:12px;right:16px;display:flex;gap:8px}
.pc-profile-action-btn{width:32px;height:32px;border-radius:6px;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background var(--transition)}
.pc-profile-action-btn:hover{background:rgba(255,255,255,0.2)}
.pc-profile-action-btn svg{width:16px;height:16px;color:#fff}
.pc-menu-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:16px}
.pc-menu-item{background:var(--bg-card);border-radius:var(--radius-sm);padding:16px 12px;text-align:center;border:1px solid var(--border-color);cursor:pointer;transition:all var(--transition);text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:8px}
.pc-menu-item:hover{box-shadow:var(--shadow-sm);border-color:var(--primary-light)}
.pc-menu-item svg{width:20px;height:20px;flex-shrink:0}.pc-menu-item span{font-size:14px;color:var(--text-secondary);font-weight:500}

/* 页面容器 */
.pc-page-header{margin-bottom:20px;margin-top:24px}.pc-page-header h2{font-size:22px;font-weight:700;color:var(--text-primary)}

/* 聊天室 */
.pc-chat-list-layout{padding:0}
.pc-chat-room-list{display:flex;flex-direction:column;gap:8px}
.pc-chat-room-item{display:flex;align-items:center;gap:14px;padding:16px 20px;background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:all var(--transition);text-decoration:none}
.pc-chat-room-item:hover{box-shadow:var(--shadow-md);border-color:var(--primary-light)}
.pc-chat-room-icon{width:48px;height:48px;border-radius:10px;background:var(--primary-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.pc-chat-room-icon img{width:100%;height:100%;object-fit:cover}
.pc-chat-room-icon-text{font-size:20px;font-weight:700;color:var(--primary)}
.pc-chat-room-info{flex:1;min-width:0}
.pc-chat-room-name{font-size:15px;font-weight:600;color:var(--text-primary);margin-bottom:4px}
.pc-chat-room-last-msg{font-size:13px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-chat-room-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.pc-chat-room-time{font-size:12px;color:var(--text-muted)}
.pc-chat-room-badge{font-size:10px;color:var(--danger)}
.pc-loading,.pc-empty{text-align:center;padding:60px 20px;color:var(--text-muted);font-size:15px}
.pc-error{color:var(--danger)}

/* ====== PC 合买工具栏 — 桌面级 ====== */
.pc-game-page .hema-filter-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding: 12px 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
/* 工具栏按钮 — 统一风格 */
.pc-game-page .hema-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  background: var(--bg-body);
  font-size: 13px; color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap; user-select: none;
}
.pc-game-page .hema-filter-btn:hover {
  background: var(--bg-card); border-color: var(--primary-light); color: var(--primary);
}
.pc-game-page .hema-filter-btn:active {
  background: var(--primary-bg);
}
.pc-game-page .hema-filter-btn svg {
  flex-shrink: 0;
}
.pc-game-page .hema-filter-btn .btn-icon-left {
  color: var(--text-muted);
}
.pc-game-page .hema-filter-btn .btn-arrow {
  color: var(--text-muted); transition: transform 0.15s;
}
.pc-game-page .hema-filter-btn.active {
  border-color: var(--primary); color: var(--primary); background: var(--primary-bg);
}
.pc-game-page .hema-filter-btn.active .btn-arrow {
  transform: rotate(180deg);
}

/* 工具栏搜索框 */
.pc-game-page .hema-filter-search {
  position: relative; display: flex; align-items: center;
  height: 36px; width: 220px;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  background: var(--bg-body); transition: border-color var(--transition);
}
.pc-game-page .hema-filter-search:focus-within {
  border-color: var(--primary); background: var(--bg-card);
  box-shadow: 0 0 0 2px rgba(26,86,219,0.08);
}
.pc-game-page .hema-filter-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
  display: flex; align-items: center;
}
.pc-game-page .hema-filter-search input {
  width: 100%; height: 100%;
  padding: 0 12px 0 32px;
  border: none; outline: none; background: transparent;
  font-size: 13px; color: var(--text-primary);
  border-radius: var(--radius-sm);
}
.pc-game-page .hema-filter-search input::placeholder {
  color: var(--text-muted); font-size: 13px;
}
/* 工具栏右侧 */
.pc-game-page .hema-filter-spacer {
  flex: 1;
}

/* 状态下拉面板 */
.pc-game-page .hema-filter-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 130px; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); z-index: 100;
  padding: 4px 0; display: none;
}
.pc-game-page .hema-filter-dropdown.show { display: block; }
.pc-game-page .hema-filter-dropdown-item {
  display: block; width: 100%; padding: 8px 16px;
  font-size: 13px; color: var(--text-secondary);
  background: none; border: none; text-align: left;
  cursor: pointer; transition: background 0.1s;
}
.pc-game-page .hema-filter-dropdown-item:hover {
  background: var(--primary-bg); color: var(--primary);
}
.pc-game-page .hema-filter-dropdown-item.active {
  color: var(--primary); font-weight: 600; background: var(--primary-bg);
}
.pc-game-page .hema-filter-btn-wrap {
  position: relative;
}
.pc-game-page .hema-game-list{display:flex;flex-direction:column;gap:12px}

/* 定制 */
.pc-custom-layout{padding:20px 32px;width:100%}
.pc-custom-search{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.pc-custom-search .pc-input{flex:1;max-width:480px}
.pc-custom-list{display:flex;flex-direction:column;gap:12px;width:100%}
.pc-custom-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:all var(--transition)}
.pc-custom-card:hover{box-shadow:var(--shadow-md)}
.pc-custom-card-avatar{width:44px;height:44px;border-radius:8px;background:var(--primary-bg);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:var(--primary);flex-shrink:0}
.pc-custom-card-info{flex:1;min-width:0}
.pc-custom-card-name{font-size:15px;font-weight:600;color:var(--text-primary);margin-bottom:6px;display:flex;align-items:center;gap:8px}
.pc-custom-card-stats{display:flex;gap:16px;flex-wrap:wrap}
.pc-custom-card-stat{font-size:13px;color:var(--text-muted)}
.pc-custom-card-stat-value{color:var(--danger);font-weight:600}
.pc-custom-card-action{flex-shrink:0}

/* 签到 */
.pc-signin-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pc-signin-card{background:var(--bg-card);border-radius:var(--radius-sm);padding:24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
.pc-signin-status-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center}
.pc-signin-info{display:flex;flex-direction:column;align-items:center;gap:12px}
.pc-signin-days{display:flex;align-items:baseline;gap:6px}
.pc-signin-days-num{font-size:48px;font-weight:800;color:var(--primary);line-height:1}
.pc-signin-days-label{font-size:16px;color:var(--text-secondary)}
.pc-signin-reward{text-align:center}
.pc-signin-reward-label{font-size:14px;color:var(--text-muted);margin-bottom:4px}
.pc-signin-reward-amount{font-size:22px;font-weight:700;color:var(--danger)}
.pc-signin-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 48px;border:none;border-radius:var(--radius-sm);background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:all var(--transition)}
.pc-signin-btn:hover{box-shadow:0 4px 12px rgba(245,158,11,0.3)}
.pc-signin-btn:disabled{opacity:0.5;cursor:not-allowed}
.pc-signin-btn.signed{background:var(--border-color);color:var(--text-muted);cursor:default}
.pc-signin-card-title{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:16px}
.pc-signin-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.pc-signin-calendar-header{text-align:center;font-size:13px;color:var(--text-muted);padding:8px 0;font-weight:500}
.pc-signin-calendar-day{text-align:center;padding:10px 0;border-radius:var(--radius-sm);font-size:14px;color:var(--text-secondary)}
.pc-signin-calendar-day.empty{background:transparent}
.pc-signin-calendar-day.today{font-weight:700;color:var(--primary);background:var(--primary-bg)}
.pc-signin-calendar-day.signed{background:var(--success);color:#fff;font-weight:600}
.pc-signin-rules{display:flex;flex-direction:column;gap:8px}
.pc-signin-rule{font-size:14px;color:var(--text-secondary);padding:8px 12px;background:var(--bg-body);border-radius:var(--radius-sm)}

/* 公告 */
.pc-announce-layout{display:flex;flex-direction:column;gap:12px}
.pc-announce-item{display:flex;flex-direction:column;gap:8px;padding:16px 20px;background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);text-decoration:none;transition:all var(--transition)}
.pc-announce-item:hover{box-shadow:var(--shadow-md);border-color:var(--primary-light)}
.pc-announce-item-title{font-size:16px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:8px}
.pc-announce-tag{font-size:11px;background:var(--danger);color:#fff;padding:2px 8px;border-radius:3px;font-weight:600}
.pc-announce-item-preview{font-size:14px;color:var(--text-secondary);line-height:1.5}
.pc-announce-item-time{font-size:12px;color:var(--text-muted)}

/* 游戏详情页 */
.pc-game-page{padding:0}
.pc-game-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border-color);margin-bottom:16px}
.pc-game-topbar-left{display:flex;align-items:center;gap:12px}
.pc-game-back{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--text-secondary);text-decoration:none;transition:color var(--transition)}
.pc-game-back:hover{color:var(--primary)}
.pc-game-name{font-size:18px;font-weight:700;color:var(--text-primary)}
.pc-game-issue{font-size:13px;color:var(--text-muted);margin-left:8px}
.pc-game-topbar-right{text-align:right}
.pc-game-countdown{font-size:20px;font-weight:700;color:var(--danger);font-family:'Courier New',monospace}
.pc-game-tabs{display:flex;gap:0;border-bottom:2px solid var(--border-color);margin-bottom:16px}
.pc-game-tab,.h5-game-tab{padding:10px 24px;font-size:15px;font-weight:500;color:var(--text-secondary);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all var(--transition)}
.pc-game-tab:hover,.h5-game-tab:hover{color:var(--primary)}
.pc-game-tab.active,.h5-game-tab.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}
.pc-game-panel{display:none}
.pc-game-panel.active{display:block}
.pc-game-section{margin-bottom:16px}
.pc-game-categories{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pc-game-cat-item{padding:6px 14px;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-secondary);background:var(--bg-body);border:1px solid var(--border-color);cursor:pointer;transition:all var(--transition)}
.pc-game-cat-item:hover{border-color:var(--primary-light);color:var(--primary)}
.pc-game-cat-item.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.pc-game-content-inner{min-height:100px}
.pc-draw-body{min-height:300px;flex:1;overflow-y:auto}
.pc-draw-footer{display:flex;justify-content:center;gap:12px;padding:16px 0 0;flex-shrink:0}
#panelDraw{display:none;flex-direction:column;height:calc(100vh - 200px)}
#panelDraw.active{display:flex}
.pc-draw-btn{padding:8px 24px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-card);font-size:14px;cursor:pointer;transition:all var(--transition)}
.pc-draw-btn:hover{border-color:var(--primary-light);color:var(--primary)}
.pc-draw-btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.pc-draw-btn-primary:hover{background:var(--primary-dark)}
.pc-bet-latest{background:var(--bg-card);border-radius:var(--radius-md);padding:20px 24px;margin-bottom:20px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);display:flex;align-items:center;overflow-x:auto}
.pc-bet-latest-issue{font-size:15px;color:var(--text-secondary);flex-shrink:0;white-space:nowrap}
.pc-bet-latest-balls{display:flex;gap:10px;flex-wrap:nowrap;align-items:center;margin-left:auto;padding-left:12px}
.pc-bet-ball{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.pc-bet-card{background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-color);margin-bottom:20px;box-shadow:var(--shadow-sm);overflow:hidden}
.pc-bet-play-bar{display:flex;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid var(--border-color);flex-wrap:wrap;background:#f8fafc}
.pc-bet-play-label{font-size:14px;color:var(--text-secondary);font-weight:500;white-space:nowrap}
.pc-bet-play-current{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;font-size:14px;color:var(--text-primary);background:#fff;transition:all var(--transition);min-width:120px;justify-content:space-between}
.pc-bet-play-current:hover{border-color:var(--primary-light)}
.pc-bet-play-intro{font-size:13px;color:var(--primary);cursor:pointer;text-decoration:none;padding:4px 8px;border-radius:4px;transition:background var(--transition)}
.pc-bet-play-intro:hover{background:var(--primary-bg);text-decoration:none}
.pc-bet-prize{font-size:13px;color:var(--text-muted);margin-left:auto;background:#f1f5f9;padding:4px 12px;border-radius:4px}
.pc-bet-prize-amount{color:var(--danger);font-weight:700}
.pc-bet-tool-bar{display:flex;gap:8px;padding:10px 20px;border-bottom:1px solid var(--border-light);background:#fafafa}
.pc-bet-tool-btn{padding:6px 16px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:#fff;font-size:13px;cursor:pointer;transition:all var(--transition);color:var(--text-secondary);font-weight:500}
.pc-bet-tool-btn:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-bg)}
.pc-bet-numbers-area{padding:20px;min-height:240px;background:#fff}
.pc-bet-placeholder{text-align:center;padding:80px 20px;color:var(--text-muted);font-size:15px}
.pc-bet-footer{display:flex;align-items:center;gap:20px;padding:14px 20px;background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-color);flex-wrap:wrap;box-shadow:var(--shadow-sm)}
.pc-bet-footer-left{display:flex;align-items:center;gap:16px}
.pc-bet-cart{position:relative;cursor:pointer;padding:4px;color:#f59e0b}
.pc-bet-cart-badge{position:absolute;top:-8px;right:-8px;background:var(--danger);color:#fff;font-size:11px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;box-shadow:0 2px 4px rgba(239,68,68,0.3)}
.pc-bet-footer-num{font-weight:700;color:var(--danger);font-size:16px}
.pc-bet-footer-multiple{display:flex;align-items:center;gap:8px;margin-left:auto}
.pc-bet-mult-btn{width:32px;height:32px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--transition);color:var(--text-secondary);font-weight:600}
.pc-bet-mult-btn:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-bg)}
.pc-bet-mult-input{width:56px;height:32px;border:1px solid var(--border-color);border-radius:var(--radius-sm);text-align:center;font-size:15px;outline:none;font-weight:600}
.pc-bet-mult-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px rgba(26,86,219,0.08)}
.pc-bet-footer-right{display:flex;gap:10px}
.pc-bet-footer-add{padding:10px 24px;border:none;border-radius:20px;background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all var(--transition)}
.pc-bet-footer-add:hover{box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.pc-bet-footer-go{padding:10px 32px;border:none;border-radius:20px;background:#d1d5db;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all var(--transition);letter-spacing:0.5px}
.pc-bet-footer-go:not(.disabled):not(:disabled){background:linear-gradient(135deg,#60a5fa,#3b82f6)}
.pc-bet-footer-go:hover{box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.pc-bet-footer-go.disabled{opacity:0.7;cursor:not-allowed}
.pc-bet-confirm-tabs{display:flex;border-bottom:1px solid var(--border-color)}
.pc-bet-confirm-tab{padding:12px 20px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;border-bottom:2px solid transparent;transition:all var(--transition)}
.pc-bet-confirm-tab:hover{color:var(--primary)}
.pc-bet-confirm-tab.active{color:var(--primary);border-bottom-color:var(--primary)}
.pc-bet-confirm-body{padding:16px 16px 90px;flex:1;overflow-y:auto}
.pc-bet-confirm-panel{display:none}
.pc-bet-confirm-panel.active{display:block}
.pc-bet-cart-list{display:flex;flex-direction:column;gap:8px}
.pc-bet-cart-item{display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--bg-body);border-radius:var(--radius-sm);font-size:13px}
.pc-bet-cart-item-num{font-weight:600;color:var(--text-primary)}
.pc-bet-cart-item-info{flex:1;color:var(--text-muted)}
.pc-bet-cart-item-amount{font-weight:600;color:var(--danger)}
.pc-bet-cart-item-del{cursor:pointer;color:var(--text-muted);transition:color var(--transition)}
.pc-bet-cart-item-del:hover{color:var(--danger)}
.pc-bet-confirm-empty{text-align:center;padding:30px;color:var(--text-muted);font-size:14px}
.pc-bet-confirm-footer{padding:12px 16px;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:8px;position:absolute;bottom:20px;left:20px;z-index:10}
.pc-bet-confirm-info{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--text-secondary);flex-wrap:wrap}
.pc-bet-confirm-total{font-weight:600;color:var(--text-primary)}
.pc-text-red{color:var(--danger);font-weight:700}
.pc-bet-confirm-actions{display:flex;gap:8px;position:absolute;bottom:20px;right:20px;z-index:10}
.pc-confirm-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;border-bottom:1px solid var(--border-light)}
.pc-confirm-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}
.pc-record-tabs{display:flex;gap:0;background:var(--bg-card);border-bottom:1px solid var(--border-color);margin-bottom:16px;padding:4px 12px 0}
.pc-record-tab,.h5-record-tab{flex:1;text-align:center;padding:10px 0;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;background:none;border:none;border-bottom:2px solid transparent;transition:all var(--transition)}
.pc-record-tab:hover,.h5-record-tab:hover{color:var(--primary)}
.pc-record-tab.active,.h5-record-tab.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}
.pc-records-list{min-height:100px}
.pc-records-item{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);margin-bottom:8px;transition:all var(--transition)}.pc-records-item:hover{box-shadow:var(--shadow-md);border-color:var(--primary-light)}.pc-records-item-left{display:flex;flex-direction:column;gap:4px}.pc-records-item-amount{font-size:15px;font-weight:700;color:var(--text-primary)}.pc-records-item-meta{font-size:12px;color:var(--text-muted)}

/* ====== 数据表格卡片样式（动态渲染表格） ====== */
.pc-table,
.pc-fund-table,
.pc-chase-detail-rounds-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    font-size: 14px;
}
.pc-table thead th,
.pc-fund-table thead th,
.pc-chase-detail-rounds-table thead th {
    background: #f8fafc;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}
.pc-table tbody td,
.pc-fund-table tbody td,
.pc-chase-detail-rounds-table tbody td {
    padding: 12px 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}
.pc-table tbody tr:last-child td,
.pc-fund-table tbody tr:last-child td,
.pc-chase-detail-rounds-table tbody tr:last-child td {
    border-bottom: none;
}
.pc-table tbody tr:hover,
.pc-fund-table tbody tr:hover,
.pc-chase-detail-rounds-table tbody tr:hover {
    background: var(--primary-bg);
}
.pc-table .pc-table-order { color: var(--text-muted); font-size: 13px; }
.pc-table .pc-table-amount { font-weight: 600; }
.pc-table .pc-table-time { color: var(--text-muted); font-size: 13px; }
.pc-table .pc-table-status { font-weight: 500; font-size: 13px; }
.pc-fund-type { font-weight: 600; font-size: 13px; }
.pc-fund-desc { color: var(--text-secondary); font-size: 13px; }
.pc-fund-amount { font-weight: 700; font-size: 14px; }
.pc-fund-time { color: var(--text-muted); font-size: 13px; }

/* 表格卡片外容器 — 让列表区域也有间距感 */
.pc-table + .pc-table,
#betList .pc-table,
#fundList .pc-table,
#fundList .pc-fund-table {
    margin-top: 0;
}

/* 个人中心模块 */
.pc-modules{display:flex;gap:12px;flex-wrap:wrap}
.pc-module{display:flex;align-items:center;gap:10px;padding:14px 20px;background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);text-decoration:none;transition:all var(--transition);min-width:140px}
.pc-module:hover{box-shadow:var(--shadow-md);border-color:var(--primary-light)}
.pc-module-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pc-module-icon svg{width:20px;height:20px}
.pc-module span{font-size:14px;font-weight:500;color:var(--text-secondary)}

/* ====== 投注选号区域（复用H5选号组件） ====== */
.h5-bet-position{background:#fff;border:1px solid var(--border-color);border-radius:14px;overflow:hidden;margin-bottom:12px;box-shadow:0 1px 6px rgba(0,0,0,0.03)}
.h5-bet-position:last-child{margin-bottom:0}
.h5-bet-pos-header{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--border-light);background:#fafbfc}
.h5-bet-pos-label{font-size:14px;font-weight:600;color:var(--primary);background:var(--primary-bg);padding:4px 14px;border-radius:14px;white-space:nowrap}
.h5-bet-pos-quick{display:flex;gap:4px;margin-left:auto}
.h5-bet-pos-qbtn{display:inline-flex;align-items:center;justify-content:center;height:26px;min-width:26px;padding:0 6px;border:1px solid var(--border-color);border-radius:4px;background:#fff;font-size:11px;color:var(--text-secondary);cursor:pointer;transition:all var(--transition);line-height:1}
.h5-bet-pos-qbtn:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-bg)}
.h5-bet-pos-qbtn.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.h5-bet-pos-nums{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:8px 12px 6px;justify-items:center}
.h5-bet-num-wrap{display:flex;flex-direction:column;align-items:center;padding:4px 0;cursor:pointer;user-select:none}
.h5-bet-num{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--border-color);background:#fff;color:var(--text-primary);font-size:14px;font-weight:600;cursor:pointer;transition:all var(--transition);display:inline-flex;align-items:center;justify-content:center;line-height:1}
.h5-bet-num:active{transform:scale(0.92)}
.h5-bet-num.selected{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.h5-bet-num.disabled{cursor:pointer;background:#f8fafc;color:var(--text-primary);border-color:var(--border-color);border-style:dashed}
.h5-bet-num.selected.disabled{cursor:pointer;background:var(--primary);color:#fff;border-color:var(--primary);border-style:solid;box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.h5-bet-num.disabled:active{transform:none}
.h5-bet-sx-btn.disabled{opacity:.4;cursor:not-allowed}
.h5-bet-num.lhc-color-red{border-color:#ef4444;color:#ef4444}
.h5-bet-num.lhc-color-green{border-color:#22c55e;color:#22c55e}
.h5-bet-num.lhc-color-blue{border-color:#3b82f6;color:#3b82f6}
.h5-bet-num.lhc-color-red.selected{background:#ef4444;color:#fff;border-color:#ef4444}
.h5-bet-num.lhc-color-green.selected{background:#22c55e;color:#fff;border-color:#22c55e}
.h5-bet-num.lhc-color-blue.selected{background:#3b82f6;color:#fff;border-color:#3b82f6}
.h5-bet-num-miss{font-size:11px;color:var(--text-muted);line-height:1;margin-top:2px;min-height:15px}
.h5-bet-num-miss.hot{color:#ef4444;font-weight:600}
.h5-bet-num-miss.cold{color:#2563eb;font-weight:600}
.h5-bet-selected{margin-top:8px;font-size:12px;color:var(--text-muted)}
.h5-bet-lm-btn{width:64px;height:48px;border:1.5px solid var(--border-color);border-radius:8px;background:#fff;color:var(--text-primary);font-size:14px;font-weight:600;cursor:pointer;transition:all var(--transition);display:flex;align-items:center;justify-content:center}
.h5-bet-lm-btn:active{transform:scale(0.95)}
.h5-bet-lm-btn.selected{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.h5-bet-sx-btn{width:80px;min-height:56px;border:1.5px solid var(--border-color);border-radius:8px;background:#fff;color:var(--text-primary);font-size:13px;font-weight:500;cursor:pointer;transition:all var(--transition);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px}
.h5-bet-sx-btn:active{transform:scale(0.95)}
.h5-bet-sx-btn.selected{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.h5-bet-sx-nums{font-size:10px;color:#999;margin-top:3px}
.h5-bet-sx-odds{font-size:10px;color:#e74c3c;margin-top:2px}
.h5-bet-pos-nums.lhc-sx-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px 14px}
/* 底部弹窗（左右分栏）- 与h5端一致供game.js使用 */
.h5-bs-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.h5-bs-overlay.show {
  opacity: 1; visibility: visible;
}
.h5-bs-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-height: 75vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  display: flex; flex-direction: column;
}
.h5-bs-sheet.show {
  transform: translateY(0);
}
.h5-bs-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: #ddd; margin: 8px auto 0;
}
.h5-bs-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px;
  font-size: 17px; font-weight: 600; color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}
.h5-bs-close {
  padding: 4px; color: var(--text-muted); cursor: pointer;
  border-radius: var(--radius-full);
}
.h5-bs-close:active { background: var(--bg-body); }
/* 左右分栏容器 */
.h5-bs-split {
  flex: 1; display: flex; overflow: hidden;
  min-height: 0;
}
/* 左侧分类列表 */
.h5-bs-cats {
  width: 80px; flex-shrink: 0;
  background: #f0f4f8;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}
.h5-bs-cat-item {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 6px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition); user-select: none;
  text-align: center; line-height: 1.3;
}
.h5-bs-cat-item:active { opacity: 0.7; }
.h5-bs-cat-item.active {
  background: #fff; color: var(--primary); font-weight: 600;
  position: relative;
}
.h5-bs-cat-item.active::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; background: var(--primary); border-radius: 0 2px 2px 0;
}
/* 右侧玩法内容 */
.h5-bs-content {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 12px 20px;
  background: #fff;
}
/* 玩法组标题 */
.h5-bs-group-title {
  padding: 14px 4px 8px;
  font-size: 13px; font-weight: 500; color: #8899aa;
}
.h5-bs-plays {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 0 12px;
}
.h5-bs-play-item {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px; font-size: 14px; font-weight: 500;
  border: 1px solid #e8ecf1; border-radius: 12px;
  background: #fff; color: var(--text-primary);
  cursor: pointer; transition: var(--transition);
  user-select: none; text-align: center;
}
.h5-bs-play-item:active { background: var(--primary-bg); border-color: var(--primary); }
.h5-bs-play-item.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}

/* ====== 充值/提现页面 ====== */
.pc-page-container{padding:0}
.pc-page-header{margin-bottom:20px;margin-top:24px}
.pc-page-header h2{font-size:22px;font-weight:700;color:var(--text-primary)}

/* 充值页 */
.pc-deposit-layout{display:flex;flex-direction:column;gap:20px}
.pc-deposit-balance{background:var(--bg-card);border-radius:var(--radius-md);padding:20px 24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px}
.pc-deposit-balance-label{font-size:15px;color:var(--text-secondary)}
.pc-deposit-balance-amount{font-size:24px;font-weight:700;color:var(--danger)}
.pc-deposit-card{background:var(--bg-card);border-radius:var(--radius-md);padding:20px 24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
.pc-deposit-card-title{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:16px}
.pc-deposit-input-wrap{display:flex;align-items:center;border:1px solid var(--border-color);border-radius:var(--radius-sm);overflow:hidden;transition:border-color var(--transition)}
.pc-deposit-input-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px rgba(26,86,219,0.08)}
.pc-deposit-currency{width:48px;text-align:center;font-size:20px;font-weight:700;color:var(--text-primary);background:var(--bg-body);height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pc-deposit-input{flex:1;height:48px;border:none;outline:none;padding:0 16px;font-size:18px;font-weight:600;color:var(--text-primary);background:transparent}
.pc-deposit-input::placeholder{color:var(--text-muted);font-weight:400}
.pc-deposit-tips{font-size:13px;color:var(--text-muted);margin-top:8px}
.pc-deposit-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.pc-deposit-quick-btn{padding:8px 18px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-card);font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all var(--transition)}
.pc-deposit-quick-btn:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-bg)}
.pc-deposit-payment-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.pc-deposit-payment-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;border:2px solid var(--border-color);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition);background:var(--bg-card)}
.pc-deposit-payment-item:hover{border-color:var(--primary-light);background:var(--primary-bg)}
.pc-deposit-payment-item.selected{border-color:var(--primary);background:var(--primary-bg);box-shadow:0 0 0 1px var(--primary)}
.pc-deposit-payment-label{font-size:14px;font-weight:500;color:var(--text-primary);text-align:center;line-height:1.3}
.pc-deposit-submit{display:block;width:100%;padding:14px;border:none;border-radius:var(--radius-sm);background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all var(--transition);letter-spacing:0.5px}
.pc-deposit-submit:hover{box-shadow:0 2px 8px rgba(37,99,235,0.3)}
.pc-deposit-submit:disabled{opacity:0.45;cursor:not-allowed}
.pc-deposit-submit.active{background:linear-gradient(135deg,#f59e0b,#d97706)}


/* 支付信息展示 */
.pc-payment-qrcode{text-align:center;margin-bottom:16px}
.pc-payment-qrcode img{width:180px;height:180px;border:1px solid var(--border-color);border-radius:var(--radius-sm)}
.pc-payment-detail{display:flex;flex-direction:column;gap:0;border:1px solid var(--border-color);border-radius:var(--radius-sm);overflow:hidden}
.pc-payment-row{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border-light)}
.pc-payment-row:last-child{border-bottom:none}
.pc-payment-label{font-size:14px;color:var(--text-muted);width:80px;flex-shrink:0}
.pc-payment-value{flex:1;font-size:14px;font-weight:600;color:var(--text-primary);word-break:break-all;display:flex;align-items:center;gap:8px}
.pc-payment-amount{color:var(--danger);font-size:16px}
.pc-copy-btn{padding:2px 10px;border:1px solid var(--primary);border-radius:4px;background:transparent;color:var(--primary);font-size:12px;cursor:pointer;transition:all var(--transition);flex-shrink:0}
.pc-copy-btn:hover{background:var(--primary);color:#fff}

/* 提现页 */
.pc-withdraw-layout{display:flex;flex-direction:column;gap:20px}
.pc-withdraw-balance{background:var(--bg-card);border-radius:var(--radius-md);padding:20px 24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px}
.pc-withdraw-balance-label{font-size:15px;color:var(--text-secondary)}
.pc-withdraw-balance-amount{font-size:24px;font-weight:700;color:var(--success)}
.pc-withdraw-card{background:var(--bg-card);border-radius:var(--radius-md);padding:20px 24px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
.pc-withdraw-card-title{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:16px}
.pc-withdraw-input-wrap{display:flex;align-items:center;border:1px solid var(--border-color);border-radius:var(--radius-sm);overflow:hidden;transition:border-color var(--transition)}
.pc-withdraw-input-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px rgba(26,86,219,0.08)}
.pc-withdraw-currency{width:48px;text-align:center;font-size:20px;font-weight:700;color:var(--text-primary);background:var(--bg-body);height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pc-withdraw-input{flex:1;height:48px;border:none;outline:none;padding:0 16px;font-size:18px;font-weight:600;color:var(--text-primary);background:transparent}
.pc-withdraw-input::placeholder{color:var(--text-muted);font-weight:400}
.pc-withdraw-tips{font-size:13px;color:var(--text-muted);margin-top:8px}
.pc-withdraw-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.pc-withdraw-quick-btn{padding:8px 18px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-card);font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all var(--transition)}
.pc-withdraw-quick-btn:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-bg)}
.pc-withdraw-payment-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.pc-withdraw-payment-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;border:2px solid var(--border-color);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition);background:var(--bg-card)}
.pc-withdraw-payment-item:hover{border-color:var(--primary-light);background:var(--primary-bg)}
.pc-withdraw-payment-item.selected{border-color:var(--primary);background:var(--primary-bg);box-shadow:0 0 0 1px var(--primary)}
.pc-withdraw-payment-item.disabled{opacity:0.5;cursor:not-allowed}
.pc-withdraw-payment-label{font-size:14px;font-weight:500;color:var(--text-primary);text-align:center;line-height:1.3}
.pc-withdraw-submit{display:block;width:100%;padding:14px;border:none;border-radius:var(--radius-sm);background:linear-gradient(135deg,#059669,#10b981);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all var(--transition);letter-spacing:0.5px}
.pc-withdraw-submit:hover{box-shadow:0 2px 8px rgba(16,185,129,0.3)}
.pc-withdraw-submit:disabled{opacity:0.45;cursor:not-allowed}
.pc-withdraw-submit.active{background:linear-gradient(135deg,#2563eb,#3b82f6)}



.pc-link{color:var(--primary);text-decoration:none;font-size:14px}
.pc-link:hover{text-decoration:underline}

/* ====== PC 端游戏页 - game.js 动态渲染组件样式 ====== */
/* 大厅 - 游戏分类标签 */
.pc-game-page .h5-game-cat-item {
  display: inline-flex; align-items: center; height: 34px;
  padding: 0 18px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: 6px;
  cursor: pointer; transition: all var(--transition);
}
.pc-game-page .h5-game-cat-item:hover {
  border-color: var(--primary-light); color: var(--primary);
}
.pc-game-page .h5-game-cat-item.active {
  color: #fff; background: var(--primary);
  border-color: var(--primary);
}
/* 大厅 - 游戏网格 */
.pc-game-page .h5-game-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
/* 大厅 - 游戏卡片 */
.pc-game-page .h5-game-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; background: var(--bg-card);
  border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  text-decoration: none; transition: all var(--transition);
}
.pc-game-page .h5-game-item:hover {
  box-shadow: var(--shadow-md); border-color: var(--primary-light);
  transform: translateY(-1px);
}
.pc-game-page .h5-game-icon {
  width: 56px; height: 56px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; flex-shrink: 0;
}
.pc-game-page .h5-game-icon-img {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
}
.pc-game-page .h5-game-name {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  text-align: center; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 100%;
}
.pc-game-page .h5-game-loading,
.pc-game-page .h5-game-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted); font-size: 15px;
}

/* 开奖表格 */
.pc-game-page .h5-draw-table {
  width: 100%; background: var(--bg-card);
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  overflow: hidden;
}
.pc-game-page .h5-draw-table-head {
  display: flex; align-items: center;
  padding: 12px 20px; background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px; color: var(--text-secondary);
}
.pc-game-page .h5-draw-th { flex-shrink: 0; }
.pc-game-page .h5-draw-th-issue {
  min-width: 120px; font-size: 14px; font-weight: 600;
  padding-left: 4px;
}
.pc-game-page .h5-draw-th-balls {
  flex: 1; text-align: center; font-size: 14px; font-weight: 600;
}
.pc-game-page .h5-draw-th-zutai {
  width: 60px; text-align: right; font-size: 14px; font-weight: 600;
  padding-right: 4px;
}
.pc-game-page .h5-draw-tr {
  display: flex; align-items: center;
  padding: 10px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 14px; color: var(--text-primary);
}
.pc-game-page .h5-draw-tr:last-child { border-bottom: none; }
.pc-game-page .h5-draw-td { flex-shrink: 0; }
.pc-game-page .h5-draw-td-issue {
  min-width: 120px; font-size: 14px; font-weight: 500;
  padding-left: 4px; white-space: nowrap;
}
.pc-game-page .h5-draw-td-balls {
  display: flex; gap: 8px; flex-wrap: nowrap; align-items: center;
  justify-content: center; flex: 1; min-width: 0;
}
.pc-game-page .h5-draw-ball-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.pc-game-page .h5-draw-ball-sm {
  width: 28px; height: 28px; line-height: 28px; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: #fff; text-align: center;
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.pc-game-page .h5-draw-ball-sm-red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 2px 6px rgba(220,38,38,0.3);
}
.pc-game-page .h5-draw-ball-sm-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 2px 6px rgba(22,163,74,0.3);
}
.pc-game-page .h5-draw-ball-sm-blue {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.pc-game-page .h5-draw-ball-sm-tema {
  width: 34px; height: 34px; line-height: 34px; font-size: 14px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 2px 6px rgba(220,38,38,0.3);
}
.pc-game-page .h5-draw-ball-animal {
  font-size: 10px; color: var(--text-secondary); white-space: nowrap;
}
.pc-game-page .h5-draw-td-zutai {
  width: 60px; text-align: right; padding-right: 4px;
  font-size: 14px; color: var(--text-secondary);
}
.pc-game-page .h5-draw-footer {
  display: flex; gap: 12px; justify-content: center; margin-top: 16px;
}

/* 走势图 */
.pc-game-page .h5-trend-table { width: 100%; overflow-x: auto; }
.pc-game-page .h5-trend-filter {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--bg-body);
  border-radius: var(--radius-sm); margin-bottom: 12px;
}
.pc-game-page .h5-trend-filter-label {
  font-size: 14px; color: var(--text-secondary); white-space: nowrap;
}
.pc-game-page .h5-trend-filter-select {
  padding: 6px 12px; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); font-size: 14px; background: var(--bg-card);
}
.pc-game-page .h5-trend-filter-toggle {
  padding: 4px 12px; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); cursor: pointer; font-size: 13px;
}
.pc-game-page .h5-trend-head {
  display: flex; background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}
.pc-game-page .h5-trend-head-nums {
  top: 28px; z-index: 2;
  border-top: 1px solid var(--border-light);
  border-radius: 0 0 6px 6px;
}
.pc-game-page .h5-trend-th {
  padding: 8px 6px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); text-align: center;
}
.pc-game-page .h5-trend-row {
  display: flex; border-bottom: 1px solid var(--border-light);
}
.pc-game-page .h5-trend-td {
  padding: 6px; font-size: 13px; text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.pc-game-page .h5-trend-ball {
  width: 24px; height: 24px; line-height: 24px; border-radius: 50%;
  font-size: 11px; font-weight: 600; color: #fff; display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.pc-game-page .h5-trend-ball-red { background: #ef4444; }
.pc-game-page .h5-trend-ball-green { background: #22c55e; }
.pc-game-page .h5-trend-ball-blue { background: #3b82f6; }
.pc-game-page .h5-trend-ball-tema {
  width: 28px; height: 28px; line-height: 28px; font-size: 12px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
}
.pc-game-page .h5-trend-dist-hit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary); font-weight: 600;
  font-size: 12px;
}
.pc-game-page .h5-trend-table-wrap {
  overflow-x: auto; max-height: 60vh; overflow-y: auto;
}
/* 走势图布局样式（补充PC端缺失的flex列宽定义） */
.pc-game-page .h5-trend-th-dist-label {
  flex: 5; text-align: center; font-weight: 600;
  font-size: 12px; color: var(--primary);
  letter-spacing: 2px;
  min-width: 200px;
}
.pc-game-page .h5-trend-th-issue { flex: 0.8; min-width: 55px; }
.pc-game-page .h5-trend-th-code { flex: 5; min-width: 0; }
.pc-game-page .h5-trend-th-dist { flex: 0.5; min-width: 20px; }
.pc-game-page .h5-trend-td-issue {
  flex: 0.8; font-weight: 500; color: var(--text-primary);
  font-size: 11px; min-width: 55px;
}
.pc-game-page .h5-trend-td-code { flex: 5; min-width: 0; }
.pc-game-page .h5-trend-td-dist { flex: 0.5; min-width: 20px; }
.pc-game-page .h5-trend-code-balls {
  display: flex; gap: 3px; justify-content: center; align-items: center;
}

/* 记录列表 */
.pc-game-page .h5-records-list { padding: 0; }
.pc-game-page .h5-record-item {
  background: var(--bg-card); border-radius: var(--radius-sm);
  border: 1px solid var(--border-color); padding: 16px 20px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.pc-game-page .h5-record-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.pc-game-page .h5-record-game {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
}
.pc-game-page .h5-record-status {
  font-size: 12px; padding: 3px 12px; border-radius: 10px; font-weight: 500;
}
.pc-game-page .h5-record-win { background: #fef2f2; color: #dc2626; }
.pc-game-page .h5-record-lose { background: #ecfdf5; color: #059669; }
.pc-game-page .h5-record-pending { background: #eff6ff; color: #2563eb; }
.pc-game-page .h5-record-mid {
  display: flex; gap: 16px; font-size: 13px; color: var(--text-muted);
  margin-bottom: 8px;
}
.pc-game-page .h5-record-mid-item {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.pc-game-page .h5-record-mid-item em {
  font-style: normal; color: var(--text-secondary); font-weight: 500;
}
.pc-game-page .h5-record-bottom {
  display: flex; gap: 12px; font-size: 13px; color: var(--text-muted);
  align-items: center;
}
.pc-game-page .h5-record-time { margin-left: auto; font-size: 12px; }

/* ========== PC 合买列表页 — 桌面级设计 ========== */
.pc-game-page .hema-loading,
.pc-game-page .hema-empty {
  text-align: center; padding: 80px 20px;
  color: var(--text-muted); font-size: 15px;
}
.pc-game-page .custom-level-tag {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 3px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  background: linear-gradient(135deg, #F0C060, #D4AF37);
  color: #fff;
}

/* 列表容器 */
.pc-game-page .hema-list-container { padding: 0; }
.pc-game-page .pc-hema-page { width: 100%; }

/* ====== 合买卡片 — PC 桌面级（截图样式） ====== */
.pc-game-page .hema-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 20px 24px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pc-game-page .hema-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* 主行：游戏名 + 右侧标签 */
.pc-game-page .hema-card-main {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pc-game-page .hema-card-game {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.pc-game-page .hema-card-tags {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px;
}
.pc-game-page .hema-tag-percent {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  font-size: 13px; font-weight: 600; border-radius: var(--radius-sm);
}
.pc-game-page .hema-status-tag {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px;
  font-size: 13px; font-weight: 600; border-radius: var(--radius-sm);
}
.pc-game-page .hema-status-tag.open { background: #E6F7F0; color: #059669; }
.pc-game-page .hema-status-tag.full { background: #FEF2F2; color: #DC2626; }
.pc-game-page .hema-status-tag.drawing { background: #FFF8E6; color: #D97706; }
.pc-game-page .hema-status-tag.won { background: #FEF2F2; color: #DC2626; }
.pc-game-page .hema-status-tag.lost { background: #F3F4F6; color: #6B7280; }
.pc-game-page .hema-tag-won {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px;
  background: #FEF2F2; color: #DC2626;
  font-size: 13px; font-weight: 600; border-radius: var(--radius-sm);
}


/* 中间行：圆形进度环 + 发起人 + 购买按钮 同一行 */
.hema-mid-row,
.pc-game-page .hema-mid-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.pc-game-page .hema-card-progress-ring {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pc-game-page .hema-card-creator {
  display: flex; align-items: center; gap: 6px;
  flex: 1; min-width: 0;
}
.pc-game-page .hema-card-creator svg {
  width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0;
}
.pc-game-page .hema-card-creator-label {
  font-size: 13px; color: var(--text-muted);
}
.pc-game-page .hema-card-creator-name {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
}
/* 等级标签已定义于上方，按 data-lv 属性区分颜色 */
.pc-game-page .hema-vip-badge {
  display: inline-block; font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  padding: 2px 7px; border-radius: 3px;
}


/* 购买按钮 */
.pc-game-page .hema-buy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff;
  text-decoration: none; padding: 8px 20px; border-radius: 6px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
  transition: all 0.2s;
  line-height: 1.4; flex-shrink: 0;
}
.pc-game-page .hema-buy-btn:hover {
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}
.pc-game-page .hema-buy-btn svg { flex-shrink: 0; }

/* 底部数据行 */
.pc-game-page .hema-card-stats {
  display: flex; gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.pc-game-page .hema-card-stat {
  flex: 1; text-align: center; min-width: 0;
}
.pc-game-page .hema-card-stat-label {
  font-size: 12px; color: var(--text-muted); margin-bottom: 2px;
}
.pc-game-page .hema-card-stat-value {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
}

.pc-game-page .hema-buy-btn.disabled {
  background: #F3F4F6 !important; color: #9CA3AF !important;
  border-color: #E5E7EB !important; cursor: not-allowed; pointer-events: none;
}

/* 空状态 */
.pc-game-page .hema-table-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted); font-size: 15px;
}

/* ====== PC 游戏选择弹窗（居中模态，不是底部弹出） ====== */
.pc-hema-game-modal {
  display: none; position: fixed; inset: 0;
  z-index: 1050; align-items: center; justify-content: center;
}
.pc-hema-game-modal.show { display: flex; }
.pc-hema-game-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.45);
}
.pc-hema-game-modal-box {
  position: relative; z-index: 1;
  background: var(--bg-card); border-radius: var(--radius-md);
  width: 640px; max-width: 92vw; max-height: 70vh;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  animation: pcModalIn 0.18s ease;
}
@keyframes pcModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.pc-hema-game-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.pc-hema-game-modal-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
}
.pc-hema-game-modal-close {
  width: 32px; height: 32px; border: none; background: transparent;
  border-radius: var(--radius-sm); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 20px; transition: all 0.15s;
}
.pc-hema-game-modal-close:hover { background: var(--border-light); color: var(--text-primary); }

.pc-hema-game-modal-body {
  flex: 1; overflow: hidden; display: flex; min-height: 0;
}
.pc-hema-game-modal-cats {
  width: 130px; flex-shrink: 0;
  background: #f8fafc; overflow-y: auto;
  border-right: 1px solid var(--border-light);
  padding: 4px 0;
}
.pc-hema-game-modal-cat {
  padding: 12px 16px; font-size: 13px; color: var(--text-secondary);
  cursor: pointer; transition: all 0.12s;
  border-left: 3px solid transparent;
}
.pc-hema-game-modal-cat:hover {
  background: #fff; color: var(--primary);
}
.pc-hema-game-modal-cat.active {
  background: #fff; color: var(--primary); font-weight: 600;
  border-left-color: var(--primary);
}
.pc-hema-game-modal-items {
  flex: 1; overflow-y: auto; padding: 12px 16px;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px;
}
.pc-hema-game-modal-item {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text-secondary);
  cursor: pointer; transition: all 0.12s;
  white-space: nowrap;
}
.pc-hema-game-modal-item:hover {
  border-color: var(--primary-light); color: var(--primary);
  background: var(--primary-bg);
}
.pc-hema-game-modal-item.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}


/* 投注底部弹窗（玩法选择） */
.pc-game-page .h5-bs-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.pc-game-page .h5-bs-overlay.show { opacity: 1; visibility: visible; }
.pc-game-page .h5-bs-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-height: 75vh; background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  display: flex; flex-direction: column;
}
.pc-game-page .h5-bs-sheet.show { transform: translateY(0); }
.pc-game-page .h5-bs-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: #ddd; margin: 8px auto 0;
}
.pc-game-page .h5-bs-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px;
  font-size: 17px; font-weight: 600; color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}
.pc-game-page .h5-bs-close {
  padding: 4px; color: var(--text-muted); cursor: pointer;
}
.pc-game-page .h5-bs-split {
  flex: 1; display: flex; overflow: hidden; min-height: 0;
}
.pc-game-page .h5-bs-cats {
  width: 100px; flex-shrink: 0;
  background: #fff; overflow-y: auto; padding: 8px 0;
}
.pc-game-page .h5-bs-cat-item {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 6px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; text-align: center;
  line-height: 1.3; transition: all var(--transition);
}
.pc-game-page .h5-bs-cat-item.active {
  background: #fff; color: var(--primary); font-weight: 600;
  position: relative;
}
.pc-game-page .h5-bs-cat-item.active::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; background: var(--primary); border-radius: 0 2px 2px 0;
}
.pc-game-page .h5-bs-content {
  flex: 1; overflow-y: auto; padding: 4px 16px 20px; background: #fff;
}
.pc-game-page .h5-bs-group-title {
  padding: 14px 4px 8px;
  font-size: 13px; font-weight: 500; color: #8899aa;
}
.pc-game-page .h5-bs-plays {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 0 0 12px;
}
.pc-game-page .h5-bs-play-item {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border-color); border-radius: 12px;
  background: #fff; color: var(--text-primary);
  cursor: pointer; transition: all var(--transition); text-align: center;
}
.pc-game-page .h5-bs-play-item:hover {
  background: var(--primary-bg); border-color: var(--primary);
}
.pc-game-page .h5-bs-play-item.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* 投注确认弹窗 */
.pc-game-page .h5-bet-confirm-tabs {
  display: flex; border-bottom: 1px solid var(--border-color);
}
.pc-game-page .h5-bet-confirm-tab {
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.pc-game-page .h5-bet-confirm-tab:hover { color: var(--primary); }
.pc-game-page .h5-bet-confirm-tab.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.pc-game-page .h5-bet-confirm-body { padding: 16px; max-height: 300px; overflow-y: auto; }
.pc-game-page .h5-bet-confirm-panel { display: none; }
.pc-game-page .h5-bet-confirm-panel.active { display: block; }

/* 最新开奖号码球 */
.pc-game-page .h5-bet-latest-ball {
  width: 36px; height: 36px; line-height: 36px; border-radius: 50%;
  font-size: 15px; font-weight: 700; color: #fff; text-align: center;
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.pc-game-page .h5-bet-latest-ball-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.pc-game-page .h5-bet-latest-ball-animal {
  font-size: 10px; color: var(--text-secondary); white-space: nowrap;
}
.pc-game-page .h5-bet-latest-ball-red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 2px 6px rgba(220,38,38,0.3);
}
.pc-game-page .h5-bet-latest-ball-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 2px 6px rgba(22,163,74,0.3);
}
.pc-game-page .h5-bet-latest-ball-blue {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.pc-game-page .h5-bet-latest-ball-tema {
  width: 42px; height: 42px; line-height: 42px; font-size: 16px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 2px 6px rgba(220,38,38,0.3);
}

/* 投注底部栏（PC端不固定） */
.pc-game-page .h5-bet-footer {
  position: static; background: var(--bg-card);
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  padding: 14px 20px; margin-top: 16px;
}

/* 选号区域占位提示 */
.pc-game-page .h5-bet-placeholder {
  text-align: center; padding: 80px 20px;
  color: var(--text-muted); font-size: 15px;
}

/* 生肖选号标签/赔率 */
.pc-game-page .h5-bet-sx-label {
  font-size: 13px; font-weight: 500; color: var(--text-primary);
}
.pc-game-page .h5-bet-lm-label {
  font-size: 13px; font-weight: 500; color: var(--text-primary);
}
.pc-game-page .h5-bet-lm-odds {
  font-size: 11px; color: #e74c3c; margin-top: 2px;
}

/* 确认弹窗空提示 */
.pc-game-page .h5-bet-confirm-empty-tip {
  text-align: center; padding: 30px;
  color: var(--text-muted); font-size: 14px;
}

/* 投注确认弹窗 - 购物车列表样式 */
.pc-game-page .h5-bet-cart-list { padding: 12px; }
.pc-game-page .h5-bet-cart-item {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border-color); padding: 14px;
  margin-bottom: 10px;
}
.pc-game-page .h5-bet-cart-item-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.pc-game-page .h5-bet-cart-item-name {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
}
.pc-game-page .h5-bet-cart-item-delete {
  color: var(--danger); cursor: pointer; padding: 4px;
}
.pc-game-page .h5-bet-cart-item-selections {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 10px; line-height: 1.6;
  word-break: break-all;
}
.pc-game-page .h5-bet-cart-item-info {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--text-secondary);
}
.pc-game-page .h5-bet-cart-item-info .label { color: var(--text-muted); }
.pc-game-page .h5-bet-cart-item-info .amount { color: var(--danger); font-weight: 600; }
.pc-game-page .h5-bet-cart-item-multiple {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
}
.pc-game-page .h5-bet-cart-empty {
  text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 14px;
}
/* 倍数调整器 */
.pc-game-page .h5-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border-color); border-radius: 4px;
  overflow: hidden; gap: 0;
}
.pc-game-page .h5-stepper-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; border: none; color: var(--text-secondary);
  font-size: 16px; cursor: pointer; flex-shrink: 0; padding: 0;
  line-height: 1;
}
.pc-game-page .h5-stepper-btn:active { background: #e5e7eb; }
.pc-game-page .h5-stepper-val {
  width: auto; min-width: 60px; max-width: 140px; height: 32px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--danger);
  border: none; outline: none; padding: 0 6px;
}

/* ====== 合买设置弹窗 ====== */
.pc-game-page .hema-settings {
  padding: 16px 20px;
}
.pc-game-page .hema-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
}
.pc-game-page .hema-row:last-child { border-bottom: none; }
.pc-game-page .hema-row-label {
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  min-width: 80px; flex-shrink: 0;
}
.pc-game-page .hema-row-hint {
  font-size: 12px; color: var(--text-muted); margin-top: 4px;
}
.pc-game-page .hema-option-group {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pc-game-page .hema-option-btn {
  padding: 6px 16px; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); background: var(--bg-card);
  font-size: 13px; color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition);
}
.pc-game-page .hema-option-btn:hover {
  border-color: var(--primary-light); color: var(--primary);
  background: var(--primary-bg);
}
.pc-game-page .hema-option-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.pc-game-page .hema-checkbox-row {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
}
.pc-game-page .hema-checkbox-text {
  font-size: 13px; color: var(--text-secondary);
}

/* ====== PC 合买详情弹窗（居中模态） ====== */
.pc-game-page .hema-detail-body { padding: 0; }
.pc-game-page .hema-detail-body .hema-loading,
.pc-game-page .hema-detail-body .hema-empty {
  padding: 60px 20px; text-align: center; color: var(--text-muted); font-size: 15px;
}

/* ====== PC 合买详情页（独立页面 — 桌面级布局） ====== */
.pc-game-page .pc-hema-detail-page {
  width: 100%; min-height: 50vh;
}
.pc-game-page .hema-detail-loading {
  text-align: center; padding: 80px 20px;
  color: var(--text-muted); font-size: 15px;
}

/* 顶部概览卡片 — 两栏布局 */
.pc-game-page .hema-detail-overview {
  display: flex; gap: 20px; margin-bottom: 20px;
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.pc-game-page .hema-detail-overview-left {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pc-game-page .hema-detail-progress-ring { width: 80px; height: 80px; }
.pc-game-page .hema-detail-overview-right {
  flex: 1; min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  align-content: start;
}
.pc-game-page .hema-detail-overview-item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; padding: 5px 0;
}
.pc-game-page .hema-detail-overview-label {
  color: var(--text-muted); flex-shrink: 0;
}
.pc-game-page .hema-detail-overview-value {
  color: var(--text-primary); font-weight: 500;
}
.pc-game-page .hema-detail-overview-value.red { color: var(--danger); }

/* 开奖号码展示 */
.pc-game-page .hema-detail-draw-balls {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.pc-game-page .hema-detail-ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(220,38,38,0.2);
}

/* 详细信息区 */
.pc-game-page .hema-detail-section {
  background: var(--bg-card); margin-bottom: 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.pc-game-page .hema-detail-section-title {
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  padding: 14px 20px; background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}
.pc-game-page .hema-detail-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px;
  padding: 8px 20px;
}
.pc-game-page .hema-detail-info-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.pc-game-page .hema-detail-info-item:nth-last-child(1),
.pc-game-page .hema-detail-info-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}
.pc-game-page .hema-detail-info-label { color: var(--text-muted); }
.pc-game-page .hema-detail-info-value { color: var(--text-primary); font-weight: 500; }
.pc-game-page .hema-detail-info-value.red { color: var(--danger); }
.pc-game-page .hema-detail-info-value.green { color: var(--success); }
.pc-game-page .hema-detail-info-value.blue { color: var(--primary); }
.pc-game-page .hema-detail-info-value.orange { color: #D97706; }
.pc-game-page .hema-detail-info-value.gray { color: var(--text-muted); }

/* 折叠面板 */
.pc-game-page .hema-detail-collapse {
  background: var(--bg-card); margin-bottom: 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.pc-game-page .hema-detail-collapse-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; font-size: 15px; font-weight: 600;
  color: var(--text-primary); cursor: pointer; user-select: none;
  background: #f8fafc;
}
.pc-game-page .hema-detail-collapse-header:hover { background: #f1f5f9; }
.pc-game-page .hema-detail-collapse-icon {
  transition: transform 0.2s; color: var(--text-muted);
  width: 18px; height: 18px;
}
.pc-game-page .hema-detail-collapse.collapsed .hema-detail-collapse-body {
  display: none;
}
.pc-game-page .hema-detail-collapse.collapsed .hema-detail-collapse-icon {
  transform: rotate(-90deg);
}
.pc-game-page .hema-detail-collapse-body {
  padding: 0 20px 16px;
}

/* 投注项 */
.pc-game-page .hema-detail-bet-item {
  background: var(--bg-body); border-radius: 6px;
  padding: 16px; margin-bottom: 10px;
  border: 1px solid var(--border-light);
}
.pc-game-page .hema-detail-bet-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 6px;
}
.pc-game-page .hema-detail-bet-title .hema-detail-bet-info {
  font-size: 13px; font-weight: 400; color: var(--text-muted); margin-bottom: 0;
}
.pc-game-page .hema-detail-bet-info {
  font-size: 13px; color: var(--text-muted); margin-bottom: 10px;
}
.pc-game-page .hema-detail-bet-nums {
  display: flex; flex-wrap: wrap; gap: 8px;
}
/* 号码球 */
.pc-game-page .hema-detail-num-ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 14px; font-weight: 700;
}
.pc-game-page .hema-detail-num-ball-hit {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: #fff; box-shadow: 0 2px 6px rgba(220,38,38,0.25);
}
.pc-game-page .hema-detail-num-ball-miss {
  background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1;
}
.pc-game-page .hema-detail-bet-text {
  padding: 10px 14px; background: #fff; border-radius: 6px;
  font-size: 14px; color: #475569; line-height: 1.6;
  word-break: break-all; border: 1px solid var(--border-light);
}
/* 位置投注 */
.pc-game-page .hema-detail-bet-pos-wrap {
  display: flex; flex-direction: column; gap: 6px;
}
.pc-game-page .hema-detail-bet-pos {
  display: flex; align-items: center; gap: 8px;
}
.pc-game-page .hema-detail-bet-pos-label {
  font-size: 13px; color: var(--text-muted); white-space: nowrap;
  min-width: 36px; text-align: right;
}
.pc-game-page .hema-detail-bet-pos-nums {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pc-game-page .hema-detail-empty-item {
  text-align: center; padding: 30px; color: var(--text-muted); font-size: 14px;
}
/* 表格 */
.pc-game-page .hema-detail-table-wrap { overflow-x: auto; }
.pc-game-page .hema-detail-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.pc-game-page .hema-detail-table th {
  background: #f8fafc; color: var(--text-muted); font-weight: 500;
  padding: 10px 12px; text-align: center; white-space: nowrap;
  border-bottom: 2px solid var(--border-light);
}
.pc-game-page .hema-detail-table td {
  padding: 10px 12px; text-align: center; color: var(--text-primary);
  border-bottom: 1px solid var(--border-light); white-space: nowrap;
}
.pc-game-page .hema-detail-table td.red { color: var(--danger); font-weight: 600; }
.pc-game-page .hema-detail-table td.gray { color: var(--text-muted); }
.pc-game-page .hema-detail-table-tag {
  display: inline-block; padding: 2px 10px; border-radius: 4px;
  background: #f1f5f9; color: var(--text-muted); font-size: 12px;
}
.pc-game-page .hema-detail-table-tag-won {
  background: #FEF2F2; color: #DC2626; font-weight: 600;
}
.pc-game-page .hema-detail-table-tag-open {
  background: #FEF2F2; color: #DC2626; font-weight: 600;
}

/* PC 底部购买操作栏 */
.pc-game-page .pc-hema-detail-footer {
  position: sticky; bottom: 0; z-index: 50;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex; align-items: center; gap: 20px;
  padding: 14px 24px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
  margin: 0 -24px;
  flex-wrap: wrap;
}
.pc-game-page .pc-hema-detail-footer-info {
  font-size: 15px; color: var(--text-primary);
}
.pc-game-page .pc-hema-detail-footer-info .red {
  color: var(--danger); font-weight: 700; font-size: 18px;
}
.pc-game-page .pc-hema-detail-footer-input {
  display: flex; align-items: center; gap: 8px;
}
.pc-game-page .hema-detail-foot-btn {
  width: 34px; height: 34px; border-radius: 4px;
  border: 1px solid var(--border-color); background: var(--bg-card);
  color: var(--text-primary); font-size: 16px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.12s;
}
.pc-game-page .hema-detail-foot-btn:hover { background: var(--border-light); }
.pc-game-page .pc-hema-detail-footer-input input {
  width: 72px; height: 34px; text-align: center;
  border: 1px solid var(--border-color); border-radius: 4px;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  outline: none;
}
.pc-game-page .pc-hema-detail-footer-input input:focus {
  border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,86,219,0.12);
}
.pc-game-page .pc-hema-detail-footer-actions {
  display: flex; gap: 10px; margin-left: auto;
}
.pc-game-page .hema-detail-foot-all {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 22px;
  background: #fff; color: #7C3AED; font-size: 14px; font-weight: 600;
  border-radius: 4px; text-decoration: none;
  border: 1px solid #C4B5FD;
  transition: all 0.15s;
}
.pc-game-page .hema-detail-foot-all:hover {
  background: #F5F3FF; border-color: #7C3AED;
}
.pc-game-page .hema-detail-foot-buy {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 14px; font-weight: 600;
  border-radius: 4px; text-decoration: none;
  box-shadow: 0 2px 6px rgba(26,86,219,0.25);
  transition: all 0.15s;
}
.pc-game-page .hema-detail-foot-buy:hover {
  box-shadow: 0 3px 12px rgba(26,86,219,0.4);
  transform: translateY(-1px);
}
.hema-detail-again-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 40px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 8px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(239,68,68,0.25);
  transition: all 0.15s;
}
.hema-detail-again-btn:hover {
  box-shadow: 0 4px 14px rgba(239,68,68,0.4);
  transform: translateY(-1px);
}
/* ====== 追号设置面板样式 ====== */
.pc-game-page .h5-chase-settings {
  padding: 12px 16px;
}
.pc-game-page .h5-chase-stop {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; font-size: 14px; color: var(--text-primary);
  border-bottom: 1px solid var(--border-light); margin-bottom: 4px;
}
.pc-game-page .h5-chase-stop input[type="checkbox"] {
  width: 16px; height: 16px; cursor: pointer;
}
.pc-game-page .h5-chase-stop span {
  cursor: pointer; user-select: none;
}
.pc-game-page .h5-chase-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
}
.pc-game-page .h5-chase-row:last-child { border-bottom: none; }
.pc-game-page .h5-chase-row-label {
  font-size: 13px; color: var(--text-secondary); white-space: nowrap;
  flex-shrink: 0;
}
.pc-game-page .h5-chase-row-val {
  font-size: 13px; color: var(--text-muted); white-space: nowrap;
}
.pc-game-page .h5-chase-toggle {
  display: inline-flex; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border-color);
}
.pc-game-page .h5-chase-toggle-btn {
  padding: 6px 16px; border: none; background: var(--bg-card);
  font-size: 13px; color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition);
}
.pc-game-page .h5-chase-toggle-btn.active {
  background: var(--primary); color: #fff;
}
.pc-game-page .h5-chase-table {
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  overflow: hidden; margin-top: 8px;
}
.pc-game-page .h5-chase-table-head {
  display: flex; background: #f8fafc;
  border-bottom: 1px solid var(--border-color); font-size: 13px;
  font-weight: 600; color: var(--text-secondary);
}
.pc-game-page .h5-chase-col-check {
  width: 36px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; padding: 8px 4px;
}
.pc-game-page .h5-chase-col-issue {
  width: 90px; flex-shrink: 0; padding: 8px 6px; font-size: 13px;
  min-width: 0;
}
.pc-game-page .h5-chase-col-multi {
  flex: 1; padding: 8px 6px;
  display: flex; align-items: center; gap: 4px; font-size: 13px;
}
.pc-game-page .h5-chase-col-amount {
  width: 90px; flex-shrink: 0; padding: 8px 6px;
  text-align: right; font-size: 13px;
}
.pc-game-page .h5-chase-table-body { }
.pc-game-page .h5-chase-table-row {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border-light); font-size: 13px;
}
.pc-game-page .h5-chase-table-row:last-child { border-bottom: none; }
.pc-game-page .h5-chase-table-row .h5-chase-col-check {
  padding: 6px 4px;
}
.pc-game-page .h5-chase-table-row .h5-chase-col-issue {
  padding: 6px; color: var(--text-primary);
}
.pc-game-page .h5-chase-current {
  color: var(--danger); font-weight: 600;
}
.pc-game-page .h5-chase-current small {
  font-size: 11px; color: var(--text-muted); font-weight: 400;
}
.pc-game-page .h5-chase-table-row .h5-chase-col-multi {
  padding: 6px;
}
.pc-game-page .h5-chase-table-row .h5-chase-col-amount {
  padding: 6px; color: var(--danger); font-weight: 600;
}
.pc-game-page .chase-issue-check {
  width: 15px; height: 15px; cursor: pointer;
}
.pc-game-page .chase-mul-minus,
.pc-game-page .chase-mul-plus {
  width: 22px; height: 22px; display: flex; align-items: center;
  justify-content: center; background: #f3f4f6; border: none;
  color: var(--text-secondary); font-size: 12px; cursor: pointer;
  flex-shrink: 0; padding: 0; line-height: 1;
}
.pc-game-page .chase-mul-minus:active,
.pc-game-page .chase-mul-plus:active { background: #e5e7eb; }

/* ====== 合买面板红色金额 ====== */
.pc-game-page .red {
  color: var(--danger); font-weight: 600;
}

/* ====== PC 条款页 ====== */
.pc-terms-page {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg-body);
}
.pc-terms-card {
  flex: 1; background: var(--bg-card);
  border-radius: var(--radius-lg); border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  max-width: 720px; margin: 40px auto; width: 100%;
  min-height: 0;
}
.pc-terms-header {
  padding: 24px 28px 16px; text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.pc-terms-header h1 {
  font-size: 22px; font-weight: 700; color: var(--text-primary);
}
.pc-terms-header p {
  font-size: 13px; color: var(--text-muted); margin-top: 6px;
}
.pc-terms-body {
  flex: 1; padding: 20px 28px; overflow-y: auto;
  font-size: 14px; line-height: 1.8; color: var(--text-secondary);
}
.pc-terms-body h2 {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  margin: 20px 0 8px;
}
.pc-terms-body h2:first-child { margin-top: 0; }
.pc-terms-body p { margin-bottom: 10px; }
.pc-terms-bottom {
  display: flex; gap: 16px; padding: 16px 28px 24px;
  border-top: 1px solid var(--border-light);
  justify-content: center;
}
.terms-btn {
  height: 44px; padding: 0 40px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--transition);
}
.terms-btn-disagree {
  background: var(--bg-card); color: var(--text-muted);
}
.terms-btn-disagree:hover {
  border-color: var(--danger); color: var(--danger);
}
.terms-btn-agree {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26,86,219,0.25);
}
.terms-btn-agree:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.35);
}
.terms-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.pc-loading {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: pcSpin 0.6s linear infinite;
}
@keyframes pcSpin { to { transform: rotate(360deg); } }

/* ====== PC 聊天室 - 对话页面 ====== */
.pc-chat-room-page {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--topbar-height));
  background: var(--bg-card); width: 100%; overflow: hidden;
  margin: 0 -24px -32px -24px;
  width: calc(100% + 48px);
}
.pc-chat-room-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--bg-card);
  border-bottom: 1px solid var(--border-color); flex-shrink: 0;
}
.pc-chat-room-back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  color: var(--text-secondary); transition: all var(--transition);
}
.pc-chat-room-back:hover { background: var(--primary-bg); color: var(--primary); }
.pc-chat-room-title {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
}
/* 消息列表区域 */
.pc-chat-room-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg-body);
}
.pc-chat-room-messages::-webkit-scrollbar { width: 6px; }
.pc-chat-room-messages::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
.pc-chat-room-messages::-webkit-scrollbar-track { background: transparent; }
/* 时间分割线 */
.pc-chat-time-divider {
  text-align: center; font-size: 12px; color: var(--text-muted);
  padding: 16px 0 10px; position: relative;
}
.pc-chat-time-divider::before,
.pc-chat-time-divider::after {
  content: ''; position: absolute; top: 50%; width: 30%;
  height: 1px; background: var(--border-light);
}
.pc-chat-time-divider::before { left: 0; }
.pc-chat-time-divider::after { right: 0; }
/* 消息容器 */
.pc-chat-msg {
  display: flex; gap: 10px; max-width: 80%; align-items: flex-start;
}
.pc-chat-msg-self { flex-direction: row-reverse; align-self: flex-end; }
.pc-chat-msg-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--primary), #6366f1);
}
.pc-chat-msg-self .pc-chat-msg-avatar {
  background: linear-gradient(135deg, #10b981, #059669);
}
.pc-chat-msg-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-chat-msg-self .pc-chat-msg-body { align-items: flex-end; }
.pc-chat-msg-username {
  font-size: 12px; color: var(--text-muted); padding: 0 4px;
}
.pc-chat-msg-bubble {
  padding: 10px 16px; border-radius: 4px 12px 12px 12px;
  background: var(--bg-card); color: var(--text-primary);
  font-size: 14px; line-height: 1.6; word-break: break-word;
  border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
}
.pc-chat-msg-self .pc-chat-msg-bubble {
  border-radius: 12px 4px 12px 12px;
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.pc-chat-msg-time {
  font-size: 11px; color: var(--text-muted); padding: 0 4px;
}
/* 红包卡片 */
.pc-chat-redpacket-card {
  min-width: 160px; cursor: pointer; padding: 4px 0;
}
.pc-chat-redpacket-card-title {
  font-size: 14px; font-weight: 600; margin-bottom: 6px;
}
.pc-chat-redpacket-card-status {
  font-size: 12px; opacity: 0.8;
}
.pc-chat-msg-self .pc-chat-redpacket-card-title,
.pc-chat-msg-self .pc-chat-redpacket-card-status { color: #fff; }
/* 合买/投注分享卡片 */
.pc-chat-hema-share-card {
  min-width: 140px; cursor: pointer; padding: 4px 0;
}
.pc-chat-hema-share-card-title {
  font-size: 13px; font-weight: 600; margin-bottom: 4px;
}
.pc-chat-hema-share-card-info {
  font-size: 12px; opacity: 0.85;
}
/* 底部输入栏 */
.pc-chat-room-input-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 20px; background: var(--bg-card);
  border-top: 1px solid var(--border-color); flex-shrink: 0;
  position: relative;
}
.pc-chat-room-emoji-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  color: var(--text-muted); transition: all var(--transition);
  flex-shrink: 0; background: transparent; border: none;
}
.pc-chat-room-emoji-btn:hover { background: var(--primary-bg); color: var(--primary); }
.pc-chat-room-input {
  flex: 1; height: 38px; padding: 0 14px;
  border: 1px solid var(--border-color); border-radius: 8px;
  font-size: 14px; color: var(--text-primary);
  background: var(--bg-body); outline: none;
  transition: border-color var(--transition);
}
.pc-chat-room-input:focus { border-color: var(--primary); }
.pc-chat-room-input::placeholder { color: var(--text-muted); }
.pc-chat-room-send-btn {
  height: 36px; padding: 0 22px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 14px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all var(--transition); flex-shrink: 0;
}
.pc-chat-room-send-btn:hover { background: var(--primary-dark); }
.pc-chat-room-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pc-chat-room-redpacket-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; border: none;
  background: transparent; cursor: pointer; color: var(--danger);
  transition: all var(--transition); flex-shrink: 0;
}
.pc-chat-room-redpacket-btn:hover { background: rgba(239,68,68,0.1); }
/* Emoji 面板 */
.pc-chat-room-emoji-panel {
  position: absolute; bottom: 62px; left: 20px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 10px; max-width: 340px; max-height: 220px;
  overflow-y: auto; z-index: 10;
}
.pc-chat-room-emoji-panel::-webkit-scrollbar { width: 4px; }
.pc-chat-room-emoji-panel::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
.pc-chat-room-emoji-panel #emojiList {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.pc-chat-room-emoji-panel #emojiList span {
  width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; font-size: 22px; cursor: pointer;
  border-radius: 6px; transition: background var(--transition);
}
.pc-chat-room-emoji-panel #emojiList span:hover { background: var(--primary-bg); }

/* ====== 游戏停售状态 ====== */
.pc-bet-latest.suspended {
  background: #fef2f2 !important;
  border-color: #fecaca;
}
.pc-bet-latest-issue.suspended {
  color: #dc2626;
  font-weight: 700;
}