/**
 * TOOL DỰ ĐOÁN BACCARAT AI PRO - QUANTUM CYBER LUXURY CASINO EDITION
 * Stylesheet kiến trúc Cyberpunk Luxury kết hợp giao diện sảnh Casino chuẩn quốc tế.
 * Tích hợp hệ thống Biometric Shield Gatekeeper, Quantum HUD, Neon Laser Animations.
 */

:root {
    --cyber-bg: #030712;
    --cyber-bg-alt: #050b18;
    --cyber-card-bg: rgba(8, 14, 28, 0.85);
    --cyber-card-border: rgba(34, 211, 238, 0.22);
    --cyber-card-hover-border: rgba(34, 211, 238, 0.65);
    
    --neon-cyan: #00f2fe;
    --neon-blue: #06b6d4;
    --neon-gold: #fbbf24;
    --neon-gold-bright: #ffd700;
    --neon-ruby: #ef4444;
    --neon-emerald: #10b981;
    --neon-purple: #a855f7;

    --font-cyber-display: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-cyber-mono: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-cyber-body: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-luxury-serif: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   1. TOÀN CẢNH NỀN CYBER QUANTUM & HIỆU ỨNG MA TRẬN
   ========================================================================== */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

body.bcr-cyber-body {
    background-color: var(--cyber-bg);
    color: #f1f5f9;
    font-family: var(--font-cyber-body);
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
}

/* Lưới không gian Cyber Matrix Grid */
.cyber-matrix-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
}

/* Vầng sáng Ambient Halos huyền ảo */
.cyber-ambient-halo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: 
        radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.09) 0%, transparent 60%);
    animation: haloPulse 10s ease-in-out infinite alternate;
}

@keyframes haloPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(0.98); opacity: 0.85; }
}

/* ==========================================================================
   2. TOP NAVIGATION: LUXURY CASINO PC HEADER (>= 1025px)
   ========================================================================== */
.bcr-desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 182, 212, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
}

.bcr-desktop-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* 2.1 Cụm bên trái: Logo & Menu điều hướng */
.bcr-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bcr-header-left .desktop-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 16px rgba(56, 189, 248, 0.6));
    animation: logoLedPulse 3s infinite ease-in-out;
}

.bcr-header-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.bcr-header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.bcr-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.bcr-nav-link:hover {
    color: #38bdf8;
}

.bcr-nav-link.active {
    color: #38bdf8;
}

.bcr-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 2px;
    box-shadow: 0 0 10px #38bdf8;
}

.nav-bcr-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: bcrPulseDot 1.5s infinite;
}

/* 2.2 Trung tâm: Ẩn theo yêu cầu */
.bcr-header-center,
.bcr-live-pill,
.nav-center-telemetry {
    display: none !important;
}

.live-radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: radarBlink 1.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.live-feed-text {
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.6px;
}

.live-dot-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
}

.bcr-live-pill .hud-ping-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #10b981;
}

.bcr-live-pill .ping-signal {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 5px #10b981;
}

/* 2.3 Cụm bên phải: Audio, VIP & Nút Đăng Ký */
.bcr-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Trình phát nhạc Header tinh gọn */
.bcr-header-music {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.bcr-header-music:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.music-wave-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
}

.music-wave-bars .m-bar {
    width: 2.5px;
    height: 4px;
    background: #94a3b8;
    border-radius: 1px;
    transition: all 0.2s ease;
}

.bcr-header-music.playing .music-wave-bars .m-bar {
    background: #38bdf8;
}

.bcr-header-music.playing .music-wave-bars .m-bar:nth-child(1) { animation: barBounce 0.8s infinite ease-in-out alternate; }
.bcr-header-music.playing .music-wave-bars .m-bar:nth-child(2) { animation: barBounce 1.1s infinite ease-in-out alternate 0.2s; }
.bcr-header-music.playing .music-wave-bars .m-bar:nth-child(3) { animation: barBounce 0.7s infinite ease-in-out alternate 0.4s; }
.bcr-header-music.playing .music-wave-bars .m-bar:nth-child(4) { animation: barBounce 0.9s infinite ease-in-out alternate 0.1s; }

.music-text-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.bcr-header-music.playing .music-text-status {
    color: #38bdf8;
}

/* User Badge VIP Pill */
.cyber-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 9999px;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    transition: all 0.25s ease;
}

.user-shield-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.user-name {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.user-balance-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--neon-gold-bright);
}

.btn-user-logout {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-user-logout:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

/* Nút Mở Khóa VIP trên PC Header */
.bcr-auth-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #e0f2fe;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transition: all 0.25s ease;
    animation: authPulse 2.5s infinite;
}

.bcr-auth-nav-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(14, 165, 233, 0.2));
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    transform: translateY(-1px);
}

/* ==========================================================================
   2.4 MOBILE TOP BAR (<= 1024px) - CHUẨN GIAO DIỆN TRANG CHỦ
   ========================================================================== */
.bcr-mobile-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 56px;
    padding: 0 12px;
    background: rgba(3, 6, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.mobile-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mobile-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-back-btn:active {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
}

.mobile-logo img {
    height: 26px;
    width: auto;
    max-width: 115px;
    object-fit: contain;
}

.mobile-top-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mobile-auth-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 9999px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mobile-user-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-vip-badge {
    background: #f59e0b;
    color: #0b0f19;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.1;
}

.mobile-u-name {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   3. CYBER HERO BANNER & STATS OVERVIEW
   ========================================================================== */
.cyber-hero-banner {
    padding: 36px 20px 24px;
    text-align: center;
    position: relative;
}

.cyber-banner-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cyber-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 9999px;
    font-family: var(--font-cyber-mono);
    font-size: 12px;
    font-weight: 800;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-ruby);
    box-shadow: 0 0 10px var(--neon-ruby);
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.cyber-banner-title {
    font-family: var(--font-cyber-display);
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #ffffff 20%, #e2e8f0 50%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.35);
    word-break: keep-all;
    white-space: normal;
}

.cyber-banner-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 720px;
}

/* 4 Bento Quantum Cards */
.bcr-stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.cyber-stat-card {
    background: var(--cyber-card-bg);
    border: 1px solid var(--cyber-card-border);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    opacity: 0.6;
}

.cyber-stat-card:hover {
    border-color: var(--cyber-card-hover-border);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(6, 182, 212, 0.25);
}

.stat-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-tables {
    background: rgba(6, 182, 212, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.stat-icon-fire {
    background: rgba(245, 158, 11, 0.15);
    color: var(--neon-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.stat-icon-target {
    background: rgba(16, 185, 129, 0.15);
    color: var(--neon-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-icon-bolt {
    background: rgba(168, 85, 247, 0.15);
    color: var(--neon-purple);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

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

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-cyber-display);
}

.stat-val {
    font-family: var(--font-cyber-mono);
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.gold-accent {
    color: var(--neon-gold-bright) !important;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.cyan-accent {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   4. KHUNG LƯỚI CHỌN BÀN CƯỢC (LOBBY VIEW - THEO ĐÚNG MẪU ẢNH)
   ========================================================================== */
.lobby-content-section.cyber-content-box {
    max-width: 1440px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.lobby-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.lobby-heading-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-svg-icon {
    color: var(--neon-gold);
    display: flex;
    align-items: center;
}

.lobby-heading-title {
    font-family: var(--font-cyber-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.lobby-heading-count {
    padding: 4px 10px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 9999px;
    font-family: var(--font-cyber-mono);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--neon-cyan);
}

.btn-refresh-sync {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-cyber-display);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-refresh-sync svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn-refresh-sync:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-refresh-sync svg.spinning {
    animation: iconSpin 0.7s linear infinite;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bộ Lọc Bàn */
.bcr-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bcr-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 14px;
    flex: 1;
    max-width: 380px;
    transition: all 0.25s ease;
}

.bcr-search-box:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.bcr-search-box svg {
    width: 18px;
    height: 18px;
    fill: #64748b;
}

.bcr-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13.5px;
    width: 100%;
}

.bcr-filter-tabs {
    display: flex;
    gap: 8px;
}

.bcr-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-cyber-display);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.bcr-filter-btn.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.bcr-filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

/* ==========================================================================
   4. LƯỚI THẺ BÀN & THẺ BÀN BACCARAT (LUXURY CASINO MONITOR CARDS)
   ========================================================================== */
.bcr-table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .bcr-table-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Thẻ Bàn Baccarat Phong Cách Live Casino Cao Cấp */
.bcr-table-card {
    background: linear-gradient(180deg, #131d31 0%, #0d1526 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.bcr-table-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 18px rgba(6, 182, 212, 0.22);
}

/* Bàn Tỷ Lệ Thắng Cao Có Viền Vàng Kim Sang Trọng */
.bcr-table-card.card-high-winrate {
    border-color: rgba(245, 158, 11, 0.28);
}

.bcr-table-card.card-high-winrate:hover {
    border-color: rgba(245, 158, 11, 0.75);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.3);
}

/* 1. Header Card */
.table-card-topbar {
    background: linear-gradient(180deg, rgba(22, 33, 56, 0.95) 0%, rgba(16, 24, 40, 0.95) 100%);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-title-box {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-suit-icon {
    color: #ef4444;
    font-size: 13px;
    line-height: 1;
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.5));
}

.card-table-title {
    font-family: var(--font-cyber-display);
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.card-vip-tag {
    padding: 2px 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    font-size: 9.5px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}

.card-status-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Streak Pill */
.card-streak-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.card-streak-pill.streak-banker {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.card-streak-pill.streak-player {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.card-live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-emerald);
    box-shadow: 0 0 6px var(--neon-emerald);
    animation: livePulse 1.8s ease-in-out infinite;
}

.card-hands-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

/* 2. AI Next Bet Signal Bar */
.card-ai-signal-bar {
    background: rgba(11, 19, 35, 0.85);
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11.5px;
}

.signal-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.signal-radar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
}

.signal-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.signal-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.signal-chip .chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.signal-chip.pred-banker {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.55);
    color: #ff6b6b;
}

.signal-chip.pred-banker .chip-dot {
    background: #ff6b6b;
    box-shadow: 0 0 5px #ff6b6b;
}

.signal-chip.pred-player {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.55);
    color: #60a5fa;
}

.signal-chip.pred-player .chip-dot {
    background: #60a5fa;
    box-shadow: 0 0 5px #60a5fa;
}

.signal-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.signal-conf-rate {
    font-family: var(--font-cyber-mono);
    font-weight: 800;
    font-size: 12px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.signal-conf-rate.high-conf {
    color: var(--neon-gold-bright);
}

.conf-flame-svg {
    color: var(--neon-gold-bright);
}

.signal-rec-tag {
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 9.5px;
    font-weight: 800;
}

/* Tín hiệu khi CHƯA ĐĂNG NHẬP / CHƯA KÍCH HOẠT HỘI VIÊN */
.card-ai-signal-bar.card-signal-locked {
    background: rgba(15, 23, 42, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.signal-lock-icon {
    flex-shrink: 0;
}

.signal-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
}

.signal-action-prompt {
    font-size: 11px;
    color: var(--neon-cyan);
    font-weight: 700;
    transition: all 0.2s ease;
}

.bcr-table-card:hover .signal-action-prompt {
    color: #ffffff;
    text-shadow: 0 0 6px var(--neon-cyan);
}

/* 3. Body Card: BẢNG CẦU ĐẠI NỀN PEARL TINH TẾ & ẨN HOÀN TOÀN THANH CUỘN */
.table-card-body-road {
    background: #f8fafc;
    margin: 8px 10px 6px 10px;
    border-radius: 7px;
    border: 1px solid #cbd5e1;
    height: 110px;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.table-card-body-road::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.card-bigroad-scroll {
    height: 100%;
    display: flex;
    align-items: flex-start;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.card-bigroad-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.card-bigroad-scroll .bcr-big-road {
    background: transparent !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.card-bigroad-scroll .bigroad-row {
    display: flex;
    gap: 0;
    height: 18px;
}

.card-bigroad-scroll .bigroad-cell {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    background: transparent;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.card-bigroad-scroll .bigroad-ring {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border-width: 2.2px;
    border-style: solid;
    background: transparent;
    box-sizing: border-box;
    position: relative;
}

.card-bigroad-scroll .bigroad-banker {
    border-color: #dc2626 !important;
}

.card-bigroad-scroll .bigroad-player {
    border-color: #2563eb !important;
}

.card-bigroad-scroll .bigroad-tie {
    border-color: #16a34a !important;
}

.card-bigroad-scroll .tie-slash {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #16a34a;
    transform: rotate(45deg);
}

.card-bigroad-scroll .tie-count {
    position: absolute;
    font-size: 8px;
    font-weight: 800;
    color: #16a34a;
}

/* 4. Footer Card: Counters & Soi Cầu Action */
.table-card-bottombar {
    background: #0d1526;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.card-counters-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.counter-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-badge {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.counter-badge.badge-b { background: #dc2626; box-shadow: 0 0 4px rgba(220, 38, 38, 0.5); }
.counter-badge.badge-p { background: #2563eb; box-shadow: 0 0 4px rgba(37, 99, 235, 0.5); }
.counter-badge.badge-t { background: #16a34a; box-shadow: 0 0 4px rgba(22, 163, 74, 0.5); }

.counter-num {
    font-family: var(--font-cyber-mono);
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
}

.card-action-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--neon-cyan);
    font-size: 11.5px;
    font-weight: 700;
    transition: all 0.22s ease;
}

.card-cta-arrow {
    transition: transform 0.22s ease;
}

.bcr-table-card:hover .card-action-box {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--neon-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.bcr-table-card:hover .card-cta-arrow {
    transform: translateX(3px);
}


/* ==========================================================================
   5. CỔNG XÁC THỰC HỘI VIÊN CYBER BIOMETRIC SHIELD (GATE MODAL)
   ========================================================================== */
.cyber-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 18, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-gate-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cyber-gate-card {
    background: radial-gradient(ellipse at 50% -20%, rgba(45, 30, 10, 0.98) 0%, rgba(14, 11, 8, 0.99) 70%, rgba(5, 5, 5, 1) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.75);
    outline: 1px solid rgba(255, 215, 0, 0.18);
    outline-offset: -3px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(212, 175, 55, 0.25), inset 0 0 25px rgba(212, 175, 55, 0.08);
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* Nút Đóng Modal */
.gate-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #cbd5e1;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 25;
    line-height: 1;
}

.gate-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.08);
}

/* Nút Bấm Đồng Bộ Lại Khi Nạp */
.btn-retry-sync {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    border: 1px solid #fef08a;
    border-radius: 8px;
    color: #1a0800;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.btn-retry-sync:hover {
    background: linear-gradient(135deg, #fff, #ffd700);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-1px);
}

/* Tia Quét Ánh Kim Hoàng Gia Casino */
.gate-scan-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.8), #ffffff, rgba(255, 215, 0, 0.8), transparent);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.6);
    animation: laserScan 3s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes laserScan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.gate-header {
    text-align: center;
    margin-bottom: 22px;
}

.gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(20, 15, 8, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 9999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #fef08a;
    letter-spacing: 1px;
    margin-bottom: 12px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.gate-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
    animation: radarBlink 1.2s infinite;
}

.gate-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fef08a 40%, #ffd700 75%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
}

.gate-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

/* Requirements Box */
.gate-requirements-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.req-check-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-check-icon.icon-balance {
    background: rgba(212, 175, 55, 0.15);
    color: #ffd700;
    border-color: rgba(212, 175, 55, 0.4);
}

.req-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.req-info strong {
    font-size: 13px;
    color: #f8fafc;
}

.req-info span {
    font-size: 11.5px;
    color: #94a3b8;
}

/* Form Input */
.gate-input-group {
    margin-bottom: 16px;
}

.gate-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-svg {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    fill: #d4af37;
    pointer-events: none;
    transition: fill 0.25s ease;
}

.gate-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: rgba(0, 0, 0, 0.85);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.gate-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gate-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.45), inset 0 0 8px rgba(212, 175, 55, 0.15);
}

.gate-input:focus + .input-svg {
    fill: #ffd700;
}

/* Feedback Message */
.gate-feedback-msg {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
}

.gate-feedback-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.gate-feedback-msg.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.gate-feedback-msg.info {
    display: block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fef08a;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Submit Button: Real 24K Gold Bar Button */
.btn-gate-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #b45309 100%);
    border: 1px solid #fef08a;
    border-radius: 8px;
    color: #1a0800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}

.btn-gate-submit:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 45%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 215, 0, 0.65);
}

/* Footer Actions */
.gate-footer-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gate-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-action-reg {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #fde047;
}

.btn-action-reg:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: #ffd700;
}

.btn-action-dep {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.btn-action-dep:hover {
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--neon-emerald);
}

.btn-action-dep:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: var(--neon-emerald);
}

.btn-action-tele {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #38bdf8;
}

.btn-action-tele:hover {
    background: rgba(14, 165, 233, 0.22);
    border-color: #38bdf8;
}

/* ==========================================================================
   6. STATE LOCK / UNLOCK VÀ RESPONSIVE MEDIA QUERIES
   ========================================================================== */
body.state-locked .bcr-table-card {
    filter: brightness(0.9);
}

@media (max-width: 1024px) {
    .bcr-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-telemetry-hud {
        display: none;
    }
}

@media (max-width: 640px) {
    .bcr-stats-overview {
        grid-template-columns: 1fr;
    }
    .bcr-table-grid {
        grid-template-columns: 1fr;
    }
    .cyber-nav-container {
        padding: 10px 14px;
    }
    .btn-cyber-reg span {
        display: none;
    }
    .cyber-back-btn span {
        display: none;
    }
    .cyber-gate-card {
        padding: 24px 18px;
    }
    .gate-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   7. PHÒNG DỰ ĐOÁN & SOI CẦU QUANTUM STUDIO (STUDIO VIEW)
   ========================================================================== */
.studio-navigation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    background: rgba(13, 21, 38, 0.85);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(6, 182, 212, 0.15);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-back-lobby {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(2, 132, 199, 0.12));
    border: 1px solid var(--neon-cyan);
    border-radius: 9999px;
    color: #ffffff;
    font-family: var(--font-cyber-display);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.3);
    transition: all 0.25s ease;
}

.btn-back-lobby svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.btn-back-lobby:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(2, 132, 199, 0.25));
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.6);
    transform: translateX(-3px);
}

.studio-quick-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switcher-label {
    font-family: var(--font-cyber-display);
    font-size: 12.5px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.studio-select-dropdown {
    background: #090e1c;
    color: var(--neon-gold-bright);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 8px;
    padding: 8px 14px;
    font-family: var(--font-cyber-mono);
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
}

.studio-select-dropdown:focus {
    border-color: var(--neon-gold-bright);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   CÔNG NGHỆ VÒNG XOAY LƯỢNG TỬ (QUANTUM HOLOGRAPHIC RADAR SPINNERS)
   Áp dụng cho KHU VỰC DỰ ĐOÁN và CÁC BÀN CƯỢC LIVE
   ========================================================================== */

/* 1. KHU VỰC SÂN KHẤU DỰ ĐOÁN (STUDIO HERO STAGE) */
.studio-hero-stage {
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(15, 23, 42, 0.95), rgba(4, 8, 20, 0.98)) !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-radius: 20px !important;
    padding: 28px 32px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(6, 182, 212, 0.08) !important;
    overflow: hidden;
}

/* 4 góc ngắm công nghệ trên sân khấu */
.stage-hud-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 5;
    opacity: 0.8;
}
.stage-hud-corner.corner-tl { top: 8px; left: 8px; border-top: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.stage-hud-corner.corner-tr { top: 8px; right: 8px; border-top: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }
.stage-hud-corner.corner-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.stage-hud-corner.corner-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }

/* Vầng sáng năng lượng nền */
.stage-ambient-beam {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 35% 45%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   BÀN CƯỢC CASINO QUỐC TẾ (LIVE CASINO FELT BETTING BOARD)
   ========================================================================== */
.casino-felt-table {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 16px;
    background: radial-gradient(ellipse at center, rgba(10, 35, 22, 0.85) 0%, rgba(2, 12, 7, 0.94) 100%), url('../../image/macau_felt_bg.jpg') center/cover no-repeat;
    border: 2px solid rgba(245, 158, 11, 0.45);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.85);
    box-sizing: border-box;
}

/* Hàng Cược Đôi / Cược Phụ (Side Bets) */
.felt-top-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-bottom: 8px;
}

.felt-side-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 6px;
    padding: 6px 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.felt-label-sub {
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
}

.felt-label-sub.player-color { color: #38bdf8 !important; }
.felt-label-sub.banker-color { color: #f87171 !important; }
.felt-label-sub.gold-color { color: #fbbf24 !important; }

.felt-odds {
    font-size: 9.5px;
    font-weight: 700;
    color: #94a3b8;
    font-family: var(--font-cyber-mono, monospace);
}

/* Hàng Cược Chính: TAY CON (1:1) | HÒA (1:8) | NHÀ CÁI (1:0.95) */
.felt-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1.25fr;
    gap: 8px;
    position: relative;
}

.felt-main-box {
    background: rgba(0, 0, 0, 0.42);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 14px 8px;
    min-height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.felt-box-core {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.felt-title-en {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    opacity: 0.75;
    margin-bottom: 2px;
    font-family: var(--font-cyber-mono, monospace);
}

.felt-title-vi {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0 0 2px;
    line-height: 1.1;
    font-family: var(--font-cyber-display, sans-serif);
}

.felt-payout {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
    font-family: var(--font-cyber-mono, monospace);
}

/* Tỷ lệ cược thời gian thực */
.felt-live-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 85%;
    max-width: 120px;
}

.felt-stat-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.felt-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.felt-bar-fill.bar-fill-b { background: linear-gradient(90deg, #ef4444, #f87171); }
.felt-bar-fill.bar-fill-p { background: linear-gradient(90deg, #0284c7, #38bdf8); }

.felt-stat-text {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    font-family: var(--font-cyber-mono, monospace);
}

/* Phối màu các cửa cược */
.box-player .felt-title-en { color: #38bdf8; }
.box-player .felt-title-vi { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }

.box-banker .felt-title-en { color: #f87171; }
.box-banker .felt-title-vi { color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }

.box-tie .felt-title-en { color: #34d399; }
.box-tie .felt-title-vi { color: #10b981; text-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }

.felt-side-dragon {
    display: none !important;
}

/* ==========================================================================
   RADAR HOLOGRAM LOCK TARGET TRỰC TIẾP TRÊN Ô ĐƯỢC DỰ ĐOÁN
   ========================================================================== */
.radar-lock-target {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.radar-sweep-beam {
    position: absolute;
    width: 160%;
    height: 160%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(6, 182, 212, 0.25) 320deg, rgba(255, 255, 255, 0.95) 360deg);
    animation: radarSpinFast 2.2s linear infinite;
    opacity: 0.85;
}

.radar-reticle {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.7);
    animation: reticleSpin 5s linear infinite;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.radar-lock-badge {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 6;
    letter-spacing: 0.4px;
}

.target-banker .radar-lock-badge {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.8);
}

.target-player .radar-lock-badge {
    background: #0284c7;
    color: #fff;
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.8);
}

.target-tie .radar-lock-badge {
    background: #059669;
    color: #fff;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.8);
}

.radar-badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: badgeDotPulse 0.9s infinite;
}

@keyframes badgeDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

@keyframes radarSpinFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes reticleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* HIỆU ỨNG NHÁY SÁNG & ĐẬP NĂNG LƯỢNG KHI Ô ĐƯỢC CHỐT */
.felt-main-box.bet-target-active.pulse-glow-banker {
    border-color: #ef4444 !important;
    background: rgba(220, 38, 38, 0.16) !important;
    animation: targetPulseBanker 1.8s infinite !important;
}

.felt-main-box.bet-target-active.pulse-glow-player {
    border-color: #38bdf8 !important;
    background: rgba(2, 132, 199, 0.16) !important;
    animation: targetPulsePlayer 1.8s infinite !important;
}

.felt-main-box.bet-target-active.pulse-glow-tie {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.16) !important;
    animation: targetPulseTie 1.8s infinite !important;
}

@keyframes targetPulseBanker {
    0%, 100% {
        box-shadow: 0 0 16px rgba(239, 68, 68, 0.5), inset 0 0 16px rgba(239, 68, 68, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(239, 68, 68, 0.9), inset 0 0 28px rgba(239, 68, 68, 0.5);
    }
}

@keyframes targetPulsePlayer {
    0%, 100% {
        box-shadow: 0 0 16px rgba(56, 189, 248, 0.5), inset 0 0 16px rgba(56, 189, 248, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(56, 189, 248, 0.9), inset 0 0 28px rgba(56, 189, 248, 0.5);
    }
}

@keyframes targetPulseTie {
    0%, 100% {
        box-shadow: 0 0 16px rgba(16, 185, 129, 0.5), inset 0 0 16px rgba(16, 185, 129, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(16, 185, 129, 0.9), inset 0 0 28px rgba(16, 185, 129, 0.5);
    }
}

.felt-main-box.pulse-banker-red {
    border-color: #ef4444 !important;
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.75) 0%, rgba(69, 10, 10, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.9), inset 0 0 16px rgba(239, 68, 68, 0.5) !important;
    animation: targetPulseBanker 1.6s infinite ease-in-out !important;
}
.felt-main-box.pulse-player-blue {
    border-color: #38bdf8 !important;
    background: linear-gradient(180deg, rgba(14, 53, 114, 0.75) 0%, rgba(8, 28, 66, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.9), inset 0 0 16px rgba(56, 189, 248, 0.5) !important;
    animation: targetPulsePlayer 1.6s infinite ease-in-out !important;
}
.felt-main-box.pulse-tie-green {
    border-color: #10b981 !important;
    background: linear-gradient(180deg, rgba(6, 95, 70, 0.75) 0%, rgba(4, 50, 38, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.9), inset 0 0 16px rgba(16, 185, 129, 0.5) !important;
    animation: targetPulseTie 1.6s infinite ease-in-out !important;
}

/* Ẩn hoàn toàn thanh kéo / scrollbar trên mọi bảng cầu theo yêu cầu */
.board-scroll-container,
.card-bigroad-scroll,
.derived-scroll,
.scoreboard-panel-mainroads,
.sub-panel-derived,
.studio-scoreboard-card,
.scoreboard-board-grid {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.board-scroll-container::-webkit-scrollbar,
.card-bigroad-scroll::-webkit-scrollbar,
.derived-scroll::-webkit-scrollbar,
.scoreboard-panel-mainroads::-webkit-scrollbar,
.sub-panel-derived::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   BẢNG CẦU CASINO QUỐC TẾ 5 ĐƯỜNG CẦU (DESKTOP VIP SCOREBOARD)
   ========================================================================== */
.studio-scoreboard-card {
    background: #080c16;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.scoreboard-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scoreboard-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eab308;
}

.scoreboard-main-title {
    font-size: 13px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}

.scoreboard-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
}

.scoreboard-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: radarBlink 1.4s infinite;
}

.scoreboard-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.scoreboard-legend .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.scoreboard-legend .legend-chip {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 900;
    color: #fff;
}

.scoreboard-legend .chip-banker { background: #ef4444; }
.scoreboard-legend .chip-player { background: #3b82f6; }
.scoreboard-legend .chip-tie { background: #10b981; }

.scoreboard-legend .legend-ring {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.scoreboard-legend .ring-banker { border: 1.5px solid #ef4444; }
.scoreboard-legend .ring-player { border: 1.5px solid #38bdf8; }
.scoreboard-legend .legend-slash { color: #10b981; font-weight: 900; }

.scoreboard-unified-board {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #080c16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
}

/* Cột Trái: Cầu Hạt (Bead Plate) 6 Hàng */
.scoreboard-panel-bead {
    background: #080c16;
    border-right: 1.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 200px;
    overflow: hidden;
}

.scoreboard-panel-bead .board-panel-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scoreboard-panel-bead .panel-name {
    font-size: 9px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.scoreboard-panel-bead .panel-tag {
    font-size: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 1px 4px;
    border-radius: 3px;
}

#studioBeadWrapper {
    background: #080c16;
    padding: 3px;
    height: 177px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
}

.scoreboard-panel-bead .bcr-bead-plate {
    display: inline-flex;
    flex-direction: row;
    gap: 2px;
    background: #080c16;
}

.scoreboard-panel-bead .bead-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scoreboard-panel-bead .bead-cell {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #0c1220;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.scoreboard-panel-bead .bcr-chip {
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.scoreboard-panel-bead .chip-banker {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: 1px solid #fca5a5;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.5);
}

.scoreboard-panel-bead .chip-player {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: 1px solid #93c5fd;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.5);
}

.scoreboard-panel-bead .chip-tie {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: 1px solid #6ee7b7;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.5);
}

/* Cột Phải: Cầu Đại + 3 Cầu Phụ + Bảng Hỏi Cầu */
.scoreboard-panel-mainroads {
    background: #080c16;
    display: flex;
    flex-direction: column;
    height: 200px;
    overflow: hidden;
    gap: 0;
}

/* Cầu Đại (Big Road) */
.sub-panel-bigroad {
    background: #080c16;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    height: 96px;
    overflow: hidden;
}

.sub-panel-bigroad .board-panel-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    height: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-panel-bigroad .panel-name {
    font-size: 8.5px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.sub-panel-bigroad .panel-tag {
    font-size: 7.5px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 0 4px;
    border-radius: 2px;
}

#studioBigRoadWrapper {
    background: #080c16;
    padding: 2px;
    height: 76px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
}

.sub-panel-bigroad .bcr-big-road {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #080c16;
}

.sub-panel-bigroad .bigroad-row {
    display: flex;
    gap: 1px;
}

.sub-panel-bigroad .bigroad-cell {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #070b14;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sub-panel-bigroad .bigroad-ring {
    width: 9.5px;
    height: 9.5px;
    border-radius: 50%;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-panel-bigroad .bigroad-ring.bigroad-banker {
    border: 2px solid #ef4444;
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.7));
}

.sub-panel-bigroad .bigroad-ring.bigroad-player {
    border: 2px solid #38bdf8;
    filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.7));
}

.sub-panel-bigroad .tie-slash {
    position: absolute;
    width: 12px;
    height: 2px;
    background: #10b981;
    transform: rotate(45deg);
}

.sub-panel-bigroad .tie-count {
    font-size: 6px;
    color: #34d399;
    font-weight: 900;
    position: absolute;
}

/* 3 Cầu Phụ */
.sub-panel-derived {
    background: #080c16;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    height: 62px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.derived-block {
    background: #080c16;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    height: 62px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.derived-block:last-child {
    border-right: none;
}

.derived-sub-header {
    background: #0b1120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1px 6px;
    height: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-sub-title {
    font-size: 7.5px;
    font-weight: 800;
    color: #94a3b8;
    white-space: nowrap;
}

.derived-scroll {
    background: #070b14;
    padding: 1px 2px;
    height: 46px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.bcr-derived-road {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #070b14;
}

.derived-row {
    display: flex;
    gap: 1px;
}

.derived-cell {
    width: 6.5px;
    height: 6.5px;
    min-width: 6.5px;
    min-height: 6.5px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: #070b14;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.d-ring-red { border-color: #ef4444; width: 5px; height: 5px; border-width: 1.2px; }
.d-ring-blue { border-color: #38bdf8; width: 5px; height: 5px; border-width: 1.2px; }
.d-dot-red { background: #ef4444; width: 4.5px; height: 4.5px; }
.d-dot-blue { background: #38bdf8; width: 4.5px; height: 4.5px; }
.d-slash-red { color: #ef4444; font-size: 6px; font-weight: 900; line-height: 1; }
.d-slash-blue { color: #38bdf8; font-size: 6px; font-weight: 900; line-height: 1; }

/* Bảng Hỏi Cầu (Ask Panel) */
.scoreboard-ask-panel {
    background: linear-gradient(90deg, rgba(26, 14, 8, 0.98) 0%, rgba(14, 7, 3, 0.98) 100%);
    height: 42px;
    min-height: 42px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    gap: 36px;
    align-items: center;
    border-top: 1.5px solid rgba(212, 175, 55, 0.35);
    width: 100%;
    box-sizing: border-box;
}

.ask-unit {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.ask-btn-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ask-round-chip {
    width: 18px;
    height: 18px;
    font-size: 9.5px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
}

.chip-banker-ask { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.chip-player-ask { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.6); }

.ask-text-title {
    font-size: 9.5px;
    font-weight: 800;
    color: #94a3b8;
    white-space: nowrap;
}

.ask-projections-box {
    display: flex;
    gap: 4px;
    align-items: center;
}

.ask-proj-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.ask-proj-item .derived-ring { width: 7px; height: 7px; }
.ask-proj-item .derived-dot { width: 6px; height: 6px; }
.ask-proj-item .derived-slash { font-size: 8px; }

/* HỘP CHIP DỰ ĐOÁN & VÒNG XOAY HOLOGRAPHIC ĐA TẦNG (Dành cho fallback) */
.hero-giant-chip-box {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 2;
}

.quantum-radar-rings {
    position: absolute;
    inset: -22px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Vòng 1: Compass chia vạch xoay chiều kim đồng hồ */
.radar-ring-compass {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25), inset 0 0 15px rgba(6, 182, 212, 0.15);
    animation: ringSpinClockwise 18s linear infinite;
}

/* Vòng 2: Chùm tia quét Radar 360 độ siêu thực */
.radar-ring-sweep {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(34, 211, 238, 0.3) 330deg, rgba(255, 255, 255, 0.85) 360deg);
    animation: ringSpinClockwise 2.6s linear infinite;
    mask-image: radial-gradient(circle, transparent 62%, black 65%);
    -webkit-mask-image: radial-gradient(circle, transparent 62%, black 65%);
}

/* Vòng 3: Quỹ đạo hạt tử Photon xoay ngược chiều */
.radar-ring-orbit {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.35);
    animation: ringSpinCounter 6s linear infinite;
}

.orbit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.orbit-node.node-1 {
    top: -4px;
    left: calc(50% - 4px);
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe, 0 0 20px #00f2fe;
}
.orbit-node.node-2 {
    bottom: -4px;
    left: calc(50% - 4px);
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

/* Vòng 4: Vòng nẹp nhịp thở lượng tử bên trong */
.radar-ring-inner {
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.3);
    animation: ringSpinClockwise 10s linear infinite;
}

/* Vạch chữ thập Reticle HUD quang học */
.radar-reticle-crosshair {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    pointer-events: none;
}
.radar-reticle-crosshair::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #00f2fe 0%, transparent 22%, transparent 78%, #00f2fe 100%);
    opacity: 0.7;
}
.radar-reticle-crosshair::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, #00f2fe 0%, transparent 22%, transparent 78%, #00f2fe 100%);
    opacity: 0.7;
}

/* Con Chip trung tâm nhịp thở ánh sáng neon */
.giant-poker-chip {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 3 !important;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.8) !important;
    animation: chipBreath 2.5s ease-in-out infinite alternate !important;
}

.chip-center-symbol {
    font-family: var(--font-cyber-display) !important;
    font-size: 3.2rem !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
}

@keyframes chipBreath {
    0% { transform: scale(0.98); }
    100% { transform: scale(1.04); }
}

@keyframes ringSpinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringSpinCounter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* 2. CHỖ THẺ BÀN CƯỢC (BCR TABLE CARDS) - SANG TRỌNG CHUẨN CASINO */
.bcr-table-card {
    position: relative !important;
    background: linear-gradient(180deg, #101932 0%, #091022 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
}

.bcr-table-card:hover {
    border-color: rgba(6, 182, 212, 0.55) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 16px rgba(6, 182, 212, 0.15) !important;
}

/* Thẻ bàn có tỷ lệ thắng cao (>= 80%) */
.bcr-table-card.card-high-winrate {
    border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), 0 0 14px rgba(245, 158, 11, 0.12) !important;
}

.bcr-table-card.card-high-winrate:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 22px rgba(245, 158, 11, 0.28) !important;
}

/* Thanh tiêu đề thẻ bàn */
.table-card-topbar {
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.card-table-title {
    font-family: var(--font-cyber-display) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    letter-spacing: 0.3px !important;
}

.card-vip-tag {
    display: inline-block !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #030712 !important;
    margin-left: 6px !important;
}

.card-status-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.card-live-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 8px #10b981 !important;
    animation: pulseDot 1.8s infinite ease-in-out !important;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.card-status-text {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
}

/* Thân bảng cầu Big Road */
.table-card-body-road {
    padding: 8px 10px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    margin: 8px 10px !important;
    overflow-x: auto !important;
}

/* Thanh đáy thẻ bàn: Thống kê & Tỷ lệ thắng */
.table-card-bottombar {
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.card-counters-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.counter-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.counter-badge {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.counter-badge.badge-b { background: #ef4444 !important; }
.counter-badge.badge-p { background: #3b82f6 !important; }
.counter-badge.badge-t { background: #10b981 !important; }

.counter-num {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
}

/* Tỷ lệ thắng */
.card-winrate-box {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.winrate-caption {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
}

.winrate-val-pill {
    padding: 3px 9px !important;
    border-radius: 20px !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #fbbf24 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* 3. TỐI ƯU GỌN ĐẸP TRÊN CẢ MOBILE VÀ PC */

/* Base icon size để tránh ảnh render kích thước gốc 1024px khi chưa load CSS media query */
.hud-crown-icon {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Responsive PC (>= 1025px) */
@media (min-width: 1024px) {
    .bcr-table-grid {
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
        gap: 18px !important;
    }
    .studio-hero-stage {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        max-width: 980px !important;
        margin: 0 auto 24px !important;
        padding: 22px 26px !important;
        border-radius: 18px !important;
        background: radial-gradient(circle at 50% 30%, rgba(15, 23, 42, 0.95), rgba(4, 8, 20, 0.98)) !important;
        border: 1px solid rgba(212, 175, 55, 0.45) !important;
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(212, 175, 55, 0.08) !important;
    }
    .macau-command-hud {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, #090e1c 0%, #050812 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.5) !important;
        border-radius: 6px !important;
        padding: 10px 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    .hud-top-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    .hud-badge-prive {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 4px 12px !important;
        border-radius: 4px !important;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(15, 20, 30, 0.9)) !important;
        border: 1px solid rgba(212, 175, 55, 0.55) !important;
        color: #fef08a !important;
        font-size: 11.5px !important;
        font-weight: 900 !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }
    .hud-crown-icon {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: inline-block !important;
    }
    .hud-signal-grid {
        display: grid !important;
        grid-template-columns: 1fr 1px 1.25fr 1px 1.35fr !important;
        align-items: center !important;
        gap: 10px !important;
        background: rgba(0, 0, 0, 0.55) !important;
        border: 1px solid rgba(212, 175, 55, 0.25) !important;
        border-radius: 4px !important;
        padding: 8px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hud-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-width: 0 !important;
        padding: 0 4px !important;
    }
    .hud-lbl {
        font-size: 10px !important;
        font-weight: 800 !important;
        color: #94a3b8 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
    }
    .hud-signal-val {
        font-size: 14px !important;
        font-weight: 900 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .hud-pattern-val {
        font-size: 14px !important;
        font-weight: 900 !important;
        color: #f8fafc !important;
        white-space: nowrap !important;
    }
    .hud-capital-val {
        font-size: 14px !important;
        font-weight: 900 !important;
        color: #fde047 !important;
        white-space: nowrap !important;
    }
    .casino-felt-table {
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto !important;
        padding: 16px 20px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }
    .felt-top-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    .felt-side-box {
        min-height: 48px !important;
        height: auto !important;
        padding: 5px 8px !important;
        border-radius: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
    }
    .felt-label-sub {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }
    .felt-odds {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
    }
    .felt-main-grid {
        display: grid !important;
        grid-template-columns: 1.2fr 0.8fr 1.2fr !important;
        gap: 12px !important;
        min-height: 175px !important;
    }
    .felt-main-box {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 14px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .box-player {
        background: linear-gradient(180deg, rgba(11, 30, 63, 0.65) 0%, rgba(5, 15, 34, 0.85) 100%) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
    }
    .box-player .felt-title-vi {
        color: #38bdf8 !important;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.7) !important;
    }
    .box-tie {
        background: linear-gradient(180deg, rgba(6, 78, 59, 0.65) 0%, rgba(2, 44, 34, 0.85) 100%) !important;
        border: 1.5px solid rgba(52, 211, 153, 0.45) !important;
    }
    .box-tie .felt-title-vi {
        color: #4ade80 !important;
        text-shadow: 0 0 10px rgba(74, 222, 128, 0.7) !important;
    }
    .box-banker {
        background: linear-gradient(180deg, rgba(69, 10, 10, 0.65) 0%, rgba(43, 6, 6, 0.85) 100%) !important;
        border: 1.5px solid rgba(248, 113, 113, 0.45) !important;
    }
    .box-banker .felt-title-vi {
        color: #f87171 !important;
        text-shadow: 0 0 10px rgba(248, 113, 113, 0.7) !important;
    }
    .felt-title-en {
        display: none !important;
    }
    .felt-box-core {
        position: relative !important;
        z-index: 5 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 100% !important;
    }
    .felt-chip-thumb {
        height: 136px !important;
        width: 136px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 6px !important;
        flex-shrink: 0 !important;
    }
    .bet-target-active .felt-chip-thumb {
        display: none !important;
    }
    .felt-mini-chip {
        width: 104px !important;
        height: 104px !important;
        max-width: 104px !important;
        max-height: 104px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2.5px solid #ffd700 !important;
        box-shadow: 0 0 24px rgba(255, 215, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.9) !important;
        display: inline-block !important;
    }
    .felt-quantum-radar {
        position: relative !important;
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto 6px !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 6 !important;
        flex-shrink: 0 !important;
    }
    .bet-target-active .felt-quantum-radar {
        display: flex !important;
    }
    .radar-core-disc {
        position: relative !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        background: radial-gradient(circle, rgba(15, 23, 42, 0.98) 0%, rgba(4, 8, 16, 1) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), inset 0 0 8px rgba(0, 0, 0, 0.9) !important;
        z-index: 2 !important;
    }
    .radar-win-pct {
        font-size: 13.5px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        letter-spacing: -0.2px !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }
    .radar-banker .radar-win-pct {
        color: #ff4d4d !important;
        text-shadow: 0 0 8px rgba(255, 77, 77, 0.9) !important;
    }
    .radar-player .radar-win-pct {
        color: #38bdf8 !important;
        text-shadow: 0 0 8px rgba(56, 189, 248, 0.9) !important;
    }
    .radar-win-label {
        font-size: 6.5px !important;
        font-weight: 800 !important;
        color: rgba(226, 232, 240, 0.9) !important;
        letter-spacing: 0.5px !important;
        line-height: 1 !important;
        margin-top: 2px !important;
        text-transform: uppercase !important;
    }
    .tie-core-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
    }
    .tie-circle-gauge-wrap {
        position: relative !important;
        width: 52px !important;
        height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 4px !important;
        flex-shrink: 0 !important;
    }
    .tie-circle-svg {
        width: 52px !important;
        height: 52px !important;
        transform: rotate(-90deg) !important;
    }
    .tie-circle-val-text {
        font-size: 12px !important;
        font-weight: 900 !important;
        color: #34d399 !important;
    }
    .felt-title-vi {
        font-size: 21px !important;
        font-weight: 900 !important;
    }
    .felt-payout {
        font-size: 14px !important;
    }
}

/* Responsive Mobile & Tablet */
@media (max-width: 768px) {
    .bcr-nav-container {
        padding: 8px 12px !important;
    }
    .bcr-brand-logo img {
        height: 30px !important;
        width: auto !important;
    }
    .bcr-music-widget {
        padding: 4px 8px !important;
        gap: 6px !important;
    }
    .music-title-text {
        font-size: 10px !important;
    }
    .btn-cyber-reg {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }

    /* 4 thẻ thống kê: 2x2 siêu gọn */
    .bcr-stats-overview {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
    }
    .stat-card.cyber-stat-card {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        gap: 8px !important;
    }
    .stat-icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .stat-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .stat-val {
        font-size: 1.1rem !important;
    }
    .stat-label {
        font-size: 9.5px !important;
        letter-spacing: 0.2px !important;
    }

    /* Hero Banner trên mobile gọn gàng */
    .cyber-hero-banner {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
    }
    .cyber-banner-title {
        font-size: 1.25rem !important;
    }
    .cyber-banner-desc {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    /* Thanh bộ lọc bàn cược trượt ngang êm ái */
    .bcr-controls-bar {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    .bcr-search-box input {
        padding: 9px 12px 9px 36px !important;
        font-size: 13px !important;
    }
    .bcr-filter-tabs {
        display: flex !important;
        overflow-x: auto !important;
        gap: 6px !important;
        padding-bottom: 4px !important;
    }
    .bcr-filter-btn {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
    }

    /* Danh sách bàn trên mobile: Giao diện Live Casino siêu mượt, chống giật lag cực hạn */
    .bcr-table-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .bcr-table-card {
        border-radius: 14px !important;
        background: #0f172a !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
        content-visibility: auto !important;
        contain: content !important;
        contain-intrinsic-size: 0 190px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: hidden !important;
    }
    .table-card-topbar {
        padding: 8px 12px !important;
        background: #1e293b !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    .card-table-title {
        font-size: 13.5px !important;
        font-weight: 800 !important;
    }
    .card-ai-signal-bar {
        padding: 6px 12px !important;
        font-size: 12px !important;
        background: rgba(15, 23, 42, 0.8) !important;
    }
    .table-card-body-road {
        padding: 4px 8px !important;
        background: #090d16 !important;
        min-height: 100px !important;
    }
    .card-bigroad-scroll {
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .card-bigroad-scroll::-webkit-scrollbar {
        display: none !important;
    }
    .table-card-bottombar {
        padding: 6px 12px !important;
        background: #111827 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .card-action-box {
        background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(37, 99, 235, 0.2)) !important;
        border: 1px solid rgba(6, 182, 212, 0.4) !important;
        padding: 4px 10px !important;
        border-radius: 9999px !important;
    }
    .card-cta-text {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #38bdf8 !important;
    }



    /* Gate Modal trên Mobile */
    .cyber-gate-card {
        padding: 24px 18px !important;
        max-width: 92vw !important;
        border-radius: 16px !important;
    }
    .gate-title {
        font-size: 1.35rem !important;
    }
    .gate-desc {
        font-size: 12px !important;
    }
    .req-item {
        gap: 8px !important;
    }
    .req-info strong {
        font-size: 12px !important;
    }
    .req-info span {
        font-size: 10.5px !important;
    }
    .btn-gate-submit {
        padding: 12px 16px !important;
        font-size: 13.5px !important;
    }
}

/* ==========================================================================
   DESKTOP & MOBILE NAVIGATION SWITCH (>= 1025px vs <= 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    .bcr-desktop-header {
        display: flex !important;
    }
    .bcr-mobile-top-bar {
        display: none !important;
    }
    .bottom-nav {
        display: none !important;
    }
    .bcr-studio-container {
        padding-top: 88px !important;
    }
}

@media (max-width: 1024px) {
    .bcr-desktop-header {
        display: none !important;
    }
    .bcr-mobile-top-bar {
        display: flex !important;
    }
    .bottom-nav.custom-mobile-dock {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: 60px !important;
        background: rgba(9, 14, 26, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 20px 20px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.8) !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 4px calc(env(safe-area-inset-bottom, 0px)) !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }
    .nav-dock-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 5px 0 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent !important;
        position: relative !important;
    }
    .dock-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #94a3b8 !important;
        margin-bottom: 2px !important;
        transition: color 0.18s ease, transform 0.18s ease !important;
    }
    .dock-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
        fill: currentColor !important;
    }
    .dock-label {
        font-size: 10.5px !important;
        font-weight: 600 !important;
        color: #94a3b8 !important;
        line-height: 1.2 !important;
        transition: color 0.18s ease !important;
        font-family: var(--font-cyber-display, system-ui, -apple-system, sans-serif) !important;
    }
    /* Active State: Xanh Cyber Neon rực rỡ trên nền tối */
    .nav-dock-item.active .dock-icon-wrap {
        color: #38bdf8 !important;
        transform: translateY(-2px) !important;
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6)) !important;
    }
    .nav-dock-item.active .dock-label {
        color: #38bdf8 !important;
        font-weight: 700 !important;
    }
    /* Nút Vương Miện Trung Tâm Nổi Bật Vàng Kim Hoàng Gia */
    .nav-dock-center {
        position: relative !important;
        top: -12px !important;
    }
    .dock-crown-sphere {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
        border: 3.5px solid #090e1a !important;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
    }
    .dock-crown-sphere:active {
        transform: scale(0.92) !important;
    }
    .dock-crown-svg {
        width: 26px !important;
        height: 26px !important;
        fill: #ffffff !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    }
    .dock-label-center {
        color: #fbbf24 !important;
        font-weight: 700 !important;
        margin-top: 2px !important;
    }
    .dock-icon-wrap svg.spinning {
        animation: spinRefresh 0.8s linear !important;
    }
    @keyframes spinRefresh {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    .bcr-studio-container {
        padding-top: 48px !important;
        padding-bottom: 68px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    /* Ẩn nút Telegram nổi trên Mobile để không đè lên giao diện */
    .telegram-float-btn {
        display: none !important;
    }

    /* ==========================================================================
       BACCARAT STUDIO VIEW TRÊN MOBILE / TABLET: THIẾT KẾ ĐẲNG CẤP CHUẨN CASINO THẬT (DARK OBSIDIAN THEME)
       ========================================================================== */
    body:not(.in-studio-mode) #bcrStudioView {
        display: none !important;
    }
    body.in-studio-mode #bcrLobbyView {
        display: none !important;
    }
    body.in-studio-mode #bcrStudioView {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 640px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        padding: 0 4px 85px 4px !important;
    }

    /* Phá vỡ wrapper Hero Stage để sắp xếp các phần tử theo thứ tự chuẩn Casino bằng CSS Order */
    .studio-hero-stage {
        display: contents !important;
    }
    .hero-giant-chip-box,
    .quantum-radar-rings,
    .hero-cta-trust,
    .stage-hud-corner,
    .stage-ambient-beam {
        display: none !important;
    }

    /* 1. THANH ĐIỀU HƯỚNG QUAY LẠI (ĐÃ LOẠI BỎ THEO YÊU CẦU NGƯỜI DÙNG) */
    .studio-navigation-bar {
        display: none !important;
    }

    /* 2. ORDER 2: BẢNG CHỈ HUY TÍN HIỆU CƯỢC HOÀNG GIA MACAU (ROYAL SALON PRIVÉ COMMAND HUD) */
    /* Thiết kế sắc sảo vát góc kim loại 4px, bỏ toàn bộ bo tròn bầu dục AI */
    .hero-prediction-info,
    .macau-command-hud {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        background: linear-gradient(135deg, #090e1c 0%, #050812 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.5) !important;
        outline: 1px solid rgba(255, 215, 0, 0.12) !important;
        outline-offset: -2px !important;
        border-radius: 4px !important;
        padding: 5px 8px !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .hud-top-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .hud-badge-prive {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 2.5px 8px !important;
        border-radius: 4px !important;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(15, 20, 30, 0.9)) !important;
        border: 1px solid rgba(212, 175, 55, 0.55) !important;
        color: #fef08a !important;
        font-size: 8.5px !important;
        font-weight: 900 !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.25) !important;
        white-space: nowrap !important;
    }
    .hud-crown-icon {
        width: 13px !important;
        height: 13px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: inline-block !important;
    }
    .hud-action-tag,
    .strategy-action-chip {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 2.5px 8px !important;
        border-radius: 4px !important;
        font-size: 8.5px !important;
        font-weight: 800 !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
        text-transform: uppercase !important;
        transition: all 0.25s ease !important;
    }
    .hud-action-tag.action-probe,
    .strategy-action-chip.action-probe {
        background: linear-gradient(135deg, rgba(26, 34, 50, 0.95), rgba(12, 18, 30, 0.95)) !important;
        border: 1px solid rgba(212, 175, 55, 0.65) !important;
        color: #fde047 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 0 8px rgba(212, 175, 55, 0.15) !important;
    }
    .hud-action-tag.action-sniper,
    .strategy-action-chip.action-sniper {
        background: linear-gradient(135deg, rgba(50, 15, 20, 0.95), rgba(28, 8, 12, 0.95)) !important;
        border: 1px solid rgba(239, 68, 68, 0.75) !important;
        color: #fca5a5 !important;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4), inset 0 0 8px rgba(239, 68, 68, 0.2) !important;
    }
    .hud-action-tag.action-steady,
    .strategy-action-chip.action-steady {
        background: linear-gradient(135deg, rgba(42, 28, 8, 0.95), rgba(20, 14, 4, 0.95)) !important;
        border: 1px solid rgba(245, 158, 11, 0.7) !important;
        color: #fef08a !important;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.35), inset 0 0 8px rgba(245, 158, 11, 0.15) !important;
    }
    .hud-action-tag.action-skip,
    .strategy-action-chip.action-skip {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95)) !important;
        border: 1px solid rgba(148, 163, 184, 0.5) !important;
        color: #cbd5e1 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    }
    .hud-sep {
        opacity: 0.35 !important;
        font-weight: 300 !important;
    }
    .hud-signal-grid {
        display: grid !important;
        grid-template-columns: 0.95fr 1px 1.15fr 1px 1.25fr !important;
        align-items: center !important;
        gap: 4px !important;
        background: rgba(0, 0, 0, 0.55) !important;
        border: 1px solid rgba(212, 175, 55, 0.25) !important;
        border-radius: 4px !important;
        padding: 4px 5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hud-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-width: 0 !important;
        padding: 0 1px !important;
        overflow: hidden !important;
    }
    .hud-lbl {
        font-size: 7px !important;
        font-weight: 800 !important;
        color: #94a3b8 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        margin-bottom: 1px !important;
        white-space: nowrap !important;
    }
    .hud-signal-val {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        letter-spacing: 0.4px !important;
    }
    .hud-signal-val .color-b,
    .hud-signal-val .signal-name {
        color: #f87171 !important;
        text-shadow: 0 0 10px rgba(239, 68, 68, 0.8) !important;
    }
    .hud-signal-val .color-p {
        color: #38bdf8 !important;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.8) !important;
    }
    .hud-signal-val .color-t {
        color: #34d399 !important;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.8) !important;
    }
    .signal-dot {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        display: inline-block !important;
    }
    .signal-dot.dot-b {
        background: #ef4444 !important;
        box-shadow: 0 0 6px #ef4444 !important;
    }
    .signal-dot.dot-p {
        background: #38bdf8 !important;
        box-shadow: 0 0 6px #38bdf8 !important;
    }
    .signal-dot.dot-t {
        background: #10b981 !important;
        box-shadow: 0 0 6px #10b981 !important;
    }
    .hud-pattern-val {
        font-size: 8.5px !important;
        font-weight: 800 !important;
        color: #f1f5f9 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        line-height: 1.15 !important;
        letter-spacing: -0.2px !important;
    }
    .hud-capital-val {
        font-size: 8.5px !important;
        font-weight: 800 !important;
        color: #fde047 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        line-height: 1.15 !important;
        letter-spacing: -0.2px !important;
    }
    .hud-divider {
        width: 1px !important;
        height: 20px !important;
        background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.45) 50%, transparent 100%) !important;
        flex-shrink: 0 !important;
    }
    .macau-plaque-showcase {
        display: none !important;
    }
    .vm-val.gold-accent {
        color: #fbbf24 !important;
        text-shadow: 0 0 8px rgba(251, 191, 36, 0.5) !important;
    }
    .vm-divider {
        width: 1px !important;
        height: 22px !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    /* 3. ORDER 3: BÀN CƯỢC THẢM NỈ CASINO MACAU THƯỢNG HẢI (AUTHENTIC FELT TABLE) */
    .casino-felt-table {
        order: 3 !important;
        background: radial-gradient(ellipse at 50% 15%, rgba(8, 40, 24, 0.85) 0%, rgba(2, 10, 6, 0.95) 100%), url('../../image/macau_felt_bg.jpg') center/cover no-repeat !important;
        border: 1.5px solid #b8860b !important;
        outline: 1px solid rgba(212, 175, 55, 0.25) !important;
        outline-offset: -3px !important;
        border-radius: 12px !important;
        box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.8), 0 4px 18px rgba(0, 0, 0, 0.6) !important;
        padding: 5px 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Hàng cược phụ Ribbon vàng kim tối giản */
    .felt-top-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 3px !important;
        margin-bottom: 4px !important;
    }
    .felt-side-box {
        background: rgba(0, 0, 0, 0.6) !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        border-radius: 4px !important;
        padding: 2.5px 1px !important;
        min-height: 27px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .felt-label-sub {
        font-size: 7.5px !important;
        font-weight: 800 !important;
        color: #e2e8f0 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    .felt-odds {
        font-size: 7px !important;
        font-weight: 700 !important;
        color: #fbbf24 !important;
        line-height: 1.1 !important;
    }

    /* Hàng cược chính: Tay con | Hòa | Nhà cái (Đường nét cong Casino thực thụ) */
    .felt-main-grid {
        display: grid !important;
        grid-template-columns: 1.15fr 0.8fr 1.15fr !important;
        gap: 5px !important;
    }
    .felt-main-box {
        min-height: 98px !important;
        height: 98px !important;
        border-radius: 8px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px 3px 6px 3px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .box-player {
        background: linear-gradient(180deg, rgba(11, 30, 63, 0.65) 0%, rgba(5, 15, 34, 0.85) 100%) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
    }
    .box-player .felt-title-vi {
        color: #38bdf8 !important;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.7) !important;
    }

    .box-tie {
        background: linear-gradient(180deg, rgba(6, 78, 59, 0.65) 0%, rgba(2, 44, 34, 0.85) 100%) !important;
        border: 1.5px solid rgba(52, 211, 153, 0.45) !important;
    }
    .box-tie .felt-title-vi {
        color: #4ade80 !important;
        text-shadow: 0 0 10px rgba(74, 222, 128, 0.7) !important;
    }

    .box-banker {
        background: linear-gradient(180deg, rgba(69, 10, 10, 0.65) 0%, rgba(43, 6, 6, 0.85) 100%) !important;
        border: 1.5px solid rgba(248, 113, 113, 0.45) !important;
    }
    .box-banker .felt-title-vi {
        color: #f87171 !important;
        text-shadow: 0 0 10px rgba(248, 113, 113, 0.7) !important;
    }

    .felt-title-en {
        display: none !important;
    }
    .felt-box-core {
        position: relative !important;
        z-index: 5 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .felt-title-vi {
        font-size: 14.5px !important;
        font-weight: 900 !important;
        letter-spacing: 0.4px !important;
        margin: 0 !important;
        line-height: 1.15 !important;
    }
    .felt-payout {
        font-size: 10px !important;
        font-weight: 800 !important;
        color: #fde047 !important;
        margin: 1px 0 !important;
        line-height: 1 !important;
    }
    .felt-live-stat {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        width: 86% !important;
    }
    .felt-stat-bar {
        flex: 1 !important;
        height: 3px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 99px !important;
        overflow: hidden !important;
    }
    .felt-stat-text {
        font-size: 9px !important;
        font-weight: 800 !important;
        color: #f1f5f9 !important;
    }
    .felt-side-dragon {
        display: none !important;
    }

    /* HIỆU ỨNG NHÁY SÁNG: CÁI THÌ NHÁY ĐỎ, CON THÌ NHÁY XANH */
    .felt-main-box.pulse-banker-red {
        border-color: #ef4444 !important;
        background: linear-gradient(180deg, rgba(127, 29, 29, 0.75) 0%, rgba(69, 10, 10, 0.95) 100%) !important;
        box-shadow: 0 0 24px rgba(239, 68, 68, 0.9), inset 0 0 16px rgba(239, 68, 68, 0.5) !important;
        animation: neonPulseRed 1.6s infinite ease-in-out !important;
    }
    @keyframes neonPulseRed {
        0%, 100% {
            border-color: #ef4444 !important;
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.7), inset 0 0 12px rgba(239, 68, 68, 0.4) !important;
        }
        50% {
            border-color: #ff3b3b !important;
            box-shadow: 0 0 38px rgba(239, 68, 68, 1), 0 0 55px rgba(239, 68, 68, 0.5), inset 0 0 25px rgba(239, 68, 68, 0.7) !important;
        }
    }

    .felt-main-box.pulse-player-blue {
        border-color: #38bdf8 !important;
        background: linear-gradient(180deg, rgba(14, 53, 114, 0.75) 0%, rgba(8, 28, 66, 0.95) 100%) !important;
        box-shadow: 0 0 24px rgba(56, 189, 248, 0.9), inset 0 0 16px rgba(56, 189, 248, 0.5) !important;
        animation: neonPulseBlue 1.6s infinite ease-in-out !important;
    }
    @keyframes neonPulseBlue {
        0%, 100% {
            border-color: #38bdf8 !important;
            box-shadow: 0 0 15px rgba(56, 189, 248, 0.7), inset 0 0 12px rgba(56, 189, 248, 0.4) !important;
        }
        50% {
            border-color: #00e1ff !important;
            box-shadow: 0 0 38px rgba(56, 189, 248, 1), 0 0 55px rgba(56, 189, 248, 0.5), inset 0 0 25px rgba(56, 189, 248, 0.7) !important;
        }
    }

    .felt-main-box.pulse-tie-green {
        border-color: #10b981 !important;
        background: linear-gradient(180deg, rgba(6, 95, 70, 0.75) 0%, rgba(4, 50, 38, 0.95) 100%) !important;
        box-shadow: 0 0 24px rgba(16, 185, 129, 0.9), inset 0 0 16px rgba(16, 185, 129, 0.5) !important;
        animation: neonPulseGreen 1.6s infinite ease-in-out !important;
    }
    @keyframes neonPulseGreen {
        0%, 100% {
            border-color: #10b981 !important;
            box-shadow: 0 0 15px rgba(16, 185, 129, 0.7), inset 0 0 12px rgba(16, 185, 129, 0.4) !important;
        }
        50% {
            border-color: #34d399 !important;
            box-shadow: 0 0 38px rgba(16, 185, 129, 1), 0 0 55px rgba(16, 185, 129, 0.5), inset 0 0 25px rgba(16, 185, 129, 0.7) !important;
        }
    }

    /* ẨN TOÀN BỘ CON DẤU KHOANH VÀNG THEO YÊU CẦU */
    .bet-decision-stamp {
        display: none !important;
    }

    /* VÒNG TRÒN SỐ % THẮNG CÓ HIỆU ỨNG XOAY VÒNG XUNG QUANH (QUANTUM % WIN RADAR) */
    .felt-quantum-radar {
        position: relative !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 auto 2px !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 6 !important;
        flex-shrink: 0 !important;
    }

    .bet-target-active .felt-quantum-radar {
        display: flex !important;
    }

    .radar-spinner-ring {
        position: absolute !important;
        inset: -2px !important;
        border-radius: 50% !important;
        animation: radarSpin 2s linear infinite !important;
        pointer-events: none !important;
    }

    @keyframes radarSpin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .radar-spinner-ring.ring-banker {
        background: conic-gradient(from 0deg, transparent 0deg, transparent 180deg, rgba(239, 68, 68, 0.35) 260deg, #ff2222 360deg) !important;
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)) !important;
        mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)) !important;
        filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.9)) !important;
    }

    .radar-spinner-ring.ring-player {
        background: conic-gradient(from 0deg, transparent 0deg, transparent 180deg, rgba(56, 189, 248, 0.35) 260deg, #00f0ff 360deg) !important;
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)) !important;
        mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px)) !important;
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.9)) !important;
    }

    .radar-core-disc {
        position: relative !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: radial-gradient(circle, rgba(15, 23, 42, 0.98) 0%, rgba(4, 8, 16, 1) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), inset 0 0 8px rgba(0, 0, 0, 0.9) !important;
        z-index: 2 !important;
    }

    .radar-win-pct {
        font-size: 11.5px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        letter-spacing: -0.2px !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }

    .radar-banker .radar-win-pct {
        color: #ff4d4d !important;
        text-shadow: 0 0 8px rgba(255, 77, 77, 0.9) !important;
    }

    .radar-player .radar-win-pct {
        color: #38bdf8 !important;
        text-shadow: 0 0 8px rgba(56, 189, 248, 0.9) !important;
    }

    .radar-win-label {
        font-size: 5.5px !important;
        font-weight: 800 !important;
        color: rgba(226, 232, 240, 0.9) !important;
        letter-spacing: 0.5px !important;
        line-height: 1 !important;
        margin-top: 1.5px !important;
        text-transform: uppercase !important;
    }

    /* CHIP 3D THUMBNAIL TRONG Ô CƯỢC: CHUẨN HOÁ CHIỀU CAO 42PX KHỚP RADAR */
    .felt-chip-thumb {
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 2px !important;
        flex-shrink: 0 !important;
    }
    .bet-target-active .felt-chip-thumb {
        display: none !important;
    }
    .felt-mini-chip {
        width: 26px !important;
        height: 26px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 1.5px solid rgba(255, 215, 0, 0.8) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    /* THUẬT TOÁN DỰ ĐOÁN HÒA: VÒNG TRÒN SỐ % Ở CHỖ HÒA */
    .tie-core-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
    }
    .tie-circle-gauge-wrap {
        position: relative !important;
        width: 42px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 2px !important;
        flex-shrink: 0 !important;
    }
    .tie-circle-svg {
        width: 42px !important;
        height: 42px !important;
        transform: rotate(-90deg) !important;
    }
    .tie-circle-progress {
        transition: stroke-dashoffset 0.6s ease-in-out !important;
        filter: drop-shadow(0 0 3px #10b981) !important;
    }
    .tie-circle-value {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .tie-circle-pct {
        font-size: 11px !important;
        font-weight: 900 !important;
        color: #34d399 !important;
        text-shadow: 0 0 8px rgba(52, 211, 153, 0.9) !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        letter-spacing: -0.2px !important;
    }
    .tie-green-text {
        color: #10b981 !important;
    }
    .tie-count-text {
        font-size: 8px !important;
        color: #a7f3d0 !important;
        font-weight: 800 !important;
    }

    /* 4. ORDER 4: DẢI THỐNG KÊ SỐ VÁN & KẾT QUẢ NGAY TRÊN BẢNG CẦU (DARK LUXURY) */
    .studio-top-controls {
        order: 4 !important;
        background: #0c1322 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px 8px 0 0 !important;
        border-bottom: none !important;
        padding: 3px 8px !important;
        margin: 0 !important;
        height: 26px !important;
        min-height: 26px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .studio-active-info {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .studio-live-tag {
        font-size: 8px !important;
        font-weight: 800 !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
    }
    .studio-table-title {
        display: none !important;
    }
    .studio-table-hands {
        font-size: 9.5px !important;
        font-weight: 700 !important;
        color: #f1f5f9 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
    }
    .studio-table-counters {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .counter-tag-chip {
        padding: 1px 5px !important;
        font-size: 9px !important;
        height: 18px !important;
        border-radius: 4px !important;
        gap: 2px !important;
        font-weight: 800 !important;
    }
    .counter-tag-chip.tag-b {
        background: #dc2626 !important;
        color: #fff !important;
    }
    .counter-tag-chip.tag-t {
        background: #059669 !important;
        color: #fff !important;
    }
    .counter-tag-chip.tag-p {
        background: #2563eb !important;
        color: #fff !important;
    }

    /* 5. ORDER 5: 5 BẢNG CẦU CASINO NỀN TỐI SANG TRỌNG (KHÔNG BỊ CẮT BẢNG HỎI CẦU) */
    .studio-scoreboard-card {
        order: 5 !important;
        background: #080c16 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .scoreboard-header {
        display: none !important;
    }
    .scoreboard-unified-board {
        display: grid !important;
        grid-template-columns: 28% 72% !important;
        background: #080c16 !important;
        gap: 0 !important;
        height: 158px !important;
        min-height: 158px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cột Trái: Cầu Hạt (Bead Plate) 6 Hàng Nền Tối */
    .scoreboard-panel-bead {
        background: #080c16 !important;
        border: none !important;
        border-right: 1.5px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 158px !important;
        overflow: hidden !important;
    }
    .scoreboard-panel-bead .board-panel-header {
        background: #0f172a !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 2px 4px !important;
        height: 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .scoreboard-panel-bead .panel-name {
        font-size: 8px !important;
        font-weight: 800 !important;
        color: #cbd5e1 !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }
    .scoreboard-panel-bead .panel-tag {
        font-size: 6.5px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #94a3b8 !important;
        padding: 0 3px !important;
    }
    #studioBeadWrapper {
        background: #080c16 !important;
        padding: 2px !important;
        height: 140px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
    }
    .scoreboard-panel-bead .bcr-bead-plate {
        display: inline-flex !important;
        flex-direction: row !important;
        gap: 1.5px !important;
        background: #080c16 !important;
    }
    .scoreboard-panel-bead .bead-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5px !important;
    }
    .scoreboard-panel-bead .bead-cell {
        width: 19px !important;
        height: 19px !important;
        min-width: 19px !important;
        min-height: 19px !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        background: #0c1220 !important;
        border-radius: 2px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .scoreboard-panel-bead .bcr-chip {
        width: 16.5px !important;
        height: 16.5px !important;
        font-size: 8.5px !important;
        font-weight: 900 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
    }
    .scoreboard-panel-bead .chip-banker {
        background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
        border: 1px solid #fca5a5 !important;
        box-shadow: 0 1px 3px rgba(239, 68, 68, 0.5) !important;
    }
    .scoreboard-panel-bead .chip-player {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
        border: 1px solid #93c5fd !important;
        box-shadow: 0 1px 3px rgba(59, 130, 246, 0.5) !important;
    }
    .scoreboard-panel-bead .chip-tie {
        background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
        border: 1px solid #6ee7b7 !important;
        box-shadow: 0 1px 3px rgba(16, 185, 129, 0.5) !important;
    }

    /* Cột Phải: Cầu Đại + 3 Cầu Phụ + Bảng Hỏi Cầu Nền Tối */
    .scoreboard-panel-mainroads {
        background: #080c16 !important;
        border: none !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 158px !important;
        overflow: hidden !important;
        gap: 0 !important;
    }

    /* Cầu Đại (Big Road) Nền Tối */
    .sub-panel-bigroad {
        background: #080c16 !important;
        border: none !important;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 0 !important;
        height: 76px !important;
        overflow: hidden !important;
    }
    .sub-panel-bigroad .board-panel-header {
        background: #0f172a !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 1px 4px !important;
        height: 14px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .sub-panel-bigroad .panel-name {
        font-size: 7px !important;
        font-weight: 800 !important;
        color: #cbd5e1 !important;
        letter-spacing: 0.2px !important;
    }
    .sub-panel-bigroad .panel-tag {
        font-size: 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #94a3b8 !important;
        padding: 0 3px !important;
    }
    #studioBigRoadWrapper {
        background: #080c16 !important;
        padding: 1px !important;
        height: 62px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
    }
    .sub-panel-bigroad .bcr-big-road {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
        background: #080c16 !important;
    }
    .sub-panel-bigroad .bigroad-row {
        display: flex !important;
        gap: 1px !important;
    }
    .sub-panel-bigroad .bigroad-cell {
        width: 9.5px !important;
        height: 9.5px !important;
        min-width: 9.5px !important;
        min-height: 9.5px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        background: #070b14 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .sub-panel-bigroad .bigroad-ring {
        width: 7.5px !important;
        height: 7.5px !important;
        border-radius: 50% !important;
        background: transparent !important;
    }
    .sub-panel-bigroad .bigroad-ring.bigroad-banker {
        border: 1.5px solid #ef4444 !important;
        filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.6)) !important;
    }
    .sub-panel-bigroad .bigroad-ring.bigroad-player {
        border: 1.5px solid #38bdf8 !important;
        filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.6)) !important;
    }
    .sub-panel-bigroad .tie-slash {
        background: #10b981 !important;
    }
    .sub-panel-bigroad .tie-count {
        font-size: 4.5px !important;
        color: #34d399 !important;
        font-weight: 900 !important;
    }

    /* 3 Cầu Phụ Nền Tối: Đại Nhãn | Tiểu Lộ | Phỏng Lộ */
    .sub-panel-derived {
        background: #080c16 !important;
        border: none !important;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.08) !important;
        height: 50px !important;
        overflow: hidden !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0 !important;
    }
    .derived-block {
        background: #080c16 !important;
        border: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        height: 50px !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .derived-block:last-child {
        border-right: none !important;
    }
    .derived-sub-header {
        background: #0b1120 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 0 3px !important;
        height: 12px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .d-sub-title {
        font-size: 6px !important;
        font-weight: 800 !important;
        color: #94a3b8 !important;
        white-space: nowrap !important;
    }
    .derived-scroll {
        background: #070b14 !important;
        padding: 1px !important;
        height: 38px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .bcr-derived-road {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
        background: #070b14 !important;
    }
    .derived-row {
        display: flex !important;
        gap: 1px !important;
    }
    .derived-cell {
        width: 5px !important;
        height: 5px !important;
        min-width: 5px !important;
        min-height: 5px !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        background: #070b14 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .d-ring-red { border-color: #ef4444 !important; width: 4px !important; height: 4px !important; border-width: 1px !important; }
    .d-ring-blue { border-color: #38bdf8 !important; width: 4px !important; height: 4px !important; border-width: 1px !important; }
    .d-dot-red { background: #ef4444 !important; width: 3.5px !important; height: 3.5px !important; }
    .d-dot-blue { background: #38bdf8 !important; width: 3.5px !important; height: 3.5px !important; }
    .d-slash-red { color: #ef4444 !important; font-size: 5px !important; font-weight: 900 !important; line-height: 1 !important; }
    .d-slash-blue { color: #38bdf8 !important; font-size: 5px !important; font-weight: 900 !important; line-height: 1 !important; }

    /* BẢNG HỎI CẦU CASINO TINH GỌN (COMPACT VIP ASK BAR - SIÊU GỌN KHÔNG CHIẾM DIỆN TÍCH) */
    .scoreboard-ask-panel,
    .scoreboard-ask-panel.compact-ask-bar {
        background: #060a14 !important;
        height: 24px !important;
        min-height: 24px !important;
        padding: 0 10px !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .ask-unit-compact {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .ask-pill-chip {
        font-size: 8.5px !important;
        font-weight: 900 !important;
        padding: 2px 8px !important;
        border-radius: 4px !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
        line-height: 1.1 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    .ask-pill-banker {
        background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
        color: #ffffff !important;
        border: 1px solid rgba(248, 113, 113, 0.6) !important;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }
    .ask-pill-player {
        background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
        color: #ffffff !important;
        border: 1px solid rgba(56, 189, 248, 0.6) !important;
        box-shadow: 0 2px 6px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }
    .ask-beads-inline {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
    }
    .ask-beads-inline .ask-proj-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 10px !important;
        height: 10px !important;
    }
    .ask-beads-inline .derived-ring {
        width: 5px !important;
        height: 5px !important;
        border-radius: 50% !important;
        border-width: 1.2px !important;
        border-style: solid !important;
    }
    .ask-beads-inline .derived-dot {
        width: 4.5px !important;
        height: 4.5px !important;
        border-radius: 50% !important;
    }
    .ask-beads-inline .derived-slash {
        font-size: 7px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }
    .ask-bar-sep {
        color: rgba(255, 255, 255, 0.15) !important;
        font-size: 10px !important;
        font-weight: 300 !important;
    }

    /* 6. ẨN HOÀN TOÀN NÚT VÀO BÀN CƯỢC NGAY Ở DƯỚI THEO YÊU CẦU */
    .hero-action-group,
    .btn-hero-cta {
        display: none !important;
    }

    /* 7. ORDER 7: NHẬT KÝ ĐỐI SOÁT DỰ ĐOÁN (AUDIT LOGS) ĐẲNG CẤP VIP */
    .modal-history-logs {
        order: 7 !important;
        display: block !important;
        width: 100% !important;
        margin: 8px 0 16px 0 !important;
        background: linear-gradient(180deg, #0b0f19 0%, #060810 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        border-radius: 12px !important;
        padding: 8px 10px !important;
        box-sizing: border-box !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8) !important;
    }
    .history-logs-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        padding-bottom: 6px !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .hist-title {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        color: #fbbf24 !important;
        letter-spacing: 0.3px !important;
        text-transform: uppercase !important;
    }
    .hist-title svg {
        width: 14px !important;
        height: 14px !important;
        fill: currentColor !important;
    }
    .hist-sub {
        font-size: 9px !important;
        color: #94a3b8 !important;
        margin-left: 20px !important;
    }
    .history-table-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    .bcr-history-table {
        width: 100% !important;
        border-collapse: collapse !important;
        text-align: center !important;
    }
    .bcr-history-table th {
        background: #0f172a !important;
        color: #94a3b8 !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        padding: 6px 4px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        white-space: nowrap !important;
    }
    .bcr-history-table td {
        padding: 6px 4px !important;
        font-size: 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        color: #cbd5e1 !important;
        vertical-align: middle !important;
    }
    .log-hand-idx {
        font-weight: 800 !important;
        color: #e2e8f0 !important;
    }
    .log-tag-b {
        display: inline-block !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(239, 68, 68, 0.22) !important;
        border: 1px solid rgba(239, 68, 68, 0.5) !important;
        color: #fca5a5 !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-tag-p {
        display: inline-block !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(56, 189, 248, 0.22) !important;
        border: 1px solid rgba(56, 189, 248, 0.5) !important;
        color: #bae6fd !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-tag-t {
        display: inline-block !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(16, 185, 129, 0.22) !important;
        border: 1px solid rgba(16, 185, 129, 0.5) !important;
        color: #6ee7b7 !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-status-win {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(16, 185, 129, 0.18) !important;
        border: 1px solid rgba(16, 185, 129, 0.5) !important;
        color: #34d399 !important;
        font-weight: 900 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-status-loss {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(239, 68, 68, 0.15) !important;
        border: 1px solid rgba(239, 68, 68, 0.4) !important;
        color: #f87171 !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-status-tie {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        background: rgba(245, 158, 11, 0.18) !important;
        border: 1px solid rgba(245, 158, 11, 0.45) !important;
        color: #fef08a !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }
    .log-time {
        color: #64748b !important;
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    /* Ẩn các khối cồng kềnh phụ */
    .studio-learning-grid {
        display: none !important;
    }
}

/* ==========================================================================
   BỘ ÓC CHUYÊN GIA SÒNG BÀI (GRANDMASTER MINDSET & STRATEGY STAKING HUD)
   ========================================================================== */
.hero-strategy-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.strategy-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.action-sniper {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(185, 28, 28, 0.45) 100%);
    border: 1px solid rgba(239, 68, 68, 0.7);
    color: #fecaca;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
    animation: pulseSniper 1.8s infinite ease-in-out;
}

@keyframes pulseSniper {
    0%, 100% {
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 22px rgba(239, 68, 68, 0.75);
        transform: scale(1.02);
    }
}

.action-steady {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fef08a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.action-probe {
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(14, 165, 233, 0.55);
    color: #bae6fd;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

.action-skip {
    background: rgba(100, 116, 139, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #cbd5e1;
}

.action-stake-text {
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.95;
}

/* HỘP PHÂN TÍCH 4 CHIỀU CỦA CHUYÊN GIA (GRANDMASTER 4D HUD PANEL) */
.grandmaster-hud-panel {
    margin-top: 14px;
    background: rgba(4, 9, 23, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gm-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    margin-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-title-tag {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gm-brain-icon {
    font-size: 16px;
}

.gm-title-text {
    font-size: 12px;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.gm-heat-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.heat-gold {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fef08a;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.heat-steady {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #bae6fd;
}

.heat-choppy {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}

.gm-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 12px;
}

.gm-insight-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9px;
    padding: 8px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gm-col-head {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

.gm-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot-cyan { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.dot-gold { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.dot-red { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dot-green { background: #10b981; box-shadow: 0 0 6px #10b981; }

.gm-col-body {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

/* Thẻ bàn trong Lobby: Action Pills */
.card-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.pill-sniper {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fecaca;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.pill-skip {
    background: rgba(100, 116, 139, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #cbd5e1;
}

.pill-steady {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: #fef08a;
}

.action-divider {
    opacity: 0.45;
    font-weight: 300;
    margin: 0 2px;
}

.grandmaster-hud-panel {
    display: none !important;
}

/* ==========================================================================
   MACAU VIP SALON PRIVÉ: NỀN HÌNH ẢNH HOÀNG GIA & HẠT SÁNG ĐỘNG TOÀN DIỆN
   ========================================================================== */
.macau-master-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    z-index: -4 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.macau-bg-layer {
    position: absolute !important;
    inset: -3% !important;
    width: 106% !important;
    height: 106% !important;
    background-image: 
        radial-gradient(ellipse at 50% 30%, rgba(2, 6, 18, 0.45) 0%, rgba(3, 7, 18, 0.85) 65%, rgba(1, 4, 10, 0.98) 100%),
        url('../../image/macau_vip_bg.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    filter: brightness(0.72) contrast(1.18) saturate(1.2) !important;
    animation: bgAmbientZoom 28s ease-in-out infinite alternate !important;
    transform-origin: center center !important;
    will-change: transform !important;
}

@keyframes bgAmbientZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.045); }
}

.macau-ambient-glow {
    position: absolute !important;
    inset: 0 !important;
    background: 
        radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 82% 28%, rgba(239, 68, 68, 0.12) 0%, transparent 48%),
        radial-gradient(circle at 50% 82%, rgba(56, 189, 248, 0.1) 0%, transparent 55%) !important;
    animation: ambientGlowPulse 8s ease-in-out infinite alternate !important;
}

@keyframes ambientGlowPulse {
    0% { opacity: 0.65; }
    100% { opacity: 1; }
}

.macau-vignette-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.82) 100%) !important;
}

.macau-gold-particles {
    position: absolute !important;
    inset: 0 !important;
}

.gold-particle {
    position: absolute !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, #fff7b2 0%, #ffd700 70%, transparent 100%) !important;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9)) !important;
    animation: floatGoldParticle 14s linear infinite !important;
    opacity: 0 !important;
}

.gold-particle.p1 { width: 4px !important; height: 4px !important; left: 10% !important; bottom: -10px !important; animation-duration: 16s !important; animation-delay: 0s !important; }
.gold-particle.p2 { width: 3px !important; height: 3px !important; left: 25% !important; bottom: -10px !important; animation-duration: 19s !important; animation-delay: 3s !important; }
.gold-particle.p3 { width: 5px !important; height: 5px !important; left: 40% !important; bottom: -10px !important; animation-duration: 14s !important; animation-delay: 1.5s !important; }
.gold-particle.p4 { width: 3px !important; height: 3px !important; left: 55% !important; bottom: -10px !important; animation-duration: 21s !important; animation-delay: 5s !important; }
.gold-particle.p5 { width: 4px !important; height: 4px !important; left: 70% !important; bottom: -10px !important; animation-duration: 17s !important; animation-delay: 2s !important; }
.gold-particle.p6 { width: 6px !important; height: 6px !important; left: 82% !important; bottom: -10px !important; animation-duration: 23s !important; animation-delay: 4.5s !important; }
.gold-particle.p7 { width: 3px !important; height: 3px !important; left: 92% !important; bottom: -10px !important; animation-duration: 15s !important; animation-delay: 6s !important; }
.gold-particle.p8 { width: 4px !important; height: 4px !important; left: 35% !important; bottom: -10px !important; animation-duration: 18s !important; animation-delay: 8s !important; }

@keyframes floatGoldParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    15% { opacity: 0.85; }
    85% { opacity: 0.85; }
    100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
}

/* ==========================================================================
   LOẠI BỎ TRIỆT ĐỂ NỀN XANH Ở DƯỚI CHỖ QUAY LẠI DANH SÁCH BÀN
   ========================================================================== */
.studio-navigation-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 0 10px 0 !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.btn-back-lobby {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    color: #fef08a !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.12) !important;
    border-radius: 9999px !important;
    padding: 8px 18px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.btn-back-lobby svg {
    fill: #ffd700 !important;
    width: 16px !important;
    height: 16px !important;
}

.btn-back-lobby:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.45) !important;
    transform: translateX(-2px) !important;
}

/* ==========================================================================
   NÚT TAB ĐỔI BÀN VIP THU GỌN Ở MÉP PHẢI (VỊ TRÍ KHOANH ĐỎ)
   ========================================================================== */
.vip-drawer-edge-trigger {
    position: fixed !important;
    right: 0 !important;
    top: 100px !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    display: none !important;
    width: 22px !important;
    min-width: 22px !important;
    background: linear-gradient(180deg, #221a0e 0%, #120e06 50%, #090c14 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.8) !important;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important;
    padding: 6px 2.5px !important;
    box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.85), 0 0 10px rgba(212, 175, 55, 0.4) !important;
    cursor: pointer !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.in-studio-mode .vip-drawer-edge-trigger {
    display: flex !important;
}

body.vip-drawer-locked .vip-drawer-edge-trigger {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.vip-drawer-edge-trigger:hover {
    transform: translateY(-50%) translateX(-2px) !important;
    box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.9), 0 0 14px rgba(212, 175, 55, 0.6) !important;
    border-color: #ffd700 !important;
}

.edge-trigger-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
}

.edge-crown {
    font-size: 10px !important;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.95)) !important;
    animation: crownBounce 2.5s ease-in-out infinite !important;
}

@keyframes crownBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.edge-text {
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    color: #fef08a !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    font-family: var(--font-cyber-display) !important;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.8) !important;
}

.edge-arrow {
    color: #ffd700 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    animation: arrowNudge 1.5s ease-in-out infinite !important;
}

@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

.edge-glow-line {
    position: absolute !important;
    left: 0 !important;
    top: 15% !important;
    height: 70% !important;
    width: 2px !important;
    background: linear-gradient(180deg, transparent, #ffd700, transparent) !important;
    box-shadow: 0 0 8px #ffd700 !important;
}

/* ==========================================================================
   VIP TABLE DRAWER: DANH SÁCH BÀN TRƯỢT TỪ MÉP PHẢI (CHUẨN 100% DỮ LIỆU THẬT)
   ========================================================================== */
.vip-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: rgba(3, 7, 18, 0.78) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    display: none;
}

.vip-drawer-backdrop.is-active {
    opacity: 1 !important;
}

.vip-table-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 350px !important;
    max-width: 88vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 10001 !important;
    background: linear-gradient(180deg, #101524 0%, #090d18 100%) !important;
    border-left: 1.5px solid rgba(212, 175, 55, 0.5) !important;
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.9), inset 1px 0 0 rgba(255, 255, 255, 0.08) !important;
    display: none !important;
    flex-direction: column !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vip-table-drawer.is-open {
    display: flex !important;
    transform: translateX(0) !important;
}

body.vip-drawer-locked {
    overflow: hidden !important;
}

.vip-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px !important;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.14) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.vip-drawer-title-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.vip-drawer-crown {
    font-size: 22px !important;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)) !important;
}

.vip-drawer-title {
    margin: 0 !important;
    font-size: 14.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    font-family: var(--font-cyber-display) !important;
}

.vip-drawer-subtitle {
    font-size: 9.5px !important;
    color: #fef08a !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.btn-close-vip-drawer {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.btn-close-vip-drawer:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

.vip-drawer-search-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background: #090e1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.vip-drawer-search-wrap svg {
    fill: #64748b !important;
}

.vip-drawer-search-wrap input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-family: var(--font-cyber-body) !important;
}

.vip-drawer-search-wrap input::placeholder {
    color: #64748b !important;
}

.vip-drawer-list {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.vip-drawer-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    position: relative !important;
}

.vip-drawer-card:hover {
    background: rgba(212, 175, 55, 0.09) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.vip-drawer-card.is-active-card {
    border-color: #ffd700 !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%) !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.25) !important;
}

.drawer-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.drawer-name-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.drawer-table-crown {
    font-size: 14px !important;
}

.drawer-table-title {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.drawer-badge-vip {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #fef08a !important;
    background: rgba(212, 175, 55, 0.25) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

.drawer-badge-live {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.2) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

.drawer-badge-current {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.22) !important;
    border: 1px solid #10b981 !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

.drawer-rate-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.drawer-rate-val {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #38bdf8 !important;
    line-height: 1 !important;
}

.rate-high .drawer-rate-val {
    color: #fef08a !important;
    text-shadow: 0 0 8px rgba(254, 240, 138, 0.6) !important;
}

.drawer-rate-lbl {
    font-size: 7px !important;
    color: #94a3b8 !important;
    letter-spacing: 0.4px !important;
    margin-top: 2px !important;
}

.drawer-card-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.drawer-pred-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
}

.pill-banker {
    background: rgba(239, 68, 68, 0.18) !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
    color: #fca5a5 !important;
}

.pill-banker .pill-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    box-shadow: 0 0 5px #ef4444 !important;
}

.pill-player {
    background: rgba(56, 189, 248, 0.18) !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    color: #bae6fd !important;
}

.pill-player .pill-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #38bdf8 !important;
    box-shadow: 0 0 5px #38bdf8 !important;
}

.drawer-pattern-tag {
    font-size: 10.5px !important;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    max-width: 140px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.btn-drawer-enter {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    color: #fef08a !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    width: 100% !important;
}

.vip-drawer-card:hover .btn-drawer-enter {
    background: linear-gradient(135deg, #ffd700 0%, #b45309 100%) !important;
    color: #000000 !important;
    font-weight: 900 !important;
    border-color: #ffd700 !important;
}

.btn-is-current {
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: #10b981 !important;
    color: #6ee7b7 !important;
}

.drawer-empty-state {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 16px !important;
    color: #64748b !important;
    text-align: center !important;
    gap: 10px !important;
}

/* ==========================================================================
   1. BIỂN HIỆU HOÀNH PHI HOÀNG GIA THỜI THANH: THIÊN LÂM BACCARAT
   (QING DYNASTY IMPERIAL PLAQUE HERO BANNER)
   ========================================================================== */
.imperial-qing-banner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 24px;
    padding: 10px 16px 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mái ngói lưu ly hoàng cung đỉnh biển */
.imperial-roof-canopy {
    width: 92%;
    max-width: 820px;
    height: 18px;
    position: relative;
    z-index: 3;
    margin-bottom: -5px;
}

.roof-ridge {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.ridge-tiles {
    flex: 1;
    height: 12px;
    background: repeating-linear-gradient(90deg, #d97706 0px, #ffd700 8px, #78350f 16px);
    border-top: 2px solid #fffbeb;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -2px 10px rgba(255, 215, 0, 0.45);
}

.ridge-beast {
    width: 28px;
    height: 18px;
    background: radial-gradient(circle at 50% 50%, #ffd700 0%, #b45309 80%, #78350f 100%);
    position: relative;
    clip-path: polygon(0 100%, 30% 20%, 70% 0, 100% 40%, 60% 70%, 100% 100%);
}
.beast-left { transform: scaleX(-1); margin-right: -4px; }
.beast-right { margin-left: -4px; }

/* Khung Hoành Phi Sơn Son Thếp Vàng Chạm Rồng Phượng Thời Thanh */
.imperial-plaque-board {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #3b0509 0%, #150204 40%, #0d0102 70%, #290407 100%);
    border: 4px solid #b45309;
    outline: 2px solid #ffd700;
    outline-offset: -2px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.35), inset 0 0 25px rgba(0, 0, 0, 0.9);
    padding: 18px 24px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 2;
}

/* 4 Góc Hoa Văn Kim Xà Cung Đình Thời Thanh */
.plaque-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    pointer-events: none;
    z-index: 5;
    background: url('../image/imperial_eave_corner.svg') no-repeat center / contain;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}
.plaque-corner.corner-tl { top: 3px; left: 3px; }
.plaque-corner.corner-tr { top: 3px; right: 3px; transform: scaleX(-1); }
.plaque-corner.corner-bl { bottom: 3px; left: 3px; transform: scaleY(-1); }
.plaque-corner.corner-br { bottom: 3px; right: 3px; transform: scale(-1, -1); }

/* Tua Rua Gấm Đỏ Thắt Ngọc Bích Thời Thanh */
.plaque-tassel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 6;
}
.tassel-left { left: 16px; }
.tassel-right { right: 16px; }

.jade-ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3.5px solid #10b981;
    background: radial-gradient(circle, #34d399 20%, #065f46 90%);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}
.tassel-threads {
    width: 6px;
    height: 38px;
    background: linear-gradient(180deg, #dc2626 0%, #ffd700 30%, #ef4444 80%, #7f1d1d 100%);
    border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    margin-top: -3px;
}

/* Lòng Biển Hoành Phi */
.plaque-canvas-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 4;
}

/* Ấn Tín Son Đỏ Chu Sa Hoàng Gia Thời Thanh */
.imperial-seal-stamp {
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 40% 40%, #dc2626 0%, #991b1b 60%, #7f1d1d 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), inset 0 0 8px rgba(0, 0, 0, 0.6), 0 0 10px rgba(220, 38, 38, 0.5);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.seal-inner {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    color: #fffbeb;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
    letter-spacing: 2px;
    font-family: "Noto Serif SC", "STSong", "Songti SC", "SimSun", serif;
}

/* Cụm Đại Tự Hoàng Gia Dát Vàng 3D */
.plaque-title-cluster {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.plaque-hanzi-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #fde047;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.8);
    font-family: "Noto Serif SC", "Songti SC", serif;
}
.hanzi-sym {
    font-size: 10px;
    color: #ffd700;
}

.plaque-grand-title {
    margin: 2px 0 4px;
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 20%, #ffd700 50%, #f59e0b 80%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 #78350f) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 18px rgba(255, 215, 0, 0.65));
}

.plaque-subtext {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 1px;
}
.sub-chip {
    color: #e2e8f0;
}
.sub-sep {
    color: #ffd700;
}

/* Tia Sáng Vàng Quét Ngang Lấp Lánh */
.plaque-shimmer-sweep {
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 215, 0, 0.35) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 100%);
    transform: skewX(-25deg);
    animation: plaqueShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes plaqueShimmer {
    0% { left: -150%; }
    40%, 100% { left: 180%; }
}

/* ==========================================================================
   2. HOA VĂN RỒNG PHƯỢNG CHẠM TRỔ DÁT VÀNG & CHẤT LIỆU GỖ MUN HOÀNG GIA MACAU
   ========================================================================== */
body.bcr-cyber-theme {
    background: radial-gradient(ellipse at 50% 12%, #24140b 0%, #150b06 45%, #080302 100%) !important;
    background-attachment: fixed !important;
    color: #f5eedc !important;
}

/* 4 Góc Chạm Trổ Rồng Phượng Dát Vàng (Long Phượng Trình Tường 24K Gold Filigree) */
.card-eave-bracket,
.stage-hud-corner,
.felt-gold-corner,
.board-gold-corner {
    position: absolute !important;
    pointer-events: none !important;
    z-index: 10 !important;
    background: url('../image/imperial_dragon_phoenix_corner.svg') no-repeat center / contain !important;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.6)) !important;
    opacity: 0.95 !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    border: none !important;
}

/* Định vị 4 góc chuẩn xác */
.card-eave-bracket.eave-tl,
.stage-hud-corner.corner-tl,
.felt-gold-corner.corner-tl,
.board-gold-corner.corner-tl { 
    top: 0 !important; 
    left: 0 !important; 
}
.card-eave-bracket.eave-tr,
.stage-hud-corner.corner-tr,
.felt-gold-corner.corner-tr,
.board-gold-corner.corner-tr { 
    top: 0 !important; 
    right: 0 !important; 
    transform: scaleX(-1) !important; 
}
.card-eave-bracket.eave-bl,
.stage-hud-corner.corner-bl,
.felt-gold-corner.corner-bl,
.board-gold-corner.corner-bl { 
    bottom: 0 !important; 
    left: 0 !important; 
    transform: scaleY(-1) !important; 
}
.card-eave-bracket.eave-br,
.stage-hud-corner.corner-br,
.felt-gold-corner.corner-br,
.board-gold-corner.corner-br { 
    bottom: 0 !important; 
    right: 0 !important; 
    transform: scale(-1, -1) !important; 
}

/* Kích thước hoa văn rồng phượng trên Card bàn sảnh */
.card-eave-bracket {
    width: 28px !important;
    height: 28px !important;
}

/* Kích thước hoa văn rồng phượng trên Sân khấu chính & Bàn nỉ & Bảng cầu */
.stage-hud-corner {
    width: 48px !important;
    height: 48px !important;
}
.felt-gold-corner {
    width: 42px !important;
    height: 42px !important;
}
.board-gold-corner {
    width: 44px !important;
    height: 44px !important;
}

.bcr-table-card:hover .card-eave-bracket {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 1)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.95)) !important;
    opacity: 1 !important;
}

/* Thẻ bàn sảnh: Chất liệu gỗ mun sơn mài hoàng gia viền vàng 24K */
.bcr-table-card {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(155deg, #1d1008 0%, #120904 60%, #0a0402 100%) !important;
    border: 1.8px solid #d4af37 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(212, 175, 55, 0.08) !important;
    border-radius: 12px !important;
}

.table-card-topbar {
    background: linear-gradient(180deg, #28160c 0%, #190d07 100%) !important;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.45) !important;
    padding: 10px 14px !important;
}

/* Ánh Sáng Vàng Lấp Lánh Lướt Qua Thẻ Bàn */
.card-gold-sparkle {
    position: absolute !important;
    top: -50% !important;
    left: -100% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 215, 0, 0.22) 50%, rgba(255, 255, 255, 0.08) 60%, transparent 100%) !important;
    transform: rotate(30deg) !important;
    pointer-events: none !important;
    z-index: 6 !important;
    animation: cardGlintSweep 4.5s ease-in-out infinite !important;
}

.card-high-winrate .card-gold-sparkle {
    animation-duration: 2.8s !important;
}

@keyframes cardGlintSweep {
    0% { left: -100%; }
    30%, 100% { left: 160%; }
}

/* ==========================================================================
   3. CON RỒNG THẦN 3D SIÊU MƯỢT MÀ KHÔNG GIẬT LẮC & TỶ LỆ THẮNG CĂN GIỮA
   ========================================================================== */
.felt-quantum-radar {
    position: relative !important;
    width: 114px !important;
    height: 114px !important;
    margin: 0 auto 8px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.bet-target-active .felt-quantum-radar {
    display: flex !important;
}

.dragon-radar-orbit {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 1 !important;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.55)) !important;
}

/* Con rồng thật 3D: Chạy mượt mà 60fps không giật, không scaling jitter */
.flying-golden-dragon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    animation: none !important;
    transform: translateZ(0) !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
}

.orbit-player .flying-golden-dragon {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 16px rgba(56, 189, 248, 0.9)) !important;
}

.orbit-banker .flying-golden-dragon {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 16px rgba(239, 68, 68, 0.9)) !important;
}

.radar-core-disc {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(16, 24, 40, 0.98) 0%, rgba(6, 10, 20, 1) 100%) !important;
    border: 2px solid #ffd700 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.95), 0 0 10px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.95) !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.radar-win-pct {
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.3px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.radar-banker .radar-win-pct {
    color: #ff4d4d !important;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.95) !important;
}

.radar-player .radar-win-pct {
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.95) !important;
}

.radar-win-label {
    font-size: 7.5px !important;
    font-weight: 800 !important;
    color: rgba(254, 240, 138, 0.95) !important;
    letter-spacing: 0.6px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   4. BÀN CƯỢC CASINO MACAU & SÂN KHẤU HERO TO HƠN, SIÊU SANG TRỌNG
   ========================================================================== */
.studio-hero-stage {
    position: relative !important;
    background: linear-gradient(160deg, #1b0f08 0%, #110904 50%, #0a0402 100%) !important;
    border: 2px solid #d4af37 !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 55px rgba(0, 0, 0, 0.95), inset 0 0 40px rgba(212, 175, 55, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Bàn Nỉ Xanh Ngọc Lục Bảo Hoàng Gia (Emerald Velvet Casino Felt) */
.casino-felt-table {
    position: relative !important;
    background: radial-gradient(ellipse at 50% 25%, #0f3d24 0%, #082616 60%, #03140b 100%) !important;
    border: 3.5px solid #d4af37 !important;
    border-radius: 18px !important;
    box-shadow: 0 0 0 6px #28150c, 0 0 0 8.5px #d4af37, 0 24px 65px rgba(0, 0, 0, 0.95), inset 0 0 45px rgba(0, 0, 0, 0.85) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ô Cược Chính: Tay Con | Hòa | Nhà Cái */
.felt-main-box {
    position: relative !important;
    border-radius: 16px !important;
    border: 2px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.box-player {
    background: radial-gradient(circle at 50% 25%, rgba(30, 58, 138, 0.45) 0%, rgba(10, 20, 50, 0.9) 100%) !important;
    border-color: rgba(56, 189, 248, 0.6) !important;
}

.box-banker {
    background: radial-gradient(circle at 50% 25%, rgba(153, 27, 27, 0.45) 0%, rgba(50, 10, 10, 0.9) 100%) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.box-tie {
    background: radial-gradient(circle at 50% 25%, rgba(6, 78, 59, 0.45) 0%, rgba(4, 30, 20, 0.9) 100%) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
}

.felt-title-vi {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.felt-title-en {
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    opacity: 0.8 !important;
}

.felt-payout {
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

/* Thanh Thống Kê 4 Bento Cards: Kiểu Bảng Gỗ Mun Sơn Son Thếp Vàng */
.learning-glass-card {
    background: linear-gradient(145deg, #1c1008 0%, #120a05 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 215, 0, 0.2) !important;
    border-radius: 12px !important;
}

.learn-card-title {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.learn-card-val {
    color: #ffd700 !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
}

/* Salon Privé Macau Command HUD */
.studio-prediction-card {
    background: linear-gradient(180deg, #24140b 0%, #150a04 100%) !important;
    border: 1.8px solid #d4af37 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.9), inset 0 0 18px rgba(212, 175, 55, 0.12) !important;
}

/* ==========================================================================
   5. BẢNG CẦU CASINO QUỐC TẾ TO HƠN, RÕ NÉT, TRẢI RỘNG TOÀN DIỆN TRÊN PC
   ========================================================================== */
@media (min-width: 1025px) {
    .studio-hero-stage {
        max-width: 1260px !important;
        padding: 26px 32px !important;
        margin: 0 auto 24px !important;
    }

    .casino-felt-table {
        max-width: 1200px !important;
        padding: 24px 28px !important;
        margin: 0 auto 20px !important;
    }

    .felt-top-grid {
        gap: 12px !important;
        margin-bottom: 18px !important;
    }

    .felt-side-box {
        min-height: 58px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
    }

    .felt-label-sub {
        font-size: 14px !important;
    }

    .felt-odds {
        font-size: 13px !important;
    }

    .felt-main-grid {
        grid-template-columns: 1fr 0.82fr 1fr !important;
        gap: 20px !important;
    }

    .felt-main-box {
        min-height: 252px !important;
        padding: 22px 16px !important;
    }

    .felt-title-vi {
        font-size: 24px !important;
        margin: 6px 0 2px !important;
    }

    .felt-payout {
        font-size: 17px !important;
        margin-bottom: 6px !important;
    }

    .felt-stat-bar {
        height: 8px !important;
        border-radius: 4px !important;
    }

    .felt-stat-text {
        font-size: 14.5px !important;
    }

    .felt-chip-thumb {
        height: 114px !important;
        margin: 0 auto 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .felt-mini-chip {
        width: 96px !important;
        height: 96px !important;
    }

    /* Scoreboard trên PC: Mở rộng 240px chiều cao & Cell 25.5px cực lớn */
    .studio-scoreboard-card {
        max-width: 1260px !important;
        width: 100% !important;
        margin: 0 auto 28px !important;
        padding: 10px !important;
        position: relative !important;
        background: linear-gradient(160deg, #180d07 0%, #0e0703 100%) !important;
        border: 2px solid #d4af37 !important;
        border-radius: 16px !important;
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), inset 0 0 30px rgba(212, 175, 55, 0.08) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .scoreboard-unified-board {
        display: grid !important;
        grid-template-columns: 280px 1fr !important;
        background: #080c16 !important;
        border-radius: 10px !important;
        border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
        overflow: hidden !important;
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        box-sizing: border-box !important;
    }

    .scoreboard-panel-bead {
        background: #080c16 !important;
        border-right: 1.5px solid rgba(212, 175, 55, 0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        height: 240px !important;
        min-height: 240px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #studioBeadWrapper {
        background: #080c16 !important;
        padding: 4px !important;
        flex: 1 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .scoreboard-panel-bead .bead-cell {
        width: 25.5px !important;
        height: 25.5px !important;
        min-width: 25.5px !important;
        min-height: 25.5px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .scoreboard-panel-bead .bcr-chip {
        width: 22.5px !important;
        height: 22.5px !important;
        font-size: 11.5px !important;
        font-weight: 900 !important;
    }

    .scoreboard-panel-mainroads {
        background: #080c16 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 240px !important;
        min-height: 240px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sub-panel-bigroad {
        background: #080c16 !important;
        border-bottom: 1.5px solid rgba(212, 175, 55, 0.3) !important;
        height: 138px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #studioBigRoadWrapper {
        background: #080c16 !important;
        padding: 3px !important;
        height: 116px !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .sub-panel-bigroad .bigroad-cell {
        width: 19.5px !important;
        height: 18.5px !important;
        min-width: 19.5px !important;
        min-height: 18.5px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .sub-panel-bigroad .bigroad-ring {
        width: 15.5px !important;
        height: 15.5px !important;
        border-width: 2.2px !important;
    }

    .sub-panel-derived {
        background: #080c16 !important;
        border-bottom: 1.5px solid rgba(212, 175, 55, 0.3) !important;
        height: 74px !important;
        overflow: hidden !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .derived-scroll {
        background: #070b14 !important;
        padding: 2px 3px !important;
        height: 56px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bcr-derived-road .derived-cell {
        width: 10.5px !important;
        height: 9.5px !important;
        min-width: 10.5px !important;
        min-height: 9.5px !important;
    }
}

/* ==========================================================================
   6. RESPONSIVE MOBILE TỐI ƯU CỰC ĐẸP: BÀN VÀ CẦU TO HƠN, GỖ SANG TRỌNG
   ========================================================================== */
@media (max-width: 1024px) {
    .imperial-qing-banner {
        padding: 6px 8px 0 !important;
        margin-bottom: 14px !important;
    }
    .imperial-roof-canopy {
        height: 14px !important;
        margin-bottom: -4px !important;
    }
    .ridge-tiles {
        height: 9px !important;
    }
    .ridge-beast {
        width: 20px !important;
        height: 14px !important;
    }
    .imperial-plaque-board {
        padding: 10px 10px 12px !important;
        border-width: 2.5px !important;
    }
    .plaque-corner {
        width: 26px !important;
        height: 26px !important;
    }
    .plaque-tassel {
        display: none !important;
    }
    .imperial-seal-stamp {
        width: 34px !important;
        height: 34px !important;
        border-width: 1.5px !important;
    }
    .seal-inner {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }
    .plaque-canvas-body {
        gap: 8px !important;
    }
    .plaque-hanzi-subtitle {
        font-size: 8.5px !important;
        letter-spacing: 1.5px !important;
    }
    .plaque-grand-title {
        font-size: 1.35rem !important;
        letter-spacing: 1.5px !important;
        margin: 2px 0 !important;
    }
    .plaque-subtext {
        font-size: 8.5px !important;
        letter-spacing: 0.2px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Bàn cược trên Mobile: To hơn, viền gỗ sang trọng, không đè chữ */
    .casino-felt-table {
        width: 100% !important;
        padding: 14px 10px !important;
        border: 2.5px solid #d4af37 !important;
        box-shadow: 0 0 0 3px #24140b, 0 0 0 4.5px #d4af37, 0 14px 35px rgba(0, 0, 0, 0.9) !important;
        border-radius: 14px !important;
    }

    .felt-main-grid {
        gap: 8px !important;
    }

    .felt-main-box {
        min-height: 162px !important;
        height: auto !important;
        padding: 10px 4px 10px 4px !important;
        border-radius: 12px !important;
    }

    .felt-quantum-radar {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 4px !important;
    }

    .radar-core-disc {
        width: 44px !important;
        height: 44px !important;
    }

    .radar-win-pct {
        font-size: 15px !important;
    }

    .radar-win-label {
        font-size: 6px !important;
        margin-top: 1.5px !important;
    }

    .felt-chip-thumb {
        height: 80px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 4px !important;
    }

    .felt-mini-chip {
        width: 70px !important;
        height: 70px !important;
    }

    .felt-title-vi {
        font-size: 16px !important;
        font-weight: 900 !important;
        margin: 3px 0 1px !important;
        line-height: 1.2 !important;
    }

    .felt-payout {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        margin: 1px 0 !important;
    }

    /* Scoreboard trên Mobile: To hơn, cao 202px, Bead 21.5px & Big Road 15px */
    .studio-scoreboard-card {
        border-radius: 12px !important;
        border: 1.8px solid #d4af37 !important;
        padding: 6px !important;
        background: linear-gradient(160deg, #180d07 0%, #0e0703 100%) !important;
    }

    .scoreboard-unified-board {
        grid-template-columns: 108px 1fr !important;
        height: 202px !important;
        min-height: 202px !important;
        border-radius: 8px !important;
    }

    .scoreboard-panel-bead {
        height: 202px !important;
        min-height: 202px !important;
    }

    .scoreboard-panel-bead .bead-cell {
        width: 21.5px !important;
        height: 21.5px !important;
        min-width: 21.5px !important;
        min-height: 21.5px !important;
    }

    .scoreboard-panel-bead .bcr-chip {
        width: 19px !important;
        height: 19px !important;
        font-size: 9.5px !important;
    }

    .scoreboard-panel-mainroads {
        height: 202px !important;
        min-height: 202px !important;
    }

    .sub-panel-bigroad {
        height: 112px !important;
    }

    #studioBigRoadWrapper {
        height: 92px !important;
    }

    .sub-panel-bigroad .bigroad-cell {
        width: 15px !important;
        height: 14.5px !important;
        min-width: 15px !important;
        min-height: 14.5px !important;
    }

    .sub-panel-bigroad .bigroad-ring {
        width: 12px !important;
        height: 12px !important;
        border-width: 1.8px !important;
    }

    .sub-panel-derived {
        height: 62px !important;
    }

    .derived-scroll {
        height: 48px !important;
    }

    .bcr-derived-road .derived-cell {
        width: 8px !important;
        height: 7.5px !important;
    }
}

/* Nút Tab Đổi Bàn VIP Siêu Gọn Ở Mép Phải */
.vip-drawer-edge-trigger {
    position: fixed !important;
    top: 105px !important;
    right: 0 !important;
    z-index: 1050 !important;
    width: 22px !important;
    padding: 6px 2.5px !important;
    background: linear-gradient(180deg, rgba(32, 22, 10, 0.96) 0%, rgba(15, 10, 4, 0.98) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.65) !important;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important;
    box-shadow: -3px 3px 14px rgba(0, 0, 0, 0.8), 0 0 8px rgba(212, 175, 55, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.vip-drawer-edge-trigger:hover {
    width: 24px !important;
    background: linear-gradient(180deg, rgba(48, 33, 15, 0.98) 0%, rgba(22, 15, 6, 0.98) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 215, 0, 0.4) !important;
}

body.vip-drawer-locked .vip-drawer-edge-trigger {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
}

/* ==========================================================================
   CHINESE IMPERIAL CASINO OVERHAUL - PHASE 3 ENHANCEMENTS
   ========================================================================== */

/* 1. VÒNG TRÒN % HÒA (AUTHENTIC CIRCULAR TIE GAUGE) TRÊN PC & MOBILE */
.felt-main-box.box-tie .tie-circle-gauge-wrap {
    width: 104px !important;
    height: 104px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 8px !important;
}

.tie-circle-gauge-wrap .tie-circle-svg {
    width: 100% !important;
    height: 100% !important;
    transform: rotate(-90deg) !important;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.75)) !important;
}

.tie-circle-inner-disc {
    position: absolute !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, #0e2b1c 0%, #04120a 100%) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9), 0 0 14px rgba(16, 185, 129, 0.3) !important;
    z-index: 2 !important;
}

.tie-circle-inner-disc .tie-circle-pct {
    font-size: 21px !important;
    font-weight: 900 !important;
    color: #34d399 !important;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.95) !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.tie-circle-inner-disc .tie-circle-lbl {
    font-size: 7.5px !important;
    font-weight: 800 !important;
    color: #a7f3d0 !important;
    letter-spacing: 0.6px !important;
    margin-top: 3px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

/* 2. CON RỒNG THẦN 3D CĂN CHUẨN TRỌNG TÂM (ZERO LỆCH CHỮ) & KÍCH THƯỚC LỚN HƠN */
.felt-quantum-radar {
    position: relative !important;
    width: 136px !important;
    height: 136px !important;
    margin: 0 auto 6px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.bet-target-active .felt-quantum-radar {
    display: flex !important;
}

.dragon-radar-orbit {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 1 !important;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 24px rgba(245, 158, 11, 0.6)) !important;
}

.radar-core-disc {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, #201108 0%, #0a0402 100%) !important;
    border: 2px solid #ffd700 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 0 12px rgba(255, 215, 0, 0.65), inset 0 0 12px rgba(0, 0, 0, 0.95) !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.radar-win-pct {
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.3px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-align: center !important;
}

.radar-win-label {
    font-size: 8px !important;
    font-weight: 800 !important;
    color: rgba(254, 240, 138, 0.95) !important;
    letter-spacing: 0.6px !important;
    line-height: 1 !important;
    margin-top: 3px !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

/* 3. MẶT BÀN GỖ THỜI TRUNG CỔ / CUNG ĐÌNH TRUNG HOA & BO TRÒN 2 BÊN MẶT BÀN (CHỈ DÀNH CHO PC) */
@media (min-width: 769px) {
    .hero-prediction-info.macau-command-hud {
        background: linear-gradient(180deg, rgba(38, 18, 9, 0.94) 0%, rgba(16, 7, 3, 0.98) 100%), url('../image/macau_wood_grain.jpg') center/cover !important;
        border: 2px solid #d4af37 !important;
        border-radius: 28px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), inset 0 2px 4px rgba(255, 215, 0, 0.35), inset 0 -3px 8px rgba(0, 0, 0, 0.9) !important;
        position: relative !important;
        overflow: hidden !important;
    }
}

/* ĐỊNH DẠNG NÚT HỎI CÁI / HỎI CON TRÊN CẢ PC & MOBILE CHUẨN VIP CHÂN THỰC */
.ask-pill-chip {
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ask-pill-banker {
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(248, 113, 113, 0.7) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.ask-pill-player {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.7) !important;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.ask-beads-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.ask-proj-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
}
.ask-proj-item .derived-ring {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: inline-block !important;
}
.ask-proj-item .derived-ring.d-ring-red {
    border: 1.8px solid #ef4444 !important;
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.8)) !important;
}
.ask-proj-item .derived-ring.d-ring-blue {
    border: 1.8px solid #38bdf8 !important;
    filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.8)) !important;
}
.ask-proj-item .derived-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}
.ask-proj-item .derived-dot.d-dot-red {
    background: #ef4444 !important;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.8) !important;
}
.ask-proj-item .derived-dot.d-dot-blue {
    background: #38bdf8 !important;
    box-shadow: 0 0 4px rgba(56, 189, 248, 0.8) !important;
}
.ask-proj-item .derived-slash {
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    display: inline-block !important;
}
.ask-proj-item .derived-slash.d-slash-red {
    color: #ef4444 !important;
    text-shadow: 0 0 3px rgba(239, 68, 68, 0.8) !important;
}
.ask-proj-item .derived-slash.d-slash-blue {
    color: #38bdf8 !important;
    text-shadow: 0 0 3px rgba(56, 189, 248, 0.8) !important;
}

/* 4 CARD THỐNG KÊ MẶT BÀN GỖ TRUNG CỔ CÓ KHOẢNG CÁCH */
.studio-learning-grid {
    margin-bottom: 26px !important;
    gap: 14px !important;
}

.learning-glass-card {
    background: linear-gradient(160deg, rgba(38, 18, 9, 0.94) 0%, rgba(16, 7, 3, 0.98) 100%), url('../image/macau_wood_grain.jpg') center/cover !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), inset 0 1px 3px rgba(255, 215, 0, 0.3) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.learning-glass-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9), 0 0 14px rgba(212, 175, 55, 0.35) !important;
}

.learn-card-title {
    color: #e2d9cc !important;
    font-weight: 700 !important;
}

/* 4. HỎI CÁI / HỎI CON - HIỆU ỨNG MÔ PHỎNG NHẤP NHÁY PHÁT SÁNG TEST */
.ask-unit-compact {
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
    border: none !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    outline: none !important;
}

.ask-unit-compact:hover {
    transform: translateY(-1px) scale(1.04) !important;
    filter: brightness(1.25) !important;
}

.ask-unit-compact.is-probing {
    background: rgba(255, 215, 0, 0.15) !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
    transform: scale(0.97) !important;
}

.ask-simulated-blink {
    position: relative !important;
    animation: askMarkerBlink 0.45s ease-in-out infinite alternate !important;
    z-index: 20 !important;
}

@keyframes askMarkerBlink {
    0% {
        transform: scale(0.82);
        opacity: 0.3;
        filter: brightness(0.85);
    }
    100% {
        transform: scale(1.25);
        opacity: 1;
        filter: brightness(1.6) drop-shadow(0 0 12px #ffd700);
    }
}

.ask-chip-glow {
    box-shadow: 0 0 12px #ffd700, inset 0 0 6px #ffd700 !important;
}

.ask-ring-glow {
    box-shadow: 0 0 10px #ffd700 !important;
}

.ask-dot-glow {
    box-shadow: 0 0 8px #ffd700 !important;
}

.ask-slash-glow {
    text-shadow: 0 0 8px #ffd700 !important;
}

/* 5. NHẬT KÝ ĐỐI SOÁT DỰ ĐOÁN SIÊU SANG ĐẲNG CẤP VIP CASINO */
.modal-history-logs {
    background: linear-gradient(180deg, #190e07 0%, #0d0603 100%) !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 20px rgba(212, 175, 55, 0.15) !important;
    margin-top: 26px !important;
    overflow: hidden !important;
}

.history-logs-header {
    background: linear-gradient(90deg, rgba(45, 22, 10, 0.9) 0%, rgba(20, 9, 4, 0.95) 100%) !important;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    padding: 10px 16px !important;
}

.hist-title {
    color: #ffd700 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4) !important;
}

.hist-sub {
    color: #bfa88b !important;
    font-size: 10.5px !important;
}

.bcr-history-table th {
    background: #201108 !important;
    color: #ffd700 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 10px 6px !important;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.3) !important;
}

.bcr-history-table td {
    background: rgba(18, 9, 4, 0.92) !important;
    color: #e5ded5 !important;
    padding: 10px 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.bcr-history-table tr:hover td {
    background: rgba(42, 20, 9, 0.95) !important;
}

.log-status-win {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    background: rgba(16, 185, 129, 0.18) !important;
    border: 1px solid #10b981 !important;
    color: #34d399 !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.35) !important;
}

.log-status-loss {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    background: rgba(239, 68, 68, 0.18) !important;
    border: 1px solid #ef4444 !important;
    color: #f87171 !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.35) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE SPECIALIZATION (ẢNH 3, 4, 5)
   ========================================================================== */
@media (max-width: 1024px) {
    /* 1. MỞ TO CHỖ RỒNG BAY BẰNG KÍCH THƯỚC HÌNH TRÒN VẼ SẴN Ở ẢNH 3 */
    .felt-quantum-radar {
        width: 110px !important;
        height: 110px !important;
        margin: 0 auto 4px !important;
    }

    .radar-core-disc {
        width: 58px !important;
        height: 58px !important;
    }

    .radar-win-pct {
        font-size: 18px !important;
    }

    .radar-win-label {
        font-size: 7.5px !important;
    }

    /* Vòng tròn % Hòa trên Mobile */
    .felt-main-box.box-tie .tie-circle-gauge-wrap {
        width: 82px !important;
        height: 82px !important;
        margin: 0 auto 4px !important;
    }

    .tie-circle-inner-disc {
        width: 64px !important;
        height: 64px !important;
    }

    .tie-circle-inner-disc .tie-circle-pct {
        font-size: 17px !important;
    }

    /* 2. DƯỚI BẢNG CẦU: TÁCH KHOẢNG CÁCH VỚI BÀN DỰ ĐOÁN & BO GÓC RỒNG PHƯỢNG CHẠM KHẮC (ẢNH 3) */
    .studio-top-controls {
        margin: 0 !important;
        margin-top: 16px !important;
        border-radius: 12px 12px 0 0 !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
        background: linear-gradient(180deg, #1c0e07 0%, #110804 100%) !important;
    }

    /* ==========================================================================
       BẢNG CẦU VIP CASINO LIỀN MẠCH, ĐẲNG CẤP TRUNG HOA & KHÔNG LẸM HỎI CẦU / ĐẦY ĐỦ CẦU CHÂN DÀI
       ========================================================================== */
    /* Header điều khiển bảng cầu (Top Controls) & Card Bảng cầu ghép liền mạch như một khối ngọc hoàng gia */
    .studio-top-controls {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: linear-gradient(90deg, rgba(38, 20, 10, 0.98) 0%, rgba(18, 9, 4, 0.98) 100%) !important;
        border: 1.5px solid #d4af37 !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
        border-radius: 12px 12px 0 0 !important;
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        padding: 4px 6px !important;
        height: 30px !important;
        min-height: 30px !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
        overflow: hidden !important;
    }

    .studio-active-info {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
    }
    .studio-live-tag {
        font-size: 7.5px !important;
        font-weight: 800 !important;
        padding: 1.5px 4px !important;
        border-radius: 3px !important;
        white-space: nowrap !important;
    }
    .studio-table-title {
        display: none !important;
    }
    .studio-table-hands {
        font-size: 8px !important;
        font-weight: 700 !important;
        color: #f1f5f9 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 1.5px 4px !important;
        border-radius: 3px !important;
        white-space: nowrap !important;
    }
    .studio-table-counters {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
    }
    .counter-tag-chip {
        padding: 1.5px 4px !important;
        font-size: 8px !important;
        height: 18px !important;
        border-radius: 3px !important;
        gap: 1.5px !important;
        font-weight: 800 !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    .counter-tag-chip.tag-b { background: #dc2626 !important; color: #fff !important; }
    .counter-tag-chip.tag-t { background: #059669 !important; color: #fff !important; }
    .counter-tag-chip.tag-p { background: #2563eb !important; color: #fff !important; }

    .studio-scoreboard-card {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        background: #080c16 !important;
        border: 1.5px solid #d4af37 !important;
        border-top: none !important;
        border-radius: 0 0 12px 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.95), 0 0 15px rgba(212, 175, 55, 0.15) !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    /* Ẩn header chữ to & chú thích của desktop trên mobile để bảng cầu gọn gàng, liền mạch với top-controls */
    .studio-scoreboard-card .scoreboard-header {
        display: none !important;
    }

    /* 4 Góc dát vàng: Khóa chặt vào đáy card bảng cầu, không bị trôi */
    .studio-scoreboard-card .board-gold-corner {
        position: absolute !important;
        width: 28px !important;
        height: 28px !important;
        pointer-events: none !important;
        z-index: 10 !important;
        filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8)) !important;
    }
    .studio-scoreboard-card .board-gold-corner.corner-tl,
    .studio-scoreboard-card .board-gold-corner.corner-tr {
        display: none !important; /* Ẩn 2 góc trên để liền khối mượt mà với studio-top-controls */
    }
    .studio-scoreboard-card .board-gold-corner.corner-bl {
        bottom: 0 !important;
        left: 0 !important;
        transform: scaleY(-1) !important;
    }
    .studio-scoreboard-card .board-gold-corner.corner-br {
        bottom: 0 !important;
        right: 0 !important;
        transform: scale(-1, -1) !important;
    }

    /* Bảng Cầu Thống Nhất: Cầu Hạt bên trái & Cầu Đại + 3 Cầu Phụ bên phải */
    .scoreboard-unified-board {
        display: grid !important;
        grid-template-columns: 140px 1fr !important;
        background: #080c16 !important;
        height: auto !important;
        min-height: 176px !important;
        overflow: hidden !important;
    }

    /* Cầu Hạt (Bead Plate): 6 hàng tròn đầy, không cắt xén */
    .scoreboard-panel-bead {
        border-right: 1.5px solid rgba(212, 175, 55, 0.25) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-x: auto !important;
        height: auto !important;
        min-height: 176px !important;
        background: #070b14 !important;
    }
    .scoreboard-panel-bead .board-panel-header {
        height: 20px !important;
        padding: 2px 6px !important;
        background: linear-gradient(90deg, rgba(28, 16, 8, 0.9) 0%, rgba(14, 8, 4, 0.9) 100%) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    }
    #studioBeadWrapper {
        padding: 4px 6px !important;
        height: 156px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }
    .scoreboard-panel-bead .bead-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .scoreboard-panel-bead .bead-cell {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        min-height: 21px !important;
        box-sizing: border-box !important;
    }
    .scoreboard-panel-bead .bcr-chip {
        width: 18.5px !important;
        height: 18.5px !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
    }

    /* Khối Đường Cầu Chính */
    .scoreboard-panel-mainroads {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 176px !important;
        background: #080c16 !important;
    }

    .sub-panel-roads {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .sub-panel-bigroad {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        background: #070b14 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .sub-panel-bigroad .board-panel-header {
        height: 20px !important;
        padding: 2px 8px !important;
        background: linear-gradient(90deg, rgba(28, 16, 8, 0.9) 0%, rgba(14, 8, 4, 0.9) 100%) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    }
    #studioBigRoadWrapper {
        height: 96px !important;
        min-height: 96px !important;
        padding: 2px 4px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        box-sizing: border-box !important;
        background: #080c16 !important;
    }
    .sub-panel-bigroad .bcr-big-road {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
        width: max-content !important;
    }
    .sub-panel-bigroad .bigroad-row {
        display: flex !important;
        gap: 1px !important;
        height: 14.5px !important;
    }
    .sub-panel-bigroad .bigroad-cell {
        width: 14.5px !important;
        height: 14.5px !important;
        min-width: 14.5px !important;
        min-height: 14.5px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: #060912 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .sub-panel-bigroad .bigroad-ring {
        width: 11.5px !important;
        height: 11.5px !important;
        border-width: 1.8px !important;
    }

    /* 3 Đường Cầu Phụ */
    .sub-panel-derived {
        border-top: 1.5px solid rgba(212, 175, 55, 0.25) !important;
        border-bottom: none !important;
        height: 54px !important;
        min-height: 54px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        background: #070b14 !important;
    }
    .derived-block {
        height: 54px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .derived-block:last-child {
        border-right: none !important;
    }
    .derived-sub-header {
        height: 14px !important;
        padding: 1px 4px !important;
        font-size: 7.5px !important;
    }
    .derived-scroll {
        height: 38px !important;
    }

    /* THANH HỎI CÁI / HỎI CON: TRẢI TOÀN CHIỀU RỘNG ĐÁY BẢNG CẦU (FULL-WIDTH 100%), HIỂN THỊ TRỌN VẸN, KHÔNG BỊ LẸM */
    .scoreboard-ask-panel,
    .scoreboard-ask-panel.compact-ask-bar {
        width: 100% !important;
        height: 40px !important;
        min-height: 40px !important;
        background: linear-gradient(90deg, rgba(26, 14, 8, 0.98) 0%, rgba(14, 7, 3, 0.98) 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        padding: 4px 12px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        border-top: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    }
    .ask-unit-compact {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    .ask-pill-chip {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 25px !important;
        padding: 0 12px !important;
        border-radius: 9999px !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
        white-space: nowrap !important;
    }
    .ask-pill-banker {
        background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
        border: 1.5px solid #f87171 !important;
        color: #fff !important;
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.5) !important;
    }
    .ask-pill-player {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
        border: 1.5px solid #60a5fa !important;
        color: #fff !important;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.5) !important;
    }
    .ask-beads-inline {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        padding: 2px 7px !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        height: 22px !important;
        box-sizing: border-box !important;
    }
    .ask-bar-sep {
        color: rgba(212, 175, 55, 0.5) !important;
        font-weight: 300 !important;
        font-size: 16px !important;
        margin: 0 2px !important;
    }

    /* 3. BỎ KHOẢNG TRỐNG THỪA QUÁ NHIỀU Ở DƯỚI TRÊN MOBILE */
    #bcrStudioView {
        padding-bottom: 14px !important;
        margin-bottom: 0 !important;
    }

    .bcr-studio-container {
        padding-bottom: 74px !important;
    }

    .modal-history-logs {
        margin: 12px 0 16px 0 !important;
        position: relative !important;
    }

    /* 4. TINH GỌN SẢNH BÀN TRÊN MOBILE CHUẨN TRUNG QUỐC (ẢNH 5) */
    .bcr-stats-overview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
        padding: 4px 0 !important;
        margin-bottom: 6px !important;
    }

    .stat-card.cyber-stat-card {
        padding: 6px 8px !important;
        min-height: 42px !important;
        border-radius: 8px !important;
        background: linear-gradient(135deg, rgba(32, 15, 7, 0.95) 0%, rgba(15, 7, 3, 0.98) 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
    }

    .stat-icon-box {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        border-radius: 6px !important;
    }

    .stat-icon-box svg {
        width: 15px !important;
        height: 15px !important;
    }

    .stat-info .stat-label {
        font-size: 7.5px !important;
        line-height: 1.1 !important;
        letter-spacing: 0.2px !important;
    }

    .stat-info .stat-val {
        font-size: 13.5px !important;
        line-height: 1.1 !important;
    }

    .lobby-header-bar {
        padding: 6px 10px !important;
        margin-bottom: 6px !important;
    }

    .lobby-heading-title {
        font-size: 13px !important;
    }

    .lobby-heading-count {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }

    .btn-refresh-sync {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    .bcr-controls-bar {
        margin-bottom: 6px !important;
        gap: 4px !important;
    }

    .bcr-search-box {
        height: 32px !important;
    }

    .bcr-search-box input {
        font-size: 11.5px !important;
    }

    .bcr-filter-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    /* 5. KHÓA CHẶT CHỐNG TRÀN VIỀN NGANG & CHỐNG PHÓNG TO / THU NHỎ TRÊN MOBILE */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
        touch-action: pan-y !important;
        -webkit-user-select: none;
        user-select: none;
    }

    input, textarea {
        -webkit-user-select: text !important;
        user-select: text !important;
    }

    .bcr-cyber-app,
    .bcr-main-container,
    .bcr-studio-container,
    .bcr-lobby-view,
    #bcrLobbyView,
    #bcrStudioView {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        contain: paint layout !important;
        box-sizing: border-box !important;
    }

    .imperial-plaque-board {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .history-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    .bcr-history-table {
        width: 100% !important;
        min-width: 320px !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

    .bcr-history-table th,
    .bcr-history-table td {
        padding: 5px 3px !important;
        font-size: 9.5px !important;
        white-space: nowrap !important;
    }

    .log-status-win, .log-status-loss {
        padding: 2px 6px !important;
        font-size: 9px !important;
    }

    /* 6. TỐI ƯU HIỆU NĂNG 60FPS - KHẮC PHỤC TRIỆT ĐỂ GIẬT LAG TRÊN MOBILE */
    .card-eave-bracket {
        filter: none !important; /* Loại bỏ 116 bộ lọc drop-shadow Gaussian kép */
        opacity: 0.9 !important;
    }

    .card-gold-sparkle {
        display: none !important;
    }

    .bcr-table-card {
        contain: content !important;
        content-visibility: auto !important;
        contain-intrinsic-size: 0 190px !important;
        transform: translateZ(0) !important;
        will-change: auto !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
    }

    .bcr-table-card:hover {
        transform: none !important;
    }

    .dragon-radar-orbit {
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.75)) !important;
    }

    .orbit-player .flying-golden-dragon,
    .orbit-banker .flying-golden-dragon {
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8)) !important;
    }

    .board-gold-corner {
        filter: none !important;
    }

    .cyber-ambient-halo {
        animation: none !important;
        opacity: 0.4 !important;
    }

    .bcr-mobile-top-bar {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .mobile-top-left {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .mobile-logo img {
        max-width: 90px !important;
        height: 22px !important;
    }

    .mobile-top-right {
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .mobile-auth-trigger {
        padding: 4px 7px !important;
        font-size: 10px !important;
    }

    .mobile-register {
        position: relative !important;
        overflow: hidden !important;
        padding: 4px 8px !important;
        font-size: 10.5px !important;
    }

    .mobile-register span {
        font-size: 10px !important;
    }

    .mobile-register .btn-reg-icon {
        width: 11px !important;
        height: 11px !important;
    }

    .derived-sub-header {
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .d-sub-title {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .macau-bg-layer {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        animation: none !important;
    }
}


