/**
 * BESTPICK League of Legends mobile styles
 *
 * 적용 페이지:
 * - /lol/index.php
 * - /lol/league.php
 * - /lol/team.php
 * - /lol/match.php
 * - /lol/player.php
 *
 * 반드시 기존 LoL PC CSS 다음에 불러옵니다.
 * 모든 규칙은 768px 이하에서만 적용됩니다.
 */

@media (max-width: 768px) {
    /* =====================================================
     * 공통
     * ===================================================== */
    .bp-lol-page,
    .bp-lol-league-page,
    .bp-lol-team-page,
    .bp-lol-match-page,
    .bp-lol-player-page,
    main[class*="bp-lol"] {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .bp-lol{padding:0;}

    [class*="bp-lol"] *,
    [class*="bp-lol"] *::before,
    [class*="bp-lol"] *::after {
        box-sizing: border-box;
    }

    [class*="bp-lol"] img {
        max-width: 100%;
    }

    [class*="bp-lol"] h1,
    [class*="bp-lol"] h2,
    [class*="bp-lol"] h3,
    [class*="bp-lol"] p {
        overflow-wrap: anywhere;
    }

    .bp-lol-panel {
        min-width: 0;
        margin: 14px 0;
        padding: 17px 13px;
        border-radius: 17px;
    }

    .bp-lol-panel-title,
    .bp-lol-panel > h2,
    .bp-lol-panel > h3 {
        margin: 0 0 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-lol-empty {
        min-width: 0;
        padding: 24px 12px;
        font-size: .75rem;
        line-height: 1.5;
        text-align: center;
    }

    .bp-inline-ad-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        margin: 14px 0 !important;
    }

    /* =====================================================
     * index.php
     * ===================================================== */
    .bp-lol-hero {
        margin-bottom: 14px;
        padding: 22px 16px;
        border-radius: 19px;
    }

    .bp-lol-title {
        margin: 0 0 8px;
        font-size: 1.5rem;
        line-height: 1.25;
        letter-spacing: -.04em;
    }

    .bp-lol-description {
        margin: 0;
        font-size: .85rem;
        line-height: 1.55;
        word-break: keep-all;
    }

    .bp-lol-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        margin: 14px -2px;
        padding: 0 2px 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bp-lol-tabs::-webkit-scrollbar {
        display: none;
    }

    .bp-lol-tab {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 13px;
        font-size: .75rem;
        line-height: 1;
        white-space: nowrap;
    }

    .bp-lol-category {
        margin: 18px 0;
    }

    .bp-lol-category-head {
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .bp-lol-category-title {
        font-size: 1rem;
        line-height: 1.35;
    }

    .bp-lol-category-count {
        font-size: .68rem;
        white-space: nowrap;
    }

    .bp-lol-competition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .bp-lol-competition-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        min-width: 0;
        min-height: 72px;
        padding: 11px 9px;
        border-radius: 14px;
    }

    .bp-lol-competition-logo {
        width: 42px;
        height: 42px;
        padding: 5px;
        border-radius: 11px;
    }

    .bp-lol-competition-card > div,
    .bp-lol-competition-card > span {
        min-width: 0;
    }

    .bp-lol-competition-name,
    .bp-lol-competition-meta {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-competition-name {
        margin-bottom: 4px;
        font-size: .85rem;
        line-height: 1.3;
    }

    .bp-lol-competition-meta {
        font-size: .75rem;
        line-height: 1.25;
    }

    /* =====================================================
     * 공통 표
     * ===================================================== */
    .bp-lol-table-wrap {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .bp-lol-table {
        min-width: 720px;
    }

    .bp-lol-table th,
    .bp-lol-table td {
        padding: 9px 8px;
        font-size: .85rem;
        white-space: nowrap;
    }

    .bp-lol-team-cell,
    .bp-lol-player-cell {
        gap: 7px;
    }

    .bp-lol-mini-logo {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    /* =====================================================
     * 공통 경기 목록
     * ===================================================== */
    .bp-lol-match-list {
        display: grid;
        gap: 8px;
    }

    .bp-lol-match-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "time score"
            "teams teams";
        gap: 8px 10px;
        min-width: 0;
        min-height: 0;
        padding: 11px 10px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 13px !important;
    }

    .bp-lol-match-time {
        grid-area: time;
        min-width: 0;
        gap: 2px;
    }

    .bp-lol-match-time strong,
    .bp-lol-match-time span {
        font-size: .75rem;
        line-height: 1.2;
    }

    .bp-lol-match-time em {
        margin-top: 2px;
        font-size: .75rem;
        line-height: 1.2;
    }

    .bp-lol-match-teams {
        grid-area: teams;
        min-width: 0;
        gap: 6px;
    }

    .bp-lol-match-team {
        gap: 8px;
        min-width: 0;
        font-size: .85rem;
        line-height: 1.25;
    }

    .bp-lol-match-team > span,
    .bp-lol-match-team > b {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-match-team strong {
        flex: 0 0 auto;
        font-size: .85rem;
    }

    .bp-lol-match-score {
        grid-area: score;
        align-self: start;
        font-size: .75rem;
        white-space: nowrap;
    }

    .bp-lol-fixture-head {
        gap: 10px;
        padding: 14px 0 9px;
    }

    .bp-lol-fixture-head strong {
        font-size: .85rem;
    }

    .bp-lol-fixture-head span {
        font-size: .75rem;
        white-space: nowrap;
    }

    /* =====================================================
     * league.php
     * ===================================================== */
    .bp-lol-league-hero,
    .bp-lol-entity-hero {
        display: grid !important;
        grid-template-columns: 68px minmax(0, 1fr) !important;
        align-items: center;
        gap: 13px;
        width: 100%;
        min-width: 0;
        padding: 20px 14px;
        border-radius: 19px;
    }

    .bp-lol-league-hero img,
    .bp-lol-entity-hero > img {
        width: 68px;
        height: 68px;
        object-fit: contain;
        border-radius: 15px;
    }

    .bp-lol-league-hero > div,
    .bp-lol-entity-hero > div {
        min-width: 0;
    }

    .bp-lol-league-hero h1,
    .bp-lol-entity-hero h1 {
        margin: 4px 0 7px;
        overflow: hidden;
        font-size: 1.35rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-league-hero p,
    .bp-lol-league-hero span,
    .bp-lol-entity-hero p,
    .bp-lol-entity-hero span {
        font-size: .75rem;
        line-height: 1.4;
    }

    .bp-lol-scope-tabs,
    .bp-lol-league-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bp-lol-scope-tabs::-webkit-scrollbar,
    .bp-lol-league-tabs::-webkit-scrollbar {
        display: none;
    }

    .bp-lol-scope-tabs a,
    .bp-lol-league-tabs a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 13px;
        font-size: .75rem;
        white-space: nowrap;
    }

    .bp-lol-player-ranking-grid,
    .bp-lol-ranking-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .bp-lol-player-ranking-card,
    .bp-lol-ranking-card {
        min-width: 0;
    }

    .bp-lol-two-column,
    .bp-lol-league-two-column {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100%;
        min-width: 0;
    }

    /* =====================================================
     * team.php
     * ===================================================== */
    .bp-lol-team-hero {
        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) !important;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-width: 0;
        padding: 20px 14px;
        border-radius: 19px;
    }

    .bp-lol-team-logo,
    .bp-lol-team-hero img {
        width: 76px;
        height: 76px;
        object-fit: contain;
        border-radius: 16px;
    }

    .bp-lol-team-hero > div {
        min-width: 0;
    }

    .bp-lol-team-hero h1 {
        margin: 4px 0 6px;
        min-width: 0;
        overflow: hidden;
        font-size: 1.4rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-team-hero p,
    .bp-lol-team-hero span {
        min-width: 0;
        overflow: hidden;
        font-size: .75rem;
        line-height: 1.4;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-metric-grid,
    .bp-lol-team-metrics,
    .bp-lol-summary-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100%;
        min-width: 0;
        margin: 14px 0;
    }

    .bp-lol-metric-grid > div,
    .bp-lol-team-metrics > div,
    .bp-lol-summary-grid > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 78px;
        padding: 10px 5px;
        text-align: center;
    }

    .bp-lol-metric-grid span,
    .bp-lol-team-metrics span,
    .bp-lol-summary-grid span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.4em;
        font-size: .68rem;
        line-height: 1.2;
        word-break: keep-all;
    }

    .bp-lol-metric-grid strong,
    .bp-lol-team-metrics strong,
    .bp-lol-summary-grid strong {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 4px;
        font-size: .9rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .bp-lol-roster-grid,
    .bp-lol-team-roster,
    .bp-lol-player-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .bp-lol-roster-card,
    .bp-lol-player-card {
        min-width: 0;
        padding: 11px 9px;
        border-radius: 13px;
    }

    .bp-lol-roster-card img,
    .bp-lol-player-card img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 11px;
    }

    .bp-lol-roster-card strong,
    .bp-lol-player-card strong {
        min-width: 0;
        overflow: hidden;
        font-size: .78rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-roster-card small,
    .bp-lol-player-card small {
        font-size: .66rem;
    }

    .bp-lol-standing-list,
    .bp-lol-tournament-standing-list {
        min-width: 0;
    }

    /* =====================================================
     * match.php
     * ===================================================== */
    .bp-lol-match-hero {
        min-width: 0;
        margin-bottom: 14px;
        padding: 18px 12px;
        border-radius: 18px;
    }

    .bp-lol-match-meta,
    .bp-lol-match-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 6px 10px;
        min-width: 0;
    }

    .bp-lol-match-meta a,
    .bp-lol-match-meta span,
    .bp-lol-match-meta time {
        min-width: 0;
        font-size: .75rem;
        line-height: 1.3;
    }

    .bp-lol-match-versus,
    .bp-lol-match-scoreboard,
    .bp-lol-versus-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr) !important;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .bp-lol-match-side,
    .bp-lol-versus-team {
        min-width: 0;
        text-align: center;
    }

    .bp-lol-match-side img,
    .bp-lol-versus-team img {
        width: 58px;
        height: 58px;
        object-fit: contain;
        border-radius: 14px;
    }

    .bp-lol-match-side strong,
    .bp-lol-versus-team strong {
        display: block;
        width: 100%;
        margin-top: 7px;
        overflow: hidden;
        font-size: .78rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-match-side b,
    .bp-lol-versus-team b {
        display: block;
        margin-top: 5px;
        font-size: 1rem;
        line-height: 1;
    }

    .bp-lol-series-grid,
    .bp-lol-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bp-lol-series-card,
    .bp-lol-game-card {
        min-width: 0;
        padding: 11px 7px;
        text-align: center;
    }

    .bp-lol-probability-row,
    .bp-lol-prediction-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "label value"
            "bar bar";
        align-items: center;
        gap: 6px 10px;
        min-width: 0;
    }

    .bp-lol-probability-row + .bp-lol-probability-row,
    .bp-lol-prediction-row + .bp-lol-prediction-row {
        margin-top: 14px;
    }

    .bp-lol-probability-row > span,
    .bp-lol-prediction-row > span {
        grid-area: label;
    }

    .bp-lol-probability-row > b,
    .bp-lol-prediction-row > b,
    .bp-lol-probability-row > strong,
    .bp-lol-prediction-row > strong {
        grid-area: value;
        justify-self: end;
    }

    .bp-lol-probability-row > div,
    .bp-lol-prediction-row > div {
        grid-area: bar;
        width: 100%;
        min-width: 0;
        height: 9px;
        overflow: hidden;
        border-radius: 999px;
    }

    .bp-lol-probability-row > div > i,
    .bp-lol-prediction-row > div > i {
        display: block;
        height: 100%;
        border-radius: inherit;
    }

    .bp-lol-analysis-grid,
    .bp-lol-match-analysis-grid,
    .bp-lol-detail-grid,
    .bp-lol-info-grid,
    .bp-lol-comparison-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100%;
        min-width: 0;
    }

    .bp-lol-analysis-grid > *,
    .bp-lol-match-analysis-grid > *,
    .bp-lol-detail-grid > *,
    .bp-lol-info-grid > *,
    .bp-lol-comparison-grid > * {
        width: 100%;
        min-width: 0;
    }

    .bp-lol-roster-versus,
    .bp-lol-match-rosters {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .bp-lol-factor-grid,
    .bp-lol-pick-points {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    /* =====================================================
     * player.php
     * ===================================================== */
    .bp-lol-player-hero {
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) !important;
        align-items: center;
        gap: 14px;
        min-width: 0;
        padding: 20px 14px;
        border-radius: 19px;
    }

    .bp-lol-player-photo,
    .bp-lol-player-hero > img {
        width: 84px;
        height: 84px;
        object-fit: cover;
        overflow: hidden;
        border-radius: 17px;
    }

    .bp-lol-player-hero > div {
        min-width: 0;
    }

    .bp-lol-player-hero h1 {
        margin: 4px 0 6px;
        min-width: 0;
        overflow: hidden;
        font-size: 1.35rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-player-hero p,
    .bp-lol-player-hero span {
        min-width: 0;
        overflow: hidden;
        font-size: .75rem;
        line-height: 1.4;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bp-lol-player-metrics {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 14px 0;
    }

    .bp-lol-player-metrics > div {
        min-width: 0;
        padding: 11px 6px;
        text-align: center;
    }

    .bp-lol-player-history,
    .bp-lol-history-grid,
    .bp-lol-player-info-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .bp-lol-info-list > div,
    .bp-lol-player-info-list > div {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-width: 0;
        min-height: 44px;
        padding: 9px 0;
    }

    .bp-lol-info-list span,
    .bp-lol-player-info-list span {
        font-size: .72rem;
    }

    .bp-lol-info-list strong,
    .bp-lol-player-info-list strong {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: .76rem;
        line-height: 1.4;
        text-align: right;
    }


    /* team.php 실제 공통 클래스 모바일 보정 */
    .bp-lol-team-page {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .bp-lol-team-page .bp-team-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 20px 14px !important;
        border-radius: 19px !important;
    }

    .bp-lol-team-page .bp-team-profile {
        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-big-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 76px !important;
        height: 76px !important;
        overflow: hidden !important;
        border-radius: 17px !important;
    }

    .bp-lol-team-page .bp-big-logo img {
        width: 100% !important;
        height: 100% !important;
        padding: 4px !important;
        object-fit: contain !important;
    }

    .bp-lol-team-page .bp-team-profile > div:last-child {
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-team-profile h1 {
        margin: 4px 0 6px !important;
        overflow: hidden !important;
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-team-profile span,
    .bp-lol-team-page .bp-team-profile p {
        display: block !important;
        margin: 0 !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.4 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-team-summary {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-team-summary > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 76px !important;
        padding: 11px 7px !important;
        text-align: center !important;
    }

    .bp-lol-team-page .bp-team-summary strong,
    .bp-lol-team-page .bp-team-summary span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        word-break: keep-all !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-team-summary strong {
        font-size: 1rem !important;
        line-height: 1.15 !important;
    }

    .bp-lol-team-page .bp-team-summary span {
        margin-top: 6px !important;
        font-size: .85rem !important;
        line-height: 1.2 !important;
    }

    .bp-lol-team-page .bp-match-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 14px 0 !important;
        padding: 6px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .bp-lol-team-page .bp-match-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .bp-panel-v2 h3{font-size:1rem;}

    .bp-lol-team-page .bp-match-tabs button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        min-width: 64px !important;
        min-height: 42px !important;
        padding: 0 14px !important;
        font-size: .75rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-detail-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-detail-grid > .bp-panel-v2,
    .bp-lol-team-page .bp-tab-panel > .bp-panel-v2 {
        width: 100% !important;
        min-width: 0 !important;
        padding: 17px 13px !important;
        border-radius: 17px !important;
    }

    .bp-lol-team-page .bp-player-rank-list {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-player-rank-row {
        display: grid !important;
        grid-template-columns: 26px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
    }

    .bp-lol-team-page .bp-player-rank-profile {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-player-rank-profile img {
        width: 40px !important;
        height: 40px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    .bp-lol-team-page .bp-player-rank-profile > div {
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-player-rank-profile strong,
    .bp-lol-team-page .bp-player-rank-profile em {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-player-rank-profile strong {
        font-size: .85rem !important;
    }

    .bp-info-list span{font-size:.85rem;}
    .bp-info-list strong{font-size:.85rem;}

    .bp-lol-team-page .bp-player-rank-profile em,
    .bp-lol-team-page .bp-player-rank-row > b {
        font-size: .75rem !important;
    }

    .bp-h2h-summary span{font-size:.85rem;}
    .bp-h2h-summary strong{font-size:1rem;}
    .bp-lol-team-standing-title{font-size:.75rem;}

    .bp-lol-team-page .bp-info-list > div {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 10px !important;
    }

    .bp-player-rank-row > span{font-size:.85rem;}

    .bp-lol-team-page .bp-info-list > div > span,
    .bp-lol-team-page .bp-info-list > div > strong {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

    .bp-lol-team-page .bp-info-list > div > strong {
        justify-content: flex-end !important;
        overflow-wrap: anywhere !important;
        text-align: right !important;
    }

    .bp-lol-team-page .bp-h2h-summary {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-h2h-summary > div {
        min-width: 0 !important;
        padding: 11px 5px !important;
        text-align: center !important;
    }

    .bp-lol-team-page .bp-simple-list {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-simple-list > a {
        display: grid !important;
        grid-template-columns: 102px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        padding: 11px 9px !important;
    }

    .bp-lol-team-page .bp-simple-list > a > span {
        font-size: .75rem !important;
    }

    .bp-lol-team-page .bp-simple-list > a > strong {
        overflow: hidden !important;
        font-size: .85rem !important;
        text-align: right !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-lol-team-roster-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        grid-template-areas:
            "photo name"
            "photo role"
            "photo nation";
        align-items: center !important;
        gap: 3px 9px !important;
        min-width: 0 !important;
        padding: 11px 9px !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card > div {
        grid-area: photo !important;
        width: 48px !important;
        height: 48px !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card img {
        width: 48px !important;
        height: 48px !important;
        object-fit: cover !important;
        border-radius: 11px !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card > strong {
        grid-area: name !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card > span {
        grid-area: role !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card > small {
        grid-area: nation !important;
    }

    .bp-lol-team-page .bp-lol-team-player-card > span,
    .bp-lol-team-page .bp-lol-team-player-card > small {
        font-size: .75rem !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "logo copy rank"
            "logo copy record";
        align-items: center !important;
        gap: 5px 9px !important;
        min-width: 0 !important;
        padding: 11px 9px !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row > div {
        grid-area: logo !important;
        width: 40px !important;
        height: 40px !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row img {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row > span {
        grid-area: copy !important;
        min-width: 0 !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row > span strong,
    .bp-lol-team-page .bp-lol-team-tournament-row > span small {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row > b {
        grid-area: rank !important;
        justify-self: end !important;
    }

    .bp-lol-team-page .bp-lol-team-tournament-row > em {
        grid-area: record !important;
        justify-self: end !important;
    }

    @media (max-width: 390px) {
        .bp-lol-team-page .bp-lol-team-roster-grid {
            grid-template-columns: minmax(0, 1fr) !important;
        }
    }



    /* =====================================================
     * player.php 실제 구조 모바일 보정
     * ===================================================== */

    .bp-lol-player-page {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    /* 상단 선수 프로필 + 현재 소속팀 세로 배치 */
    .bp-lol-player-page .bp-lol-player-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 20px 14px !important;
        border-radius: 19px !important;
    }

    .bp-lol-player-page .bp-lol-player-profile {
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-lol-player-photo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 84px !important;
        height: 84px !important;
        overflow: hidden !important;
        border-radius: 17px !important;
    }

    .bp-lol-player-page .bp-lol-player-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .bp-lol-player-page .bp-lol-player-profile > div:last-child {
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-lol-player-profile h1 {
        margin: 4px 0 6px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-player-page .bp-lol-player-profile span,
    .bp-lol-player-page .bp-lol-player-profile p {
        display: block !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.4 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team img {
        width: 52px !important;
        height: 52px !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team > span {
        display: block !important;
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team small,
    .bp-lol-player-page .bp-lol-player-current-team strong {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team small {
        font-size: .75rem !important;
    }

    .bp-lol-player-page .bp-lol-player-current-team strong {
        margin-top: 4px !important;
        font-size: .85rem !important;
    }

    /* 선수 정보 → 현재 소속 세로 1열 */
    .bp-lol-player-page > .bp-lol-player-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-player-page > .bp-lol-player-grid > .bp-lol-panel {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 17px 13px !important;
        border-radius: 17px !important;
    }

    /* 선수 정보 목록 좌우 정렬 */
    .bp-lol-player-page .bp-info-list > div {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 10px !important;
    }

    .bp-lol-player-page .bp-info-list > div > span,
    .bp-lol-player-page .bp-info-list > div > strong {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

    .bp-lol-player-page .bp-info-list > div > span {
        justify-content: flex-start !important;
        font-size: .85rem !important;
    }

    .bp-lol-player-page .bp-info-list > div > strong {
        justify-content: flex-end !important;
        overflow-wrap: anywhere !important;
        font-size: .85rem !important;
        text-align: right !important;
    }

    /* 현재 소속 카드 */
    .bp-lol-player-page .bp-lol-player-team-card {
        display: grid !important;
        grid-template-columns: 64px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 13px 11px !important;
        border-radius: 14px !important;
    }

    .bp-lol-player-page .bp-lol-player-team-card img {
        width: 64px !important;
        height: 64px !important;
        object-fit: contain !important;
        border-radius: 14px !important;
    }

    .bp-lol-player-page .bp-lol-player-team-card > span {
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-lol-player-team-card strong,
    .bp-lol-player-page .bp-lol-player-team-card small {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-player-page .bp-lol-player-team-card strong {
        font-size: .85rem !important;
    }

    .bp-lol-player-page .bp-lol-player-team-card small {
        margin-top: 5px !important;
        font-size: .75rem !important;
    }

    /* 참가 대회 */
    .bp-lol-player-page .bp-lol-player-tournament-list {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-lol-player-tournament-row {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 9px !important;
        min-width: 0 !important;
        padding: 11px 9px !important;
    }

    .bp-lol-player-page .bp-lol-player-tournament-row img {
        width: 42px !important;
        height: 42px !important;
        object-fit: contain !important;
        border-radius: 10px !important;
    }

    .bp-lol-player-page .bp-lol-player-tournament-row > span {
        min-width: 0 !important;
    }

    .bp-lol-player-tournament-row strong{font-size:.85rem;}
    .bp-lol-player-tournament-row small{font-size:.75rem;}

    .bp-lol-player-page .bp-lol-player-tournament-row strong,
    .bp-lol-player-page .bp-lol-player-tournament-row small {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-player-page .bp-lol-player-tournament-row em {
        font-size: .85rem !important;
        white-space: nowrap !important;
    }

    /* 관련 경기 */
    .bp-lol-player-page .bp-simple-list {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-player-page .bp-simple-list > a {
        display: grid !important;
        grid-template-columns: 102px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        padding: 11px 9px !important;
    }

    .bp-lol-player-page .bp-simple-list > a > span {
        font-size: .75rem !important;
        line-height: 1.3 !important;
    }

    .bp-lol-player-page .bp-simple-list > a > strong {
        min-width: 0 !important;
        overflow: hidden !important;
        font-size: .75rem !important;
        line-height: 1.3 !important;
        text-align: right !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }



    /* =====================================================
     * match.php 팀 비교 / 예상 로스터 세로 1열
     * ===================================================== */

    /* 팀 비교: 첫 번째 팀 → 두 번째 팀 */
    .bp-lol-detail-grid .bp-lol-comparison {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-detail-grid .bp-lol-comparison > .bp-lol-comparison-card {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .bp-lol-comparison-card h3 {
        min-width: 0 !important;
        margin: 0 0 12px !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.3 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-comparison-card dl {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .bp-lol-comparison-card dl > div {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .bp-lol-comparison-card dt,
    .bp-lol-comparison-card dd {
        min-width: 0 !important;
        margin: 0 !important;
        font-size: .85rem !important;
        line-height: 1.35 !important;
    }

    .bp-lol-comparison-card dd {
        text-align: right !important;
        white-space: nowrap !important;
    }

    .bp-lol-game-row strong{font-size:.85rem;}
    .bp-lol-game-row span{font-size:.85rem;}
    .bp-lol-game-row em{font-size:.85rem;}

    .bp-lol-form-large{font-size:.85rem;}
    .bp-lol-recent-row > span{font-size:.85rem;}
    .bp-lol-recent-row strong{font-size:.85rem;}
    .bp-lol-recent-row em{font-size:.85rem;}

    /* 예상 로스터: 첫 번째 팀 → 두 번째 팀 */
    .bp-lol-panel > .bp-lol-roster-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-panel > .bp-lol-roster-grid > .bp-lol-roster-card {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 13px 11px !important;
    }

    .bp-lol-roster-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        margin-bottom: 12px !important;
    }

    .bp-lol-roster-head h3 {
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.3 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-roster-head > span {
        font-size: .75rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .bp-lol-roster-list {
        display: grid !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .bp-lol-roster-player {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 9px !important;
        min-width: 0 !important;
        padding: 9px !important;
    }

    .bp-lol-roster-player img {
        width: 42px !important;
        height: 42px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    .bp-lol-roster-player > span {
        min-width: 0 !important;
    }

    .bp-lol-roster-player strong,
    .bp-lol-roster-player small {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-roster-player strong {
        font-size: .85rem !important;
    }

    .bp-lol-roster-player small {
        margin-top: 3px !important;
        font-size: .75rem !important;
    }



    /* =====================================================
     * match.php 예측 요약 카드 모바일 보정
     * ===================================================== */

    .bp-lol-prediction-panel {
        width: 100% !important;
        min-width: 0 !important;
        padding: 17px 13px !important;
        border-radius: 17px !important;
    }

    .bp-lol-pick-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 16px !important;
    }

    .bp-lol-pick-grid > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 92px !important;
        padding: 12px 8px !important;
        text-align: center !important;
    }

    .bp-lol-pick-grid > div > span,
    .bp-lol-pick-grid > div > strong {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .bp-lol-pick-grid > div > span {
        min-height: 2.4em !important;
        font-size: .78rem !important;
        line-height: 1.25 !important;
    }

    .bp-lol-pick-grid > div > strong {
        min-height: 1.4em !important;
        margin-top: 7px !important;
        font-size: .95rem !important;
        line-height: 1.25 !important;
    }

    .bp-lol-analysis-box {
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 16px !important;
        padding: 14px 12px !important;
    }

    .bp-lol-analysis-box > strong {
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .bp-lol-analysis-box ul {
        margin: 0 !important;
        padding-left: 18px !important;
    }

    .bp-lol-analysis-box li {
        font-size: .75rem !important;
        line-height: 1.6 !important;
        word-break: keep-all !important;
    }

    @media (max-width: 390px) {
        .bp-lol-pick-grid {
            grid-template-columns: minmax(0, 1fr) !important;
        }

        .bp-lol-pick-grid > div {
            min-height: 78px !important;
        }
    }



    /* =====================================================
     * match.php 실제 구조 최종 반응형
     * ===================================================== */

    .bp-lol-match-page {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 경기 상단 카드 */
    .bp-lol-match-page .bp-lol-match-hero {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 16px 12px !important;
        overflow: hidden !important;
    }

    .bp-lol-match-page .bp-lol-back-link {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.3 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-match-page .bp-lol-match-meta {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bp-lol-match-page .bp-lol-match-meta > span {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    .bp-lol-match-meta{font-size:.75rem;}
    .bp-lol-match-page .bp-lol-match-meta > strong {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .bp-lol-versus-team-link{gap:0;}

    .bp-lol-match-page .bp-lol-match-date {
        display: block !important;
        width: 100% !important;
        margin-top: 10px !important;
        font-size: .75rem !important;
        text-align: center !important;
    }

    /* 양 팀 로고 / 점수 */
    .bp-lol-match-page .bp-lol-versus {
        display: grid !important;
        grid-template-columns:
            minmax(0, 1fr)
            52px
            minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-top: 18px !important;
        overflow: hidden !important;
    }

    .bp-lol-match-page .bp-lol-versus-team {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    .bp-lol-match-page .bp-lol-versus-team-link {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .bp-lol-match-page .bp-lol-versus-team img,
    .bp-lol-match-page .bp-lol-versus-team-link img {
        display: block !important;
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    .bp-lol-match-page .bp-lol-versus-team strong,
    .bp-lol-match-page .bp-lol-versus-team-link strong {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 8px 0 0 !important;
        overflow: hidden !important;
        font-size: .74rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-match-page .bp-lol-versus-score {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        text-align: center !important;
    }

    .bp-lol-match-page .bp-lol-versus-score strong {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .bp-lol-match-page .bp-lol-versus-score span {
        margin-top: 7px !important;
        font-size: .75rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    /* 승리 예상 확률 패널 */
    .bp-lol-match-page .bp-lol-prediction-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 17px 13px !important;
        overflow: hidden !important;
    }

    .bp-lol-match-page .bp-lol-probability-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
    }

    .bp-lol-match-page .bp-lol-probability-row
    + .bp-lol-probability-row {
        margin-top: 16px !important;
    }

    /*
     * 첫 번째 div는 팀명과 확률이다.
     * 기존 공통 규칙의 height:9px / grid-area:bar를 무효화한다.
     */
    .bp-lol-match-page .bp-lol-probability-row > div:first-child {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .bp-lol-match-page
    .bp-lol-probability-row > div:first-child > strong {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        font-size: .85rem !important;
        line-height: 1.3 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .bp-lol-match-page
    .bp-lol-probability-row > div:first-child > span {
        display: block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: .85rem !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    /* 두 번째 div만 실제 그래프 트랙 */
    .bp-lol-match-page .bp-lol-probability-track {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 9px !important;
        min-height: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 999px !important;
        background: rgba(51, 65, 85, .9) !important;
    }

    .bp-lol-match-page .bp-lol-probability-track > span {
        display: block !important;
        height: 100% !important;
        min-height: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: inherit !important;
        background: #38bdf8 !important;
    }

    /* 예측 요약 2열 × 2행 */
    .bp-lol-match-page .bp-lol-pick-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 16px !important;
    }

    .bp-lol-match-page .bp-lol-pick-grid > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 84px !important;
        padding: 10px 6px !important;
        text-align: center !important;
    }

    .bp-lol-match-page .bp-lol-pick-grid > div > span,
    .bp-lol-match-page .bp-lol-pick-grid > div > strong {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        writing-mode: horizontal-tb !important;
        word-break: keep-all !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    .bp-lol-match-page .bp-lol-pick-grid > div > span {
        font-size: .75rem !important;
    }

    .bp-lol-match-page .bp-lol-pick-grid > div > strong {
        margin-top: 0 !important;
        font-size: .85rem !important;
    }

    @media (max-width: 350px) {
        .bp-lol-match-page .bp-lol-versus {
            grid-template-columns:
                minmax(0, 1fr)
                46px
                minmax(0, 1fr) !important;
            gap: 5px !important;
        }

        .bp-lol-match-page .bp-lol-versus-score {
            width: 46px !important;
            min-width: 46px !important;
            max-width: 46px !important;
        }

        .bp-lol-match-page .bp-lol-versus-team img,
        .bp-lol-match-page .bp-lol-versus-team-link img {
            width: 42px !important;
            height: 42px !important;
            max-width: 42px !important;
        }

        .bp-lol-match-page .bp-lol-versus-team strong,
        .bp-lol-match-page .bp-lol-versus-team-link strong {
            font-size: .85rem !important;
        }

        .bp-lol-match-page .bp-lol-pick-grid {
            gap: 7px !important;
        }
    }

}
