
/* ============================================================
   球队阵容 · 高级CSS
   ============================================================ */

    .yiwen-live-sidebar-wrapper *,
    .yiwen-live-sidebar-wrapper *::before,
    .yiwen-live-sidebar-wrapper *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .yiwen-live-sidebar-wrapper {
        display: block;
        max-width: 400px;
        margin: 0 auto 20px auto;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
        line-height: 1.5;
        color: var(--color-text, #1e293b);
    }

    .yiwen-live-sidebar-wrapper .live-sidebar-card {
        background: var(--color-surface, #ffffff);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.06), 0 2px 10px -4px rgba(0, 0, 0, 0.02);
        border: 1px solid var(--color-border, #eef2f5);
        backdrop-filter: blur(2px);
        transition: box-shadow 0.3s ease;
        padding: 16px 18px 12px 18px;
    }

    .yiwen-live-sidebar-wrapper .live-sidebar-card:hover {
        box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.10);
    }

    /* ---- 小组件标题 ---- */
    .yiwen-live-sidebar-wrapper .ls-widget-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        font-weight: 700;
        color: var(--color-text, #0f172a);
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 2px solid var(--color-primary, #FA3131);
        flex-wrap: wrap;
    }

    .yiwen-live-sidebar-wrapper .ls-title-icon {
        font-size: 18px;
    }

    .yiwen-live-sidebar-wrapper .ls-title-badge {
        font-size: 10px;
        font-weight: 600;
        background: var(--color-primary, #FA3131);
        color: #fff;
        padding: 0 12px;
        border-radius: 30px;
        line-height: 20px;
        margin-left: auto;
        letter-spacing: 0.3px;
    }

    /* ---- 单个比赛条目 ---- */
    .yiwen-live-sidebar-wrapper .ls-match-item {
        padding: 6px 0 4px 0;
        transition: background 0.3s ease;
        border-radius: 14px;
        padding: 8px 10px;
        margin: 0 -6px;
    }

    .yiwen-live-sidebar-wrapper .ls-match-item:hover {
        background: var(--color-bg-soft, #f8fafc);
    }

    /* ---- 分割线 ---- */
    .yiwen-live-sidebar-wrapper .ls-divider {
        height: 1px;
        background: var(--color-border, #eef2f5);
        margin: 10px 0 12px 0;
        position: relative;
    }

    /* ---- 头部：联赛 + 状态 ---- */
    .yiwen-live-sidebar-wrapper .ls-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px dashed var(--color-border, #eef2f5);
        flex-wrap: wrap;
        gap: 4px;
    }

    .yiwen-live-sidebar-wrapper .ls-league {
        font-size: 12px;
        font-weight: 600;
        color: var(--color-text-secondary, #475569);
        letter-spacing: 0.2px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .yiwen-live-sidebar-wrapper .ls-status {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 12px;
        border-radius: 30px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        background: var(--color-bg-soft, #f1f5f9);
        color: var(--color-text-secondary, #475569);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .yiwen-live-sidebar-wrapper .ls-status.live {
        background: #fef2f2;
        color: #ef4444;
        animation: ls-pulse 1.6s ease-in-out infinite;
    }

    .yiwen-live-sidebar-wrapper .ls-status.finished {
        background: #f1f5f9;
        color: #94a3b8;
    }

    .yiwen-live-sidebar-wrapper .ls-status.upcoming {
        background: #fef9e7;
        color: #f59e0b;
    }

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

    /* ---- 对阵主体 ---- */
    .yiwen-live-sidebar-wrapper .ls-match {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        margin-bottom: 10px;
    }

    /* ---- 球队 ---- */
    .yiwen-live-sidebar-wrapper .ls-team {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        flex: 1;
        min-width: 0;
        padding: 2px 2px;
        border-radius: 12px;
        transition: background 0.3s ease;
    }

    .yiwen-live-sidebar-wrapper .ls-logo {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--color-surface, #ffffff);
        border: 2px solid var(--color-border, #eef2f5);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: all 0.3s ease;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    .yiwen-live-sidebar-wrapper .ls-match-item:hover .ls-logo {
        border-color: var(--color-primary, #FA3131);
    }

    .yiwen-live-sidebar-wrapper .ls-logo img {
        width: 72%;
        height: 72%;
        object-fit: contain;
        display: block;
    }

    .yiwen-live-sidebar-wrapper .ls-name {
        font-size: 13px;
        font-weight: 600;
        color: var(--color-text, #0f172a);
        text-align: center;
        max-width: 70px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: -0.2px;
    }

    .yiwen-live-sidebar-wrapper .ls-away .ls-name {
        color: var(--color-text-secondary, #475569);
    }

    /* ---- VS 分隔 ---- */
    .yiwen-live-sidebar-wrapper .ls-vs {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        padding: 0 2px;
    }

    .yiwen-live-sidebar-wrapper .ls-vs span:first-child {
        font-size: 14px;
        font-weight: 800;
        color: var(--color-text-muted, #94a3b8);
        background: var(--color-bg-soft, #f1f5f9);
        padding: 0 8px;
        border-radius: 30px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

    .yiwen-live-sidebar-wrapper .ls-vs .ls-time-sm {
        font-size: 9px;
        font-weight: 600;
        color: var(--color-text-muted, #94a3b8);
        margin-top: 2px;
        background: var(--color-surface, #ffffff);
        padding: 0 6px;
        border-radius: 10px;
        border: 1px solid var(--color-border, #eef2f5);
    }

    /* ---- 底部 ---- */
    .yiwen-live-sidebar-wrapper .ls-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid var(--color-border, #eef2f5);
        flex-wrap: wrap;
        gap: 4px;
    }

    .yiwen-live-sidebar-wrapper .ls-datetime {
        font-size: 11px;
        color: var(--color-text-secondary, #475569);
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    .yiwen-live-sidebar-wrapper .ls-progress {
        font-size: 11px;
        font-weight: 600;
        color: var(--color-primary, #FA3131);
        background: rgba(var(--color-primary-rgb, 250, 49, 49), 0.06);
        padding: 1px 14px;
        border-radius: 30px;
        display: inline-block;
        flex-shrink: 0;
    }

    .yiwen-live-sidebar-wrapper .ls-progress-upcoming {
        color: #f59e0b;
        background: #fef9e7;
    }

    .yiwen-live-sidebar-wrapper .ls-progress-finished {
        color: #94a3b8;
        background: #f1f5f9;
    }

    /* ============================================================
       暗色模式适配
       ============================================================ */
    @media (prefers-color-scheme: dark) {
        .yiwen-live-sidebar-wrapper .live-sidebar-card {
            background: #1e293b;
            border-color: #334155;
            box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.4);
        }
        .yiwen-live-sidebar-wrapper .live-sidebar-card:hover {
            box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.5);
        }
        .yiwen-live-sidebar-wrapper .ls-widget-title {
            color: #f1f5f9;
            border-bottom-color: var(--color-primary, #FA3131);
        }
        .yiwen-live-sidebar-wrapper .ls-title-badge {
            background: var(--color-primary, #FA3131);
            color: #fff;
        }
        .yiwen-live-sidebar-wrapper .ls-match-item:hover {
            background: #2d3a4f;
        }
        .yiwen-live-sidebar-wrapper .ls-divider {
            background: #334155;
        }
        .yiwen-live-sidebar-wrapper .ls-header {
            border-bottom-color: #334155;
        }
        .yiwen-live-sidebar-wrapper .ls-league {
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-status {
            background: #2d3a4f;
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-status.live {
            background: #3b1f1f;
            color: #f87171;
        }
        .yiwen-live-sidebar-wrapper .ls-status.upcoming {
            background: #3b2f1f;
            color: #fbbf24;
        }
        .yiwen-live-sidebar-wrapper .ls-status.finished {
            background: #1f2937;
            color: #64748b;
        }
        .yiwen-live-sidebar-wrapper .ls-logo {
            background: #2d3a4f;
            border-color: #475569;
        }
        .yiwen-live-sidebar-wrapper .ls-match-item:hover .ls-logo {
            border-color: var(--color-primary, #FA3131);
        }
        .yiwen-live-sidebar-wrapper .ls-name {
            color: #f1f5f9;
        }
        .yiwen-live-sidebar-wrapper .ls-away .ls-name {
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-vs span:first-child {
            background: #2d3a4f;
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-vs .ls-time-sm {
            background: #1e293b;
            border-color: #334155;
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-footer {
            border-top-color: #334155;
        }
        .yiwen-live-sidebar-wrapper .ls-datetime {
            color: #94a3b8;
        }
        .yiwen-live-sidebar-wrapper .ls-progress {
            background: rgba(250, 49, 49, 0.12);
            color: #f87171;
        }
        .yiwen-live-sidebar-wrapper .ls-progress-upcoming {
            background: #3b2f1f;
            color: #fbbf24;
        }
        .yiwen-live-sidebar-wrapper .ls-progress-finished {
            background: #1f2937;
            color: #64748b;
        }
    }

    /* ============================================================
       响应式微调
       ============================================================ */
    @media screen and (max-width: 420px) {
        .yiwen-live-sidebar-wrapper .live-sidebar-card {
            padding: 14px 14px 10px 14px;
        }
        .yiwen-live-sidebar-wrapper .ls-logo {
            width: 38px;
            height: 38px;
        }
        .yiwen-live-sidebar-wrapper .ls-name {
            font-size: 12px;
            max-width: 55px;
        }
        .yiwen-live-sidebar-wrapper .ls-league {
            font-size: 11px;
        }
        .yiwen-live-sidebar-wrapper .ls-vs span:first-child {
            font-size: 12px;
            padding: 0 6px;
        }
        .yiwen-live-sidebar-wrapper .ls-vs .ls-time-sm {
            font-size: 8px;
            padding: 0 4px;
        }
        .yiwen-live-sidebar-wrapper .ls-datetime {
            font-size: 10px;
        }
        .yiwen-live-sidebar-wrapper .ls-progress {
            font-size: 10px;
            padding: 1px 10px;
        }
        .yiwen-live-sidebar-wrapper .ls-widget-title {
            font-size: 14px;
        }
        .yiwen-live-sidebar-wrapper .ls-title-badge {
            font-size: 9px;
            padding: 0 8px;
            line-height: 18px;
        }
        .yiwen-live-sidebar-wrapper .ls-match-item {
            padding: 4px 4px;
        }
    }

    @media screen and (max-width: 340px) {
        .yiwen-live-sidebar-wrapper .ls-logo {
            width: 32px;
            height: 32px;
        }
        .yiwen-live-sidebar-wrapper .ls-name {
            font-size: 10px;
            max-width: 45px;
        }
        .yiwen-live-sidebar-wrapper .ls-status {
            font-size: 8px;
            padding: 1px 8px;
        }
        .yiwen-live-sidebar-wrapper .ls-vs span:first-child {
            font-size: 10px;
            padding: 0 4px;
        }
    }
    /* ============================================================
   球队阵容 · 高级CSS
   ============================================================ */
.yiwen-squad-wrapper *,
.yiwen-squad-wrapper *::before,
.yiwen-squad-wrapper *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.yiwen-squad-wrapper {
display: block;
 
margin: 0 auto;

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
line-height: 1.5;
color: var(--color-text, #1e293b);
background: var(--color-bg-soft, #f8fafc);
border-radius: 24px;
}

/* ---- 主卡片 ---- */
.yiwen-squad-wrapper .squad-card {
background: var(--color-surface, #ffffff);
border-radius: 24px;
overflow: hidden;
box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.08), 0 4px 20px -8px rgba(0, 0, 0, 0.02);
border: 1px solid var(--color-border, #eef2f5);
transition: box-shadow 0.4s ease, transform 0.4s ease;
backdrop-filter: blur(2px);
}

.yiwen-squad-wrapper .squad-card:hover {
box-shadow: 0 30px 80px -16px rgba(0, 0, 0, 0.12);
transform: translateY(-2px);
}

/* ---- 球队头部 ---- */
.yiwen-squad-wrapper .squad-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28px 32px 24px 32px;
background: linear-gradient(135deg, 
var(--color-primary, #FA3131) 0%, 
color-mix(in srgb, var(--color-primary, #FA3131) 70%, #0f172a) 100%
);
background: linear-gradient(135deg, #FA3131 0%, #b91c1c 100%);
color: #ffffff;
flex-wrap: wrap;
gap: 16px;
position: relative;
isolation: isolate;
}

/* 装饰光效 */
.yiwen-squad-wrapper .squad-header::after {
content: '';
position: absolute;
top: -60%;
right: -10%;
width: 50%;
height: 200%;
background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
pointer-events: none;
z-index: 0;
}

.yiwen-squad-wrapper .team-badge {
display: flex;
align-items: center;
gap: 20px;
position: relative;
z-index: 1;
}

.yiwen-squad-wrapper .badge-shield {
width: 72px;
height: 72px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(8px);
border: 2px solid rgba(255, 255, 255, 0.25);
padding: 6px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.yiwen-squad-wrapper .badge-shield img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: contain;
background: #fff;
display: block;
}

.yiwen-squad-wrapper .team-info h2 {
font-size: 26px;
font-weight: 700;
color: #ffffff;
margin: 0 0 4px 0;
line-height: 1.2;
letter-spacing: -0.5px;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.yiwen-squad-wrapper .team-meta {
display: flex;
gap: 12px;
font-size: 13px;
font-weight: 500;
color: rgba(255, 255, 255, 0.85);
flex-wrap: wrap;
}

.yiwen-squad-wrapper .team-meta .league,
.yiwen-squad-wrapper .team-meta .season {
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(4px);
padding: 2px 12px;
border-radius: 30px;
border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- 球队数据毛玻璃块 ---- */
.yiwen-squad-wrapper .team-stats-glass {
display: flex;
align-items: center;
gap: 16px;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 60px;
padding: 6px 20px 6px 24px;
position: relative;
z-index: 1;
flex-wrap: wrap;
}

.yiwen-squad-wrapper .stat-item {
display: flex;
flex-direction: column;
align-items: center;
}

.yiwen-squad-wrapper .stat-value {
font-size: 20px;
font-weight: 700;
color: #ffffff;
line-height: 1.2;
letter-spacing: -0.5px;
}

.yiwen-squad-wrapper .stat-label {
font-size: 10px;
font-weight: 600;
color: rgba(255, 255, 255, 0.7);
text-transform: uppercase;
letter-spacing: 0.5px;
}

.yiwen-squad-wrapper .stat-divider {
width: 1px;
height: 30px;
background: rgba(255, 255, 255, 0.2);
}

/* ---- 球员列表标题 ---- */
.yiwen-squad-wrapper .squad-title-wrap {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 32px 12px 32px;
border-bottom: 1px solid var(--color-border, #eef2f5);
}

.yiwen-squad-wrapper .squad-title {
font-size: 18px;
font-weight: 600;
color: var(--color-text, #0f172a);
margin: 0;
}

.yiwen-squad-wrapper .squad-count {
font-size: 13px;
color: var(--color-text-muted, #94a3b8);
font-weight: 500;
background: var(--color-bg-soft, #f1f5f9);
padding: 2px 14px;
border-radius: 30px;
}

/* ---- 球员网格 ---- */
.yiwen-squad-wrapper .player-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 20px;
padding: 24px 32px 32px 32px;
}

/* ---- 球员卡片（毛玻璃质感） ---- */
.yiwen-squad-wrapper .player-card {
background: var(--color-bg-soft, #f8fafc);
border-radius: 20px;
padding: 20px 12px 16px;
text-align: center;
border: 1px solid var(--color-border, #eef2f5);
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
position: relative;
overflow: hidden;
backdrop-filter: blur(4px);
}

/* 卡片光晕 */
.yiwen-squad-wrapper .player-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at 30% 20%, 
var(--color-primary, #FA3131) 0%, 
transparent 70%
);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
z-index: 0;
}

.yiwen-squad-wrapper .player-card:hover::before {
opacity: 0.08;
}

.yiwen-squad-wrapper .player-card:hover {
transform: translateY(-8px);
box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.15);
border-color: var(--color-primary, #FA3131);
background: var(--color-surface, #ffffff);
}

.yiwen-squad-wrapper .player-card > * {
position: relative;
z-index: 1;
}

/* ---- 球员号码 ---- */
.yiwen-squad-wrapper .player-number {
font-size: 13px;
font-weight: 800;
color: var(--color-primary, #FA3131);
background: rgba(var(--color-primary-rgb, 250, 49, 49), 0.08);
border-radius: 30px;
padding: 0 14px;
line-height: 26px;
display: inline-block;
margin-bottom: 4px;
letter-spacing: 0.5px;
border: 1px solid rgba(var(--color-primary-rgb, 250, 49, 49), 0.06);
}

/* ---- 球员头像 ---- */
.yiwen-squad-wrapper .player-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
overflow: hidden;
border: 3px solid var(--color-border, #eef2f5);
background: var(--color-surface, #ffffff);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.4s ease;
position: relative;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.yiwen-squad-wrapper .player-card:hover .player-avatar {
border-color: var(--color-primary, #FA3131);
box-shadow: 0 8px 24px rgba(var(--color-primary-rgb, 250, 49, 49), 0.15);
transform: scale(1.04);
}

.yiwen-squad-wrapper .player-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* 状态小圆点 */
.yiwen-squad-wrapper .player-status {
position: absolute;
bottom: 2px;
right: 2px;
width: 14px;
height: 14px;
border-radius: 50%;
background: #22c55e;
border: 2px solid var(--color-surface, #ffffff);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ---- 球员信息 ---- */
.yiwen-squad-wrapper .player-info {
width: 100%;
}

.yiwen-squad-wrapper .player-name {
font-size: 16px;
font-weight: 600;
color: var(--color-text, #0f172a);
margin-bottom: 2px;
transition: color 0.3s ease;
}

.yiwen-squad-wrapper .player-card:hover .player-name {
color: var(--color-primary, #FA3131);
}

.yiwen-squad-wrapper .player-pos {
font-size: 13px;
font-weight: 500;
color: var(--color-text-secondary, #475569);
}

.yiwen-squad-wrapper .player-nationality {
font-size: 12px;
color: var(--color-text-muted, #94a3b8);
margin-top: 2px;
font-weight: 500;
}

/* ---- 底部信息 ---- */
.yiwen-squad-wrapper .squad-footer {
display: flex;
justify-content: center;
align-items: center;
gap: 24px;
padding: 16px 32px 24px 32px;
border-top: 1px solid var(--color-border, #eef2f5);
background: var(--color-bg-soft, #fafcfc);
flex-wrap: wrap;
}

.yiwen-squad-wrapper .footer-item {
display: flex;
align-items: center;
gap: 8px;
}

.yiwen-squad-wrapper .footer-item .label {
font-size: 12px;
font-weight: 500;
color: var(--color-text-muted, #94a3b8);
text-transform: uppercase;
letter-spacing: 0.5px;
}

.yiwen-squad-wrapper .footer-item .value {
font-size: 14px;
font-weight: 600;
color: var(--color-text, #0f172a);
}

.yiwen-squad-wrapper .footer-divider {
width: 1px;
height: 24px;
background: var(--color-border, #e2e8f0);
}

/* ============================================================
   暗色模式适配（与主题变量联动）
   ============================================================ */
@media (prefers-color-scheme: dark) {
.yiwen-squad-wrapper {
background: #0f172a;
}
.yiwen-squad-wrapper .squad-card {
background: #1e293b;
border-color: #334155;
box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.5);
}
.yiwen-squad-wrapper .squad-card:hover {
box-shadow: 0 30px 80px -16px rgba(0, 0, 0, 0.6);
}
.yiwen-squad-wrapper .squad-title-wrap {
border-bottom-color: #334155;
}
.yiwen-squad-wrapper .squad-title {
color: #f1f5f9;
}
.yiwen-squad-wrapper .squad-count {
background: #2d3a4f;
color: #94a3b8;
}
.yiwen-squad-wrapper .player-card {
background: #2d3a4f;
border-color: #334155;
}
.yiwen-squad-wrapper .player-card:hover {
background: #334155;
border-color: var(--color-primary, #FA3131);
}
.yiwen-squad-wrapper .player-name {
color: #f1f5f9;
}
.yiwen-squad-wrapper .player-card:hover .player-name {
color: var(--color-primary, #FA3131);
}
.yiwen-squad-wrapper .player-pos {
color: #94a3b8;
}
.yiwen-squad-wrapper .player-nationality {
color: #64748b;
}
.yiwen-squad-wrapper .player-avatar {
border-color: #475569;
background: #1e293b;
}
.yiwen-squad-wrapper .player-status {
border-color: #1e293b;
}
.yiwen-squad-wrapper .squad-footer {
border-top-color: #334155;
background: #1a2332;
}
.yiwen-squad-wrapper .footer-item .value {
color: #f1f5f9;
}
.yiwen-squad-wrapper .footer-divider {
background: #334155;
}
.yiwen-squad-wrapper .player-number {
background: rgba(250, 49, 49, 0.15);
border-color: rgba(250, 49, 49, 0.1);
}
.yiwen-squad-wrapper .team-stats-glass {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.06);
}
.yiwen-squad-wrapper .badge-shield {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.1);
}
.yiwen-squad-wrapper .team-meta .league,
.yiwen-squad-wrapper .team-meta .season {
background: rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.05);
}
}

/* ============================================================
   响应式适配
   ============================================================ */
@media screen and (max-width: 768px) {
.yiwen-squad-wrapper .squad-header {
flex-direction: column;
align-items: flex-start;
padding: 24px 20px 20px 20px;
}
.yiwen-squad-wrapper .team-stats-glass {
width: 100%;
justify-content: space-around;
padding: 8px 12px;
border-radius: 40px;
}
.yiwen-squad-wrapper .stat-divider {
height: 24px;
}
.yiwen-squad-wrapper .stat-value {
font-size: 18px;
}
.yiwen-squad-wrapper .player-grid {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
padding: 20px 20px 24px 20px;
gap: 16px;
}
.yiwen-squad-wrapper .squad-title-wrap {
padding: 14px 20px 10px 20px;
}
.yiwen-squad-wrapper .squad-footer {
padding: 14px 20px 20px 20px;
gap: 12px;
}
.yiwen-squad-wrapper .footer-divider {
display: none;
}
.yiwen-squad-wrapper .badge-shield {
width: 60px;
height: 60px;
}
.yiwen-squad-wrapper .team-info h2 {
font-size: 22px;
}
}

@media screen and (max-width: 480px) {
.yiwen-squad-wrapper .player-grid {
grid-template-columns: 1fr 1fr;
gap: 12px;
padding: 16px 16px 20px 16px;
}
.yiwen-squad-wrapper .player-avatar {
width: 64px;
height: 64px;
}
.yiwen-squad-wrapper .player-name {
font-size: 14px;
}
.yiwen-squad-wrapper .player-card {
padding: 14px 8px 12px;
}
.yiwen-squad-wrapper .squad-header {
padding: 20px 16px 16px 16px;
}
.yiwen-squad-wrapper .team-stats-glass {
gap: 8px;
padding: 4px 12px;
}
.yiwen-squad-wrapper .stat-value {
font-size: 16px;
}
.yiwen-squad-wrapper .stat-label {
font-size: 9px;
}
.yiwen-squad-wrapper .team-info h2 {
font-size: 20px;
}
.yiwen-squad-wrapper .badge-shield {
width: 50px;
height: 50px;
padding: 4px;
}
.yiwen-squad-wrapper .squad-title-wrap {
padding: 12px 16px 8px 16px;
flex-wrap: wrap;
}
.yiwen-squad-wrapper .squad-title {
font-size: 16px;
}
.yiwen-squad-wrapper .squad-footer {
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.yiwen-squad-wrapper .footer-item {
width: 100%;
justify-content: space-between;
}
}