.bc-v2-header {
    padding: 16px 20px 6px;
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.bc-v2-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.bc-v2-eyebrow {
    color: #22c55e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bc-v2-heading h1 {
    color: #f8fafc;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin: 4px 0;
}

.bc-v2-heading p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.bc-v2-live-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bc-v2-live-state::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.bc-v2-heading-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bc-v2-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.bc-v2-view-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 11px;
    border-radius: 999px;
    cursor: pointer;
}

.bc-v2-view-btn.is-active,
.bc-v2-view-btn[aria-pressed="true"] {
    color: #04130a;
    background: linear-gradient(135deg, #22c55e 0%, #0ea5e9 100%);
}

.bc-v2-smart-sort-btn {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}

.bc-v2-smart-sort-btn.is-active,
.bc-v2-smart-sort-btn[aria-pressed="true"] {
    color: #1a1200;
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

.bc-v2-smart-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.18);
    cursor: help;
    font-family: inherit;
    line-height: 1;
}

.bc-v2-smart-rank:focus-visible {
    outline: 2px solid rgba(56, 189, 248, 0.55);
    outline-offset: 2px;
}

.bc-v2-smart-rank.is-hot {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.18);
}

.bc-v2-pressure-card .bc-v2-smart-rank,
.bc-v2-pressure-card .bc-v2-smart-rank.is-hot {
    color: #64748b;
    background: transparent;
    border-color: transparent;
    min-width: 0;
    height: auto;
    padding: 0;
}

.bc-v2-match-item .bc-v2-smart-rank {
    margin-left: 0;
    vertical-align: middle;
}

.bc-v2-pg-head .bc-v2-smart-rank {
    margin-left: 6px;
}

@media (min-width: 1181px) {
    .bc-v2-workspace-shell.bc-v2-view-grid {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    }

    .bc-v2-workspace-shell.bc-v2-view-grid .bc-v2-match-rail {
        display: none;
    }
}

.bc-v2-summary.bc-v2-live-status {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(17, 28, 46, 0.88);
}

.bc-v2-live-status-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.bc-v2-live-status-track {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
}

.bc-v2-live-status-sep {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    user-select: none;
}

.bc-v2-live-status-item {
    appearance: none;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 2px 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.bc-v2-live-status-item strong {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.bc-v2-live-status-item:hover,
.bc-v2-live-status-item:focus-visible {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
}

.bc-v2-live-status-item.active,
.bc-v2-live-status-item[aria-pressed="true"] {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.1);
}

.bc-v2-live-status-item.active strong,
.bc-v2-live-status-item[aria-pressed="true"] strong {
    color: #bbf7d0;
}

.bc-v2-live-status-item.is-empty strong {
    color: #9db1c9;
}

.bc-v2-live-status-item.is-highlight strong {
    color: #fde68a;
}

.bc-v2-grid {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(280px, 360px);
    align-items: start;
    justify-content: stretch;
    gap: 14px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 14px 20px 36px;
    box-sizing: border-box;
}

.bc-v2-grid > .main-content {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.bc-v2-grid.bc-v2-grid-demo {
    display: block;
    max-width: 680px;
}

.bc-v2-grid.bc-v2-grid-demo > .main-content {
    max-width: 640px;
    margin: 0 auto;
}

.bc-v2-panel {
    background: #0d1829;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 14px;
    overflow: hidden;
}

.bc-v2-panel-sticky {
    position: sticky;
    top: 16px;
}

.bc-v2-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.11);
}

.bc-v2-panel-head h2 {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
}

.bc-v2-panel-head span,
.bc-v2-panel-head a {
    color: #64748b;
    font-size: 10px;
    text-decoration: none;
}

.bc-v2-match-list,
.bc-v2-feed {
    display: flex;
    flex-direction: column;
}

.bc-v2-match-item {
    appearance: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    padding: 10px 12px;
    cursor: pointer;
}

.bc-v2-match-item:hover,
.bc-v2-match-item.active {
    background: rgba(34, 197, 94, 0.08);
}

.bc-v2-match-item.active {
    box-shadow: inset 2px 0 #22c55e;
}

.bc-v2-match-teams {
    min-width: 0;
}

.bc-v2-match-teams strong,
.bc-v2-match-teams span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-v2-match-teams strong {
    color: #dbeafe;
    font-size: 11px;
}

.bc-v2-match-teams span {
    color: #8292aa;
    font-size: 10px;
    margin-top: 2px;
}

.bc-v2-match-meta {
    text-align: right;
}

.bc-v2-match-meta strong {
    display: block;
    color: #f8fafc;
    font-size: 11px;
}

.bc-v2-match-meta span {
    color: #22c55e;
    font-size: 10px;
}

.bc-v2-feed-section + .bc-v2-feed-section {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.bc-v2-feed-item {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.bc-v2-feed-item:last-child {
    border-bottom: 0;
}

.bc-v2-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bc-v2-feed-top strong {
    color: #dbeafe;
    font-size: 11px;
}

.bc-v2-feed-top span {
    color: #22c55e;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.bc-v2-feed-item p {
    color: #8292aa;
    font-size: 10px;
    line-height: 1.4;
    margin: 4px 0 0;
}

.bc-v2-feed-empty {
    color: #64748b;
    font-size: 11px;
    padding: 16px 12px;
    text-align: center;
}

.match-card.bc-v2-selected {
    border: 1px solid rgba(34, 197, 94, 0.42);
}

@media (max-width: 1180px) {
    .bc-v2-grid {
        grid-template-columns: 190px minmax(500px, 640px);
    }

    .bc-v2-right-rail {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }
}

@media (max-width: 900px) {
    .bc-v2-live-status {
        padding: 7px 10px;
    }

    .bc-v2-live-status-track {
        gap: 4px 6px;
    }

    .bc-v2-grid {
        display: block;
        padding: 14px 12px 80px;
    }

    .bc-v2-match-rail {
        display: none;
    }

    .bc-v2-right-rail {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 680px;
        margin: 14px auto 0;
        position: static;
    }

    .bc-v2-right-rail .bc-v2-panel-sticky,
    .bc-v2-right-rail.bc-v2-panel-sticky {
        position: static;
        top: auto;
    }

    .bc-v2-grid > .main-content {
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .bc-v2-header {
        padding: 14px 12px 4px;
    }

    .bc-v2-heading {
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .bc-v2-heading h1 {
        font-size: 21px;
    }

    .bc-v2-live-state {
        display: none;
    }

    .bc-v2-live-status {
        padding: 7px 10px;
    }

    .bc-v2-live-status-item strong {
        font-size: 13px;
    }

    .bc-v2-grid > .main-content {
        margin-top: 0;
    }
}
