.sp-smart-sidebar {
    display: grid;
    gap: 14px;
}

.sp-entity-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.sp-entity-main,
.sp-entity-side {
    min-width: 0;
}

.sp-smart-card {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.sp-smart-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid #edf1f5;
}

.sp-smart-card h2 {
    position: relative;
    margin: 0;
    padding-left: 10px;
    color: #1f2933;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 950;
}

.sp-smart-card h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 3px;
    height: 17px;
    background: #e6002d;
}

.sp-smart-card header a {
    color: #7a8795;
    font-size: 12px;
    font-weight: 800;
}

.sp-team-rail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
}

.sp-team-rail-grid a {
    min-width: 0;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edf3;
    border-radius: 5px;
    background: #f8fafc;
}

.sp-team-rail-grid img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-bottom: 7px;
}

.sp-team-rail-grid strong {
    max-width: 100%;
    color: #253140;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-side-match-list,
.sp-side-rank,
.sp-side-news-list {
    padding: 8px 14px 12px;
}

.sp-side-match {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 8px;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px dashed #e8edf3;
}

.sp-side-match:last-child {
    border-bottom: 0;
}

.sp-side-match time {
    color: #7a8795;
    font-size: 11px;
    line-height: 1.35;
}

.sp-side-vs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 4px;
    align-items: center;
    color: #253140;
    font-size: 12px;
    font-weight: 850;
}

.sp-side-vs span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-side-vs span:first-child {
    text-align: right;
}

.sp-side-vs b {
    color: #a0a8b3;
    text-align: center;
    font-size: 10px;
}

.sp-side-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border: 1px solid #e6002d;
    border-radius: 999px;
    color: #e6002d;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-side-live-btn i {
    display: none;
}

.sp-side-live-btn:hover {
    background: #e6002d;
    color: #fff;
}

.sp-side-rank a {
    display: grid;
    grid-template-columns: 24px 24px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    border-bottom: 1px dashed #e8edf3;
}

.sp-side-rank a:last-child {
    border-bottom: 0;
}

.sp-side-rank b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #fff1f3;
    color: #e6002d;
    font-size: 12px;
}

.sp-side-rank img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.sp-side-rank span,
.sp-side-rank em {
    min-width: 0;
    color: #263140;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-side-rank em {
    color: #e6002d;
    font-style: normal;
    text-align: right;
}

.sp-side-players {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
}

.sp-side-players a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e8edf3;
    border-radius: 5px;
    background: #f8fafc;
}

.sp-side-players img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.sp-side-players span {
    min-width: 0;
    color: #253140;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-side-chip-grid,
.sp-side-topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
}

.sp-side-chip-grid a,
.sp-side-topic-cloud a {
    max-width: 100%;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e4eaf0;
    border-radius: 4px;
    background: #f8fafc;
    color: #445163;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-side-chip-grid a:hover,
.sp-side-topic-cloud a:hover,
.sp-team-rail-grid a:hover,
.sp-side-players a:hover {
    border-color: #e6002d;
    background: #fff1f3;
    color: #bf0025;
}

.sp-side-news-list a {
    display: block;
    position: relative;
    padding: 9px 0 9px 12px;
    border-bottom: 1px dashed #e8edf3;
    color: #3b4654;
    font-size: 13px;
    line-height: 1.4;
}

.sp-side-news-list a:last-child {
    border-bottom: 0;
}

.sp-side-news-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e6002d;
}

.sp-side-news-list a:hover {
    color: #e6002d;
}

@media (max-width: 992px) {
    .sp-entity-layout {
        grid-template-columns: 1fr;
    }

    .sp-smart-sidebar {
        gap: 10px;
    }

    .sp-side-match {
        grid-template-columns: 62px minmax(0, 1fr) 64px;
    }
}

