/* 白小姐論壇页面样式 */

/* 横幅样式 */
.banner-header {
    background-color: #000000;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.banner-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.banner-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.banner-image img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 广告图片样式 */
img.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
}

/* 标头横幅样式 */
.site-header {
    background-color: #000000;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.header-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* Logo 容器 */
.header-logo {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 菜单网格样式 */
.menu-grid {
    padding: 5px;
    background: #ffffff;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 占位元素，防止内容被固定头部遮挡 */
.header-spacer {
    height: 130px;
}

.menu-grid .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -3px;
}

.menu-item {
    flex: 1;
    min-width: calc(20% - 6px);
    margin: 3px;
    padding: 8px 4px;
    background: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item:hover {
    background: #333333;
    transform: translateY(-1px);
}

.menu-item:active {
    background: #555555;
}

/* 菜单项激活状态样式 */
.menu-item.active {
    background: #dc3545 !important;
    color: white !important;
    text-decoration: underline;
    text-decoration-color: white;
    text-underline-offset: 2px;
    transform: translateY(-1px);
}

/* 开奖区域样式 */
.lottery-section {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 50px;
}

/* 标题样式 */
.title-section {
    margin-bottom: 12px;
    padding-bottom: 0;
}

.main-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.title-left {
    flex: 1;
    text-align: left;
}

.title-right {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 开奖号码区域样式 */
.numbers-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.numbers-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0 4px 0 0;
}

/* 开奖号码球样式 */
.number-ball {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.ball-number {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 2px;
    color: white;
    font-weight: 700;
}

.ball-label {
    font-size: 9px;
    line-height: 1;
    padding-top: 2px;
    margin-top: 2px;
    width: 75%;
    text-align: center;
    color: white;
    white-space: nowrap;
    border-radius: 0 0 25px 25px;
}

.number-ball.red {
    background-color: #dc3545;
    color: white;
}

.number-ball.blue {
    background-color: #0d6efd;
    color: white;
}

.number-ball.green {
    background-color: #28a745;
    color: white;
}

.plus-sign {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 加载文字 */
.loading-text {
    color: #6c757d;
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 20px;
}

/* 历史开奖区域样式 */
.history-section {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 历史开奖按钮区域 */
.history-button-section {
    background: #f8f9fa;
    padding: 20px 16px;
    text-align: center;
}

/* 历史开奖查看按钮样式 */
.history-view-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
}

.history-view-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff4444);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.history-view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

/* 响应式设计 */
@media (max-width: 576px) {
    .lottery-section {
        padding: 12px;
    }
    
    .main-title {
        font-size: 15px;
    }
    
    .title-right {
        font-size: 13px;
    }
    
    .history-section {
        margin-top: 16px;
    }
    
    .history-button-section {
        padding: 16px 12px;
    }
    
    .history-view-btn {
        padding: 10px 24px;
        font-size: 15px;
        max-width: 100%;
    }
    
    .number-ball {
        min-width: 46px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 24px;
    }
    
    .banner-image img {
        max-height: 50px;
    }
    
    .header-text {
        font-size: 18px;
    }
    
    .header-logo {
        width: 50px;
        height: 50px;
    }
    
    .menu-item {
        font-size: 12px;
        padding: 6px 3px;
    }
    
    .lottery-section {
        padding: 10px;
    }
    
    .main-title {
        font-size: 14px;
    }
    
    img.banner-image {
        max-height: 150px;
    }
    
    .number-ball {
        min-width: 44px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    img.banner-image {
        max-height: 130px;
    }
}

/* 更新列表样式 */
.update-list {
    background: #000000;
    margin: 8px 10px;
    border-radius: 4px;
    overflow: hidden;
    padding: 8px 0;
}

.update-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #000000;
    border-bottom: 1px solid #333333;
    font-size: 13px;
    line-height: 1.8;
    white-space: nowrap;
    overflow: hidden;
}

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

.update-click {
    color: #ffdd00;
    font-weight: 600;
    margin-right: 4px;
    flex-shrink: 0;
}

.update-destination {
    color: #ff00ff;
    font-weight: 600;
    margin-right: 4px;
    flex-shrink: 0;
}

.update-arrow {
    color: #ffdd00;
    margin: 0 4px;
    font-weight: bold;
    flex-shrink: 0;
}

.update-content {
    color: #ffdd00;
    font-weight: 600;
    margin-left: 4px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .update-list {
        margin: 0px;
        padding: 6px 0;
    }
    
    .update-item {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* pred01 列表样式 */
.pred01-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred01-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffeb3b;
}

.pred01-list {
    background: #ffffff;
}

.pred01-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred01-row {
    border-bottom: 1px solid #e0e0e0;
}

.pred01-row:last-child {
    border-bottom: none;
}

.pred01-cell {
    padding: 8px 12px !important;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    text-align: center;
}

/* 圆形数字图标 */
.pred01-number-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin: 0 4px;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred01-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred01-cell {
        padding: 6px 10px !important;
        font-size: 12px;
    }
    
    .pred01-number-icon {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 15px;
    }
}

/* pred02 列表样式 */
.pred02-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred02-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.pred02-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred02-list {
    background: #ffffff;
}

.pred02-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred02-left-cell {
    padding: 8px 12px !important;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pred02-forecast-part {
    flex-shrink: 1;
    text-align: left;
}

.pred02-result-part {
    flex-shrink: 0;
    text-align: left;
    margin-left: auto;
    padding-left: 12px;
}

.pred02-right-cell {
    padding: 8px 12px !important;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    text-align: left;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred02-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred02-left-cell,
    .pred02-right-cell {
        padding: 6px 10px !important;
        font-size: 12px;
    }
}

/* pred03 列表样式 */
.pred03-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred03-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.pred03-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred03-list {
    background: #ffffff;
}

.pred03-item {
    border-top: 2px solid #8b4513;
    border-bottom: 2px solid #8b4513;
}

.pred03-item:nth-child(odd) {
    background: white;
}

.pred03-item:nth-child(even) {
    background: #ffffff; /* 白色背景 */
}

.pred03-left-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.8;
    vertical-align: middle;
}

.pred03-arrow {
    margin-right: 4px;
    vertical-align: middle;
}

.pred03-period {
    color: #008000;
    font-weight: bold;
    margin-right: 4px;
}

.pred03-expert {
    color: #008000; /* 绿色 */
    font-weight: normal;
    margin-right: 4px;
}

.pred03-tail-highlight {
    background: red;
    color: #ffeb3b !important;
    font-weight: bold;
    padding: 0 2px;
}

.pred03-result-kai {
    color: #800080; /* 紫色 */
    font-weight: normal;
    margin-left: 4px;
}

.pred03-result-number {
    color: #ff0000; /* 红色 */
    font-weight: bold;
}

.pred03-result-status {
    color: #800080; /* 紫色 */
    font-weight: bold;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred03-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred03-left-cell {
        padding: 6px 10px !important;
        font-size: 12px;
    }
}

/* 金牌圖庫样式 */
.gold-gallery-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.gold-gallery-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.gold-gallery-content {
    padding: 10px;
    text-align: center;
    background: #ffffff;
}

.gold-gallery-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .gold-gallery-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .gold-gallery-content {
        padding: 8px;
    }
}

/* pred04 列表样式 */
.pred04-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred04-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.pred04-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred04-list {
    background: #ffffff;
}

.pred04-item {
    border-bottom: 1px solid #cccccc;
}

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

.pred04-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pred04-forecast-part {
    flex-shrink: 1;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pred04-result-part {
    flex-shrink: 0;
    text-align: left;
    margin-left: auto;
    padding-left: 12px;
    white-space: nowrap;
}

.pred04-vip-icon {
    margin-right: 4px;
    vertical-align: middle;
    height: 16px;
}

.pred04-period {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred04-m-icon {
    color: #0000ff; /* 蓝色 Ⓜ */
    font-weight: bold;
    margin-right: 2px;
}

.pred04-title {
    color: #008000; /* 绿色 */
    font-weight: bold;
}

.pred04-bracket {
    color: #ff0000; /* 红色括号 */
    font-weight: bold;
}

.pred04-zodiac {
    color: #0000ff; /* 蓝色 */
    font-weight: bold;
}

.pred04-zodiac-highlight {
    background: red !important;
    color: #ffeb3b !important;
    font-weight: bold !important;
    padding: 0 2px;
}

.pred04-result-kai {
    color: #ff0000; /* 红色 */
    font-weight: bold;
    margin-right: 2px;
}

.pred04-result-number {
    color: #ff0000; /* 红色 */
    font-weight: bold;
}

.pred04-result-status {
    color: #ff0000; /* 红色 */
    font-weight: bold;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred04-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred04-cell {
        padding: 8px 10px !important;
        font-size: 12px;
    }
    
    .pred04-result-part {
        padding-left: 8px;
    }
}

/* pred05 列表样式 */
.pred05-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred05-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffff00; /* 黄色 */
}

.pred05-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred05-list {
    background: #ffffff;
}

.pred05-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred05-cell {
    padding: 12px 15px !important;
    font-size: 14px;
    line-height: 1.8;
    vertical-align: middle;
    text-align: center;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred05-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred05-cell {
        padding: 10px 12px !important;
        font-size: 13px;
    }
}

/* pred06 列表样式 */
.pred06-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred06-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.pred06-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred06-list {
    background: #ffffff;
}

.pred06-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred06-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.8;
    vertical-align: middle;
    text-align: left;
}

.pred06-shield-icon {
    margin-right: 4px;
    vertical-align: middle;
    height: 16px;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred06-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred06-cell {
        padding: 8px 10px !important;
        font-size: 12px;
    }
}

/* pred07 列表样式 */
.pred07-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred07-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
}

.pred07-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred07-list {
    background: #ffffff;
}

.pred07-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred07-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.8;
    vertical-align: middle;
    text-align: left;
}

.pred07-megaphone-icon {
    margin-right: 4px;
    vertical-align: middle;
    height: 25px;
}

.pred07-period {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred07-title {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred07-result-number {
    color: #ff0000; /* 红色 */
    font-weight: bold;
    margin-right: 2px;
}

.pred07-result-status {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred07-bracket {
    color: #000000;
    font-weight: bold;
}

.pred07-number {
    color: #ff0000;
    font-weight: normal;
    font-weight: bold;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred07-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred07-cell {
        padding: 8px 10px !important;
        font-size: 12px;
    }
}

/* pred08 列表样式 */
.pred08-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred08-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffff00; /* 黄色 */
}

.pred08-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred08-list {
    background: #ffffff;
}

.pred08-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred08-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.8;
    vertical-align: middle;
    text-align: left;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred08-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred08-cell {
        padding: 8px 10px !important;
        font-size: 12px;
    }
}

/* pred09 列表样式 */
.pred09-section {
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
}

.pred09-header {
    background: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #ffff00; /* 黄色 */
}

.pred09-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pred09-list {
    background: #ffffff;
}

.pred09-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.pred09-cell {
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.8;
    vertical-align: middle;
    text-align: left;
}

.pred09-period {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred09-title {
    color: #000000;
    font-weight: bold;
    margin-right: 4px;
}

.pred09-bracket {
    color: #1d1994;
    font-weight: bold;
}

.pred09-number {
    color: #1d1994;
    font-weight: bold;
}

.pred09-kai {
    color: #000000;
    font-weight: bold;
    margin-left: 4px;
    margin-right: 2px;
}

.pred09-result-number {
    color: #ff0000; /* 红色 */
    font-weight: bold;
    margin-right: 2px;
}

.pred09-result-status {
    color: #000000;
    font-weight: bold;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .pred09-header {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
    
    .pred09-cell {
        padding: 8px 10px !important;
        font-size: 12px;
    }
}


