/* 95dv-pro 详情页专用样式 - 重新设计 */

/* 基础样式重置 */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.content-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.card-title i {
    margin-right: 10px;
    color: #1e3a8a;
}

.card-body {
    padding: 20px;
}

/* 比赛信息卡片 - 参考95dv风格 */
.match-detail-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.match-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.league-badge {
    background: #1e3a8a;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.match-datetime {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.match-datetime i {
    margin-right: 6px;
    color: #1e3a8a;
}

.live-status {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

/* 直播中状态 */
.live-status.status-live {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

/* 未开始状态 */
.live-status.status-upcoming {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

/* 已结束状态 */
.live-status.status-finished {
    background: #f6f6f6;
    color: #666;
    border: 1px solid #d9d9d9;
}

.match-teams-detail {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.team-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    flex: 1;
}

.team-logo-large {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e8e8e8;
}

.team-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    width: 100%;
    min-width: 0;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
    word-break: break-word;
    line-height: 1.2;
}

.team-stats {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}

.match-score-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-display-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.score-large {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1;
}

.score-separator {
    font-size: 24px;
    color: #ccc;
}

.match-time-display {
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* 直播信号源样式 */
.signal-sources {
    padding: 0;
}

.signal-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #d9d9d9;
}

.waiting-icon {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 12px;
}

.waiting-text h4 {
    color: #666;
    margin-bottom: 6px;
    font-size: 16px;
}

.waiting-text p {
    color: #999;
    font-size: 13px;
}

.signal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.signal-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(30,58,138,0.2);
}

.signal-btn:hover {
    background: #28499e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(30,58,138,0.3);
}

.signal-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.signal-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.signal-quality {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: 8px;
}

.signal-action {
    font-size: 16px;
}

.signal-tips {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 6px;
    color: #0050b3;
    font-size: 13px;
}

.signal-tips i {
    margin-right: 6px;
    color: #1e3a8a;
}

/* 状态徽章样式 */
.status-badge {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.live {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-badge.finished {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.status-badge.upcoming {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.live-indicator {
    color: #ff4d4f;
    animation: pulse 2s infinite;
    margin-right: 4px;
}

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

/* 比赛介绍样式 */
.match-details {
    display: grid;
    gap: 0;
}

.detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.detail-item.full-width {
    grid-template-columns: 1fr;
    gap: 8px;
}

.detail-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.detail-label i {
    margin-right: 6px;
    color: #1e3a8a;
    width: 14px;
}

.detail-value {
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

.detail-value a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value a:hover {
    color: #28499e;
    text-decoration: underline;
}

.detail-value.description {
    background: #fafafa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #1e3a8a;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
}
/*
 热门直播侧边栏样式 */
.hot-match-item {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.hot-match-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.hot-match-item .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.match-league {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
}

.match-date {
    font-size: 11px;
    color: #718096;
}

.hot-match-item .match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hot-match-item .team {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.hot-match-item .team img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.hot-match-item .team span {
    font-size: 13px;
    color: #2d3748;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vs-score {
    margin: 0 12px;
    text-align: center;
}

.vs-score .score {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    background: #f7fafc;
    padding: 4px 8px;
    border-radius: 4px;
}

.match-action {
    text-align: center;
}

.watch-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hot-match-item:hover .watch-btn {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: scale(1.05);
}

/* 分享按钮样式 */
.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.share-btn i {
    margin-right: 6px;
    font-size: 16px;
}

.share-btn.weibo {
    background: #ff6b6b;
    color: white;
}

.share-btn.weibo:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.share-btn.wechat {
    background: #51cf66;
    color: white;
}

.share-btn.wechat:hover {
    background: #40c057;
    transform: translateY(-2px);
}

.share-btn.qq {
    background: #339af0;
    color: white;
}

.share-btn.qq:hover {
    background: #228be6;
    transform: translateY(-2px);
}

.share-btn.copy {
    background: #868e96;
    color: white;
}

.share-btn.copy:hover {
    background: #6c757d;
    transform: translateY(-2px);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .hot-match-item .team span {
        font-size: 12px;
    }
    
    .hot-match-item .team img {
        width: 20px;
        height: 20px;
    }
    
    .vs-score .score {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
}/* 侧
边栏样式 */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-header {
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sidebar-header h3 i {
    margin-right: 8px;
    color: #1e3a8a;
}

.sidebar-body {
    padding: 15px;
}

/* 热门直播样式 - 重新设计 */
.hot-match-item {
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.hot-match-item:hover {
    border-color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30,58,138,0.15);
    transform: translateY(-1px);
}

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

.hot-match-item .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #f0f0f0;
}

.match-league {
    font-size: 11px;
    color: #1e3a8a;
    font-weight: 600;
    background: #f0f4ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.match-date {
    font-size: 10px;
    color: #999;
}

.hot-match-item .match-teams {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    min-height: 32px;
}

.hot-match-item .team {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.hot-match-item .team:first-child {
    justify-content: flex-start;
}

.hot-match-item .team:last-child {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.hot-match-item .team img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hot-match-item .team:first-child img {
    margin-right: 6px;
}

.hot-match-item .team:last-child img {
    margin-left: 6px;
}

.hot-match-item .team span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.vs-score {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    flex-shrink: 0;
}

.vs-score .score {
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.match-action {
    text-align: center;
}

.watch-btn {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hot-match-item:hover .watch-btn {
    background: #28499e;
    transform: scale(1.05);
}

/* 分享按钮样式 */
.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.share-btn i {
    margin-right: 4px;
    font-size: 14px;
}

.share-btn.weibo {
    background: #ff6b6b;
    color: white;
}

.share-btn.weibo:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.share-btn.wechat {
    background: #51cf66;
    color: white;
}

.share-btn.wechat:hover {
    background: #40c057;
    transform: translateY(-1px);
}

.share-btn.qq {
    background: #339af0;
    color: white;
}

.share-btn.qq:hover {
    background: #228be6;
    transform: translateY(-1px);
}

.share-btn.copy {
    background: #868e96;
    color: white;
}

.share-btn.copy:hover {
    background: #6c757d;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 移动端侧边栏显示在底部 */
    .content-sidebar {
        order: 2; /* 确保侧边栏在主内容之后 */
    }
    
    .content-primary {
        order: 1; /* 主内容在前 */
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 15px;
    }
    
    .match-teams-detail {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .team-detail {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    
    .team-logo-large {
        width: 50px;
        height: 50px;
        margin-right: 12px;
        margin-bottom: 0;
    }
    
    .team-name {
        font-size: 16px;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }
    
    .score-large {
        font-size: 28px;
    }
    
    .detail-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .signal-list {
        grid-template-columns: 1fr;
    }
    
    /* 移动端侧边栏优化 */
    .content-sidebar {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid #f0f0f0;
    }
    
    /* 移动端侧边栏卡片横向布局 */
    .content-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .sidebar-card {
        margin-bottom: 0;
    }
    
    /* 热门比赛在移动端的优化 */
    .hot-match-item {
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .hot-match-item .team span {
        max-width: 50px;
        font-size: 10px;
    }
    
    .hot-match-item .team img {
        width: 18px;
        height: 18px;
    }
    
    .vs-score .score {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .watch-btn {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    /* 分享按钮在移动端的优化 */
    .share-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .share-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    .share-btn i {
        margin-right: 3px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .match-header-section {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .team-logo-large {
        width: 45px;
        height: 45px;
    }
    
    .team-name {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }
    
    .score-large {
        font-size: 24px;
    }
    
    .score-separator {
        font-size: 18px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .sidebar-header {
        padding: 12px 15px;
    }
    
    .sidebar-body {
        padding: 12px;
    }
    
    /* 超小屏幕侧边栏垂直布局 */
    .content-sidebar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* 热门比赛项目进一步压缩 */
    .hot-match-item {
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .hot-match-item .match-header {
        margin-bottom: 6px;
        padding-bottom: 4px;
    }
    
    .match-league {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .match-date {
        font-size: 9px;
    }
    
    .hot-match-item .team span {
        max-width: 45px;
        font-size: 9px;
    }
    
    .hot-match-item .team img {
        width: 16px;
        height: 16px;
    }
    
    .vs-score .score {
        font-size: 9px;
        padding: 1px 3px;
    }
    
    .watch-btn {
        padding: 2px 6px;
        font-size: 9px;
    }
    
    /* 分享按钮进一步优化 */
    .share-btn {
        padding: 6px;
        font-size: 11px;
    }
    
    .share-btn i {
        font-size: 11px;
    }
}