/**
 * BESTPICK home page
 *
 * index.php에서만 불러오는 메인 페이지 전용 스타일입니다.
 * 공통 레이아웃과 재사용 컴포넌트는 단계적 분리를 위해 style.css에 유지합니다.
 */

.bp-hero-dashboard {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: end;
    padding: 0 0 36px;
}.bp-hero-dashboard h1 {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1.03;
    letter-spacing: -0.075em;
}.bp-hero-dashboard p {
    margin: 22px 0 0;
    max-width: 650px;
    color: #93a4bb;
    font-size: 1rem;
    line-height: 1.5;
}.bp-sport-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
}.bp-sport-tabs a {
    flex: 0 0 auto;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 800;
}.bp-sport-tabs a.active,
.bp-sport-tabs a:hover {
    background: #fff;
    color: #070b14;
}.bp-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}.bp-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    height: max-content;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    display: grid;
    gap: 14px;
    align-content: start;
}.bp-side-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.075);
}.bp-side-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.25rem;
}.bp-side-card ul,
.bp-side-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
}.bp-side-card li {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #aab6ca;
    font-size: 1rem;
    font-weight: 700;
}.bp-content {
    min-width: 0;
}.bp-sport-group {
    margin-bottom: 26px;
}.bp-sport-group > h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
}.bp-league-box {
    margin-bottom: 16px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}.bp-league-head {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.045);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}.bp-league-head strong {
    color: #fff;
    font-size: 1.1rem;
}.bp-league-head span {
    color: #8b95a7;
    font-size: 1rem;
    font-weight: 700;
}.bp-date-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}.bp-date-tabs a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}.bp-date-tabs a.active,
.bp-date-tabs a:hover {
    background: rgba(56,189,248,0.14);
    border-color: rgba(56,189,248,0.35);
}.bp-date-tabs strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
}.bp-date-tabs span {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 800;
}.bp-date-tabs em {
    margin-left: auto;
    color: #38bdf8;
    font-size: 1rem;
    font-style: normal;
    font-weight: 950;
}.bp-recommend-section {
    margin-bottom: 18px;
}.bp-recommend-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}.bp-recommend-card {
    display: block;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(56,189,248,0.16), rgba(255,255,255,0.055));
    border: 1px solid rgba(56,189,248,0.24);
    text-decoration: none;
}.bp-recommend-card span {
    display: block;
    color: #93c5fd;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}.bp-recommend-card strong {
    display: block;
    color: #fff;
    font-size: .85rem;
    line-height: 1.4;
    margin-bottom: 10px;
}.bp-recommend-card em {
    display: block;
    color: #cbd5e1;
    font-style: normal;
    font-size: 1rem;
    font-weight: 800;
}.bp-recommend-card b {
    display: block;
    color: #38bdf8;
    font-size: 1.25rem;
    margin-top: 14px;
}.bp-match-odds-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 7px;
    min-width: 235px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}.bp-odds-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}.bp-odds-title {
    width: 37px;
    color: #8290a8;
    font-size: .75rem;
    font-weight: 700;
}.bp-odds-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 27px;
    padding: 4px 7px;
    border: 1px solid rgba(45, 181, 255, 0.2);
    border-radius: 6px;
    background: rgba(45, 181, 255, 0.06);
    color: #8fa3c2;
    font-size: .75rem;
    white-space: nowrap;
}.bp-odds-chip b {
    color: #2db5ff;
    font-size: .75rem;
    font-weight: 800;
}.bp-odds-empty {
    color: #718096;
    font-size: .85rem;
}.bp-recommend-card .bp-recommend-sport-badge{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    margin-bottom:8px;
    padding:4px 8px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:800;
    line-height:1;
}.bp-match-collector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}.bp-match-collector button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.08);
    color: #8edcff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}.bp-match-collector button:hover,
.bp-match-collector button[aria-pressed="true"] {
    border-color: rgba(56, 189, 248, 0.72);
    background: rgba(56, 189, 248, 0.18);
    color: #e8f8ff;
}.bp-match-filter-toggle[hidden] {
    display: none;
}.bp-match-row {
    grid-template-columns: 0 86px 1.1fr 120px 1.1fr 1.5fr;
}
.bp-match-row.bp-collector-active {
    grid-template-columns: 34px 86px 1.1fr 120px 1.1fr 1.5fr;
}
.bp-match-row.bp-selected-match {
    background: rgba(56, 189, 248, 0.09);
    box-shadow: inset 3px 0 0 rgba(56, 189, 248, 0.82);
}
.bp-match-select {
    width: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: width 0.18s ease, opacity 0.18s ease;
}.bp-match-row.bp-collector-active .bp-match-select {
    width: 34px;
    min-width: 34px;
    opacity: 1;
    pointer-events: auto;
}.bp-match-select input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #38bdf8;
    cursor: pointer;
}.bp-match-row[hidden],
.bp-league-box[hidden],
.bp-sport-group[hidden] {
    display: none !important;
}
.bp-score-changed {
    color: #ffd43b !important;
    text-shadow: 0 0 8px rgba(255,212,59,.6);
}

.bp-score-row-highlight{
    background:rgba(255,212,59,.08);
    transition:.3s;
}
/* Global match ordering: live, scheduled, finished. */
.bp-global-status-sections {
    display: grid;
    margin-top: 28px;
}

.bp-global-status-section {
    min-width: 0;
}

.bp-global-status-content {
    display: grid;
}

.bp-status-sport-group {
    min-width: 0;
}

.bp-status-sport-group > h4 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 950;
}

.bp-status-league-list {
    display: grid;
    gap: 16px;
}


/* 상태별 정렬은 유지하되 제목과 별도 배경은 표시하지 않습니다. */
.bp-global-status-section {
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}



.bp-global-status-content {
    display: grid;
    background: transparent !important;
}

@media(max-width:767px){
    .bp-hero-dashboard h1{font-size:1.5rem;}
    .bp-hero-dashboard p{font-size:.85rem;}
}