/**
 * BESTPICK football pages mobile styles
 *
 * 축구 리그 목록, 리그 상세, 경기 상세, 팀, 선수 페이지의
 * 768px 이하 전용 반응형 오버라이드입니다.
 *
 * 반드시 football.css 다음에 불러옵니다.
 */

@media (max-width: 768px) {
    /* 공통 본문 여백 */
    .bp-main {
        min-width: 0;
    }

    .bp-football{padding:0;}

    /* -----------------------------------------------------
     * 축구 리그 목록 / 공통 히어로
     * ----------------------------------------------------- */
    .bp-league-hero {
        margin-bottom: 16px;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .bp-league-hero .bp-eyebrow,
    .bp-league-hero > p:first-child {
        margin-bottom: 6px;
        font-size: 0.85rem;
        line-height: 1.2;
        letter-spacing: 0.07em;
    }

    .bp-league-hero h1 {
        margin: 6px 0 8px;
        font-size: 1.5rem;
        line-height: 1.25;
        letter-spacing: -0.05em;
    }

    .bp-league-hero > p:last-child,
    .bp-league-hero span {
        margin-top: 0;
        margin-bottom: 0;
        color: #93a4bb;
        font-size: 0.85rem;
        line-height: 1.6;
        word-break: keep-all;
    }

    .bp-detail-card.wide {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .bp-detail-card.wide > h2 {
        margin-bottom: 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-league-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .bp-league-card {
        min-width: 0;
        padding: 14px 12px;
        border-radius: 14px;
    }

    .bp-league-card strong {
        min-width: 0;
        margin-bottom: 5px;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-league-card span {
        display: block;
        min-width: 0;
        overflow: hidden;
        font-size: 0.75rem;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* -----------------------------------------------------
     * 경기 상세
     * ----------------------------------------------------- */
    .bp-match-detail-hero {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .bp-detail-league {
        flex-wrap: wrap;
        gap: 7px;
        margin-bottom: 20px;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .bp-detail-league em {
        padding: 4px 7px;
        font-size: 0.7rem;
    }

    .bp-detail-scoreboard {
        grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
        gap: 8px;
    }

    .bp-detail-logo {
        width: 58px;
        height: 58px;
        margin-bottom: 9px;
        border-radius: 16px;
    }

    .bp-detail-logo img {
        max-width: 46px;
        max-height: 46px;
    }

    .bp-detail-team h1,
.bp-detail-team .bp-detail-team-name {
        margin-bottom: 4px;
        overflow: hidden;
        font-size: 0.82rem;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-detail-team span {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .bp-detail-score strong {
        font-size: 1.25rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .bp-detail-score span {
        display: block;
        margin-top: 4px;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .bp-ai-text,
    .bp-match-ai {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    /* -----------------------------------------------------
     * 순위표
     * ----------------------------------------------------- */
    .bp-standing-table {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .bp-standing-table .head,
    .bp-standing-row {
        min-width: 650px;
        grid-template-columns: 44px minmax(150px, 1fr) repeat(5, 52px) 62px;
        gap: 6px;
    }

    .bp-standing-table .head {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .bp-standing-row {
        padding: 11px 12px;
        font-size: 0.85rem;
    }

    .bp-standing-row strong {
        gap: 7px;
        min-width: 0;
    }

    .bp-standing-row strong img {
        width: 23px;
        height: 23px;
        flex: 0 0 23px;
    }

    .bp-standing-row em {
        font-size: 0.76rem;
    }

    /* -----------------------------------------------------
     * 팀 링크 / 팀 상세
     * ----------------------------------------------------- */
    .bp-team-mini-link {
        gap: 10px;
        padding: 13px;
        border-radius: 14px;
    }

    .bp-team-mini-link img {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .bp-team-mini-link strong {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .bp-team-mini-link span {
        margin-top: 3px;
        font-size: 0.72rem;
    }

    .bp-team-hero-main {
        align-items: flex-start;
        gap: 16px;
    }

    .bp-team-logo-large {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
        border-radius: 15px;
    }

    .bp-team-hero-main h1 {
        margin: 6px 0;
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .bp-team-hero-main p:last-child {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .bp-team-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 20px;
    }

    .bp-team-summary-grid div {
        padding: 13px 10px;
        border-radius: 13px;
    }

    .bp-team-summary-grid strong {
        margin-bottom: 4px;
        font-size: 1rem;
    }

    .bp-team-summary-grid span {
        font-size: 0.72rem;
    }

    /* -----------------------------------------------------
     * 예측 / 최근 폼 / 맞대결
     * ----------------------------------------------------- */
    .bp-prediction-card {
        margin: 20px 0;
        padding: 18px 14px;
        border-radius: 17px;
    }

    .bp-prediction-grid,
    .bp-form-compare {
        gap: 14px;
    }

    .bp-prediction-item {
        gap: 8px;
    }

    .bp-prediction-item span {
        font-size: 0.82rem;
    }

    .bp-prediction-item strong {
        font-size: 0.9rem;
    }

    .bp-prediction-track {
        height: 9px;
    }

    .bp-form-team {
        padding: 14px;
        border-radius: 14px;
    }

    .bp-form-team h3 {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .bp-form-badges {
        gap: 6px;
        margin-bottom: 11px;
    }

    .bp-form-badge {
        width: 29px;
        height: 29px;
        font-size: 0.72rem;
    }

    .bp-form-none {
        font-size: 0.78rem;
    }

    .bp-form-stats {
        gap: 7px;
    }

    .bp-form-stats div {
        padding: 10px;
    }

    .bp-form-stats span {
        font-size: 0.72rem;
    }

    .bp-form-stats strong {
        font-size: 0.9rem;
    }

    .bp-h2h-score {
        margin: 11px 0;
        padding: 11px;
        font-size: 0.8rem;
    }

    .bp-h2h-list {
        gap: 8px;
    }

    .bp-h2h-list div {
        padding: 10px;
    }

    .bp-h2h-list span {
        font-size: 0.7rem;
    }

    .bp-h2h-list strong {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .bp-ai-pick-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .bp-ai-pick-grid div {
        padding: 14px;
        border-radius: 13px;
    }

    .bp-ai-pick-grid span {
        margin-bottom: 5px;
        font-size: 0.74rem;
    }

    .bp-ai-pick-grid strong {
        font-size: 0.88rem;
    }

    .bp-ai-pick-comment {
        margin-top: 12px;
        padding: 14px;
        font-size: 0.8rem;
        line-height: 1.65;
    }

    /* -----------------------------------------------------
     * 배당
     * ----------------------------------------------------- */
    .bp-detail-odds-card {
        margin-bottom: 18px;
        padding: 16px 12px;
        border-radius: 16px;
    }

    .bp-detail-odds-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .bp-detail-odds-group {
        padding: 13px;
        border-radius: 12px;
    }

    .bp-detail-odds-label {
        margin-bottom: 9px;
        font-size: 0.78rem;
    }

    .bp-detail-odds-items,
    .bp-detail-odds-group:last-child .bp-detail-odds-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bp-detail-odds-items > div {
        min-height: 40px;
        padding: 8px 9px;
    }

    .bp-detail-odds-items span,
    .bp-detail-odds-items strong {
        display: inline-flex;
        align-items: center;
        margin: 0;
        font-size: 0.74rem;
        line-height: 1;
    }

    .bp-detail-odds-empty {
        padding: 22px 12px;
        font-size: 0.78rem;
    }

    /* -----------------------------------------------------
     * 기타
     * ----------------------------------------------------- */
    .bp-subtitle {
        margin: 18px 0 8px;
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .bp-player-data-notice {
        margin-bottom: 18px;
        padding: 11px 12px;
        font-size: 0.72rem;
        line-height: 1.55;
    }

    /* -----------------------------------------------------
     * league.php 리그 상세 전용
     * ----------------------------------------------------- */

    /* 순위 카드 */
    .bp-detail-card {
        min-width: 0;
        padding: 18px 14px;
        border-radius: 18px;
    }

    .bp-detail-card > h2 {
        margin: 0 0 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    /* 중간 광고 */
    .bp-inline-ad-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 14px 0;
    }

    .bp-inline-ad-grid .bp-common-ad {
        min-width: 0;
    }

    /* 득점/도움 TOP */
    .bp-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bp-player-rank-list {
        display: grid;
        gap: 7px;
    }

    .bp-player-rank-row {
        display: grid;
        grid-template-columns: 26px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        min-width: 0;
        padding: 10px 8px;
        border-radius: 12px;
    }

    .bp-player-rank-row > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin: 0;
        font-size: 0.85rem;
        line-height: 1;
    }

    .bp-player-rank-profile {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .bp-player-rank-profile > img {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        object-fit: cover;
    }

    .bp-player-rank-profile > div {
        min-width: 0;
    }

    .bp-player-rank-profile strong,
    .bp-player-rank-profile em {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-player-rank-profile strong {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .bp-player-rank-profile em {
        margin-top: 3px;
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .bp-player-rank-row > b {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 42px;
        font-size: 0.85rem;
        line-height: 1;
        white-space: nowrap;
    }

    /* 최근/예정 경기 */
    .bp-match-list {
        display: grid;
        gap: 8px;
    }

    .bp-match-list .bp-match-row {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            56px
            minmax(0, 1fr);
        grid-template-areas:
            "time time time"
            "home score away"
            "info info info";
        row-gap: 8px;
        column-gap: 7px;
        min-width: 0;
        padding: 12px 9px;
    }

    .bp-match-list .bp-match-time {
        grid-area: time;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 7px;
        min-width: 0;
    }

    .bp-match-list .bp-match-time > span {
        font-size: 0.85rem;
        line-height: 1;
    }

    .bp-match-list .bp-match-time > em {
        display: inline-flex;
        align-items: center;
        min-height: 21px;
        margin: 0;
        padding: 3px 7px;
        font-size: 0.75rem;
        line-height: 1;
    }

    .bp-match-list .bp-match-team {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        gap: 2px 5px;
        min-width: 0;
        text-align: left;
    }

    .bp-match-list .bp-match-team.home {
        grid-area: home;
    }

    .bp-match-list .bp-match-team.away {
        grid-area: away;
    }

    .bp-match-list .bp-team-logo {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .bp-match-list .bp-team-logo img {
        width: 27px;
        height: 27px;
        object-fit: contain;
    }

    .bp-match-list .bp-match-team strong {
        grid-column: 2;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-match-list .bp-match-team small {
        grid-column: 2;
        margin: 0;
        font-size: 0.75rem;
        line-height: 1.15;
    }

    .bp-match-list .bp-match-score {
        grid-area: score;
        align-self: center;
        min-width: 0;
        padding: 0;
        text-align: center;
        margin-left:0;
    }

    .bp-match-list .bp-match-score strong {
        font-size: 1rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .bp-match-list .bp-match-score span {
        display: block;
        margin-top: 3px;
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .bp-match-list .bp-match-ai {
        grid-area: info;
        margin: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        font-size: 0.75rem;
        line-height: 1.4;
        text-align: left;
    }

    .bp-empty.small {
        padding: 22px 12px;
        font-size: 0.8rem;
        text-align: center;
    }

    /* -----------------------------------------------------
     * team.php 팀 상세 전용
     * ----------------------------------------------------- */

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

    /* 팀 상단 프로필 */
    .bp-team-page .bp-team-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px 14px;
        border-radius: 19px;
    }

    .bp-team-page .bp-team-profile {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
    }

    .bp-team-page .bp-big-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        overflow: hidden;
        border-radius: 17px;
    }

    .bp-team-page .bp-big-logo img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .bp-team-page .bp-team-profile > div:last-child {
        min-width: 0;
    }

    .bp-team-page .bp-team-profile span {
        display: block;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-team-page .bp-team-profile h1 {
        margin: 5px 0;
        min-width: 0;
        overflow: hidden;
        font-size: 1.5rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-team-page .bp-team-profile p {
        margin: 0;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.4;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-team-page .bp-team-summary {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .bp-team-page .bp-team-summary > div {
        min-width: 0;
        padding: 11px 5px;
        border-radius: 12px;
        text-align: center;
    }

    .bp-team-page .bp-team-summary strong,
    .bp-team-page .bp-team-summary span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        margin: 0;
        line-height: 1.15;
    }

    .bp-team-page .bp-team-summary strong {
        min-height: 1.2em;
        font-size: 1rem;
        white-space: nowrap;
    }

    .bp-team-page .bp-team-summary span {
        min-height: 1.2em;
        margin-top: 5px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* 탭 메뉴 */
    .bp-team-page .bp-match-tabs {
        display: flex;
        gap: 6px;
        margin: 14px -2px;
        padding: 0 2px 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bp-team-page .bp-match-tabs::-webkit-scrollbar {
        display: none;
    }

    .bp-team-page .bp-match-tabs button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 72px;
        min-height: 42px;
        height: 42px;
        margin: 0;
        padding: 0 10px;
        box-sizing: border-box;
        font-size: 0.85rem;
        line-height: 1;
        white-space: nowrap;
    }

    /* 탭 패널 */
    .bp-team-page .bp-tab-panel {
        min-width: 0;
    }

    .bp-team-page .bp-panel-v2 {
        min-width: 0;
        padding: 17px 13px;
        border-radius: 17px;
    }

    .bp-team-page .bp-panel-v2 > h3 {
        margin: 0 0 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-team-page .bp-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    /* 팀 정보 */
    .bp-team-page .bp-info-list {
        display: grid;
        gap: 0;
    }

    .bp-team-page .bp-info-list > div {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        min-width: 0;
        padding: 11px;
    }

    .bp-team-page .bp-info-list span {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .bp-team-page .bp-info-list strong {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 0.85rem;
        line-height: 1.45;
        text-align: right;
    }

    /* 주요 선수 및 선수단 */
    .bp-team-page .bp-player-rank-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px 7px;
    }

    .bp-team-page .bp-player-rank-row > span {
        width: auto;
        min-width: 36px;
        max-width: 42px;
        height: 26px;
        padding: 0 5px;
        overflow: hidden;
        font-size: 0.50rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-team-page .bp-player-rank-profile {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .bp-team-page .bp-player-rank-row > b {
        max-width: 92px;
        overflow: hidden;
        font-size: 0.85rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 경기 목록 */
    .bp-team-page .bp-subtitle {
        margin: 18px 0 9px;
        font-size: 0.85rem;
    }

    .bp-team-page .bp-simple-list {
        display: grid;
        gap: 8px;
    }

    .bp-team-page .bp-simple-list a {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        min-width: 0;
        padding: 11px 10px;
        border-radius: 12px;
    }

    .bp-team-page .bp-simple-list span {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .bp-team-page .bp-simple-list strong {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 0.85rem;
        line-height: 1.45;
    }

    /* 시즌 통계 */
    .bp-team-page .bp-h2h-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .bp-team-page .bp-h2h-summary > div {
        min-width: 0;
        padding: 13px 6px;
        border-radius: 12px;
        text-align: center;
    }

    .bp-team-page .bp-h2h-summary strong,
    .bp-team-page .bp-h2h-summary span {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        line-height: 1.15;
    }

    .bp-team-page .bp-h2h-summary strong {
        font-size: 1rem;
    }

    .bp-team-page .bp-h2h-summary span {
        margin-top: 5px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* AI 분석 */
    .bp-team-page .bp-ai-panel-v2 p {
        margin: 0;
        font-size: 0.85rem;
        line-height: 1.7;
        word-break: keep-all;
    }

    /* -----------------------------------------------------
     * player.php 선수 상세 전용
     * ----------------------------------------------------- */

    .bp-player-page {
        min-width: 0;
    }

    /* 선수 상단 프로필 */
    .bp-player-page .bp-team-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px 14px;
        border-radius: 19px;
    }

    .bp-player-page .bp-team-hero-main {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
    }

    .bp-player-page .bp-team-logo-large {
        flex: 0 0 84px;
        width: 84px;
        height: 84px;
        overflow: hidden;
        border-radius: 17px;
    }

    .bp-player-page .bp-team-logo-large img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bp-player-page .bp-team-hero-main > div:last-child {
        min-width: 0;
    }

    .bp-player-page .bp-eyebrow {
        margin: 0 0 5px;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-player-page .bp-team-hero-main h1 {
        margin: 5px 0;
        min-width: 0;
        overflow: hidden;
        font-size: 1.5rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-player-page .bp-team-hero-main p:last-child {
        margin: 0;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 출전·득점·도움·평점 */
    .bp-player-page .bp-team-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin-top: 0;
        max-width: none;
    }

    .bp-player-page .bp-team-summary-grid > div {
        min-width: 0;
        padding: 11px 5px;
        border-radius: 12px;
    }

    .bp-player-page .bp-team-summary-grid strong,
    .bp-player-page .bp-team-summary-grid span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        margin: 0;
        line-height: 1.15;
    }

    .bp-player-page .bp-team-summary-grid strong {
        min-height: 1.2em;
        font-size: 1rem;
        white-space: nowrap;
    }

    .bp-player-page .bp-team-summary-grid span {
        min-height: 1.2em;
        margin-top: 5px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* 대체 데이터 안내 */
    .bp-player-page .bp-player-data-notice {
        margin: 14px 0 18px;
        padding: 11px 12px;
        border-radius: 12px;
        font-size: 0.75rem;
        line-height: 1.55;
        word-break: keep-all;
    }

    /* 기록 카드 */
    .bp-player-page .bp-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bp-player-page .bp-detail-card {
        min-width: 0;
        padding: 17px 13px;
        border-radius: 17px;
    }

    .bp-player-page .bp-detail-card > h2 {
        margin: 0 0 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-player-page .bp-info-list {
        display: grid;
        gap: 0;
    }

    .bp-player-page .bp-info-list > div {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        min-width: 0;
        padding: 11px;
    }

    .bp-player-page .bp-info-list span,
    .bp-player-page .bp-info-list strong {
        margin: 0;
        line-height: 1.45;
    }

    .bp-player-page .bp-info-list span {
        font-size: 0.85rem;
    }

    .bp-player-page .bp-info-list strong {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 0.85rem;
        text-align: right;
    }

    /* 소속팀 링크 */
    .bp-player-page .bp-team-mini-link {
        gap: 11px;
        padding: 12px;
        border-radius: 14px;
    }

    .bp-player-page .bp-team-mini-link img {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        object-fit: contain;
    }
    .bp-detail-card h2 small{font-size:.85rem;}
    .bp-info-list span{font-size:.85rem;}
    .bp-info-list strong{font-size:.85rem;}

    .bp-player-page .bp-team-mini-link > div {
        min-width: 0;
    }

    .bp-player-page .bp-team-mini-link strong,
    .bp-player-page .bp-team-mini-link span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-player-page .bp-team-mini-link strong {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .bp-player-page .bp-team-mini-link span {
        margin-top: 4px;
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .bp-player-page .bp-empty.small {
        padding: 22px 12px;
        font-size: 0.8rem;
        text-align: center;
    }

    /* -----------------------------------------------------
     * match.php 경기 상세 전용
     * ----------------------------------------------------- */

    .bp-match-detail-page {
        min-width: 0;
    }

    /* 경기 상단 */
    .bp-match-detail-page .bp-match-detail-hero {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .bp-match-detail-page .bp-detail-league {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
        margin-bottom: 18px;
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .bp-match-detail-page .bp-detail-league em {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        margin: 0;
        padding: 4px 8px;
        font-size: 0.75rem;
        line-height: 1;
    }

    .bp-match-detail-page .bp-detail-scoreboard {
        grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
        gap: 8px;
    }

    .bp-match-detail-page .bp-detail-team {
        min-width: 0;
    }

    .bp-match-detail-page .bp-detail-logo {
        width: 58px;
        height: 58px;
        margin-bottom: 9px;
        border-radius: 16px;
    }

    .bp-match-detail-page .bp-detail-logo img {
        max-width: 46px;
        max-height: 46px;
        object-fit: contain;
    }

    .bp-h2h-summary strong{font-size:1rem;}
    .bp-h2h-summary span{font-size:.85rem;}

    .bp-match-detail-page .bp-detail-team h1,
.bp-detail-team .bp-detail-team-name {
        margin: 0 0 4px;
        min-width: 0;
        overflow: hidden;
        font-size: 0.85rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-match-detail-page .bp-detail-team h1 a,
.bp-detail-team .bp-detail-team-name a {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-match-detail-page .bp-detail-team > span {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .bp-match-detail-page .bp-detail-score {
        min-width: 0;
        padding: 0;
        text-align: center;
    }

    .bp-match-detail-page .bp-detail-score strong {
        font-size: 1rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .bp-match-detail-page .bp-detail-score span {
        display: block;
        margin-top: 5px;
        font-size: 0.6rem;
        line-height: 1.3;
        white-space: nowrap;
    }

    /* 공통 섹션 제목 */
    .bp-match-detail-page .bp-section-head {
        display: block;
        margin-bottom: 14px;
    }

    .bp-match-detail-page .bp-section-head h2 {
        margin: 0 0 6px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-match-detail-page .bp-section-head p {
        margin: 0;
        font-size: 0.75rem;
        line-height: 1.55;
        word-break: keep-all;
    }

    /* 승무패 예상 확률 */
    .bp-match-detail-page .bp-prediction-card {
        margin: 18px 0;
        padding: 17px 13px;
        border-radius: 17px;
    }

    .bp-match-detail-page .bp-prediction-grid {
        gap: 13px;
    }

    .bp-match-detail-page .bp-prediction-item {
        gap: 8px;
    }

    .bp-match-detail-page .bp-prediction-item > div:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .bp-match-detail-page .bp-prediction-item span,
    .bp-match-detail-page .bp-prediction-item strong {
        display: inline-flex;
        align-items: center;
        margin: 0;
        line-height: 1;
    }

    .bp-match-detail-page .bp-prediction-item span {
        font-size: 0.85rem;
    }

    .bp-match-detail-page .bp-prediction-item strong {
        font-size: 0.85rem;
    }

    .bp-match-detail-page .bp-prediction-track {
        height: 9px;
    }

    /* 배당 */
    .bp-match-detail-page .bp-detail-odds-card {
        margin-bottom: 18px;
        padding: 16px 12px;
        border-radius: 16px;
    }

    .bp-match-detail-page .bp-detail-odds-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .bp-match-detail-page .bp-detail-odds-group {
        padding: 13px;
        border-radius: 12px;
    }

    .bp-match-detail-page .bp-detail-odds-label {
        margin-bottom: 9px;
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .bp-match-detail-page .bp-detail-odds-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .bp-match-detail-page .bp-detail-odds-group:last-child .bp-detail-odds-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-match-detail-page .bp-detail-odds-items > div {
        min-height: 42px;
        padding: 8px 7px;
        gap: 5px;
    }

    .bp-match-detail-page .bp-detail-odds-items span,
    .bp-match-detail-page .bp-detail-odds-items strong {
        display: inline-flex;
        align-items: center;
        height: 1em;
        margin: 0;
        font-size: 0.65rem;
        line-height: 1;
    }

    .bp-match-detail-page .bp-detail-odds-empty {
        padding: 22px 12px;
        font-size: 0.78rem;
    }

    /* 광고 */
    .bp-match-detail-page .bp-inline-ad-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 14px 0;
    }

    /* 상세 카드 */
    .bp-match-detail-page .bp-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bp-match-detail-page .bp-detail-card {
        min-width: 0;
        padding: 17px 13px;
        border-radius: 17px;
    }

    .bp-match-detail-page .bp-detail-card > h2,
    .bp-match-detail-page .bp-detail-card > h3 {
        margin: 0 0 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    /* 최근 폼 */
    .bp-match-detail-page .bp-form-compare {
        gap: 12px;
    }

    .bp-match-detail-page .bp-form-team {
        padding: 14px;
        border-radius: 14px;
    }

    .bp-match-detail-page .bp-form-team h3 {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .bp-match-detail-page .bp-form-badges {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 11px;
    }

    .bp-match-detail-page .bp-form-badge {
        width: 29px;
        height: 29px;
        font-size: 0.85rem;
    }

    .bp-match-detail-page .bp-form-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bp-match-detail-page .bp-form-stats div {
        min-width: 0;
        padding: 10px;
    }

    .bp-match-detail-page .bp-form-stats span {
        font-size: 0.85rem;
    }

    .bp-match-detail-page .bp-form-stats strong {
        font-size: 1rem;
    }

    /* 상대 전적 */
    .bp-match-detail-page .bp-h2h-score {
        margin: 11px 0;
        padding: 11px;
        font-size: .85rem;
        line-height: 1.45;
    }

    .bp-match-detail-page .bp-h2h-list {
        gap: 8px;
    }

    .bp-match-detail-page .bp-h2h-list div {
        padding: 10px;
    }

    .bp-match-detail-page .bp-h2h-list span {
        font-size: 0.75rem;
    }

    .bp-match-detail-page .bp-h2h-list strong {
        font-size: 0.85rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    /* AI 픽 */
    .bp-match-detail-page .bp-ai-pick-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .bp-match-detail-page .bp-ai-pick-grid div {
        padding: 14px;
        border-radius: 13px;
    }

    .bp-match-detail-page .bp-ai-pick-grid span {
        margin-bottom: 5px;
        font-size: 0.75rem;
    }

    .bp-match-detail-page .bp-ai-pick-grid strong {
        font-size: 0.85rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .bp-match-detail-page .bp-ai-pick-comment {
        margin-top: 12px;
        padding: 14px;
        font-size: 0.75rem;
        line-height: 1.65;
        word-break: keep-all;
    }

    .bp-match-detail-page .bp-ai-text,
    .bp-match-detail-page .bp-match-ai {
        font-size: 0.85rem;
        line-height: 1.65;
        word-break: keep-all;
    }

}
