* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
}

.header {
    background: linear-gradient(135deg, #2e8b57, #3cb371);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 50%;
    margin: 0 auto;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 手机版样式 */
@media (max-width: 768px) {
    .header {
        width: 100%;
        padding: 16px;
    }

    .header h1 {
        font-size: 20px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .header {
        padding: 14px 12px;
    }

    .header h1 {
        font-size: 18px;
    }
}

/* 导航栏样式 */
.nav-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.nav-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #218838, #1e7e34);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn.active {
    background: linear-gradient(135deg, #218838, #1e7e34);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 导航图片样式 */
.nav-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-image {
    width: 100%;
    /* height: 120px; */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 手机版导航样式 */
@media (max-width: 768px) {
    .nav-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
    }

    .nav-images .nav-image {
        /* height: 100px; */
    }

    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        padding: 10px 6px;
        font-size: 13px;
    }
}

/* 超小屏幕导航优化 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
        margin: 12px auto;
    }

    .nav-images .nav-image {
        /* height: 80px; */
        /* border-radius: 6px; */
    }

    .nav-buttons {
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 4px;
        font-size: 12px;
        border-radius: 6px;
    }
}

/* 公告栏样式 */
.announcement-container {
    width: 50%;
    margin: 10px auto;
    padding: 0 20px;
}

.announcement-content {
    background: linear-gradient(135deg, #ffc107, #ffca28);
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: calc(50% * 0.6);
    min-height: 35px;
}

.announcement-label {
    font-weight: bold;
    margin-right: 10px;
    white-space: nowrap;
    color: #d63384;
}

.announcement-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-scroll span {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 彩种切换按钮样式 */
.lottery-switch-container {
    width: 50%;
    margin: 15px auto;
    padding: 0 20px;
}

.lottery-switch-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lottery-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 10px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lottery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.lottery-btn:active {
    transform: translateY(0);
}

.lottery-btn.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 - 公告栏和彩种按钮 */
@media (max-width: 768px) {
    .announcement-container,
    .lottery-switch-container {
        width: 100%;
        margin: 10px auto;
        padding: 0 16px;
    }

    .announcement-content {
        padding: 6px 12px;
        min-height: 30px;
    }

    .announcement-label {
        margin-right: 8px;
        font-size: 14px;
    }

    .lottery-switch-buttons {
        gap: 8px;
    }

    .lottery-btn {
        padding: 8px 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .announcement-container,
    .lottery-switch-container {
        padding: 0 12px;
        margin: 8px auto;
    }

    .announcement-content {
        padding: 5px 10px;
        min-height: 28px;
    }

    .announcement-label {
        margin-right: 6px;
        font-size: 13px;
    }

    .lottery-switch-buttons {
        gap: 6px;
    }

    .lottery-btn {
        padding: 6px 4px;
        font-size: 11px;
        border-radius: 4px;
    }
}

/* 期数选择栏样式 */
.period-selector-container {
    width: 50%;
    margin: 15px auto;
    padding: 0 20px;
}

.period-selector {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.period-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

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

.period-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.period-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.period-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #28a745;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 网站信息样式 */
.website-info {
    background: #f8f9fa;
    color: #333;
    padding: 8px 15px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.website-link {
    font-size: 14px;
}

.website-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.website-link a:hover {
    text-decoration: underline;
}

/* 更新时间样式 */
.update-time {
    background: linear-gradient(135deg, #ffc107, #ffca28);
    color: #333;
    padding: 6px 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.update-label {
    font-weight: bold;
    margin-right: 5px;
}

.update-frequency {
    color: #d63384;
    font-weight: bold;
}

/* 期数选择栏响应式设计 */
@media (max-width: 768px) {
    .period-selector-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 16px;
    }

    .period-selector {
        padding: 8px 12px;
    }

    .period-header {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .period-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .period-btn {
        padding: 5px 3px;
        font-size: 11px;
    }

    .website-info,
    .update-time {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .period-selector-container {
        padding: 0 12px;
        margin: 10px auto;
    }

    .period-selector {
        padding: 6px 10px;
    }

    .period-header {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .period-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .period-btn {
        padding: 4px 2px;
        font-size: 10px;
    }

    .website-info,
    .update-time {
        padding: 5px 10px;
        font-size: 12px;
        margin-bottom: 6px;
    }
}

/* 解四不像图板块样式 */
.four-unlike-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
}

.four-unlike-header {
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.four-unlike-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.four-unlike-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2%;
    background: #f8f9fa;
    padding: 15px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.unlike-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.unlike-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.unlike-btn.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.unlike-content {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    padding: 20px;
    overflow: hidden;
}

/* 加载和错误状态样式 */
.unlike-loading,
.unlike-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.unlike-error {
    color: #dc3545;
}

/* MD内容显示样式 */
.unlike-md-content {
    line-height: 1.8;
    color: #333;
}

.unlike-md-content h1,
.unlike-md-content h2,
.unlike-md-content h3 {
    color: #6f42c1;
    margin-top: 20px;
    margin-bottom: 10px;
}

.unlike-md-content p {
    margin-bottom: 15px;
}

.unlike-md-content ul,
.unlike-md-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.unlike-md-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.unlike-md-content pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 15px;
}

/* 解四不像图列表样式 */
.unlike-header-info {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #6f42c1;
}

.unlike-header-info h3 {
    color: #6f42c1;
    margin: 0;
    font-size: 20px;
}

.unlike-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #6f42c1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.unlike-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dee2e6;
}

.unlike-item-header h4 {
    margin: 0;
    color: #6f42c1;
    font-size: 16px;
    font-weight: bold;
}

.unlike-time {
    color: #6c757d;
    font-size: 12px;
}

.unlike-item-content {
    line-height: 1.6;
}

.unlike-item-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* 解新彩挂牌图板块样式 */
.new-lottery-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
}

.new-lottery-header {
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.new-lottery-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.new-lottery-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2%;
    background: #f8f9fa;
    padding: 15px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.new-lottery-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.new-lottery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

.new-lottery-btn.active {
    background: linear-gradient(135deg, #ffc107, #ffca28);
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.new-lottery-content {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    padding: 20px;
    overflow: hidden;
}

/* 加载和错误状态样式 */
.new-lottery-loading,
.new-lottery-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.new-lottery-error {
    color: #dc3545;
}

/* 新彩挂牌图MD内容显示样式 */
.new-lottery-md-content {
    line-height: 1.8;
    color: #333;
}

.new-lottery-md-content h1,
.new-lottery-md-content h2,
.new-lottery-md-content h3 {
    color: #dc3545;
    margin-top: 20px;
    margin-bottom: 10px;
}

.new-lottery-md-content p {
    margin-bottom: 15px;
}

.new-lottery-md-content ul,
.new-lottery-md-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.new-lottery-md-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.new-lottery-md-content pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 15px;
}

/* 计划项目样式 */
.plan-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

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

.plan-item:hover {
    background-color: #f8f9fa;
}

.plan-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.plan-type {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.plan-time {
    font-size: 12px;
    color: #6c757d;
}

.plan-content-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 8px;
}

.plan-accuracy {
    font-size: 12px;
    color: #dc3545;
    font-weight: bold;
    text-align: right;
}

/* 加载状态样式 */
.plan-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #6c757d;
    font-size: 14px;
}

.plan-loading span {
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 错误状态样式 */
.plan-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #dc3545;
    font-size: 14px;
    text-align: center;
}

.plan-error .retry-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.plan-error .retry-btn:hover {
    background: #c82333;
}

/* 空状态样式 */
.plan-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #6c757d;
    font-size: 14px;
}

/* 解四不像图响应式设计 */
@media (max-width: 768px) {
    .four-unlike-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
    }

    .four-unlike-header {
        padding: 12px 16px;
    }

    .four-unlike-header h3 {
        font-size: 16px;
    }

    .four-unlike-buttons {
        padding: 12px;
        gap: 1.5%;
    }

    .unlike-btn {
        padding: 10px 6px;
        font-size: 12px;
    }

    .unlike-content {
        padding: 16px;
        min-height: 250px;
    }

    .unlike-loading,
    .unlike-error {
        height: 210px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .four-unlike-container {
        padding: 0 12px;
        margin: 12px auto;
    }

    .four-unlike-header {
        padding: 10px 12px;
    }

    .four-unlike-header h3 {
        font-size: 15px;
    }

    .four-unlike-buttons {
        padding: 10px;
        gap: 1%;
    }

    .unlike-btn {
        padding: 8px 4px;
        font-size: 11px;
    }

    .unlike-content {
        padding: 12px;
        min-height: 200px;
    }

    .unlike-loading,
    .unlike-error {
        height: 160px;
        font-size: 12px;
    }

    .unlike-md-content {
        font-size: 13px;
    }
}

/* 解新彩挂牌图响应式设计 */
@media (max-width: 768px) {
    .new-lottery-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
    }

    .new-lottery-header {
        padding: 12px 16px;
    }

    .new-lottery-header h3 {
        font-size: 16px;
    }

    .new-lottery-buttons {
        padding: 12px;
        gap: 1.5%;
    }

    .new-lottery-btn {
        padding: 10px 6px;
        font-size: 12px;
    }

    .new-lottery-content {
        padding: 16px;
        min-height: 250px;
    }

    .new-lottery-loading,
    .new-lottery-error {
        height: 210px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .new-lottery-container {
        padding: 0 12px;
        margin: 12px auto;
    }

    .new-lottery-header {
        padding: 10px 12px;
    }

    .new-lottery-header h3 {
        font-size: 15px;
    }

    .new-lottery-buttons {
        padding: 10px;
        gap: 1%;
    }

    .new-lottery-btn {
        padding: 8px 4px;
        font-size: 11px;
    }

    .new-lottery-content {
        padding: 12px;
        min-height: 200px;
    }

    .new-lottery-loading,
    .new-lottery-error {
        height: 160px;
        font-size: 12px;
    }

    .new-lottery-md-content {
        font-size: 13px;
    }
}

/* 彩票内容区域样式 */
.lottery-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
}

.new-KJ-TabBox-box {
    font-size: 16px;
    box-sizing: border-box;
    color: #333;
    padding: 8px;
    font-family: "PingFang SC", "microsoft yahei", arial, "helvetica neue", "hiragino sans gb", sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.new-KJ-TabBox-box a {
    text-decoration: none;
}

.new-KJ-TabBox-box .kj-font-red {
    color: #f00 !important;
}

.new-KJ-TabBox-box-tit {
    display: flex;
    align-items: center;
    height: 17px;
    line-height: 17px;
    font-size: 17px;
}

.new-KJ-TabBox-box-tit-l {}

.new-KJ-TabBox-box-tit-m {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

.new-KJ-TabBox-box-tit-r {}

.new-KJ-TabBox-box-con {
    display: flex;
    margin: 8px 0;
}

.new-KJ-TabBox-box-con .kj-ball {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 61px;
    text-align: center;
    border-radius: 4px;
    margin-right: 6px;
    box-sizing: border-box;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 3px solid #333;
}

.new-KJ-TabBox-box-con .kj-ball:last-child {
    margin-right: 0;
}

.new-KJ-TabBox-box-con .kj-ball:nth-last-child(3) {
    margin-right: 6px;
}

.new-KJ-TabBox-box-con .kj-ball h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    line-height: 30px;
    font-size: 28px;
    font-weight: 900;
    font-family: Tahoma, Geneva, sans-serif;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
}

.new-KJ-TabBox-box-con .kj-ball .whsx {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    color: #333;
    font-size: 14px;
    background: #fff !important;
    font-weight: bold;
    flex: 1;
}

/* 开奖状态样式 */
.new-KJ-TabBox-box-con .kj-ball.drawing {
    border: 3px solid #ff6b35;
    animation: drawing-pulse 1.5s infinite;
}

.new-KJ-TabBox-box-con .kj-ball.drawing .drawing-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-size: 16px;
    font-weight: bold;
    z-index: 10;
}

.new-KJ-TabBox-box-con .kj-ball.drawing h2,
.new-KJ-TabBox-box-con .kj-ball.drawing .whsx {
    display: none;
}

@keyframes drawing-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.new-KJ-TabBox-box-foot {
    display: flex;
    align-items: center;
    font-size: 16px;
    flex-wrap: wrap;
}

.new-KJ-TabBox-box-foot-l {
    flex: 1;
    white-space: nowrap;
}

.new-KJ-TabBox-box-foot-r {}

/* 彩票内容响应式设计 */
@media (max-width: 768px) {
    .lottery-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
    }

    .new-KJ-TabBox-box {
        font-size: 14px;
    }

    .new-KJ-TabBox-box-tit {
        font-size: 16px;
    }

    .new-KJ-TabBox-box-con .kj-ball {
        margin-right: 4px;
    }

    .new-KJ-TabBox-box-con .kj-ball:nth-last-child(3) {
        margin-right: 4px;
    }

    .new-KJ-TabBox-box-con .kj-ball h2 {
        font-size: 24px;
        line-height: 25px;
    }

    .new-KJ-TabBox-box-con .kj-ball .whsx {
        height: 25px;
        line-height: 25px;
        font-size: 12px;
    }

    .new-KJ-TabBox-box-foot {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .lottery-container {
        padding: 0 12px;
        margin: 12px auto;
    }

    .new-KJ-TabBox-box-tit,
    .new-KJ-TabBox-box-foot {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .new-KJ-TabBox-box-tit,
    .new-KJ-TabBox-box-foot {
        font-size: 14px;
    }
}

@media (max-width: 340px) {
    .new-KJ-TabBox-box-tit {
        font-size: 13px;
    }
}

/* 三列布局样式 */
.three-column-layout {
    display: flex;
    width: 100%;
    gap: 20px;
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.left-column,
.right-column {
    flex: 0 0 20%;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.middle-column {
    flex: 0 0 60%;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 计划表格样式 */
.plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.plan-table th,
.plan-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.plan-table th {
    background: #28a745;
    color: white;
    font-weight: bold;
}

.plan-table tr:nth-child(even) {
    background: #f8f9fa;
}

.plan-table tr:hover {
    background: #e9ecef;
}

/* 列标题样式 */
.column-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745;
}

/* 侧边栏内容样式 */
.sidebar-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.sidebar-content h4 {
    color: #28a745;
    margin-bottom: 10px;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
}

.sidebar-content li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

/* 三列布局响应式设计 */
@media (max-width: 1024px) {
    .three-column-layout {
        flex-direction: column;
        gap: 15px;
    }

    .left-column,
    .right-column,
    .middle-column {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .three-column-layout {
        padding: 0 16px;
        gap: 12px;
    }

    .left-column,
    .right-column {
        padding: 12px;
    }

    .middle-column {
        padding: 16px;
    }

    .plan-table {
        font-size: 12px;
    }

    .plan-table th,
    .plan-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .three-column-layout {
        padding: 0 12px;
        gap: 10px;
    }

    .column-title {
        font-size: 16px;
    }

    .plan-table {
        font-size: 11px;
    }

    .plan-table th,
    .plan-table td {
        padding: 6px 4px;
    }
}

/* 最新计划容器样式 */
.latest-plan-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
}

.latest-plan-header {
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.latest-plan-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.latest-plan-content {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    padding: 20px;
    overflow: hidden;
}

/* 最新计划加载和错误状态 */
.latest-plan-loading,
.latest-plan-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.latest-plan-error {
    color: #dc3545;
}

/* 最新计划项目样式 */
.latest-plan-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.latest-plan-item-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.latest-plan-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
    margin: 0;
}

.latest-plan-item-time {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
}

.latest-plan-item-content {
    line-height: 1.6;
}

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

/* 最新计划MD内容样式 */
.latest-plan-item-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.latest-plan-item-content table th,
.latest-plan-item-content table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.latest-plan-item-content table th {
    background: #28a745;
    color: white;
    font-weight: bold;
}

.latest-plan-item-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* 最新计划响应式设计 */
@media (max-width: 768px) {
    .latest-plan-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
    }

    .latest-plan-header {
        padding: 12px 16px;
    }

    .latest-plan-header h3 {
        font-size: 16px;
    }

    .latest-plan-content {
        padding: 16px;
        min-height: 250px;
    }

    .latest-plan-item {
        padding: 12px;
    }

    .latest-plan-item-title {
        font-size: 15px;
    }

    .latest-plan-loading,
    .latest-plan-error {
        height: 210px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .latest-plan-container {
        padding: 0 12px;
        margin: 12px auto;
    }

    .latest-plan-header {
        padding: 10px 12px;
    }

    .latest-plan-header h3 {
        font-size: 15px;
    }

    .latest-plan-content {
        padding: 12px;
        min-height: 200px;
    }

    .latest-plan-item {
        padding: 10px;
    }

    .latest-plan-item-title {
        font-size: 14px;
    }

    .latest-plan-loading,
    .latest-plan-error {
        height: 160px;
        font-size: 12px;
    }
}

/* Category4 板块样式 */
.category4-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.category4-header {
    background: #28a745;
    color: white;
    padding: 16px 20px;
    text-align: center;
    position: relative;
}

.category4-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category4-content {
    padding: 20px;
    min-height: 200px;
    background: #fafafa;
}

.category4-loading,
.category4-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    color: #6c757d;
    font-style: italic;
}

.category4-error {
    color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category4-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
        border-radius: 8px;
    }

    .category4-header {
        padding: 12px 15px;
    }

    .category4-header h3 {
        font-size: 16px;
    }

    .category4-content {
        padding: 15px;
    }

    .category4-loading,
    .category4-error {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .category4-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
        border-radius: 6px;
    }

    .category4-header {
        padding: 10px 12px;
    }

    .category4-header h3 {
        font-size: 14px;
    }

    .category4-content {
        padding: 12px;
    }

    .category4-loading,
    .category4-error {
        font-size: 12px;
    }
}

/* 链接导航板块样式 */
.links-navigation-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.links-navigation-header {
    background: #28a745;
    color: white;
    padding: 16px 20px;
    text-align: center;
    position: relative;
}

.links-navigation-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.links-navigation-content {
    padding: 20px;
    min-height: 200px;
    background: #fafafa;
}

.links-navigation-loading,
.links-navigation-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    color: #6c757d;
    font-style: italic;
}

.links-navigation-error {
    color: #dc3545;
}

/* 三列表格样式 */
.links-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.links-table td {
    padding: 0;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    text-align: center;
    width: 33.333%;
}

.links-table a {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 0;
    background: white;
}

.links-table a:hover {
    background: linear-gradient(135deg, #fd7e14, #ff8f3c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
}

.links-table a:active {
    transform: translateY(0);
}

/* 平板端优化 */
@media (min-width: 601px) and (max-width: 768px) {
    .links-navigation-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
        border-radius: 8px;
    }

    .links-navigation-header {
        padding: 12px 15px;
    }

    .links-navigation-header h3 {
        font-size: 16px;
    }

    .links-navigation-content {
        padding: 15px;
    }

    .links-table {
        border-spacing: 6px;
    }

    .links-table td {
        width: calc(33.333% - 4px);
    }

    .links-table a {
        padding: 16px 12px;
        font-size: 14px;
        line-height: 1.4;
        border-radius: 6px;
    }

    .links-navigation-loading,
    .links-navigation-error {
        font-size: 13px;
    }
}

/* 小平板端优化 */
@media (max-width: 600px) and (min-width: 481px) {
    .links-navigation-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
        border-radius: 8px;
    }

    .links-navigation-header {
        padding: 12px 15px;
    }

    .links-navigation-header h3 {
        font-size: 15px;
    }

    .links-table {
        border-spacing: 5px;
    }

    .links-table td {
        width: calc(33.333% - 4px);
        min-height: 55px;
    }

    .links-table a {
        padding: 14px 8px;
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .links-navigation-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
        border-radius: 6px;
    }

    .links-navigation-header {
        padding: 10px 12px;
    }

    .links-navigation-header h3 {
        font-size: 14px;
    }

    .links-navigation-content {
        padding: 8px;
    }

    /* 手机端保持表格结构，但优化显示 */
    .links-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 4px;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .links-table td {
        padding: 0;
        border: none;
        vertical-align: top;
        text-align: center;
        width: calc(33.333% - 3px);
        min-height: 50px;
    }

    .links-table a {
        display: block;
        padding: 12px 4px;
        text-decoration: none;
        color: #495057;
        font-weight: 500;
        font-size: 12px;
        line-height: 1.3;
        transition: all 0.3s ease;
        border-radius: 6px;
        background: white;
        border: 1px solid #dee2e6;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        height: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .links-table a:hover {
        background: linear-gradient(135deg, #fd7e14, #ff8f3c);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(253, 126, 20, 0.3);
        border-color: transparent;
    }

    .links-table a:active {
        transform: translateY(0);
    }

    .links-navigation-loading,
    .links-navigation-error {
        font-size: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .links-navigation-content {
        padding: 6px;
    }

    .links-table {
        border-spacing: 3px;
    }

    .links-table td {
        width: calc(33.333% - 2px);
        min-height: 45px;
    }

    .links-table a {
        padding: 10px 3px;
        font-size: 11px;
        line-height: 1.2;
    }
}

/* 两列文章导航板块样式 */
.two-column-navigation-container {
    width: 50%;
    margin: 20px auto;
    padding: 0 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.two-column-navigation-header {
    background: #28a745;
    color: white;
    padding: 16px 20px;
    text-align: center;
    position: relative;
}

.two-column-navigation-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.two-column-navigation-content {
    padding: 20px;
    min-height: 200px;
    background: #fafafa;
}

.two-column-navigation-loading,
.two-column-navigation-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    color: #6c757d;
    font-style: italic;
}

.two-column-navigation-error {
    color: #dc3545;
}

/* 两列表格样式 */
.two-column-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.two-column-table td {
    padding: 0;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    text-align: center;
    width: 50%;  /* 两列，每列50% */
}

.two-column-table a {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 0;
    background: white;
}

.two-column-table a:hover {
    background: linear-gradient(135deg, #e83e8c, #f06292);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 62, 140, 0.3);
}

.two-column-table a:active {
    transform: translateY(0);
}

/* 平板端优化 */
@media (min-width: 601px) and (max-width: 768px) {
    .two-column-navigation-container {
        width: 100%;
        margin: 15px auto;
        padding: 0 16px;
        border-radius: 8px;
    }

    .two-column-navigation-header {
        padding: 12px 15px;
    }

    .two-column-navigation-header h3 {
        font-size: 16px;
    }

    .two-column-navigation-content {
        padding: 15px;
    }

    .two-column-table {
        border-spacing: 6px;
    }

    .two-column-table td {
        width: calc(50% - 3px);
    }

    .two-column-table a {
        padding: 16px 12px;
        font-size: 14px;
        line-height: 1.4;
        border-radius: 6px;
    }

    .two-column-navigation-loading,
    .two-column-navigation-error {
        font-size: 13px;
    }
}

/* 小平板端优化 */
@media (max-width: 600px) and (min-width: 481px) {
    .two-column-navigation-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
        border-radius: 8px;
    }

    .two-column-navigation-header {
        padding: 12px 15px;
    }

    .two-column-navigation-header h3 {
        font-size: 15px;
    }

    .two-column-table {
        border-spacing: 5px;
    }

    .two-column-table td {
        width: calc(50% - 3px);
        min-height: 55px;
    }

    .two-column-table a {
        padding: 14px 8px;
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .two-column-navigation-container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
        border-radius: 6px;
    }

    .two-column-navigation-header {
        padding: 10px 12px;
    }

    .two-column-navigation-header h3 {
        font-size: 14px;
    }

    .two-column-navigation-content {
        padding: 8px;
    }

    /* 手机端保持表格结构，但优化显示 */
    .two-column-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 4px;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .two-column-table td {
        padding: 0;
        border: none;
        vertical-align: top;
        text-align: center;
        width: calc(50% - 2px);
        min-height: 50px;
    }

    .two-column-table a {
        display: block;
        padding: 12px 6px;
        text-decoration: none;
        color: #495057;
        font-weight: 500;
        font-size: 12px;
        line-height: 1.3;
        transition: all 0.3s ease;
        border-radius: 6px;
        background: white;
        border: 1px solid #dee2e6;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        height: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .two-column-table a:hover {
        background: linear-gradient(135deg, #e83e8c, #f06292);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(232, 62, 140, 0.3);
        border-color: transparent;
    }

    .two-column-table a:active {
        transform: translateY(0);
    }

    .two-column-navigation-loading,
    .two-column-navigation-error {
        font-size: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .two-column-navigation-content {
        padding: 6px;
    }

    .two-column-table {
        border-spacing: 3px;
    }

    .two-column-table td {
        width: calc(50% - 1.5px);
        min-height: 45px;
    }

    .two-column-table a {
        padding: 10px 4px;
        font-size: 11px;
        line-height: 1.2;
    }
}
