/*
Theme Name: 8868体育
Theme URI: https://8868dh.com
Author: 8868体育
Author URI: https://8868dh.com
Description: 专业体育数据与资讯平台 - 足球、篮球、电竞实时比分直播
Version: 7.34
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 8868dh
*/

:root{--bg:#0f172a;--card:#1e293b;--card2:#334155;--border:#475569;--text:#f1f5f9;--muted:#94a3b8;--accent:#f97316;--accent2:#fb923c;--green:#22c55e;--red:#ef4444}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;font-size:14px}
a{color:var(--text);text-decoration:none;transition:.2s}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* 顶栏 */
.topbar{background:#000;padding:8px 16px;font-size:12px;color:var(--muted);display:flex;gap:20px;justify-content:center;flex-wrap:wrap}
.topbar .time{margin-left:auto;color:var(--accent)}

/* 滚动条 */
.ticker{background:var(--card);overflow:hidden;padding:10px 0;border-bottom:1px solid var(--border)}
.ticker-inner{display:flex;gap:30px;animation:scroll 60s linear infinite;width:max-content}
.ticker-item{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap;padding:0 15px}
.ticker-item .live{color:var(--red);font-size:11px}
.ticker-item .ft{color:var(--muted);font-size:11px}
.ticker-item .score{background:var(--accent);padding:2px 8px;border-radius:4px;font-weight:600}
@keyframes scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* 头部 */
.header{background:var(--card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;padding:12px 0;gap:20px}
.logo{display:flex;align-items:baseline;gap:6px;flex-shrink:0}
.logo-text{font-size:28px;font-weight:800;color:var(--accent)}
.logo-sub{font-size:12px;color:var(--muted)}
.nav{display:flex;gap:6px;flex:1;justify-content:center}
.nav a{padding:10px 18px;border-radius:6px;font-weight:500;position:relative;white-space:nowrap}
.nav a:hover,.nav a.active{background:var(--accent);color:#fff}
.actions{display:flex;gap:10px;align-items:center;flex-shrink:0}
.btn-icon{background:var(--card2);border:none;color:var(--text);width:40px;height:40px;border-radius:8px;cursor:pointer;flex-shrink:0;font-size:16px}
.btn-login{padding:10px 20px;border-radius:8px;white-space:nowrap;background:var(--card2);border:1px solid var(--border);font-weight:500}
.btn-login:hover{background:var(--border);color:var(--text)}
.btn-reg{padding:10px 20px;background:var(--accent);border-radius:8px;color:#fff;white-space:nowrap;font-weight:500;border:1px solid var(--accent)}
.btn-reg:hover{background:var(--accent2);border-color:var(--accent2);color:#fff}
.search-box{display:none;padding:16px 0;background:var(--bg)}
.search-box.show{display:block}
.search-box form{display:flex;gap:10px}
.search-box input{flex:1;padding:12px 16px;background:var(--card);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:14px}
.search-box button{padding:12px 24px;background:var(--accent);border:none;border-radius:6px;color:#fff;cursor:pointer}

/* 二级导航 */
.sub-nav{display:flex;gap:6px;padding:16px 0;flex-wrap:wrap;background:var(--bg);position:sticky;top:60px;z-index:90;margin-bottom:16px}
.sub-nav-item{padding:10px 20px;background:var(--card);border:1px solid var(--border);border-radius:8px;font-size:13px;font-weight:500;transition:.2s}
.sub-nav-item:hover,.sub-nav-item.active{background:var(--accent);border-color:var(--accent);color:#fff}

/* 状态标签 */
.status-tabs{display:flex;gap:4px;margin-bottom:16px;background:var(--card);padding:6px;border-radius:8px}
.status-tabs .tab{padding:10px 20px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:.2s}
.status-tabs .tab:hover{background:rgba(255,255,255,.1)}
.status-tabs .tab.active{background:var(--accent);color:#fff}

/* 面包屑 */
.breadcrumb{padding:16px 0;font-size:13px;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{margin:0 6px}

/* 页面头部 */
.page-hd{padding:40px;border-radius:12px;margin-bottom:20px}
.page-hd h1{font-size:28px;font-weight:700;margin-bottom:8px}
.page-hd .subtitle{color:rgba(255,255,255,.8);font-size:14px}

/* 主体 */
.main{padding:20px 0 40px}
.layout{display:grid;grid-template-columns:1fr 340px;gap:20px}
.col-main{display:flex;flex-direction:column;gap:20px}
.col-side{display:flex;flex-direction:column;gap:20px}

/* 面板 */
.panel{background:var(--card);border-radius:12px;overflow:hidden}
.panel-hd{display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border);gap:12px;flex-wrap:wrap}
.panel-hd h3{font-size:15px;font-weight:600}
.panel-hd .more{margin-left:auto;font-size:12px;color:var(--accent)}
.panel-hd .tab-links{display:flex;gap:12px;margin-left:auto;margin-right:20px}
.panel-hd .tab-links a{font-size:12px;color:var(--muted);padding:4px 10px;background:var(--card2);border-radius:4px}
.panel-hd .tab-links a:hover{color:var(--accent);background:rgba(249,115,22,.1)}
.panel-bd{padding:16px 20px}

/* Hero */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:20px}
.hero-main{position:relative;border-radius:12px;overflow:hidden;min-height:320px;background:var(--card)}
.hero-main img{width:100%;height:100%;object-fit:cover;position:absolute}
.hero-main .info{position:absolute;bottom:0;left:0;right:0;padding:30px;background:linear-gradient(transparent,rgba(0,0,0,.9))}
.hero-main .tag{background:var(--accent);padding:4px 12px;border-radius:4px;font-size:12px;margin-bottom:10px;display:inline-block}
.hero-main h2{font-size:22px;line-height:1.4}
.hero-side{display:flex;flex-direction:column;gap:8px}
.hero-side a{background:var(--card);padding:16px;border-radius:8px;font-size:14px;display:block;border-left:3px solid var(--accent)}
.hero-side a:hover{background:var(--card2)}

/* 快捷导航 */
.quick{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.quick a{padding:12px 20px;background:var(--card);border-radius:8px;font-size:13px;border:1px solid var(--border)}
.quick a:hover{border-color:var(--accent);color:var(--accent)}

/* 比分网格 */
.score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.sc{background:var(--card2);border-radius:10px;padding:14px;border:1px solid transparent;transition:.2s;display:block}
.sc:hover{border-color:var(--accent)}
.sc.live{border-color:var(--red);background:rgba(239,68,68,.1)}
.sc-league{font-size:11px;color:var(--accent);margin-bottom:10px;font-weight:600}
.sc-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0}
.sc-team{font-size:13px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-score{font-size:18px;font-weight:700;min-width:30px;text-align:right}
.sc-foot{display:flex;justify-content:flex-end;margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}
.sc-tag{font-size:11px;padding:3px 8px;border-radius:4px}
.sc-tag.red{background:var(--red);color:#fff}
.sc-tag.green{background:var(--green);color:#fff}
.sc-time{font-size:11px;color:var(--muted)}

/* 标签 */
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{padding:8px 14px;background:var(--card2);border-radius:6px;font-size:12px;border:1px solid var(--border)}
.tag:hover{border-color:var(--accent);color:var(--accent)}

/* 新闻 */
.news{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.news:last-child{border:none}
.news img{width:120px;height:80px;object-fit:cover;border-radius:8px;flex-shrink:0}
.news .txt{flex:1;min-width:0}
.news h4{font-size:14px;font-weight:500;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news .meta{font-size:11px;color:var(--muted);display:flex;gap:12px}
.news .author{color:var(--accent)}

/* 排名 */
.rank{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.rank:last-child{border:none}
.rank-n{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:var(--card2);font-size:12px;font-weight:600}
.rank-n.n1{background:var(--red);color:#fff}
.rank-n.n2{background:var(--accent);color:#fff}
.rank-n.n3{background:var(--accent2);color:#fff}
.rank-t{font-size:13px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 表格 */
.table{width:100%;border-collapse:collapse;font-size:13px}
.table th,.table td{padding:10px 8px;text-align:center}
.table th{background:var(--card2);font-weight:600;font-size:12px;color:var(--muted)}
.table td{border-bottom:1px solid var(--border)}
.table .team{text-align:left}
.table .team a{color:inherit}
.table .team a:hover{color:var(--accent)}
.table .pts{font-weight:700;color:var(--accent)}

/* 球员列表 */
.player-list{display:flex;flex-direction:column;gap:8px}
.player-item{display:flex;align-items:center;gap:12px;padding:10px;background:var(--card2);border-radius:8px;transition:.2s}
.player-item:hover{background:var(--border)}
.player-item .num{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--accent);border-radius:6px;font-weight:700;font-size:14px}
.player-item .info{flex:1;min-width:0}
.player-item .name{font-size:14px;font-weight:500;display:block}
.player-item .team{font-size:11px;color:var(--muted)}

/* 球员网格 */
.player-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.player-card{display:flex;align-items:center;gap:10px;padding:12px;background:var(--card2);border-radius:8px;transition:.2s}
.player-card:hover{background:var(--border)}
.player-num{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--accent);border-radius:4px;font-weight:700;font-size:12px;flex-shrink:0}
.player-name{font-size:13px;font-weight:500}
.player-pos{font-size:11px;color:var(--muted);margin-left:auto}

/* 分类标题 */
.section-title{font-size:12px;color:var(--accent);font-weight:600;margin-bottom:10px}

/* 空状态 */
.empty{text-align:center;padding:40px;color:var(--muted)}

/* ========== 底部样式 ========== */
.footer{background:var(--card);border-top:1px solid var(--border);margin-top:60px;padding:50px 0 30px}
.footer-top{display:flex;gap:40px;margin-bottom:40px}
.footer-brand{flex:0 0 280px}
.brand-logo{display:flex;align-items:baseline;gap:8px;margin-bottom:16px}
.brand-logo .logo-text{font-size:32px;font-weight:800;color:var(--accent)}
.brand-logo .logo-sub{font-size:14px;color:var(--muted)}
.brand-desc{font-size:13px;color:var(--muted);line-height:1.8}
.footer-links{display:flex;flex:1;justify-content:space-between}
.link-group{min-width:120px}
.link-group h4{font-size:15px;font-weight:600;margin-bottom:20px;color:var(--text)}
.link-group a{display:block;font-size:13px;color:var(--muted);margin-bottom:12px;transition:.2s}
.link-group a:hover{color:var(--accent)}
.footer-badges{display:flex;justify-content:center;gap:40px;padding:24px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:24px}
.footer-badges span{font-size:13px;color:var(--muted)}
.footer-bottom{text-align:center}
.footer-bottom p{font-size:12px;color:var(--muted)}

/* ========== 球员页面样式 ========== */
.player-header{display:flex;align-items:center;gap:30px;background:linear-gradient(135deg,#1e3a5f,#0f172a);border-radius:16px;padding:40px;margin-bottom:24px;position:relative;overflow:hidden}
.player-avatar{width:120px;height:120px;background:var(--accent);border-radius:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.player-avatar .jersey-num{font-size:48px;font-weight:800;color:#fff}
.player-info{flex:1}
.player-info h1{font-size:32px;font-weight:700;margin-bottom:4px}
.player-info .player-en{font-size:14px;color:var(--muted);margin-bottom:16px}
.player-tags{display:flex;gap:10px;flex-wrap:wrap}
.p-tag{padding:6px 14px;border-radius:6px;font-size:12px;font-weight:500}
.p-tag.team{background:var(--accent);color:#fff}
.p-tag.pos{background:var(--card2);border:1px solid var(--border)}
.p-tag.nation{background:var(--green);color:#fff}
.player-number{position:absolute;right:40px;top:50%;transform:translateY(-50%);opacity:0.1}
.player-number .big-num{font-size:180px;font-weight:900;color:#fff}
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.info-item{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--card2);border-radius:8px}
.info-item.full{grid-column:span 2}
.info-item .label{font-size:13px;color:var(--muted)}
.info-item .value{font-size:14px;font-weight:600}
.info-item .value.highlight{color:var(--accent);font-size:16px}
.bio-text{font-size:14px;line-height:1.8;color:var(--text)}
.team-card-link{display:block}
.team-card-simple{text-align:center;padding:24px;background:var(--card2);border-radius:10px;transition:.2s}
.team-card-simple:hover{background:var(--border)}
.team-card-simple .team-name{display:block;font-size:18px;font-weight:600;margin-bottom:4px}
.team-card-simple .team-en{display:block;font-size:12px;color:var(--muted)}
.teammate-list{display:flex;flex-direction:column;gap:8px}
.teammate-item{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--card2);border-radius:8px;transition:.2s}
.teammate-item:hover{background:var(--border)}
.teammate-item .num{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--accent);border-radius:6px;font-size:12px;font-weight:700}
.teammate-item .name{flex:1;font-size:13px;font-weight:500}
.teammate-item .pos{font-size:11px;color:var(--muted)}

/* ========== 广告样式 ========== */
.ad-banner{text-align:center;margin:16px 0}
.ad-banner img{max-width:100%;height:auto;border-radius:8px}
.ad-header{margin:0;padding:10px 16px;background:var(--card)}
.ad-header img{max-height:90px}
.ad-content{margin:20px 0;padding:16px;background:var(--card);border-radius:10px}
.ad-sidebar img{border-radius:8px}

/* ========== 底部悬浮广告 ========== */
/* ========== 悬浮广告 ========== */
.ad-float{position:fixed;bottom:0;left:0;right:0;z-index:9999;text-align:center}
.ad-float-content{display:inline-block;position:relative}
.ad-float-content img{max-height:90px;max-width:100%;display:block}
.ad-float-toggle{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);background:rgba(0,0,0,.6);border:none;color:#fff;padding:2px 8px;border-radius:3px 3px 0 0;cursor:pointer;font-size:9px}
.ad-float-toggle:hover{background:rgba(0,0,0,.8)}
.ad-float-toggle .icon-show{display:none}
.ad-float-toggle .icon-hide{display:inline}
.ad-float.hidden .ad-float-content{display:none}
.ad-float.hidden .ad-float-toggle{position:fixed;bottom:0;left:50%;top:auto;transform:translateX(-50%);border-radius:3px 3px 0 0;padding:3px 10px}
.ad-float.hidden .icon-show{display:inline}
.ad-float.hidden .icon-hide{display:none}
@media(max-width:640px){.ad-float-content img{max-height:60px}.ad-float-toggle{font-size:8px;padding:2px 6px}}




/* ========== 响应式 - 平板 ========== */
@media(max-width:1024px){
    .layout{grid-template-columns:1fr}
    .hero{grid-template-columns:1fr}
    .hero-side{flex-direction:row;overflow-x:auto}
    .hero-side a{min-width:200px}
    .footer-top{flex-direction:column;gap:30px}
    .footer-brand{flex:none}
    .footer-links{flex-wrap:wrap;gap:30px 40px}
}

/* ========== 响应式 - 手机 ========== */
@media(max-width:768px){
    .score-grid{grid-template-columns:repeat(2,1fr)}
    .header-inner{
        display:grid;
        grid-template-columns:auto 1fr auto;
        grid-template-rows:auto auto;
        gap:12px 16px;
        padding:12px 0;
    }
    .logo{grid-column:1;grid-row:1}
    .actions{grid-column:3;grid-row:1;gap:8px}
    .nav{
        grid-column:1/-1;
        grid-row:2;
        overflow-x:auto;
        padding:0;
        gap:6px;
        justify-content:flex-start;
        -webkit-overflow-scrolling:touch;
    }
    .nav a{padding:8px 16px;font-size:14px}
    .btn-icon{width:38px;height:38px}
    .btn-login{padding:8px 14px;font-size:13px}
    .btn-reg{padding:8px 14px;font-size:13px}
    .sub-nav{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
    .sub-nav-item{flex-shrink:0}
    .player-grid{grid-template-columns:1fr}
    .player-header{flex-direction:column;text-align:center;padding:30px 20px}
    .player-number{display:none}
    .player-tags{justify-content:center}
    .info-grid{grid-template-columns:1fr}
    .info-item.full{grid-column:span 1}
    .footer-links{gap:20px 30px}
    .link-group{min-width:calc(50% - 15px)}
    .footer-badges{flex-wrap:wrap;gap:16px 30px;padding:20px 0}
    .footer-badges span{font-size:12px}
}

/* ========== 响应式 - 小手机 ========== */
@media(max-width:480px){
    .score-grid{grid-template-columns:1fr}
    .topbar{gap:8px;font-size:10px;padding:6px 10px}
    .topbar span{display:none}
    .topbar span:first-child,.topbar .time{display:inline}
    .topbar .time{margin-left:auto;width:auto}
    .logo-text{font-size:24px}
    .logo-sub{display:none}
    .btn-login{padding:6px 10px;font-size:12px}
    .btn-reg{padding:6px 10px;font-size:12px}
    .btn-icon{width:34px;height:34px;font-size:14px}
    .nav a{padding:6px 12px;font-size:13px}
    .link-group{min-width:100%}
    .footer-badges{gap:12px 20px}
    .hero-main{min-height:250px}
    .page-hd{padding:24px}
    .page-hd h1{font-size:22px}
    .quick{gap:8px}
    .quick a{padding:10px 14px;font-size:12px}
}

/* ========== 文章页样式 ========== */
.article-title{font-size:24px;font-weight:700;line-height:1.4;margin-bottom:16px}
.article-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--muted);margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.article-thumb{margin-bottom:20px;border-radius:10px;overflow:hidden}
.article-thumb img{width:100%;height:auto;display:block}
.article-content{font-size:15px;line-height:1.9;color:var(--text)}
.article-content p{margin-bottom:16px}
.article-content h2,.article-content h3,.article-content h4{margin:24px 0 12px;font-weight:600}
.article-content h2{font-size:20px}
.article-content h3{font-size:18px}
.article-content h4{font-size:16px}
.article-content img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
.article-content a{color:var(--accent)}
.article-content a:hover{text-decoration:underline}
.article-content ul,.article-content ol{margin:16px 0;padding-left:24px}
.article-content li{margin-bottom:8px}
.article-content blockquote{margin:20px 0;padding:16px 20px;background:var(--card2);border-left:4px solid var(--accent);border-radius:0 8px 8px 0}
.article-content pre,.article-content code{background:var(--card2);border-radius:4px;font-family:monospace}
.article-content pre{padding:16px;overflow-x:auto;margin:16px 0}
.article-content code{padding:2px 6px;font-size:13px}
.article-tags{margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}
.article-tags a{display:inline-block;padding:4px 12px;background:var(--card2);border-radius:4px;margin:4px 4px 4px 0;font-size:12px;color:var(--muted)}
.article-tags a:hover{background:var(--accent);color:#fff}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.post-nav .nav-prev,.post-nav .nav-next{display:flex;flex-direction:column;gap:6px}
.post-nav .nav-next{text-align:right}
.post-nav span{font-size:12px;color:var(--muted)}
.post-nav a{font-size:14px;color:var(--text)}
.post-nav a:hover{color:var(--accent)}

@media(max-width:640px){
    .article-title{font-size:20px}
    .article-meta{gap:10px;font-size:12px}
    .post-nav{grid-template-columns:1fr}
    .post-nav .nav-next{text-align:left}
}

/* ========== 比赛详情页样式 ========== */
.match-card{background:linear-gradient(135deg,var(--card) 0%,var(--card2) 100%);border-radius:16px;padding:24px;margin-bottom:24px;border:1px solid var(--border)}
.match-league-info{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:20px}
.match-league-info .league-logo{width:28px;height:28px;object-fit:contain}
.match-league-info .league-name{font-size:14px;font-weight:600}
.match-league-info .match-round{font-size:12px;color:var(--muted)}
.match-main{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center}
.match-team{text-align:center}
.match-team a{display:flex;flex-direction:column;align-items:center;gap:12px}
.match-team img{width:80px;height:80px;object-fit:contain}
.match-team .team-name{font-size:16px;font-weight:600}
.match-center{text-align:center;min-width:120px}
.match-status{font-size:12px;margin-bottom:8px;padding:4px 12px;border-radius:20px;display:inline-block}
.match-status.live{background:var(--red);color:#fff;animation:pulse 1.5s infinite}
.match-status .dot{display:inline-block;width:6px;height:6px;background:#fff;border-radius:50%;margin-right:4px;animation:blink 1s infinite}
.match-status.finished{background:var(--green);color:#fff}
.match-status.upcoming{background:var(--card2);color:var(--muted)}
.match-score{font-size:36px;font-weight:700;letter-spacing:2px}
.match-score.live{color:var(--red)}
.match-score.finished{color:var(--green)}
.match-score .time{font-size:24px;color:var(--accent)}
.match-ht{font-size:12px;color:var(--muted);margin-top:4px}
.match-date{font-size:12px;color:var(--muted);margin-top:8px}
.match-venue{display:flex;justify-content:center;gap:20px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border);font-size:13px;color:var(--muted)}

/* 比赛事件时间轴 */
.events-timeline{position:relative;padding:0 20px}
.event-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.event-item:last-child{border-bottom:none}
.event-item.away{flex-direction:row-reverse;text-align:right}
.event-time{min-width:40px;font-weight:700;color:var(--accent);font-size:14px}
.event-icon{font-size:18px}
.event-content{flex:1}
.event-player{font-weight:600;font-size:14px}
.event-detail{font-size:12px;color:var(--muted);margin-top:2px}

/* 技术统计 */
.stat-row{display:grid;grid-template-columns:60px 1fr 60px;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.stat-row:last-child{border-bottom:none}
.stat-value{font-weight:700;font-size:14px}
.stat-value.home{text-align:right;color:var(--accent)}
.stat-value.away{text-align:left;color:var(--green)}
.stat-bar-wrap{text-align:center}
.stat-label{font-size:12px;color:var(--muted);margin-bottom:4px}
.stat-bar{display:flex;height:6px;border-radius:3px;overflow:hidden;background:var(--card2)}
.stat-bar .bar.home{background:var(--accent)}
.stat-bar .bar.away{background:var(--green)}

/* 阵容 */
.lineups-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.lineup-team{background:var(--card2);border-radius:10px;padding:16px}
.lineup-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.lineup-header img{width:24px;height:24px}
.lineup-header span{font-weight:600}
.lineup-header .formation{margin-left:auto;font-size:12px;background:var(--accent);color:#fff;padding:2px 8px;border-radius:4px}
.lineup-coach{font-size:12px;color:var(--muted);margin-bottom:12px}
.lineup-coach .name{color:var(--text);margin-left:8px}
.player-row{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px}
.player-row .number{width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:50%;font-size:11px;font-weight:700}
.player-row .name{flex:1}
.player-row .pos{font-size:11px;color:var(--muted)}
.player-row.sub .number{background:var(--border);color:var(--muted)}
.lineup-subs{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.subs-title{font-size:12px;color:var(--muted);margin-bottom:8px}

@keyframes blink{0%,100%{opacity:1}50%{opacity:0.3}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.8}}

@media(max-width:640px){
    .match-main{grid-template-columns:1fr;gap:16px}
    .match-team{order:1}
    .match-team:last-child{order:3}
    .match-center{order:2}
    .match-team img{width:60px;height:60px}
    .match-score{font-size:28px}
    .lineups-grid{grid-template-columns:1fr}
    .stat-row{grid-template-columns:50px 1fr 50px}
}

/* ========== 球队详情页样式 ========== */
.team-header-card{display:flex;gap:24px;align-items:center;background:linear-gradient(135deg,var(--card) 0%,var(--card2) 100%);border-radius:16px;padding:24px;margin-bottom:24px;border:1px solid var(--border)}
.team-logo-wrap{flex-shrink:0}
.team-logo-wrap img{width:100px;height:100px;object-fit:contain}
.team-logo-emoji{width:100px;height:100px;display:flex;align-items:center;justify-content:center;font-size:64px;background:var(--card2);border-radius:16px}
.team-info-wrap{flex:1}
.team-name{font-size:28px;font-weight:700;margin-bottom:4px}
.team-name-en{font-size:14px;color:var(--muted);margin-bottom:12px}
.team-meta-tags{display:flex;flex-wrap:wrap;gap:8px}
.team-meta-tags .tag{font-size:12px;padding:4px 10px;background:var(--card2);border-radius:4px;color:var(--muted)}

.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.info-card{background:var(--card2);border-radius:8px;padding:12px;text-align:center}
.info-card .label{font-size:11px;color:var(--muted);margin-bottom:4px}
.info-card .value{font-size:14px;font-weight:600}

.team-desc{padding:16px;border-top:1px solid var(--border)}
.team-desc h4{font-size:14px;margin-bottom:8px}
.team-desc p{font-size:13px;color:var(--muted);line-height:1.8}

.player-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.player-card{display:flex;align-items:center;gap:10px;padding:10px;background:var(--card2);border-radius:8px;transition:background .2s}
.player-card:hover{background:var(--accent);color:#fff}
.player-card:hover .player-pos{color:rgba(255,255,255,.7)}
.player-num{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:50%;font-size:12px;font-weight:700}
.player-card:hover .player-num{background:rgba(255,255,255,.2)}
.player-name{flex:1;font-size:13px;font-weight:500}
.player-pos{font-size:11px;color:var(--muted)}

/* API球员列表 */
.squad-section{margin-bottom:20px}
.squad-section:last-child{margin-bottom:0}
.squad-pos{font-size:14px;font-weight:600;padding:8px 12px;background:var(--accent);color:#fff;border-radius:6px;margin-bottom:12px;display:inline-block}
.squad-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.squad-player{display:flex;align-items:center;gap:12px;padding:10px;background:var(--card2);border-radius:8px}
.squad-player .player-photo{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--border)}
.squad-player .player-info{flex:1}
.squad-player .player-name{display:block;font-size:13px;font-weight:600}
.squad-player .player-num{font-size:11px;color:var(--muted)}
.squad-player .player-age{font-size:12px;color:var(--muted)}

@media(max-width:768px){
    .team-header-card{flex-direction:column;text-align:center}
    .team-meta-tags{justify-content:center}
    .info-grid{grid-template-columns:repeat(2,1fr)}
    .player-grid{grid-template-columns:repeat(2,1fr)}
    .squad-list{grid-template-columns:1fr}
}
@media(max-width:480px){
    .info-grid{grid-template-columns:1fr}
    .player-grid{grid-template-columns:1fr}
}

/* ========== 球队页新样式 v6.4 ========== */
.team-hero{position:relative;border-radius:16px;overflow:hidden;margin-bottom:24px}
.team-hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);opacity:0.9}
.team-hero-content{position:relative;display:flex;align-items:center;gap:24px;padding:32px}
.team-logo-box{flex-shrink:0}
.team-logo-box img{width:120px;height:120px;object-fit:contain;background:#fff;border-radius:16px;padding:12px}
.team-logo-box .logo-placeholder{width:120px;height:120px;display:flex;align-items:center;justify-content:center;font-size:64px;background:rgba(255,255,255,.2);border-radius:16px}
.team-title-box{color:#fff}
.team-title-box h1{font-size:32px;font-weight:700;margin-bottom:4px;text-shadow:0 2px 4px rgba(0,0,0,.2)}
.team-title-box .en-name{font-size:14px;opacity:.8;margin-bottom:12px}
.team-badges{display:flex;flex-wrap:wrap;gap:8px}
.team-badges .badge{font-size:12px;padding:4px 10px;background:rgba(255,255,255,.2);border-radius:20px;backdrop-filter:blur(4px)}

.team-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border-radius:8px;overflow:hidden}
.team-info-grid .info-item{background:var(--card);padding:14px;display:flex;flex-direction:column;gap:4px}
.team-info-grid .info-item.full{grid-column:1/-1}
.team-info-grid .info-label{font-size:11px;color:var(--muted)}
.team-info-grid .info-value{font-size:14px;font-weight:600}
.team-desc{padding:16px;border-top:1px solid var(--border);margin-top:16px}
.team-desc h4{font-size:14px;margin-bottom:8px}
.team-desc p{font-size:13px;color:var(--muted);line-height:1.8}

/* 球员阵容网格 */
.squad-section{margin-bottom:20px}
.squad-section:last-child{margin-bottom:0}
.squad-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.squad-header .pos-name{font-size:14px;font-weight:700;padding:6px 14px;background:var(--accent);color:#fff;border-radius:6px}
.squad-header .pos-count{font-size:12px;color:var(--muted)}
.squad-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.player-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--card2);border-radius:10px;transition:transform .2s,box-shadow .2s}
.player-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.player-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--border)}
.player-avatar.placeholder{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;background:var(--accent);color:#fff}
.player-details{flex:1;min-width:0}
.player-details .player-name{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-details .player-meta{font-size:12px;color:var(--muted)}
.panel-hd .count{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}

/* 错误页 */
.error-page{text-align:center;padding:60px 20px}
.error-page .error-icon{font-size:80px;margin-bottom:20px}
.error-page h1{font-size:24px;margin-bottom:8px}
.error-page p{color:var(--muted);margin-bottom:24px}
.error-actions{display:flex;gap:12px;justify-content:center}
.btn-primary{padding:12px 28px;background:var(--accent);color:#fff;border-radius:8px;font-weight:600}
.btn-secondary{padding:12px 28px;background:var(--card2);color:var(--text);border-radius:8px}

@media(max-width:768px){
    .team-hero-content{flex-direction:column;text-align:center;padding:24px}
    .team-title-box h1{font-size:24px}
    .team-badges{justify-content:center}
    .team-info-grid{grid-template-columns:repeat(2,1fr)}
    .squad-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
    .team-logo-box img,.team-logo-box .logo-placeholder{width:80px;height:80px}
    .team-info-grid{grid-template-columns:1fr}
}

/* Demo比赛提示 */
.demo-notice{background:linear-gradient(135deg,#fff3cd,#ffeeba);border:1px solid #ffc107;border-radius:8px;padding:20px;color:#856404}
.demo-notice p{margin:0 0 10px}
.demo-notice ul{margin:10px 0 0;padding-left:20px}
.demo-notice li{margin:5px 0}
.api-notice{background:#e7f3ff;border:1px solid #b6d4fe;border-radius:8px;padding:15px;margin-bottom:15px;color:#084298}

/* ========== 社区样式 ========== */
.community-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}
.stat-card{display:flex;flex-direction:column;align-items:center;padding:20px;background:var(--card);border-radius:12px;text-decoration:none;transition:transform .2s,box-shadow .2s}
.stat-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.3)}
.stat-num{font-size:28px;font-weight:700;color:var(--accent)}
.stat-label{font-size:13px;color:var(--muted);margin-top:5px}
.stat-card.online .stat-num{color:#22c55e}

.topic-nav{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.topic-tab{padding:8px 16px;background:var(--card);border-radius:20px;color:var(--text);text-decoration:none;font-size:13px;transition:all .2s}
.topic-tab:hover,.topic-tab.active{background:var(--accent);color:#fff}

.btn-post{background:var(--accent);color:#fff;padding:6px 16px;border-radius:6px;font-size:13px;text-decoration:none}
.btn-post:hover{background:var(--accent2)}

.post-list{display:flex;flex-direction:column}
.post-item{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid var(--border);text-decoration:none;transition:background .2s}
.post-item:hover{background:rgba(255,255,255,.03)}
.post-item:last-child{border-bottom:none}
.post-main{flex:1;min-width:0}
.post-title{font-size:15px;color:var(--text);margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-title .badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:10px;margin-right:5px}
.post-title .badge.top{background:#ef4444;color:#fff}
.post-title .badge.hot{background:#f97316;color:#fff}
.post-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.post-meta .author{color:var(--text);text-decoration:none}
.post-meta .author:hover{color:var(--accent)}
.post-meta .topic-tag{background:var(--bg);padding:2px 8px;border-radius:10px}
.post-stats{display:flex;gap:15px;font-size:12px;color:var(--muted)}

.fan-list{display:flex;flex-direction:column;gap:8px}
.fan-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--bg);border-radius:6px;text-decoration:none;transition:background .2s}
.fan-item:hover{background:rgba(255,255,255,.1)}
.fan-name{color:var(--text);font-size:13px}
.fan-level{font-size:11px;padding:2px 8px;border-radius:10px}

/* 等级颜色 */
.lv-newbie{background:#6b7280;color:#fff}
.lv-active{background:#22c55e;color:#fff}
.lv-warm{background:#f97316;color:#fff}
.lv-senior{background:#3b82f6;color:#fff}
.lv-pro{background:#8b5cf6;color:#fff}
.lv-hardcore{background:#ec4899;color:#fff}
.lv-fanatic{background:#ef4444;color:#fff}
.lv-veteran{background:#eab308;color:#000}
.lv-legend{background:linear-gradient(135deg,#f97316,#ec4899);color:#fff}

.data-list{display:flex;flex-direction:column}
.data-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border);text-decoration:none;color:var(--text);transition:color .2s}
.data-item:hover{color:var(--accent)}
.data-item:last-child{border-bottom:none}
.data-label{color:var(--muted)}
.data-value{font-weight:600}
.data-value.online{color:#22c55e}

.empty-posts{text-align:center;padding:40px 20px;color:var(--muted)}

@media(max-width:768px){
    .community-stats{grid-template-columns:repeat(2,1fr)}
    .stat-num{font-size:22px}
    .post-stats{display:none}
}

/* 帖子详情页样式 */
.post-author-info{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--border);margin-bottom:15px}
.author-card{display:flex;align-items:center;gap:12px;text-decoration:none}
.author-avatar{width:48px;height:48px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff}
.author-details{display:flex;flex-direction:column;gap:4px}
.author-name{font-size:15px;font-weight:600;color:var(--text)}
.author-team{font-size:12px;color:var(--muted)}
.post-time{font-size:12px;color:var(--muted)}
.post-content{line-height:1.8;color:var(--text);padding:20px 0;min-height:100px}
.post-actions{display:flex;gap:20px;padding-top:15px;border-top:1px solid var(--border);color:var(--muted);font-size:13px}

.reply-list{display:flex;flex-direction:column}
.reply-item{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid var(--border)}
.reply-item:last-child{border-bottom:none}
.reply-floor{font-size:12px;color:var(--muted);min-width:30px}
.reply-main{flex:1}
.reply-header{display:flex;justify-content:space-between;margin-bottom:8px}
.reply-author{text-decoration:none;color:var(--text);font-size:13px}
.reply-author:hover{color:var(--accent)}
.reply-time{font-size:12px;color:var(--muted)}
.reply-content{line-height:1.6;color:var(--text)}
.reply-actions{margin-top:8px;font-size:12px;color:var(--muted)}

.author-profile{text-align:center;padding:20px}
.profile-name{font-size:18px;font-weight:600;margin-bottom:8px}
.profile-level{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;margin-bottom:15px}
.profile-stats{display:flex;justify-content:center;gap:25px}
.profile-stat{display:flex;flex-direction:column;align-items:center}
.profile-stat .num{font-size:18px;font-weight:600;color:var(--accent)}
.profile-stat .label{font-size:11px;color:var(--muted)}

/* 帖子详情页增强 */
.post-info{display:flex;align-items:center;gap:10px}
.action-btn{background:transparent;border:1px solid var(--border);color:var(--muted);padding:5px 12px;border-radius:5px;cursor:pointer;font-size:12px;transition:all .2s}
.action-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.reply-avatar{width:40px;height:40px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex-shrink:0}
.reply-item{display:flex;gap:12px}
.reply-btn{background:transparent;border:none;color:var(--muted);cursor:pointer;font-size:12px;padding:3px 8px;border-radius:3px}
.reply-btn:hover{background:var(--bg);color:var(--text)}
.reply-form{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}
.reply-input textarea{width:100%;min-height:80px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:12px;color:var(--text);resize:vertical}
.reply-submit{margin-top:10px;text-align:right}
.related-posts{display:flex;flex-direction:column;gap:8px}
.related-post{color:var(--text);text-decoration:none;padding:8px;border-radius:5px;font-size:13px;transition:background .2s}
.related-post:hover{background:var(--bg);color:var(--accent)}
.profile-avatar{width:60px;height:60px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;margin:0 auto 10px}

/* 用户主页 */
.user-hero{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--border);margin-bottom:20px}
.user-avatar-large{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent2));display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px}
.user-info{flex:1}
.user-name{font-size:24px;margin:0 0 8px}
.user-level{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px}
.user-team{margin-top:8px;color:var(--muted);font-size:14px}
.user-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.user-stat{text-align:center;padding:15px;background:var(--bg);border-radius:8px}
.user-stat .stat-num{display:block;font-size:24px;font-weight:700;color:var(--accent)}
.user-stat .stat-label{font-size:12px;color:var(--muted)}
.fan-item.active{background:var(--accent);color:#fff}
.fan-item.active .fan-level{background:rgba(255,255,255,.2)}

@media(max-width:768px){
    .user-stats-grid{grid-template-columns:repeat(2,1fr)}
    .user-hero{flex-direction:column;text-align:center}
}

/* ============ 比赛详情页 v7.0 ============ */
.match-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.match-hero.is-live { box-shadow: 0 0 30px rgba(234, 88, 12, 0.3); }
.match-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>') center/200px repeat;
    opacity: 0.5;
}
.match-league-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}
.match-league-info .league-badge { width: 40px; height: 40px; }
.match-league-info .league-name { font-size: 18px; font-weight: 600; color: #fff; }
.match-league-info .match-round { font-size: 14px; color: rgba(255,255,255,0.6); margin-left: 8px; }

.match-versus {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
}
.team-block { text-align: center; }
.team-block.away { text-align: center; }
.team-link { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.team-crest { width: 80px; height: 80px; object-fit: contain; }
.team-crest.placeholder { font-size: 48px; line-height: 80px; }
.team-title { font-size: 20px; font-weight: 700; color: #fff; }

.score-center { text-align: center; min-width: 150px; }
.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.live-dot {
    width: 10px; height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.live-min { color: #ef4444; font-weight: 700; font-size: 16px; }
.kickoff-time { font-size: 24px; color: #f59e0b; font-weight: 600; margin-bottom: 8px; }
.score-display { display: flex; align-items: center; justify-content: center; gap: 12px; }
.score-display .score { font-size: 56px; font-weight: 800; color: #fff; min-width: 50px; }
.score-display .score-divider { font-size: 40px; color: rgba(255,255,255,0.5); }
.score-display.animating .score { animation: scoreGlow 2s infinite; }
@keyframes scoreGlow { 0%, 100% { text-shadow: 0 0 10px rgba(239, 68, 68, 0.5); } 50% { text-shadow: 0 0 20px rgba(239, 68, 68, 0.8); } }

.match-status {
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}
.match-status.live { background: #ef4444; color: #fff; }
.match-status.ft { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.match-status.ns { background: #f59e0b; color: #000; }

.match-datetime { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.6); }
.match-venue { 
    margin-top: 20px; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    display: flex; 
    justify-content: center; 
    gap: 24px; 
    font-size: 14px; 
    color: rgba(255,255,255,0.6);
    position: relative;
}

/* 比赛事件 */
.events-timeline { padding: 0 16px; }
.event-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.event-row.home { flex-direction: row; }
.event-row.away { flex-direction: row-reverse; }
.event-time { width: 50px; font-weight: 600; color: var(--primary); text-align: center; }
.event-icon { font-size: 20px; margin: 0 12px; }
.event-info { flex: 1; }
.event-player { font-weight: 600; }
.event-assist { color: var(--text-muted); font-size: 13px; margin-left: 8px; }

/* 技术统计 */
.stats-compare { padding: 0 16px; }
.stat-row { display: grid; grid-template-columns: 60px 1fr 60px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.stat-value { font-weight: 700; font-size: 16px; }
.stat-value.home { text-align: right; color: #3b82f6; }
.stat-value.away { text-align: left; color: #ef4444; }
.stat-bar-wrap { text-align: center; }
.stat-name { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg-secondary); }
.stat-bar .bar.home { background: #3b82f6; }
.stat-bar .bar.away { background: #ef4444; }

/* 阵容 */
.lineups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lineup-team { background: var(--bg-secondary); border-radius: 12px; padding: 16px; }
.lineup-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.lineup-logo { width: 32px; height: 32px; }
.lineup-team-name { font-weight: 600; flex: 1; }
.lineup-formation { background: var(--primary); color: #fff; padding: 4px 10px; border-radius: 12px; font-size: 13px; }
.lineup-coach { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.lineup-player { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lineup-player:last-child { border: none; }
.player-number { width: 28px; height: 28px; background: var(--bg-tertiary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; margin-right: 10px; }
.player-name { flex: 1; font-size: 14px; }
.player-pos { font-size: 12px; color: var(--text-muted); padding: 2px 8px; background: var(--bg-tertiary); border-radius: 8px; }

/* 比赛信息卡 */
.info-list { padding: 0 4px; }
.info-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border: none; }
.info-label { color: var(--text-muted); }
.info-value { font-weight: 600; }

@media (max-width: 768px) {
    .match-versus { grid-template-columns: 1fr; gap: 20px; }
    .team-block { order: 1; }
    .score-center { order: 0; }
    .team-crest { width: 60px; height: 60px; }
    .team-title { font-size: 16px; }
    .score-display .score { font-size: 40px; }
    .lineups-grid { grid-template-columns: 1fr; }
}


/* ========== 比赛详情页 v7.24 ========== */
.match-hd{text-align:center;padding:30px 20px}
.match-hd.live{border:2px solid var(--red)}
.match-hd .match-info{margin-bottom:15px;color:var(--muted)}
.match-hd .league{font-weight:600;color:var(--accent)}
.match-teams{display:flex;align-items:center;justify-content:center;gap:30px}
.match-teams .team{text-align:center;flex:1;max-width:200px}
.match-teams .team img{width:80px;height:80px;object-fit:contain;margin-bottom:10px}
.match-teams .team span{display:block;font-size:16px;font-weight:600}
.match-score{min-width:150px;text-align:center}
.match-score .score{font-size:36px;font-weight:700}
.match-score .score.live{color:var(--red)}
.match-score .status{margin-top:8px;color:var(--muted)}
.match-score .datetime{margin-top:5px;font-size:13px;color:var(--muted)}
.match-hd .venue{margin-top:15px;font-size:13px;color:var(--muted)}
.score-detail p{margin:10px 0}
.events-list .event{padding:8px 0;border-bottom:1px solid var(--border);display:flex;gap:10px;align-items:center}
.events-list .time{font-weight:600;color:var(--accent);min-width:40px}
.events-list .team{color:var(--muted);font-size:13px}
.lineups{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.lineup h4{margin-bottom:10px;color:var(--accent)}
.lineup .players span{display:inline-block;margin:3px 5px 3px 0;padding:3px 8px;background:var(--bg);border-radius:4px;font-size:13px}
.btn{display:inline-block;padding:10px 20px;background:var(--accent);color:#fff;border-radius:6px;text-decoration:none}
.btn:hover{opacity:0.9}
.teams-grid{display:flex;flex-wrap:wrap;gap:10px}
.team-item{padding:8px 15px;background:var(--bg);border-radius:6px;font-size:14px}
.team-item:hover{background:var(--accent);color:#fff}

@media(max-width:768px){
    .match-teams{flex-direction:column;gap:15px}
    .match-teams .team img{width:60px;height:60px}
    .match-score .score{font-size:28px}
    .lineups{grid-template-columns:1fr}
}

/* 日期分组样式 */
.date-group { margin-bottom: 20px; }
.date-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 12px;
    background: var(--card);
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
}
.date-group .score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
