/**
 * BESTPICK basketball pages
 */

.bp-basketball {
    display: grid;
    gap: 18px;
    padding: 28px 0;
}

.bp-basketball-catalog-section, .bp-basketball-panel {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(20, 25, 36, .92);
}

.bp-basketball-hero,
.bp-basketball-catalog-section,
.bp-basketball-match-hero,
.bp-basketball-scoreboard,
.bp-basketball-panel {
    border: 1px solid rgba(148, 163, 184, .14);
    background: #111827;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.bp-basketball-catalog-section,
.bp-basketball-panel {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(20, 25, 36, .92);
}

.bp-basketball-hero {
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 5% 0,
            rgba(56, 189, 248, .15),
            transparent 38%
        ),
        #111827;
}

.bp-basketball-eyebrow,
.bp-basketball-section-head span {
    display: block;
    margin-bottom: 7px;
    color: #38bdf8;
    font-size: 1rem;
    font-weight: 900;
}

.bp-basketball-hero h1,
.bp-basketball-catalog-section h2,
.bp-basketball-panel h2 {
    margin: 10px 0;
    color: #f8fafc;
    letter-spacing: -.04em;
    font-size:2rem;
}

.bp-basketball-hero p {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 1rem;
}

.bp-basketball-catalog-section {
    padding: 18px;
    border-radius: 22px;
}

.bp-basketball-catalog-section > h2 {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.bp-basketball-league-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bp-basketball-league-grid > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 16px;
    background: #0f172a;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.bp-basketball-league-grid > a:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, .48);
    background: #121d32;
}

.bp-basketball-league-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: rgba(255, 255, 255, .05);
}

.bp-basketball-league-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.bp-basketball-league-grid strong,
.bp-basketball-league-grid small,
.bp-basketball-league-grid em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-league-grid strong {
    color: #f8fafc;
    font-size: 1rem;
}

.bp-basketball-league-grid small {
    margin-top: 4px;
    color: #60a5fa;
    font-size: 1rem;
}

.bp-basketball-league-grid em {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 1rem;
    font-style: normal;
}

.bp-basketball-match-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 17px 20px;
    border-radius: 18px;
}

.bp-basketball-match-hero a {
    color: #f8fafc;
    font-weight: 900;
    text-decoration: none;
}

.bp-basketball-match-hero time {
    color: #94a3b8;
    font-size: 13px;
}

.bp-live-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 900;
}

.bp-live-status.is-live {
    background: rgba(239, 68, 68, .15);
    color: #fca5a5;
}

.bp-live-status.is-finished {
    background: rgba(148, 163, 184, .13);
    color: #cbd5e1;
}

.bp-live-status.is-scheduled {
    background: rgba(56, 189, 248, .13);
    color: #7dd3fc;
}

.bp-basketball-scoreboard {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(100px, 160px)
        minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 250px;
    padding: 30px;
    border-radius: 24px;
}

.bp-basketball .bp-baseball-probability-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label value"
        "bar bar";
    align-items: center;
    column-gap: 10px;
    row-gap: 7px;
    margin-top: 20px;
}

.bp-basketball .bp-baseball-probability-row + .bp-baseball-probability-row {
    margin-top: 16px;
}

.bp-basketball .bp-baseball-probability-row > span {
    grid-area: label;
    justify-self: start;
}

.bp-basketball .bp-baseball-probability-row > b {
    grid-area: value;
    justify-self: end;
}

.bp-basketball .bp-baseball-probability-row > div {
    grid-area: bar;
    width: 100%;
    height: 9px;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #29344a;
}

.bp-basketball .bp-baseball-probability-row > div > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #38bdf8;
}

.bp-basketball-scoreboard > a {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #f8fafc;
    text-align: center;
    text-decoration: none;
}

.bp-basketball-scoreboard img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.bp-basketball-scoreboard strong {
    max-width: 220px;
    font-size: 1rem;
}

.bp-basketball-scoreboard b {
    font-size: 36px;
}

.bp-basketball-scoreboard small {
    color: #94a3b8;
    font-size: .85rem;
}

.bp-basketball-versus {
    color: #60a5fa;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.bp-basketball-quarter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.bp-basketball-quarter-grid > div,
.bp-basketball-detail-grid > div {
    display: grid;
    gap: 7px;
    padding: 15px;
    border-radius: 14px;
    background: #0f172a;
    text-align: center;
}

.bp-basketball-quarter-grid span,
.bp-basketball-detail-grid span {
    color: #60a5fa;
    font-size: 1rem;
}

.bp-basketball-quarter-grid strong,
.bp-basketball-detail-grid strong {
    color: #f8fafc;
    font-size: 1.25rem;
}

.bp-basketball-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bp-basketball-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.bp-basketball-pick-point {
    display: grid;
    place-items: center;
    min-width: 66px;
    height: 42px;
    padding: 0 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    font-size: 18px;
}

.bp-basketball-ai-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bp-basketball-ai-summary article {
    display: grid;
    gap: 7px;
    min-height: 120px;
    padding: 17px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 16px;
    background: #0f172a;
}

.bp-basketball-ai-summary article.is-primary {
    background:
        radial-gradient(
            circle at 0 0,
            rgba(56, 189, 248, .17),
            transparent 58%
        ),
        #0f172a;
}

.bp-basketball-ai-summary span,
.bp-basketball-ai-summary small {
    color: #94a3b8;
    font-size: 12px;
}

.bp-basketball-ai-summary strong {
    color: #f8fafc;
    font-size: 21px;
}

.bp-basketball-odds-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.bp-basketball-odds-board > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 13px;
    background: rgba(56, 189, 248, .055);
}

.bp-basketball-odds-board span {
    color: #94a3b8;
    font-size: 12px;
}

.bp-basketball-odds-board b {
    color: #7dd3fc;
}

.bp-basketball-analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bp-basketball-mini-list {
    display: grid;
    gap: 8px;
}

.bp-basketball-mini-list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 13px;
    background: #0f172a;
    color: #cbd5e1;
    text-decoration: none;
}

.bp-basketball-mini-list a:hover {
    background: #142038;
}

.bp-basketball-mini-list time {
    color: #60a5fa;
    font-size: 11px;
}

.bp-basketball-mini-list span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    overflow: hidden;
    font-size: 12px;
}

.bp-basketball-mini-list b {
    flex: 0 0 auto;
    color: #f8fafc;
}

.bp-basketball-empty {
    display: grid;
    place-items: center;
    min-height: 120px;
    color: #94a3b8;
}
/**
 * Basketball match detail alignment with baseball analysis layout.
 */

.bp-basketball-analysis {
    gap: 22px;
}

.bp-basketball-analysis .bp-baseball-scoreboard.bp-basketball-scoreboard {
    min-height: 208px;
}

.bp-basketball-analysis .bp-baseball-score-team img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.bp-basketball-analysis .bp-baseball-score-team b {
    font-size: 1.25rem;
}

.bp-basketball-analysis .bp-basketball-quarter-grid {
    margin-top: 18px;
}

.bp-basketball-analysis .bp-basketball-pick-point {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(56, 189, 248, .3);
    border-radius: 999px;
    background: rgba(56, 189, 248, .08);
    color: #38bdf8;
    font-size: 15px;
    font-weight: 900;
}

.bp-basketball-analysis .bp-basketball-recent-games {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.bp-basketball-analysis .bp-basketball-recent-games a {
    display: grid;
    grid-template-columns: 52px 34px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 9px;
    background: rgba(15, 23, 42, .35);
    color: #dbeafe;
}

.bp-basketball-analysis .bp-basketball-recent-games time {
    color: #8ca0b8;
    font-size: 11px;
}

.bp-basketball-analysis .bp-basketball-recent-games span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.bp-basketball-analysis .bp-basketball-recent-games span.is-win {
    background: rgba(34, 197, 94, .13);
    color: #86efac;
}

.bp-basketball-analysis .bp-basketball-recent-games span.is-loss {
    background: rgba(239, 68, 68, .13);
    color: #fca5a5;
}

.bp-basketball-analysis .bp-basketball-recent-games b {
    justify-self: end;
    color: #f8fafc;
    font-size: 12px;
}

.bp-basketball-analysis .bp-baseball-analysis-game {
    grid-template-columns: 90px minmax(0, 1fr) 70px minmax(0, 1fr);
}

.bp-basketball-analysis .bp-baseball-analysis-game span:last-child {
    text-align: right;
}

/* Basketball match detail fixes: baseball-aligned recent form layout */
.bp-basketball-analysis .bp-baseball-versus {
    color: #74849a;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.bp-basketball-analysis .bp-baseball-section-heading {
    align-items: flex-start;
}

.bp-basketball-analysis .bp-baseball-form-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 15px;
    background: rgba(15, 23, 42, .52);
}

.bp-basketball-analysis .bp-baseball-form-card > h3 {
    margin: 0 0 14px;
    color: #f8fafc;
    font-size: 1.15rem;
}

.bp-basketball-analysis .bp-baseball-form-stats {
    display: grid;
}

.bp-basketball-analysis .bp-baseball-form-stats > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 38px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.bp-basketball-analysis .bp-baseball-form-stats span {
    color: #8fb0d8;
    font-size: 1rem;
}

.bp-basketball-analysis .bp-baseball-form-stats strong {
    color: #f8fafc;
    font-size: 1.25rem;
    text-align: right;
}

.bp-basketball-analysis .bp-baseball-form-games {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.bp-basketball-analysis .bp-baseball-form-games > p {
    margin: 0;
    padding: 14px 0 2px;
    color: #8fa0b5;
    font-size: 13px;
}

.bp-basketball-analysis .bp-baseball-form-games > a {
    display: grid;
    grid-template-columns: 52px 32px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 9px;
    background: rgba(15, 23, 42, .35);
    color: #dbeafe;
    text-decoration: none;
}

.bp-basketball-analysis .bp-baseball-form-games > a:hover {
    border-color: rgba(56, 189, 248, .3);
    background: rgba(20, 32, 56, .72);
}

.bp-basketball-analysis .bp-baseball-form-games time {
    color: #8ca0b8;
    font-size: 11px;
}

.bp-basketball-analysis .bp-baseball-form-games span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.bp-basketball-analysis .bp-baseball-form-games span.is-win {
    background: rgba(34, 197, 94, .13);
    color: #86efac;
}

.bp-basketball-analysis .bp-baseball-form-games span.is-loss {
    background: rgba(239, 68, 68, .13);
    color: #fca5a5;
}

.bp-basketball-analysis .bp-baseball-form-games b {
    justify-self: end;
    color: #f8fafc;
    font-size: 12px;
}

/* Basketball league page: baseball-aligned layout */
.bp-basketball-league-page {
    gap: 22px;
}

.bp-basketball-league-page .bp-basketball-entity-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: linear-gradient(135deg, #111c2c, #0b111b);
}

.bp-basketball-league-page .bp-basketball-entity-hero > img {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.bp-basketball-league-page .bp-basketball-entity-hero h1 {
    margin: 6px 0;
    color: #f8fafc;
    font-size: 30px;
}

.bp-basketball-league-page .bp-basketball-entity-hero p {
    margin: 0;
    color: #9aa8bb;
}

.bp-basketball-league-page .bp-basketball-entity-hero span {
    color: #8ab4ff;
    font-size: 12px;
    letter-spacing: .08em;
}

.bp-basketball-season-form {
    margin-left: auto;
}

.bp-basketball-season-form select {
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size:1rem;
}

.bp-basketball-league-page .bp-basketball-panel {
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(20, 25, 36, .92);
}

.bp-basketball-league-page .bp-basketball-panel > h2 {
    margin: 0 0 18px;
    font-size: 1.25rem;
}

.bp-basketball-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bp-basketball-team-standing {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    color: inherit;
    text-decoration: none;
}

.bp-basketball-standings th,
.bp-basketball-standings td {
    height: 54px;
    padding: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    color: #f3f7fc;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.bp-basketball-standings th {
    color: #dce8f7;
    font-size: 13px;
    font-weight: 800;
}

.bp-basketball-standings th:nth-child(2),
.bp-basketball-standings td:nth-child(2) {
    min-width: 220px;
    text-align: left;
}

.bp-basketball-standings td:nth-child(1) {
    width: 54px;
    font-weight: 800;
}

.bp-basketball-standings td a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.bp-basketball-standings td a img {
    flex: 0 0 34px;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain;
}

.bp-basketball-standings td a span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-basketball-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.bp-basketball-league-game-list {
    align-self: start;
}

.bp-basketball-league-game-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 72px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 13px;
    background: rgba(15, 23, 42, .48);
    color: inherit;
    text-decoration: none;
}

.bp-basketball-league-game-meta time,
.bp-basketball-league-game-meta small {
    display: block;
}

.bp-basketball-league-game-meta time {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.bp-basketball-league-game-meta small {
    margin-top: 5px;
    color: #61b9ff;
    font-size: 1rem;
}

.bp-basketball-league-game-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bp-basketball-league-game-team.is-home {
    justify-content: flex-end;
    text-align: right;
}

.bp-basketball-league-game-team.is-away {
    justify-content: flex-start;
}

.bp-basketball-league-game-team img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.bp-basketball-league-game-team strong {
    min-width: 0;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.bp-basketball-league-game-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 5px;
    align-items: center;
    color: #39b9ff;
    text-align: center;
}

.bp-basketball-league-game-score b {
    font-size: 1rem;
}

.bp-basketball-league-game-score span {
    color: #8fa0b5;
}

.bp-basketball-empty {
    display: grid;
    min-height: 92px;
    place-items: center;
    padding: 24px;
    border: 1px dashed rgba(148, 163, 184, .18);
    border-radius: 14px;
    color: #9eb0c8;
    text-align: center;
}

/* ===== Team page ===== */

.bp-basketball-entity-hero{
    display:flex;
    align-items:center;
    gap:22px;
    padding:28px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:22px;
    background:#141924;
}

.bp-basketball-entity-hero img{
    width:100px;
    height:100px;
    object-fit:contain;
}

.bp-basketball-entity-hero h1{
    margin:6px 0;
    font-size:46px;
    color:#fff;
}

.bp-basketball-entity-hero p{
    margin:0;
    color:#93b4df;
}

.bp-basketball-metric-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:12px;
}

.bp-basketball-metric-grid>div{
    padding:18px;
    text-align:center;
    border:1px solid rgba(148,163,184,.16);
    border-radius:15px;
    background:#141924;
}

.bp-basketball-metric-grid span{
    display:block;
    color:#93b4df;
    font-size:12px;
}

.bp-basketball-metric-grid strong{
    display:block;
    margin-top:8px;
    font-size:24px;
    color:#fff;
}

.bp-standing-info{
    display:flex;
    align-items:center;
    gap:12px;
}

.bp-standing-rank{
    padding:4px 10px;
    border:1px solid #38bdf8;
    border-radius:999px;
    color:#38bdf8;
    font-weight:700;
}

.bp-standing-record{
    color:#fff;
    font-weight:700;
}

.bp-standing-rate{
    color:#38bdf8;
    font-weight:700;
}

.bp-basketball-two-column{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

/* =========================================================
   Basketball team page — baseball team.php/baseball.css parity
   ========================================================= */

.bp-basketball-team-page {
    display: grid;
    gap: 22px;
    padding: 28px 0 80px;
}

.bp-basketball-team-page a {
    text-decoration: none;
}

.bp-basketball-team-page .bp-basketball-entity-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: linear-gradient(135deg, #111c2c, #0b111b);
    box-shadow: none;
}

.bp-basketball-team-page .bp-basketball-entity-hero > img {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.bp-basketball-team-page .bp-basketball-entity-hero h1 {
    margin: 6px 0;
    color: #f8fafc;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: normal;
}

.bp-basketball-team-page .bp-basketball-entity-hero span {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.bp-basketball-team-page .bp-basketball-entity-hero p {
    margin: 0;
    color: #9aa8bb;
    font-size: 1rem;
}

.bp-basketball-team-page .bp-basketball-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.bp-basketball-team-page .bp-basketball-metric-grid > div {
    min-width: 0;
    padding: 16px 12px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 15px;
    background: rgba(20, 25, 36, .92);
    text-align: center;
}

.bp-basketball-team-page .bp-basketball-metric-grid span,
.bp-basketball-team-page .bp-basketball-metric-grid strong {
    display: block;
}

.bp-basketball-team-page .bp-basketball-metric-grid span {
    color: #93b4df;
    font-size: 1rem;
}

.bp-basketball-team-page .bp-basketball-metric-grid strong {
    margin-top: 7px;
    color: #f8fafc;
    font-size: 1.25rem;
    line-height: 1.2;
}

.bp-basketball-team-page .bp-basketball-panel {
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(20, 25, 36, .92);
    box-shadow: none;
}

.bp-basketball-team-page .bp-basketball-panel > h2 {
    margin: 0 0 18px;
    color: #f8fafc;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: normal;
}

.bp-basketball-team-page .bp-basketball-team-standing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    color: inherit;
    text-decoration: none;
}

.bp-basketball-team-page .bp-basketball-team-standing > span:first-child {
    min-width: 0;
    overflow: hidden;
    color: #f8fafc;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size:1.15rem;
}

.bp-basketball-team-page .bp-standing-info {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.bp-basketball-team-page .bp-standing-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1px solid #3bbcff;
    border-radius: 999px;
    color: #3bbcff;
    background: rgba(59, 188, 255, .08);
    font-size: 1.15rem;
    font-weight: 700;
}

.bp-basketball-team-page .bp-standing-record {
    color: #fff;
    font-weight: 700;
    font-size:1.15rem;
}

.bp-basketball-team-page .bp-standing-rate {
    color: #3bbcff;
    font-weight: 700;
    font-size:1.15rem;
}

.bp-basketball-team-page .bp-basketball-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.bp-basketball-team-page .bp-basketball-game-list {
    align-self: start;
    min-width: 0;
}

.bp-basketball-team-page .bp-basketball-game-list > h2 {
    margin-bottom: 18px;
}

/* helpers.php가 출력하는 경기 목록을 야구 경기 카드와 같은 높이/간격으로 고정 */
.bp-basketball-team-page .bp-basketball-league-game-list {
    display: grid;
    gap: 10px;
    align-self: start;
}

.bp-basketball-team-page .bp-basketball-league-game-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 13px;
    background: rgba(15, 23, 42, .48);
    color: inherit;
    text-decoration: none;
}

.bp-basketball-team-page .bp-basketball-league-game-meta time,
.bp-basketball-team-page .bp-basketball-league-game-meta small {
    display: block;
}

.bp-basketball-team-page .bp-basketball-league-game-meta time {
    color: #f8fafc;
    font-weight: 700;
    line-height: 1.25;
}

.bp-basketball-team-page .bp-basketball-league-game-meta small {
    margin-top: 4px;
    color: #61b9ff;
    font-size: 11px;
}

.bp-basketball-team-page .bp-basketball-league-game-team {
    min-width: 0;
}

.bp-basketball-team-page .bp-basketball-league-game-team strong,
.bp-basketball-team-page .bp-basketball-league-game-team span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-team-page .bp-basketball-league-game-team strong {
    color: #f8fafc;
    line-height: 1.2;
}

.bp-basketball-team-page .bp-basketball-league-game-team span {
    margin-top: 4px;
    color: #8fb0d8;
    font-size: 11px;
}

.bp-basketball-team-page .bp-basketball-league-game-score {
    color: #39b9ff;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.bp-basketball-team-page .bp-basketball-empty {
    display: grid;
    min-height: 94px;
    margin: 0;
    padding: 32px;
    place-items: center;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: #8fa0b5;
    text-align: center;
}

/* =========================================================
   Basketball league page — full-width alignment fix
   ========================================================= */

.bp-basketball-league-page {
    width: 100%;
    min-width: 0;
}

.bp-basketball-league-page .bp-basketball-panel {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bp-basketball-league-page .bp-basketball-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.bp-basketball-league-page .bp-basketball-standings {
    width: 100%;
    min-width: 790px;
    border-collapse: collapse;
    table-layout: auto;
}

.bp-basketball-league-page .bp-basketball-standings th,
.bp-basketball-league-page .bp-basketball-standings td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    text-align: center;
    vertical-align: middle;
}

.bp-basketball-league-page .bp-basketball-standings th:nth-child(1),
.bp-basketball-league-page .bp-basketball-standings td:nth-child(1) {
    width: 54px;
}

.bp-basketball-league-page .bp-basketball-standings th:nth-child(2),
.bp-basketball-league-page .bp-basketball-standings td:nth-child(2) {
    width: auto;
    min-width: 220px;
    text-align: left;
}

.bp-basketball-league-page .bp-basketball-standings td a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.bp-basketball-league-page .bp-basketball-standings td a img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.bp-basketball-league-page .bp-basketball-two-column {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-basketball-league-page .bp-basketball-game-list {
    min-width: 0;
}

/* 농구 리그 팀 순위 */

.bp-basketball-panel {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: rgba(20, 25, 36, 0.92);
}

.bp-basketball-panel > h2 {
    margin: 0 0 18px;
    color: #f8fbff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

.bp-basketball-standing-group {
    width: 100%;
}

.bp-basketball-standing-group + .bp-basketball-standing-group {
    margin-top: 30px;
}

.bp-basketball-standing-group > h3 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 11px 14px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 10px 10px 0;
    background: rgba(56, 189, 248, 0.08);
    color: #eaf6ff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
}

.bp-basketball-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.bp-basketball-standings {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    table-layout: auto;
}

.bp-basketball-standings th,
.bp-basketball-standings td {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    color: #f4f7fb;
    font-size: 1rem;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.bp-basketball-standings th {
    color: #dbe8f7;
    font-size: 1rem;
    font-weight: 800;
}

.bp-basketball-standings th:nth-child(1),
.bp-basketball-standings td:nth-child(1) {
    width: 58px;
}

.bp-basketball-standings th:nth-child(2),
.bp-basketball-standings td:nth-child(2) {
    min-width: 260px;
    text-align: left;
}

.bp-basketball-standings th:nth-child(n + 3),
.bp-basketball-standings td:nth-child(n + 3) {
    width: 76px;
}

.bp-basketball-standings tbody tr {
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.bp-basketball-standings tbody tr:hover {
    background: rgba(56, 189, 248, 0.045);
}

.bp-basketball-standings td:first-child {
    color: #f8fbff;
    font-weight: 800;
}

.bp-basketball-standings td a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #f8fbff;
    font-weight: 700;
    text-decoration: none;
}

.bp-basketball-standings td a:hover {
    color: #38bdf8;
}

.bp-basketball-standings td a img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.bp-basketball-standings td a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-standings td:nth-child(6) {
    color: #f8fbff;
    font-weight: 800;
}

.bp-basketball-standings td:nth-child(9) {
    font-weight: 800;
}

.bp-basketball-empty {
    padding: 34px 20px;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.34);
    color: #93a8c3;
    text-align: center;
}

/* Shared basketball/baseball player UI */
.bp-sport-player-page {
    display: grid;
    gap: 22px;
}

.bp-sport-player-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: linear-gradient(135deg, #111c2c, #0b111b);
}

.bp-sport-player-hero img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255, 255, 255, .06);
}

.bp-sport-player-hero span {
    color: #39b9ff;
    font-size: 1rem;
    font-weight: 800;
}

.bp-sport-player-hero h1 {
    margin: 7px 0 5px;
    color: #fff;
    font-size: 2rem;
}

.bp-sport-player-hero p {
    margin: 0;
    color: #a8b9cf;
    font-size:1rem;
}

.bp-sport-player-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.bp-sport-player-metrics > div {
    padding: 18px 12px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 15px;
    background: rgba(20, 25, 36, .92);
    text-align: center;
}

.bp-sport-player-metrics strong,
.bp-sport-player-metrics span {
    display: block;
}

.bp-sport-player-metrics strong {
    color: #fff;
    font-size: 1.25rem;
}

.bp-sport-player-metrics span {
    margin-top: 6px;
    color: #93b4df;
    font-size: 1rem;
}

.bp-sport-player-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.bp-sport-player-list {
    margin: 0;
}

.bp-sport-player-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 46px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
}

.bp-sport-player-list dt {
    color: #8fb0d8;
    font-size:1rem;
}

.bp-sport-player-list dd {
    margin: 0;
    color: #fff;
    font-weight: 800;
    text-align: right;
    font-size:1.25rem;
}

.bp-sport-roster {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.bp-sport-roster-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 25px;
    border: 1px solid rgba(56, 189, 248, .16);
    border-radius: 13px;
    background: rgba(15, 23, 42, .52);
    color: inherit;
    text-decoration: none;
}

.bp-sport-roster-card > span {
    min-width: 0;
    justify-self: start;
    text-align: left;
}

.bp-sport-roster-card > em {
    justify-self: end;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.bp-sport-roster-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, .06);
}

.bp-sport-roster-card b,
.bp-sport-roster-card small {
    display: block;
}

.bp-sport-roster-card small,
.bp-sport-roster-card em {
    margin-top: 4px;
    color: #8fb0d8;
    font-style: normal;
}

.bp-sport-roster-card em {
    color: #39b9ff;
    white-space: nowrap;
    font-size:1rem;
}

.bp-sport-roster-card b{font-size:1rem;}
.bp-sport-roster-card small{font-size:.85rem;}

.bp-basketball-player-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bp-basketball-player-bottom-grid > .bp-basketball-panel {
    height: 100%;
    margin-top: 0;
}

.bp-basketball-player-team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 15px;
    background: rgba(15, 23, 42, .52);
    color: inherit;
    text-decoration: none;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.bp-basketball-player-team-card:hover {
    border-color: rgba(56, 189, 248, .45);
    background: rgba(18, 32, 52, .82);
    transform: translateY(-1px);
}

.bp-basketball-player-team-logo {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
}

.bp-basketball-player-team-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.bp-basketball-player-team-placeholder {
    color: #8fb0d8;
    font-size: 11px;
    font-weight: 800;
}

.bp-basketball-player-team-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.bp-basketball-player-team-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-player-team-copy small {
    color: #39b9ff;
    font-size: 12px;
    font-weight: 700;
}

/* Basketball player page recovery */
.bp-basketball-player-page {
    display: grid;
    gap: 22px;
}

.bp-basketball-player-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 170px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at top left,
            rgba(56, 189, 248, .12),
            transparent 34%
        ),
        rgba(20, 25, 36, .94);
}

.bp-basketball-player-photo,
.bp-basketball-player-image {
    display: grid;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}

.bp-basketball-player-photo img,
.bp-basketball-player-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bp-basketball-player-photo.is-player img,
.bp-basketball-player-image.is-player img {
    object-fit: cover;
}

.bp-basketball-player-hero-copy {
    min-width: 0;
}

.bp-basketball-player-hero-copy small,
.bp-basketball-player-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #39b9ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.bp-basketball-player-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.bp-basketball-player-hero-copy p {
    margin: 9px 0 0;
    color: #b8c7db;
    font-size: 14px;
    font-weight: 600;
}

/* 상단 주요 지표 */
.bp-basketball-player-metrics,
.bp-basketball-player-stat-grid,
.bp-basketball-metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.bp-basketball-player-metrics > div,
.bp-basketball-player-stat-grid > div,
.bp-basketball-metric-grid > div {
    display: grid;
    min-height: 78px;
    padding: 14px 10px;
    place-content: center;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 15px;
    background: rgba(20, 25, 36, .94);
    text-align: center;
}

.bp-basketball-player-metrics strong,
.bp-basketball-player-stat-grid strong,
.bp-basketball-metric-grid strong {
    display: block;
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
}

.bp-basketball-player-metrics span,
.bp-basketball-player-stat-grid span,
.bp-basketball-metric-grid span {
    display: block;
    margin-top: 6px;
    color: #83baf0;
    font-size: 12px;
    font-weight: 700;
}

/* 공통 패널 */
.bp-basketball-panel {
    min-width: 0;
    margin-top: 0;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(20, 25, 36, .94);
}

.bp-basketball-panel h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.2;
}

/* 시즌 기록 / 경기 지표 */
.bp-basketball-player-detail-grid,
.bp-basketball-player-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bp-basketball-player-detail-grid > .bp-basketball-panel,
.bp-basketball-player-info-grid > .bp-basketball-panel {
    height: 100%;
}

/* 모든 정보 행 */
.bp-basketball-info-list {
    display: grid;
    gap: 0;
}

.bp-basketball-info-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 47px;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
}

.bp-basketball-info-list > div:first-child {
    border-top: 1px solid rgba(148, 163, 184, .13);
}

.bp-basketball-info-list span {
    color: #83aee0;
    font-size: 13px;
    font-weight: 600;
}

.bp-basketball-info-list strong {
    margin-left: auto;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

/* 슈팅 지표 + 소속팀 */
.bp-basketball-player-bottom-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.bp-basketball-player-bottom-grid > .bp-basketball-panel {
    width: auto;
    min-width: 0;
    height: 100%;
}

/* 소속팀 카드 */
.bp-basketball-player-team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 100px;
    padding: 16px;
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 15px;
    background: rgba(15, 23, 42, .55);
    color: inherit;
    text-decoration: none;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.bp-basketball-player-team-card:hover {
    border-color: rgba(56, 189, 248, .5);
    background: rgba(20, 37, 59, .82);
    transform: translateY(-1px);
}

.bp-basketball-player-team-logo {
    display: grid;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    place-items: center;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255, 255, 255, .05);
}

.bp-basketball-player-team-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.bp-basketball-player-team-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.bp-basketball-player-team-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 1.15rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-player-team-copy small {
    color: #39b9ff;
    font-size: 1rem;
    font-weight: 800;
}

.bp-basketball-empty {
    display: grid;
    min-height: 100px;
    padding: 24px;
    place-items: center;
    border: 1px dashed rgba(148, 163, 184, .2);
    border-radius: 14px;
    color: #8fa9ca;
    text-align: center;
}

/* =========================================================
   Basketball league page — player leaders
   ========================================================= */
.bp-basketball-league-page .bp-basketball-player-leader-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.bp-basketball-league-page .bp-basketball-player-leader-card {
    min-width: 0;
}

.bp-basketball-player-leader-list {
    display: grid;
    gap: 9px;
}

.bp-basketball-player-leader-row {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 58px;
    padding: 9px 12px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 13px;
    background: rgba(15, 23, 42, .52);
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.bp-basketball-player-leader-row:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, .34);
    background: rgba(20, 32, 56, .76);
}

.bp-basketball-player-leader-rank {
    color: #38bdf8;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
}

.bp-basketball-player-leader-photo {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 50%;
    background: #0b1220;
    color: #7dd3fc;
    font-size: 15px;
    font-weight: 900;
}

.bp-basketball-player-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-basketball-player-leader-photo img.is-team-logo {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.bp-basketball-player-leader-copy {
    display: block;
    min-width: 0;
}

.bp-basketball-player-leader-copy strong,
.bp-basketball-player-leader-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-player-leader-copy strong {
    color: #f8fafc;
    font-size: 1rem;
    line-height: 1.3;
}

.bp-basketball-player-leader-copy small {
    margin-top: 3px;
    color: #8fa9c8;
    font-size: .85rem;
}

.bp-basketball-player-leader-row > b {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #38bdf8;
    font-size: 1rem;
    white-space: nowrap;
}

.bp-basketball-player-leader-row > b em {
    font-size: 1rem;
    font-style: normal;
}

.bp-basketball-team-page .bp-basketball-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.bp-basketball-team-page .bp-basketball-game-list {
    min-width: 0;
}

.bp-basketball-team-page .bp-basketball-game-list > h2 {
    margin: 0 0 18px;
}

/* 경기 카드 목록 */
.bp-basketball-game-list .bp-basketball-game-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 13px 12px;
    border: 1px solid rgba(56, 189, 248, .14);
    border-radius: 12px;
    background: rgba(15, 23, 42, .46);
    color: inherit;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

.bp-basketball-game-list .bp-basketball-game-row + .bp-basketball-game-row {
    margin-top: 10px;
}

.bp-basketball-game-list .bp-basketball-game-row:hover {
    border-color: rgba(56, 189, 248, .35);
    background: rgba(15, 23, 42, .72);
    transform: translateY(-1px);
}

/* 날짜와 리그 */
.bp-basketball-game-row-meta {
    min-width: 0;
}

.bp-basketball-game-row-meta time,
.bp-basketball-game-row-meta small {
    display: block;
    min-width: 0;
    margin: 0;
    line-height: 1.3;
}

.bp-basketball-game-row-meta time {
    color: #f8fbff;
    font-size: 1rem;
    font-weight: 800;
}

.bp-basketball-game-row-meta small {
    margin-top: 4px;
    overflow: hidden;
    color: #38bdf8;
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 홈팀 · 점수 · 원정팀 */
.bp-basketball-game-row-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bp-basketball-game-row-teams > span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bp-basketball-game-row-teams > span:last-child {
    grid-template-columns: auto minmax(0, 1fr);
}

.bp-basketball-game-row-teams b {
    min-width: 0;
    overflow: hidden;
    color: #f8fbff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-basketball-game-row-teams > span:first-child b {
    text-align: right;
}

.bp-basketball-game-row-teams > span:last-child b {
    text-align: left;
}

.bp-basketball-game-row-teams strong {
    color: #38bdf8;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.bp-basketball-game-row-teams > i {
    color: #8fa4c2;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

/* 경기 상태 */
.bp-basketball-game-row > em {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    margin: 0;
    color: #55bfff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* 빈 목록 */
.bp-basketball-game-list .bp-basketball-empty {
    display: grid;
    min-height: 80px;
    padding: 20px 12px;
    place-items: center;
    border: 1px dashed rgba(148, 163, 184, .24);
    border-radius: 12px;
    color: #8fa4c2;
    text-align: center;
}

/* Basketball shared SEO summary */

.bp-basketball-seo-summary {
    margin: 18px 0 20px;
    padding: 24px 26px;
    border: 1px solid rgba(111, 142, 184, 0.18);
    border-radius: 16px;
    background: rgba(14, 24, 39, 0.88);
}

.bp-basketball-seo-summary h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.45;
}

.bp-basketball-seo-summary p {
    margin: 0;
    color: #aebed2;
    font-size: 1rem;
    word-break: keep-all;
}

.bp-basketball-seo-summary p + p {
    margin-top: 9px;
}

@media (max-width: 768px) {
    .bp-basketball-seo-summary {
        margin: 14px 0 16px;
        padding: 19px 17px;
        border-radius: 14px;
    }

    .bp-basketball-seo-summary h2 {
        font-size: 1rem;
    }

    .bp-basketball-seo-summary p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

