html, body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.lottery-nav {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.lottery-nav a {
    text-decoration: none;
    text-align: center;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin: 0 2px;
}

.nav-item a img {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 2px auto;
}

.nav-item a span {
    display: block;
    font-size: 9px;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.kaiJiang-content {
    padding: 5px;
    background-color: white;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kaiJiang-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    color: rgba(245, 73, 34, 1);
}

/* 开奖结果 */
.lottery-numbers {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    flex-wrap: wrap;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.lottery-numbers .numberRed {
    background-color: rgba(247, 82, 82, 1);
    color: white;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
}

.lottery-numbers .numberBlue {
    background-color: #388FDF;
    color: white;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
}

.lottery-details {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.lottery-details .detail-link {
    color: #ff6600;
    text-decoration: none;
    margin-left: 10px;
}

/* 光荣榜样式 */
.honor-roll {
    position: relative;
    margin: 5px;
    background: linear-gradient(135deg, #f5f2e8 0%, #fff9e6 100%);
    border-radius: 12px;
    overflow: hidden;
    height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: honorRollEntrance 0.8s ease-out;
}

@keyframes honorRollEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.honor-roll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, rgba(245, 73, 34, 1)0, #ff694e, rgba(245, 73, 34, 1));
    z-index: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.honor-roll-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100%) rotateX(90deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
}

.honor-roll-item.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    z-index: 2;
    animation: activeItemPulse 2s ease-in-out infinite;
}

@keyframes activeItemPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
}

.honor-roll-item.prev {
    opacity: 0.3;
    transform: translateY(-100%) rotateX(-90deg);
    z-index: 1;
}

.honor-roll-item.next {
    opacity: 0;
    transform: translateY(100%) rotateX(90deg);
    z-index: 0;
}

.honor-logo {
    flex-shrink: 0;
    margin-right: 15px;
    position: relative;
}

.honor-logo::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(245, 73, 34, 1)0, #ffed4e, rgba(245, 73, 34, 1));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.6;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.honor-logo img {
    width: 48px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.honor-logo:hover img {
    transform: scale(1.05) rotate(2deg);
}

.honor-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.honor-text {
    font-size: 18px;
    color: #2c3e50;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    to {
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 8px rgba(255, 215, 0, 0.3);
    }
}

.honor-more {
    flex-shrink: 0;
    margin-left: 10px;
    position: relative;
}

.more-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    padding: 4px 8px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    border: 1px solid rgba(231, 76, 60, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.more-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.more-link:hover::before {
    left: 100%;
}

.more-link:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* 添加指示器 */
.honor-indicators {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 3;
}

.honor-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: indicatorPulse 2s ease-in-out infinite;
}

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

.honor-indicator.active {
    background: #ffd700;
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    animation: activeIndicatorPulse 1s ease-in-out infinite;
}

@keyframes activeIndicatorPulse {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
    }
}

/* 响应式设计 - 767px以上布局 */
@media (min-width: 767px) {
    /* 主容器 - 两列布局 */
    .main-container {
        display: flex;
        gap: 15px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 10px;
        align-items: stretch;
    }
    
    .left-column {
        flex: 1;
        min-width: 0;
    }
    
    .right-column {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    /* 让专家排行榜填满右列高度 */
    .right-column .expert-section {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* 列内滚动区域（如需要） */
    .right-column .expert-list {
        flex: 1;
        overflow: auto;
    }
    
    /* 光荣榜样式调整 */
    .honor-roll {
        height: 80px;
        margin: 5px 0;
    }
    
    .honor-roll-item {
        padding: 0 20px;
    }
    
    .honor-logo img {
        width: 60px;
        height: 48px;
    }
    
    .honor-text {
        font-size: 20px;
    }
    
    .more-link {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    /* 彩票导航样式调整 */
    .nav-item {
        padding: 8px;
        margin: 0 3px;
    }
    
    .nav-item a img {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
    }
    
    .nav-item a span {
        font-size: 12px;
    }
    
    /* 开奖信息样式调整 */
    .kaiJiang-content {
        margin: 10px 0;
        padding: 15px;
    }
    
    .kaiJiang-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .lottery-numbers {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .lottery-numbers .numberRed,
    .lottery-numbers .numberBlue {
        width: 40px;
        height: 40px;
        font-size: 24px;
        margin: 0 3px;
    }
    
    .lottery-details {
        font-size: 16px;
    }
    
    /* 专家排行榜样式调整 */
    .expert-section {
        margin: 5px 0;
        padding: 15px;
    }
    
    .expert-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .expert-list li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .rank {
        width: 30px;
        font-size: 20px;
    }
    
    .avatar {
        width: 45px;
        height: 45px;
        margin: 0 15px;
    }
    
    .name {
        font-size: 17px;
    }
    
    .score {
        font-size: 16px;
    }
    
    .load-more-btn {
        font-size: 16px;
        padding: 12px;
        margin: 15px 0;
    }
}

/* 响应式设计 - 小屏幕 */
@media (max-width: 480px) {
    .honor-roll {
        height: 55px;
        margin: 3px;
    }
    
    .honor-roll-item {
        padding: 0 10px;
    }
    
    .honor-logo img {
        width: 40px;
        height: 32px;
    }
    
    .honor-text {
        font-size: 13px;
    }
    
    .more-link {
        font-size: 13px;
        padding: 3px 6px;
    }
}

/* PC端布局（>=767px） */
@media (min-width: 767px) {
    body {
        width: 80%;
        margin: 0 auto;
    }
    /* 主容器 - 单列布局 */
    .main-container {
        display: block;
    }
    
    .left-column,
    .right-column {
        width: 100%;
    }
    
    .honor-roll {
        height: 70px;
        margin: 5px;
    }
    
    .honor-roll-item {
        padding: 0 15px;
    }
    
    .honor-logo img {
        width: 50px;
        height: 40px;
    }
    
    .honor-text {
        font-size: 16px;
    }
    
    .more-link {
        font-size: 14px;
        padding: 4px 8px;
    }
    
    .kaiJiang-content {
        margin: 10px 5px;
        padding: 12px;
    }
    
    .kaiJiang-title {
        font-size: 18px;
    }
    
    .lottery-numbers .numberRed,
    .lottery-numbers .numberBlue {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }
    
    .expert-section {
        margin: 10px 5px;
        padding: 12px;
    }
    
    .expert-title {
        font-size: 20px;
    }
    
    .expert-list li {
        padding: 10px 0;
    }
    
    .rank {
        width: 25px;
        font-size: 18px;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        margin: 0 12px;
    }
    
    .name {
        font-size: 16px;
    }
}

/* 专家排行榜 */
.expert-section {
    background: #fff;
    margin: 5px 5px 0 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding: 5px 10px 10px 10px;
}

.expert-title {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
}

.expert-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.expert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expert-list li {
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
}

.expert-list li:active,
.expert-list li:focus-within {
    background: #f5f5f5;
}

.expert-list a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.rank {
    width: 22px;
    text-align: center;
    color: #888;
    font-size: 18px;
    font-weight: 600;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    margin: 0 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.avatar .default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    text-transform: uppercase;
}

.avatar.no-avatar .default-avatar {
    display: flex;
}

.avatar:empty::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #ccc;
    border-radius: 50%;
    display: block;
}

.name {
    flex: 1;
    color: #333;
    font-size: 15px;
}

.score {
    color: red;
    font-weight: bold;
}

.score_z {
    color: #000;
    font-size: 0.2em;
    margin-left: 2px;
}

.load-more-btn {
    font-size: 15px;
    color: rgba(255, 87, 51, 1);
    margin: 5px;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.load-more-btn::before {
    border: 2px solid #f3f3f3;
    border-top: 2px solid rgba(255, 87, 51, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* 加载状态样式 */
.expert-list .loading,
.expert-list .error,
.expert-list .no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 10px 0;
}

.expert-list .loading {
    color: #007bff;
}

.expert-list .loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.expert-list .error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.expert-list .no-data {
    color: #6c757d;
    background: #e9ecef;
    border: 1px solid #dee2e6;
}


