/* ============================================
   PC端主样式 - 高盛娱乐
   ============================================ */

/* ---- 基础重置 ---- */
html {
    height: 100%;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #333;
    background: #f0f2f5;
    overflow: visible !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ---- TailwindCSS 常用工具类兼容层 ---- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.block { display: block; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-green-500 { color: #22c55e; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.thin-scroll::-webkit-scrollbar { width: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.thin-scroll::-webkit-scrollbar-track { background: transparent; }

/* 间距 */
.p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.m-0 { margin: 0; } .m-1 { margin: 0.25rem; } .m-2 { margin: 0.5rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; }
.mr-1 { margin-right: 0.25rem; } .mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.not-italic { font-style: normal; }

/* ---- PC端 顶部导航 (homehead) ---- */
.pc-homehead {
    background: #1a1a2e;
    color: #fff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.pc-homehead .pc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 44px;
    font-size: 13px;
}

.pc-homehead .pc-top .pc-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
}

.pc-homehead .pc-top .pc-left .svg-icon {
    width: 18px;
    height: 18px;
    fill: #ccc;
}

.pc-homehead .pc-top .pc-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-homehead .pc-top .pc-right .pc-part {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.pc-homehead .pc-top .pc-right .pc-part:hover {
    color: #fff;
}

.pc-homehead .pc-top .pc-right .pc-part .svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.pc-homehead .pc-top .pc-right .pc-btn {
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: opacity 0.2s;
}

.pc-homehead .pc-top .pc-right .pc-btn:hover {
    opacity: 0.85;
}

.pc-homehead .pc-top .pc-right .pc-btn.primary {
    background: #e74c3c;
    color: #fff;
}

.pc-homehead .pc-top .pc-right .pc-btn.default {
    background: #444;
    color: #fff;
}

/* 底部导航栏（首页用） */
.pc-homehead .pc-bottom {
    background: #16213e;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pc-homehead .pc-bottom .pc-menu {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
}

.pc-homehead .pc-bottom .pc-logo {
    margin-right: 40px;
    cursor: pointer;
}

.pc-homehead .pc-bottom .pc-logo img {
    height: 50px;
}

.pc-homehead .pc-bottom .pc-nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.pc-homehead .pc-bottom .pc-nav-items li {
    padding: 0 24px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    font-size: 15px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.pc-homehead .pc-bottom .pc-nav-items li:hover,
.pc-homehead .pc-bottom .pc-nav-items li.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.pc-homehead .pc-bottom .pc-nav-items li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #e74c3c;
}

.pc-homehead .pc-bottom .pc-nav-items li span {
    font-size: 15px;
    font-weight: 500;
}

.pc-homehead .pc-bottom .pc-nav-items li em {
    font-size: 10px;
    font-style: normal;
    color: #666;
    margin-top: 2px;
}

/* ---- PC端游戏页布局 ---- */
.pc-game-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pc-game-body {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

/* 左侧导航菜单 */
.pc-nav-menu {
    width: 200px;
    min-width: 200px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pc-nav-menu .pc-nav-logo {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.pc-nav-menu .pc-nav-logo img {
    max-width: 140px;
    height: auto;
}

.pc-nav-menu .pc-nav-groups {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.pc-nav-menu .pc-nav-groups span {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
}

.pc-nav-menu .pc-nav-groups span:hover {
    background: #f3f4f6;
    color: #333;
}

.pc-nav-menu .pc-nav-groups span.active {
    background: #e74c3c;
    color: #fff;
    font-weight: 600;
}

.pc-nav-menu .pc-nav-games {
    padding: 8px 0;
    flex: 1;
}

.pc-nav-menu .pc-nav-games span {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.pc-nav-menu .pc-nav-games span:hover {
    background: #fef2f2;
    color: #e74c3c;
}

.pc-nav-menu .pc-nav-games span.active {
    background: #fef2f2;
    color: #e74c3c;
    border-left-color: #e74c3c;
    font-weight: 600;
}

/* 主内容区 */
.pc-bd {
    flex: 1;
    display: flex;
    gap: 0;
    overflow: visible;
}

/* 左侧面板（用户信息+注单） */
.pc-bd .pc-panel-left {
    width: 260px;
    min-width: 260px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pc-user-info {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.pc-user-info .pc-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.pc-user-info .pc-info-label {
    color: #999;
}

.pc-user-info .pc-info-value {
    font-weight: 600;
    color: #333;
}

.pc-user-info .pc-balance {
    font-size: 18px;
    color: #e74c3c;
    font-weight: 700;
}

.pc-user-info .pc-profit-win { color: #22c55e; }
.pc-user-info .pc-profit-lose { color: #ef4444; }

.pc-user-info .pc-quick-btns {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pc-user-info .pc-quick-btns button {
    flex: 1;
    padding: 6px 0;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.pc-user-info .pc-quick-btns button:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* 注单列表 */
.pc-order-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.pc-order-list .pc-order-title {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 5;
}

.pc-order-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-order-list li {
    padding: 8px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
    color: #666;
}

/* 右侧面板（游戏主区域） */
.pc-bd .pc-panel-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
}

/* 开奖结果区 */
.pc-result-panel {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px;
}

.pc-result-panel h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

.pc-result-nums {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pc-result-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.pc-result-info .pc-qishu {
    color: #999;
}

.pc-result-info .pc-countdown {
    font-weight: 600;
    color: #e74c3c;
}

.pc-result-info .pc-status-open {
    color: #22c55e;
}

.pc-result-info .pc-status-closed {
    color: #ef4444;
}

/* 号码球样式 */
.pc-result-nums .pc-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.pc-num.num1 { background: #f0c524; }
.pc-num.num2 { background: #4a89dc; }
.pc-num.num3 { background: #3c3c3c; }
.pc-num.num4 { background: #e9573f; }
.pc-num.num5 { background: #48cfad; }
.pc-num.num6 { background: #4a89dc; }
.pc-num.num7 { background: #a0a0a0; }
.pc-num.num8 { background: #e74c3c; }
.pc-num.num9 { background: #fc6e51; }
.pc-num.num10 { background: #37bc9b; }

/* 前三中三后三 - 匹配目标站 ftr1/ftr2 */
.pc-ftr-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #000;
    padding: 0 4px;
    margin-top: 4px;
}

.pc-ftr2 {
    display: inline-block;
    font-size: 12px;
    color: #000;
}

.pc-ftr-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #555;
    margin-left: 2px;
    vertical-align: middle;
    font-style: normal;
    text-align: center;
}

/* 路图区域 */
.pc-roadmap-section {
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

.pc-roadmap-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pc-roadmap-tabs .pc-rm-tab {
    padding: 8px 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.pc-roadmap-tabs .pc-rm-tab:hover {
    color: #333;
}

.pc-roadmap-tabs .pc-rm-tab.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: 600;
}

.pc-roadmap-tabs .pc-rm-mode {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

/* 路图容器 - 匹配目标站 .container.thin-scroll + .grid */
.pc-roadmap-grid {
    display: flex;
    min-height: 140px;
    background: #fff;
}

/* 路图列 - 匹配目标站 .col */
.pc-rm-col {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 29px;
    border-right: 1px solid #d1d5db;
}

/* 路图单元格 - 匹配目标站 .cell (28x28) */
.pc-roadmap-grid .pc-rm-cell {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #d1d5db;
}

/* 路图珠子 - 匹配目标站 .num (22x22圆形) */
.pc-rm-bead {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.pc-rm-bead.num { background: #ff7300; }
.pc-rm-bead.dnum { background: #0089ff; }

.pc-rm-empty {
    display: block;
    width: 5px;
    height: 21px;
}

/* 历史开奖记录 */
.pc-history-section {
    border-bottom: 1px solid #e5e7eb;
    max-height: 200px;
    overflow-y: auto;
}

.pc-history-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.pc-history-section thead {
    position: sticky;
    top: 0;
    z-index: 5;
}

.pc-history-section th {
    background: #f9fafb;
    padding: 6px 8px;
    font-weight: 500;
    color: #666;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.pc-history-section td {
    padding: 5px 8px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    color: #555;
}

/* 投注面板区域 */
.pc-bet-panel {
    padding: 0;
    flex: 1;
}

/* 投注面板内的game样式覆盖（PC端） */
.pc-bet-panel .game {
    padding: 0;
}

.pc-bet-panel .game a {
    position: initial !important;
    display: initial !important;
    line-height: initial !important;
    text-align: initial !important;
    background-color: initial !important;
    border-bottom: initial !important;
    border-right: initial !important;
}

/* ========== bearing-grid 菱形钻石布局 - 匹配目标站 780x200 ========== */
.pc-bet-panel .bearing-grid {
    width: 780px !important;
    height: 200px !important;
    position: relative !important;
    display: block !important;
    background: #fff !important;
    flex-wrap: nowrap !important;
}

/* 所有 item-container 基础样式 */
.pc-bet-panel .bearing-grid > .item-container {
    width: 156px !important;
    height: 40px !important;
    background: transparent !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    overflow: visible !important;
}

/* item 内部 */
.pc-bet-panel .bearing-grid .item-container .item {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    clip-path: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* item内部包裹div（.item > div > a 结构） */
.pc-bet-panel .bearing-grid .item-container .item > div {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* a链接样式 */
.pc-bet-panel .bearing-grid .item-container .item a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 8px !important;
    gap: 4px;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.pc-bet-panel .bearing-grid .item-container .item a div {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000 !important;
    flex: 1;
}

.pc-bet-panel .bearing-grid .item-container .item a em {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: rgb(197, 90, 82) !important;
    display: inline !important;
}

/* 外圈16个item定位 - 顶行(y=0) */
.pc-bet-panel .bearing-grid > .item-container:nth-child(1)  { left: 0px !important;   top: 0px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(2)  { left: 156px !important; top: 0px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(3)  { left: 312px !important; top: 0px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(4)  { left: 468px !important; top: 0px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(5)  { left: 624px !important; top: 0px !important; }
/* 右列(x=624) */
.pc-bet-panel .bearing-grid > .item-container:nth-child(6)  { left: 624px !important; top: 40px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(7)  { left: 624px !important; top: 80px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(8)  { left: 624px !important; top: 120px !important; }
/* 底行(y=160) */
.pc-bet-panel .bearing-grid > .item-container:nth-child(9)  { left: 624px !important; top: 160px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(10) { left: 468px !important; top: 160px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(11) { left: 312px !important; top: 160px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(12) { left: 156px !important; top: 160px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(13) { left: 0px !important;   top: 160px !important; }
/* 左列(x=0) */
.pc-bet-panel .bearing-grid > .item-container:nth-child(14) { left: 0px !important;   top: 120px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(15) { left: 0px !important;   top: 80px !important; }
.pc-bet-panel .bearing-grid > .item-container:nth-child(16) { left: 0px !important;   top: 40px !important; }

/* center容器 - 包含番/单/双 */
.pc-bet-panel .bearing-grid > .center {
    left: 156px !important;
    top: 40px !important;
    width: 468px !important;
    height: 120px !important;
    overflow: visible !important;
    background: transparent !important;
    clip-path: none !important;
}

/* center内部items */
.pc-bet-panel .bearing-grid > .center > .item-container {
    position: absolute !important;
    border: 1px solid #d4d4d4 !important;
    background: transparent !important;
}

/* 1番: grid(273,40) → center(117,80), 234x40 */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(1) {
    left: 117px !important; top: 80px !important;
    width: 234px !important; height: 40px !important;
}
/* 2番: grid(507,80) → center(351,40), 117x40 */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(2) {
    left: 351px !important; top: 40px !important;
    width: 117px !important; height: 40px !important;
}
/* 3番: grid(273,120) → center(117,0), 234x40 — 但目标站3番在(273,40)即center(117,0) */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(3) {
    left: 117px !important; top: 0px !important;
    width: 234px !important; height: 40px !important;
}
/* 4番: grid(156,80) → center(0,40), 117x40 */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(4) {
    left: 0px !important; top: 40px !important;
    width: 117px !important; height: 40px !important;
}
/* 单: grid(273,80) → center(117,40), 117x40 */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(5) {
    left: 117px !important; top: 40px !important;
    width: 117px !important; height: 40px !important;
}
/* 双: grid(390,80) → center(234,40), 117x40 */
.pc-bet-panel .bearing-grid > .center > .item-container:nth-child(6) {
    left: 234px !important; top: 40px !important;
    width: 117px !important; height: 40px !important;
}

/* 隐藏center内item的彩色旋转伪元素（来自移动端svelte-ccety6） */
.pc-bet-panel .bearing-grid > .center > .item-container::before,
.pc-bet-panel .bearing-grid > .center > .item-container::after {
    display: none !important;
    content: none !important;
}

/* 强制center内item背景透明（覆盖svelte-ccety6双类选择器的彩色背景） */
.center.svelte-ccety6 .item-container.svelte-ccety6 {
    background: transparent !important;
    border: 1px solid #d4d4d4 !important;
}
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(1),
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(2),
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(3),
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(4) {
    background: transparent !important;
    border: 1px solid #d4d4d4 !important;
    transform: none !important;
}
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(1)::before,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(1)::after,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(2)::before,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(2)::after,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(3)::before,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(3)::after,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(4)::before,
.center.svelte-ccety6 .item-container.svelte-ccety6:nth-child(4)::after {
    display: none !important;
    content: none !important;
}

/* 正/门/通 section 标题栏 - 匹配目标站 section-title */
.pc-bet-panel .button-grid .titles {
    background: #dcdcdc !important;
    border-bottom: 1px solid #e6e6e6;
}

.pc-bet-panel .button-grid .titles div {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px !important;
    height: 30px !important;
    padding: 0;
}

/* 正/门/通 grid 项目 - 匹配目标站 section-item */
.pc-bet-panel .button-grid .grid {
    display: flex !important;
    flex-wrap: wrap;
}

.pc-bet-panel .button-grid .grid .item {
    width: 25% !important;
    border-bottom: 1px solid #e6e6e6 !important;
    border-right: 1px solid #e6e6e6 !important;
    border-color: #e6e6e6 !important;
    box-sizing: border-box;
}

.pc-bet-panel .button-grid .grid .item .bet-button {
    display: flex !important;
    align-items: center;
    padding: 4px 8px 0;
    height: 33px;
    background-color: transparent !important;
    cursor: pointer;
}

.pc-bet-panel .button-grid .grid .item .bet-button .value {
    flex: 1;
}

.pc-bet-panel .button-grid .grid .item .bet-button .value .text {
    font-size: 12px;
    color: #000;
    font-weight: 400;
}

.pc-bet-panel .button-grid .grid .item .bet-button .odds {
    font-size: 12px;
    font-weight: 700;
    color: rgb(197, 90, 82);
}

/* 通 section 样式 */
.pc-bet-panel .tong-section .zheng-header {
    background: #dcdcdc;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    border-bottom: 1px solid #e6e6e6;
}

.pc-bet-panel .tong-section .zheng-grid {
    display: flex;
    flex-wrap: wrap;
}

.pc-bet-panel .tong-section .zheng-cell {
    width: 25%;
    height: 33px;
    display: flex;
    align-items: center;
    padding: 4px 8px 0;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 12px;
}

.pc-bet-panel .tong-section .zheng-cell span {
    flex: 1;
    color: #000;
    font-size: 12px;
}

.pc-bet-panel .tong-section .zheng-cell em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: rgb(197, 90, 82);
}

/* 底部筹码栏 */
.pc-bet-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.pc-bet-bar .pc-chips {
    display: flex;
    gap: 6px;
}

.pc-bet-bar .pc-chip {
    width: 48px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.pc-bet-bar .pc-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

.pc-bet-bar .pc-chip.selected {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231,76,60,0.3);
}

.pc-bet-bar .pc-money-input {
    width: 100px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: center;
}

.pc-bet-bar .pc-money-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.pc-bet-bar .pc-bet-info {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.pc-bet-bar .pc-bet-info strong {
    color: #e74c3c;
}

.pc-bet-bar .pc-btn-submit {
    padding: 6px 24px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.pc-bet-bar .pc-btn-submit:hover {
    background: #059669;
}

.pc-bet-bar .pc-btn-clear {
    padding: 6px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.pc-bet-bar .pc-btn-clear:hover {
    border-color: #999;
    color: #333;
}

.pc-bet-bar .pc-btn-suoha {
    padding: 6px 16px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.pc-bet-bar .pc-btn-suoha:hover {
    background: #c0392b;
}

/* 封盘遮罩 */
.pc-game-shade {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 20;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.pc-game-shade.show {
    display: flex;
}

/* ---- PC端登录页 ---- */
.pc-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.pc-login-card {
    width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
}

.pc-login-card .pc-login-brand {
    text-align: center;
    margin-bottom: 32px;
}

.pc-login-card .pc-login-brand h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.pc-login-card .pc-login-brand p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

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

.pc-login-card .pc-form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}

.pc-login-card .pc-form-group input {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.pc-login-card .pc-form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.pc-login-card .pc-code-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pc-login-card .pc-code-row input {
    flex: 1;
}

.pc-login-card .pc-code-row .pc-code-img {
    cursor: pointer;
    border-radius: 4px;
    height: 42px;
}

.pc-login-card .pc-login-btn {
    width: 100%;
    height: 44px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.pc-login-card .pc-login-btn:hover {
    background: #c0392b;
}

.pc-login-card .pc-login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 13px;
}

.pc-login-card .pc-login-links a {
    color: #e74c3c;
    text-decoration: none;
}

.pc-login-card .pc-login-links a:hover {
    text-decoration: underline;
}

/* (旧版首页game-card样式已移除，使用v2版 .pc-gc-* 替代) */

/* ---- PC端弹窗式个人中心 ---- */
.pc-uc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.pc-uc-overlay.show {
    display: block;
}

.pc-user-center {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 9999;
    flex-direction: column;
    overflow: hidden;
}

.pc-user-center.show {
    display: flex;
}

.pc-user-center.minimized {
    top: auto;
    left: auto;
    right: 20px;
    bottom: 20px;
    transform: none;
    width: 240px;
    height: 44px;
}

.pc-user-center.maximized {
    width: 95vw;
    height: 90vh;
}

.pc-uc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 44px;
    background: #1a1a2e;
    color: #fff;
    cursor: move;
    flex-shrink: 0;
}

.pc-uc-title h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.pc-uc-title .pc-uc-btns {
    display: flex;
    gap: 8px;
}

.pc-uc-title .pc-uc-btns button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.pc-uc-title .pc-uc-btns button:hover {
    background: rgba(255,255,255,0.2);
}

.pc-uc-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.pc-uc-body .pc-uc-left {
    width: 200px;
    min-width: 200px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 8px 0;
}

.pc-uc-body .pc-uc-left .pc-uc-group-title {
    padding: 8px 16px 4px;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.pc-uc-body .pc-uc-left .pc-uc-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.pc-uc-body .pc-uc-left .pc-uc-menu-item:hover {
    background: #e5e7eb;
    color: #333;
}

.pc-uc-body .pc-uc-left .pc-uc-menu-item.on {
    background: #fff;
    color: #e74c3c;
    font-weight: 600;
    border-right: 2px solid #e74c3c;
}

.pc-uc-body .pc-uc-left .pc-uc-menu-item .svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.pc-uc-body .pc-uc-right {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* (旧版Footer样式已移除，使用v2版 .pc-footer 替代) */

/* ---- 通用SVG图标 ---- */
.svg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    vertical-align: middle;
}

/* ---- 确认投注弹窗覆盖 ---- */
.bet-confirm-layer .layui-layer-content {
    padding: 0 !important;
}

/* ============================================
   以下为v2版新增样式 - 匹配目标站
   ============================================ */

/* ---- Header第二层样式覆盖 ---- */
.pc-homehead .pc-top {
    background: #2a3a5c;
}

.pc-homehead .pc-top .pc-right .pc-btn.primary {
    background: linear-gradient(135deg, #f0c14b, #e8a317);
    color: #333;
    font-weight: 600;
    border-radius: 4px;
}

.pc-homehead .pc-bottom {
    background: #fff;
    border-top: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pc-homehead .pc-bottom .pc-menu {
    height: 64px;
}

.pc-homehead .pc-bottom .pc-nav-items li {
    color: #555;
    padding: 0 28px;
    height: 64px;
}

.pc-homehead .pc-bottom .pc-nav-items li:hover,
.pc-homehead .pc-bottom .pc-nav-items li.active {
    color: #2a7fd5;
    background: transparent;
}

.pc-homehead .pc-bottom .pc-nav-items li.active::after {
    background: #2a7fd5;
    left: 25%;
    right: 25%;
}

.pc-homehead .pc-bottom .pc-nav-items li span {
    font-weight: 500;
    color: inherit;
}

.pc-homehead .pc-bottom .pc-nav-items li em {
    color: #aaa;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Banner轮播 ---- */
.pc-banner-wrap {
    position: relative;
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    background: #e8eef5;
}

.pc-banner-slider {
    position: relative;
    width: 100%;
    height: 420px;
}

.pc-banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.pc-banner-item.active {
    opacity: 1;
    z-index: 1;
}

.pc-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
}

.pc-banner-arrow:hover {
    background: rgba(255,255,255,0.6);
    color: #333;
}

.pc-banner-prev { left: 20px; }
.pc-banner-next { right: 20px; }

.pc-banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.pc-banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.pc-banner-dots span.active {
    background: #fff;
}

/* ---- 首页内容 ---- */
.pc-home-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

/* ---- 游戏中心双栏 ---- */
.pc-game-center {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pc-gc-section {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px;
}

.pc-gc-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2a7fd5;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eef5;
}

.pc-gc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pc-gc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    transition: transform 0.2s;
    cursor: pointer;
}

.pc-gc-item:hover {
    transform: translateY(-3px);
    color: #2a7fd5;
}

.pc-gc-item img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.pc-gc-item:hover img {
    box-shadow: 0 4px 16px rgba(42,127,213,0.3);
}

.pc-gc-item span {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
}

/* ---- APP下载区 ---- */
.pc-download-section {
    display: flex;
    align-items: center;
    background: url('/assets/download-bg.36632918.png') center center/cover no-repeat;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    min-height: 240px;
    color: #333;
}

.pc-dl-left {
    flex: 1;
}

.pc-dl-left h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2a7fd5;
    margin: 0 0 6px;
}

.pc-dl-sub {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

.pc-dl-info {
    max-width: 400px;
}

.pc-dl-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.pc-dl-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.pc-dl-right {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pc-dl-qr-item {
    text-align: center;
}

/* ---- 优质服务 ---- */
.pc-service-section {
    text-align: center;
    padding: 30px 0 40px;
}

.pc-service-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px;
}

.pc-service-sub {
    font-size: 13px;
    color: #999;
    margin: 0 0 24px;
}

.pc-service-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.pc-service-item {
    text-align: center;
}

.pc-service-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.pc-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.pc-service-en {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   游戏页v2样式 - 匹配目标站
   ============================================ */

/* ---- 游戏分类tabs ---- */
.gm-tabs-wrap {
    background: url('/assets/gamecenter_bg_02.0f98251f.jpg') center center/cover no-repeat;
}

.gm-tabs-row1 {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.gm-tabs-row1 .gm-cat {
    padding: 10px 24px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background 0.15s;
    font-weight: 500;
}

.gm-tabs-row1 .gm-cat:first-child { border-radius: 4px 0 0 0; }
.gm-tabs-row1 .gm-cat:last-child { border-radius: 0 4px 0 0; border-right: none; }

.gm-tabs-row1 .gm-cat:hover,
.gm-tabs-row1 .gm-cat.active {
    background: rgba(255,255,255,0.25);
}

.gm-tabs-row2 {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: rgba(255,255,255,0.15);
}

.gm-tabs-row2 span {
    padding: 8px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: all 0.15s;
}

.gm-tabs-row2 span:hover,
.gm-tabs-row2 span.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

/* ---- 三栏布局 ---- */
.gm-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 160px);
    background: #eef2f7;
    overflow: visible;
}

/* ---- 左侧栏 ---- */
.gm-sidebar-left {
    width: 240px;
    min-width: 240px;
    background: #dce4ee;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.gm-user-card {
    padding: 12px;
    background: #c8d4e4;
    border-bottom: 1px solid #b8c8dc;
}

.gm-urow {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
}

.gm-ulabel { color: #555; }
.gm-uval { color: #222; font-weight: 600; }

.gm-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 8px;
    background: #d4dcea;
}

.gm-qitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    background: #e8eef6;
    cursor: pointer;
    text-decoration: none;
    color: #444;
    transition: background 0.15s;
    border-radius: 4px;
}

.gm-qitem:hover { background: #fff; }

.gm-qi {
    font-size: 22px;
    margin-bottom: 4px;
    display: block;
}

.gm-qitem em {
    font-style: normal;
    font-size: 11px;
    color: #555;
    text-align: center;
    line-height: 1.2;
}

.gm-result-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(94deg, #2896f6, #0178df);
    padding: 0 8px;
    color: #fff;
}

.gm-result-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
}

.gm-result-filter {
    display: flex;
    gap: 2px;
}

.gm-result-filter span {
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.gm-result-filter span.active {
    background: #f0c14b;
    color: #333;
    font-weight: 600;
}

.gm-history-list {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.gm-hist-item {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
    font-size: 14px;
    border-bottom: 1px solid #d4d4d4;
}

.gm-hist-item .gm-hist-qishu {
    color: #666;
    font-weight: 400;
    font-size: 11px;
    line-height: 20px;
}

.gm-hist-item .gm-hist-nums {
    display: inline;
}

.gm-hist-item .gm-hist-nums .num-ball {
    display: inline-block;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background-image: url(/assets/nums.7e32c500.jpg);
    background-size: 100%;
    text-indent: -99999px;
    overflow: hidden;
    vertical-align: middle;
}

.gm-hist-item .gm-hist-nums .num-ball.c1 { background-position: 0 0; }
.gm-hist-item .gm-hist-nums .num-ball.c2 { background-position: 0 -17px; }
.gm-hist-item .gm-hist-nums .num-ball.c3 { background-position: 0 -34px; }
.gm-hist-item .gm-hist-nums .num-ball.c4 { background-position: 0 -51px; }
.gm-hist-item .gm-hist-nums .num-ball.c5 { background-position: 0 -68px; }
.gm-hist-item .gm-hist-nums .num-ball.c6 { background-position: 0 -85px; }
.gm-hist-item .gm-hist-nums .num-ball.c7 { background-position: 0 -102px; }
.gm-hist-item .gm-hist-nums .num-ball.c8 { background-position: 0 -120px; }
.gm-hist-item .gm-hist-nums .num-ball.c9 { background-position: 0 -137px; }
.gm-hist-item .gm-hist-nums .num-ball.c10 { background-position: 0 -154px; }

.gm-hist-item .gm-hist-ft {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    font-size: 12px;
    color: #000;
}

.gm-hist-ft .gm-hist-ftr2 {
    display: inline-block;
    font-size: 12px;
    color: #000;
}

.gm-hist-ft .gm-hist-ftr2 i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #555;
    margin-left: 2px;
    vertical-align: middle;
    font-style: normal;
}

/* 历史列表底部"更多"按钮 */
.gm-hist-more {
    text-align: center;
    padding: 4px 8px;
}

.gm-hist-more button {
    display: inline-block;
    width: 100%;
    height: 28px;
    background: #5a89fb;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ---- 中间主区域 ---- */
.gm-main {
    flex: 1;
    overflow: visible;
    background: #fff;
    position: relative;
}

/* 游戏信息头 - 匹配目标站 periodinfo.svelte-pvkfwv */
.gm-info-header {
    display: flex;
    align-items: stretch;
    padding: 8px 0 0 0;
    background: linear-gradient(#fff, #fbfbfb 30%, #b9b9b9);
    height: 120px;
    flex-wrap: nowrap;
}

/* 左侧：游戏logo+名称 */
.gm-info-logo {
    width: 140px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.gm-info-logo img {
    width: 63px;
    height: 63px;
    display: block;
}

.gm-info-logo h5 {
    margin: 4px 0 0 0;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

/* 中间：期号+倒计时 */
.gm-info-time {
    width: 204px;
    min-width: 204px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gm-info-time .gm-spacer {
    height: 20px;
}

.gm-period-tip {
    font-size: 12px;
    font-weight: 700;
    color: #555;
}

.gm-period-tip .gm-period-num {
    color: #f00;
    font-weight: 700;
}

.gm-countdown-box {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.gm-cd-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: linear-gradient(#d1b983, #c5a147);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.gm-cd-sep {
    display: inline-block;
    width: 26px;
    text-align: center;
    color: #000;
    font-size: 25px;
    line-height: 40px;
}

/* 右侧：上期开奖结果 */
.gm-info-prev {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
}

.gm-last-result {
    font-size: 16px;
    color: #000;
    margin-bottom: 4px;
}

.gm-last-result .gm-prev-qishu {
    color: #f00;
}

/* 精灵图球号 */
.pc-result-nums .num-ball {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 0;
    color: transparent;
    background-image: url('/assets/nums.7e32c500.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: 1px;
    vertical-align: middle;
}

.num-ball.c1  { background-position: 0 0; }
.num-ball.c2  { background-position: 0 -30px; }
.num-ball.c3  { background-position: 0 -60px; }
.num-ball.c4  { background-position: 0 -90px; }
.num-ball.c5  { background-position: 0 -120px; }
.num-ball.c6  { background-position: 0 -150px; }
.num-ball.c7  { background-position: 0 -180px; }
.num-ball.c8  { background-position: 0 -210px; }
.num-ball.c9  { background-position: 0 -240px; }
.num-ball.c10 { background-position: 0 -270px; }

/* (pc-ftr-row 已在上方统一定义) */

/* 展开/视频按钮 */
.gm-info-btns {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 8px;
    justify-content: center;
}

.gm-btn-expand, .gm-btn-video {
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #f8f8f8;
    cursor: pointer;
    color: #555;
}

.gm-btn-expand:hover, .gm-btn-video:hover {
    background: #e8e8e8;
}

/* 筹码栏 - 匹配目标站 bettools.svelte-k4y66l */
.gm-chip-bar {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background: #ededed;
    height: 47px;
    flex-wrap: nowrap;
}

.gm-chips {
    display: flex;
    align-items: center;
}

.gm-chip-bar .pc-chip {
    display: inline-block;
    height: 22.5px;
    line-height: 22.5px;
    font-size: 15px;
    border-radius: 16px;
    padding: 0 12px;
    text-align: center;
    background: #353535;
    color: #fff;
    cursor: pointer;
    border: none;
    margin-right: 4px;
    font-weight: 400;
    white-space: nowrap;
}

.gm-chip-bar .pc-chip:hover {
    background: #555;
}

.gm-chip-bar .pc-chip.selected {
    background: #5a89fb;
    color: #fff;
}

.gm-chip-edit {
    background: #353535 !important;
    color: #fff !important;
}

.gm-chip-summary {
    font-size: 13px;
    color: #000;
    margin-left: 8px;
    line-height: 39px;
    white-space: nowrap;
}

.gm-chip-summary strong,
.gm-chip-summary .bet-count-mirror,
.gm-chip-summary .bet-total-mirror {
    color: #f00;
}

.gm-chip-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gm-chip-right .gm-money-label {
    font-size: 13px;
    color: #737373;
}

.gm-money-input {
    width: 100px;
    height: 26px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
    color: #606266;
    background: #fff;
}

.gm-money-input:focus {
    border-color: #5a89fb;
}

.gm-btn-bet {
    display: inline-block;
    padding: 0 24px;
    height: 24px;
    line-height: 24px;
    background: #5a89fb;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.gm-btn-bet:hover { background: #4a79eb; }

.gm-btn-reset {
    display: inline-block;
    padding: 0 24px;
    height: 24px;
    line-height: 24px;
    background: #5a89fb;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.gm-btn-reset:hover { background: #4a79eb; }

/* ---- 右侧栏 ---- */
.gm-sidebar-right {
    width: 180px;
    min-width: 180px;
    background: #f5f7fa;
    border-left: 1px solid #e0e6ee;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.gm-trend-panel {
    flex: 1;
}

.gm-trend-title {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: #e8eef5;
    border-bottom: 1px solid #dce4ee;
}

.gm-trend-sub {
    padding: 4px 10px;
    background: #eef2f7;
    border-bottom: 1px solid #dce4ee;
}

.gm-trend-sub span {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    color: #666;
}

.gm-trend-sub span.active {
    background: #4a7fb5;
    color: #fff;
}

.gm-trend-list {
    max-height: 300px;
    overflow-y: auto;
}

.gm-trend-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 11px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.gm-trend-row .trend-val {
    color: #c00;
    font-weight: 600;
}

.gm-selected-panel {
    border-top: 2px solid #4a7fb5;
}

.gm-sel-title {
    padding: 6px 10px;
    font-size: 12px;
    color: #666;
    background: #eef2f7;
    display: flex;
    justify-content: space-between;
}

.gm-sel-total {
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafb;
    border-bottom: 1px solid #eee;
}

.gm-sel-list {
    max-height: 200px;
    overflow-y: auto;
}

/* (球号样式已移至 .gm-info-header 区块中) */

/* ---- Footer改进 ---- */
.pc-footer {
    background: #2a3a5c;
    color: #aaa;
    text-align: center;
    padding: 24px 20px;
    font-size: 12px;
}

.pc-footer a {
    color: #ccc;
    text-decoration: none;
    margin: 0 8px;
}

.pc-footer a:hover {
    color: #fff;
}
