  #float-desktop {
    position: fixed;
    top: 150px;
    right: 25px;
    z-index: 999;
    display: block;
  }
/* 模块整体 */
.newlist.sports-news {
    background: #fff;
    padding: 25px 20px 20px 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* 标题和简介 */
.newlist.sports-news .box_title {
    font-size: 22px;
    font-weight: bold;
    color: #e60012;
    margin-bottom: 10px;
    text-align: center;
}
.newlist.sports-news .intro {
    font-size: 15px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
}

/* 横向文章卡片 */
.newlist_articles_horizontal.card-style {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.newlist_articles_horizontal.card-style li {
    width: calc(50% - 10px);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.newlist_articles_horizontal.card-style a {
    display: block;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
}

/* 缩略图和叠加文字 */
.newlist_articles_horizontal.card-style .newlist_thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.newlist_articles_horizontal.card-style .newlist_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.newlist_articles_horizontal.card-style li:hover img {
    transform: scale(1.05);
}

.newlist_articles_horizontal.card-style .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    padding: 10px;
}

.newlist_articles_horizontal.card-style .overlay h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.newlist_articles_horizontal.card-style .overlay .note {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #eee;
}

.newlist_articles_horizontal.card-style .overlay .meta {
    font-size: 12px;
    color: #ccc;
}
.newlist_articles_horizontal.card-style .overlay .meta span {
    margin-right: 10px;
}

/* 响应式：移动端一行一篇 */
@media screen and (max-width: 768px) {
    .newlist_articles_horizontal.card-style li {
        width: 100%;
    }
}
/* 公告滚动容器 */
.marquee-container {
    width: 100%;
    background-color: #f8f3f7;
    overflow: hidden;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 8px 0;
    box-sizing: border-box;
}

/* 滚动内容 */
.marquee {
    display: flex;
    gap: 50px; /* 每条公告间距 */
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}

/* 鼠标悬停暂停滚动 */
.marquee-container:hover .marquee {
    animation-play-state: paused;
}

.marquee span {
    font-size: 14px;
    color: #e60012;
}

/* 动画效果 */
@keyframes marqueeScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.marquee-container {
    width: 100%; /* 受外层.w限制 */
    background-color: #fff8f9; 
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin: 15px auto;
}

.marquee {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
}

.marquee span {
    font-size: 14px;
    color: #e60012;
    font-weight: 500;
}

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

@media screen and (max-width: 768px) {
    .marquee span {
        font-size: 16px;
    }
}
.marquee-wrapper {
    display: flex;
    align-items: center; /* 保证垂直居中 */
    gap: 5px;
    margin: 0px auto; /* 上下间距可略微调整 */
    width: 100%;
    max-width: 980px; /* 和网站主体宽度一致 */
}


.marquee-title {
    background-color: #e60012;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    flex-shrink: 0; /* 不随滚动内容缩放 */
}

.marquee-container {
    flex: 1; /* 剩余空间给滚动内容 */
    background-color: #fff8f9;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 0px solid #eee;
    padding: 1px 5px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.marquee {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
}

.marquee span {
    font-size: 14px;
    color: #e60012;
    font-weight: 500;
}

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

@media screen and (max-width: 768px) {
    .marquee span {
        font-size: 16px;
    }
    .marquee-wrapper {
        flex-direction: column;
        gap: 5px;
    }
    .marquee-title {
        width: 100%;
        text-align: center;
    }
}
/* 登录测速模块（与体育新闻模块统一风格） */
.login-speed-news{
    background:#fff;
    padding:25px 20px 20px;
    margin-bottom:30px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.08);
    border:1px solid #eee;
}

.speed-card{
    list-style:none;
    padding:0;
    margin-top:10px;
}

.speed-intro{
background:#fff5f6;
border:1px solid #ffe1e4;
padding:10px 15px;
margin:15px auto 20px;
border-radius:8px;
text-align:center;
font-size:14px;
color:#666;
line-height:1.6;
position:relative;
}

.speed-intro i{
color:#e60012;
margin-right:6px;
}

.speed-flex{
display:flex;
gap:20px;
margin-top:10px;
}

.speed-column{
flex:1;
background:#fafafa;
padding:10px;
border-radius:8px;
border:1px solid #eee;
}

.speed-group-title{
font-size:16px;
font-weight:bold;
color:#e60012;
margin:10px 0;
padding-left:5px;
border-left:3px solid #e60012;
}

.speed-card{
list-style:none;
padding:0;
}

.speed-card li{
display:flex;
align-items:center;
padding:8px 0;
border-bottom:1px dashed #eee;
font-size:14px;
}

.speed-card li span{
flex:1;
}

.speed-card li a{
background:#e60012;
color:#fff;
padding:3px 12px;
border-radius:5px;
text-decoration:none;
flex-shrink:0;
}

.line-tag{
background:#e8f5e9;
color:#2e7d32;
padding:2px 6px;
border-radius:4px;
font-size:12px;
margin:0 8px;
}

.line-tag.admin{
background:#fff3e0;
color:#ef6c00;
}

@media screen and (max-width:768px){
.speed-flex{
flex-direction:column;
}
}
#float-desktop {
    position: fixed;
    top: 150px;
    right: 25px;
    z-index: 999;
    display: block;
  }
  .contact-box{
    width:420px;
    margin:25px auto;
    background:#ffffff;
    border-radius:6px;
    padding:20px 15px;
    border:1px solid #e5e5e5;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
    text-align:center;
    transition:all .3s ease;
}

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

.contact-title{
    font-size:16px;
    color:#222;
    font-weight:bold;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
    padding-bottom:8px;
    letter-spacing:1px;
}

.contact-item{
    font-size:14px;
    color:#444;
    margin:10px 0;
}

.contact-value{
    color:#c40000;
    font-weight:bold;
    margin-left:5px;
}

.contact-tip{
    margin-top:15px;
    font-size:12px;
    color:#999;
}
