/* 경기결과 전용 평면형 E.F.S.F. 화면. 외곽 공통 프레임에는 영향을 주지 않는다. */
@media screen and (min-width: 1200px) {
    html:has(.w_result) body.gundam-skin #ajax-content.contents > .page.w_result {
        display: block !important;
        width: calc(100% + 14px) !important;
        min-height: 948px !important;
        margin: -5px 0 0 -7px !important;
        padding: 0 0 28px !important;
        overflow: hidden !important;
        color: #102e4f !important;
        background: #f7f9fb !important;
        font-family: "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", Arial, sans-serif !important;
    }

    /* 포인트 페이지와 동일한 중앙 상단 타이틀 프레임 */
    html body.gundam-skin #ajax-content.contents > .page.w_result > .page_ttl {
        position: relative !important;
        isolation: isolate !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 171px !important;
        min-height: 171px !important;
        max-height: 171px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 1px solid #395b74 !important;
        border-inline: 0 !important;
        background:
            linear-gradient(90deg, transparent 30%, rgb(1 13 24 / 94%) 43% 61%, transparent 72%),
            #031323 url('/skin/gundam_main/images/page-titles/gundam-point-hangar-v5.webp?v=1') center / 100% 100% no-repeat !important;
        box-shadow: inset 0 4px #0b2135, inset 0 -5px #071522, inset 0 -7px #33c8f3 !important;
    }

    html body.gundam-skin #ajax-content.contents > .page.w_result > .page_ttl::before {
        position: absolute !important;
        top: 117px !important;
        left: 50% !important;
        z-index: 2 !important;
        width: 264px !important;
        height: 8px !important;
        border: 0 !important;
        background: linear-gradient(90deg, #13bde9 0 64px, transparent 64px 194px, #13bde9 194px 264px) center / 100% 3px no-repeat !important;
        content: "" !important;
        transform: translateX(-50%) !important;
    }

    html body.gundam-skin #ajax-content.contents > .page.w_result > .page_ttl::after {
        display: none !important;
        content: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .page.w_result > .page_ttl > .gundam-page-title-copy {
        position: relative !important;
        z-index: 2 !important;
        display: inline !important;
        color: #fff !important;
        font-family: "Malgun Gothic", sans-serif !important;
        font-size: 52px !important;
        font-weight: 900 !important;
        letter-spacing: -.055em !important;
        line-height: 1 !important;
        opacity: 1 !important;
        text-shadow: 0 3px 8px #00101f !important;
        transform: translate(-2px, -13px) !important;
        -webkit-text-fill-color: #fff !important;
    }

    html body.gundam-skin #ajax-content.contents > .page.w_result > .page_ttl > .gundam-page-title-en {
        position: absolute !important;
        top: 109px !important;
        left: 50% !important;
        z-index: 2 !important;
        display: block !important;
        color: #bcd5e7 !important;
        font-family: Arial, sans-serif !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        letter-spacing: .14em !important;
        line-height: 1 !important;
        opacity: 1 !important;
        transform: translateX(-50%) !important;
        -webkit-text-fill-color: #bcd5e7 !important;
    }

    /* 필터: 금속 장식 없이 얇은 선과 평면 배경만 사용 */
    html body.gundam-skin .w_result > .result-filters {
        display: grid !important;
        grid-template-rows: 48px 52px !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 168px !important;
        margin: 0 !important;
        padding: 27px 28px !important;
        border: 0 !important;
        border-bottom: 1px solid #c8d5e0 !important;
        background: rgb(248 248 250) !important;
        box-shadow: none !important;
    }

    html body.gundam-skin .w_result .sport-tabs {
        display: grid !important;
        grid-template-columns: 76px repeat(10, minmax(0, 1fr)) !important;
        gap: 0 !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid #cbd7e1 !important;
        background: #fff !important;
    }

    html body.gundam-skin .w_result .sport-tab {
        height: 46px !important;
        padding: 0 8px !important;
        border: 0 !important;
        border-right: 1px solid #edf1f4 !important;
        border-radius: 0 !important;
        color: #273e55 !important;
        background: #f7f8fb !important;
        box-shadow: none !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        transition: background .15s ease, color .15s ease !important;
    }

    html body.gundam-skin .w_result .sport-tab:is(:hover, .active) {
        color: #fff !important;
        background: linear-gradient(180deg, rgb(38 136 216), rgb(30 127 211)) !important;
        box-shadow: inset 0 1px rgb(255 255 255 / 38%) !important;
    }

    html body.gundam-skin .w_result .filter-controls {
        display: grid !important;
        grid-template-columns: auto minmax(320px, 400px) !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        width: 100% !important;
    }

    html body.gundam-skin .w_result .date-filter {
        display: grid !important;
        grid-template-columns: repeat(3, 94px) !important;
        gap: 6px !important;
    }

    html body.gundam-skin .w_result .date-btn {
        height: 44px !important;
        padding: 0 !important;
        border: 1px solid #c7d3dd !important;
        border-radius: 0 !important;
        color: #263d54 !important;
        background: #f7f8fb !important;
        box-shadow: none !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }

    html body.gundam-skin .w_result .date-btn:is(:hover, .active) {
        border-color: #148bd2 !important;
        color: #fff !important;
        background: linear-gradient(180deg, rgb(38 136 216), rgb(30 127 211)) !important;
    }

    html body.gundam-skin .w_result .search-box {
        width: 100% !important;
        max-width: none !important;
    }

    html body.gundam-skin .w_result .search-input {
        width: 100% !important;
        height: 44px !important;
        padding: 0 46px 0 16px !important;
        border: 1px solid #c7d3dd !important;
        border-radius: 0 !important;
        outline: 0 !important;
        color: #173655 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-family: inherit !important;
        font-size: 13px !important;
    }

    html body.gundam-skin .w_result .search-input::placeholder { color: #7d8fa1 !important; }
    html body.gundam-skin .w_result .search-input:focus { border-color: #158fd7 !important; }
    html body.gundam-skin .w_result .search-icon { right: 16px !important; color: #168fd5 !important; font-size: 18px !important; }

    html body.gundam-skin .w_result .loading-area {
        width: 100% !important;
        padding: 40px !important;
        color: #60758a !important;
        background: #f7f9fb !important;
    }

    /* 결과 목록: 한 경기당 한 줄짜리 평면 데이터 행 */
    html body.gundam-skin .w_result .result-list {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 31px 24px 28px !important;
        border: 1px solid rgb(234 236 238) !important;
        background: rgb(247 248 250) !important;
        gap: 2px !important;
    }

    html body.gundam-skin .w_result .match-card {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 230px 170px minmax(210px, 1fr) 116px minmax(210px, 1fr) 158px !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-height: 105px !important;
        margin: 0 !important;
        padding: 0 18px !important;
        overflow: visible !important;
        border: 1px solid rgb(232 236 242) !important;
        border-top: 0 !important;
        border-radius: 0 !important;
        color: #173451 !important;
        background: rgb(249 250 251) !important;
        box-shadow: none !important;
        animation: none !important;
        transition: background .15s ease !important;
    }

    html body.gundam-skin .w_result .match-card:first-child { border-top: 1px solid rgb(232 236 242) !important; }
    html body.gundam-skin .w_result .match-card:nth-child(even) { background: rgb(242 247 252) !important; }
    html body.gundam-skin .w_result .match-card:hover { background: #edf6fc !important; }
    html body.gundam-skin #ajax-content.contents > .page.w_result .match-card.live-match { border-color: #b8d4e6 !important; background: #f3faff !important; }

    html body.gundam-skin .w_result .match-header,
    html body.gundam-skin .w_result .match-score { display: contents !important; }
    html body.gundam-skin .w_result .match-header > div:empty { display: none !important; }

    html body.gundam-skin .w_result .league-info {
        grid-column: 1 !important;
        display: grid !important;
        grid-template-columns: 200px !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        gap: 6px !important;
        justify-self: start !important;
        width: 200px !important;
        min-width: 0 !important;
        transform: translate(9px, 10px) !important;
    }

    html body.gundam-skin .w_result .sport-badge {
        grid-row: 1 !important;
        align-self: center !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #183b5c !important;
        background: transparent !important;
        box-shadow: none !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-shadow: none !important;
    }

    html body.gundam-skin .w_result .sport-icon {
        width: 22px !important;
        height: 22px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        object-fit: contain !important;
    }

    html body.gundam-skin .w_result .league-name {
        grid-row: 2 !important;
        grid-column: 1 !important;
        padding-left: 34px !important;
        overflow: hidden !important;
        color: #5d7185 !important;
        font-family: inherit !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.gundam-skin .w_result .live-badge {
        grid-column: 2 !important;
        width: max-content !important;
        margin: 0 !important;
        padding: 3px 7px !important;
        border-radius: 2px !important;
        color: #fff !important;
        background: #df2e38 !important;
        animation: none !important;
        font-size: 10px !important;
        text-shadow: none !important;
    }

    html body.gundam-skin .w_result .match-time {
        grid-column: 2 !important;
        justify-self: start !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #435c73 !important;
        background: transparent !important;
        font-family: Arial, "Noto Sans KR", sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        transform: translateX(-13px) !important;
    }

    html body.gundam-skin .w_result .match-time i { display: none !important; }

    html body.gundam-skin .w_result .team {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    html body.gundam-skin .w_result .home-team {
        grid-column: 3 !important;
        justify-content: flex-end !important;
        justify-self: stretch !important;
        transform: translate(-180px, 22px) !important;
    }

    html body.gundam-skin .w_result .away-team {
        grid-column: 5 !important;
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
        justify-self: stretch !important;
        transform: translateY(22px) !important;
    }

    html body.gundam-skin .w_result .team-logo,
    html body.gundam-skin .w_result .team-logo.winner-logo {
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        padding: 2px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        object-fit: contain !important;
    }

    html body.gundam-skin .w_result .team-info { min-width: 0 !important; gap: 3px !important; }
    html body.gundam-skin .w_result .home-team .team-info { align-items: flex-end !important; }
    html body.gundam-skin .w_result .away-team .team-info { align-items: flex-start !important; }

    html body.gundam-skin .w_result .team-name,
    html body.gundam-skin .w_result .team.winner .team-name {
        overflow: hidden !important;
        color: #18324d !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.gundam-skin .w_result .winner-crown { display: none !important; }
    html body.gundam-skin .w_result .win-badge {
        display: none !important;
    }

    html body.gundam-skin .w_result .score-box,
    html body.gundam-skin .w_result .score-box:is(.home-win-box, .away-win-box) {
        position: relative !important;
        grid-column: 4 !important;
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        justify-self: stretch !important;
        gap: 6px !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 0 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #0f2f50 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: translate(-115px, 22px) !important;
    }

    html body.gundam-skin .w_result .score-box::before {
        position: absolute !important;
        top: -7px !important;
        left: 50% !important;
        padding: 2px 7px !important;
        border-radius: 2px !important;
        color: #fff !important;
        background: #df2e38 !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 16px !important;
        white-space: nowrap !important;
        transform: translateX(-50%) !important;
        content: "경기종료" !important;
    }

    html body.gundam-skin .w_result .live-match .score-box::before { content: "LIVE" !important; }

    html body.gundam-skin .w_result .score,
    html body.gundam-skin .w_result .score.win {
        min-width: 0 !important;
        color: #0c2f55 !important;
        font-family: Arial, sans-serif !important;
        font-size: 25px !important;
        font-weight: 800 !important;
        text-align: center !important;
    }

    html body.gundam-skin .w_result .score-divider { color: #60788f !important; font-size: 20px !important; }
    html body.gundam-skin .w_result .draw-badge { top: -12px !important; right: 50% !important; border-radius: 2px !important; transform: translateX(50%) !important; }
    html body.gundam-skin .w_result .quick-stats-wrapper { display: none !important; }

    html body.gundam-skin #ajax-content.contents > .page.w_result .detail-toggle {
        position: absolute !important;
        top: 32px !important;
        right: 23px !important;
        bottom: auto !important;
        left: auto !important;
        grid-column: 6 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        min-height: 38px !important;
        width: 142px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border: 1px solid #c9d6e1 !important;
        border-radius: 0 !important;
        color: #254561 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .page.w_result .detail-toggle:hover { border-color: #168fd5 !important; background: #edf8fe !important; }
    html body.gundam-skin #ajax-content.contents > .page.w_result .toggle-text { color: #254561 !important; font-family: inherit !important; font-size: 12px !important; font-weight: 700 !important; }
    html body.gundam-skin #ajax-content.contents > .page.w_result .toggle-icon { color: #1c5d8b !important; font-size: 14px !important; }

    html body.gundam-skin .w_result .detail-stats {
        grid-column: 1 / -1 !important;
        margin: 0 0 14px !important;
        padding: 18px !important;
        border: 1px solid #cbd8e2 !important;
        border-radius: 0 !important;
        color: #1d3b58 !important;
        background: #f7fbfe !important;
    }

    html body.gundam-skin .w_result .score-table { border-radius: 0 !important; background: #fff !important; }
    html body.gundam-skin .w_result .score-table th { border-color: #c5d4df !important; color: #fff !important; background: #174f78 !important; text-shadow: none !important; }
    html body.gundam-skin .w_result .score-table td { border-color: #d4dfe8 !important; color: #173653 !important; background: #fff !important; }
    html body.gundam-skin .w_result .score-table :is(.score-cell, .final-score) { color: #0d3153 !important; background: #edf5fa !important; }
    html body.gundam-skin .w_result .score-table .final-header { color: #fff !important; background: #148bcf !important; }
    html body.gundam-skin .w_result .score-table .win-cell { color: #fff !important; background: #168fcf !important; }
    html body.gundam-skin .w_result .score-table .lose-cell { color: #718397 !important; background: #f4f7f9 !important; }
    html body.gundam-skin .w_result .stat-item-compact { border: 1px solid #d1dde6 !important; border-radius: 0 !important; color: #173653 !important; background: #fff !important; }
    html body.gundam-skin .w_result .stat-name { color: #60788e !important; }
    html body.gundam-skin .w_result .stat-val { color: #153a5c !important; }
    html body.gundam-skin .w_result .incident-group { color: #284760 !important; }
    html body.gundam-skin .w_result .incident-group strong { color: #bd1b28 !important; }

    html body.gundam-skin .w_result .pagination-area {
        width: 100% !important;
        margin: 0 !important;
        padding: 18px 28px 30px !important;
        background: #f7f9fb !important;
    }

    html body.gundam-skin .w_result .page-btn {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 10px !important;
        border: 1px solid #c8d5df !important;
        border-radius: 0 !important;
        color: #28455f !important;
        background: #fff !important;
        box-shadow: none !important;
        font-family: inherit !important;
    }

    html body.gundam-skin .w_result .page-btn:is(:hover, .active) { border-color: #168fd5 !important; color: #fff !important; background: #168fd5 !important; text-shadow: none !important; }
}

/* 재작업 최종 가독성 보정 */
@media (min-width: 1200px) {
    html body.gundam-skin #ajax-content.contents > .w_result .gundam-page-title-en { opacity: 1 !important; }

    html body.gundam-skin #ajax-content.contents > .w_result :is(.match-card, .match-card span, .match-card strong, .match-card time) {
        color: #294a63 !important;
        -webkit-text-fill-color: #294a63 !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_result .sport-tab {
        color: #274b69 !important;
        -webkit-text-fill-color: #274b69 !important;
        opacity: 1 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_result .sport-tab.active {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* Baseball detail panel — ImageGen concept translated into live DOM/CSS. */
html body.gundam-skin .w_result .detail-stats--baseball {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #9eb6c8 !important;
    background: #f7fbfd !important;
    box-shadow: inset 0 3px #178fc5, 0 4px 14px rgb(16 58 84 / 8%) !important;
}

html body.gundam-skin .w_result .baseball-detail-panel {
    position: relative;
    padding: 0 24px 24px;
    color: #0c3153;
    background:
        linear-gradient(135deg, transparent 0 13px, #cfdae2 13px 14px, transparent 14px) top left / 34px 34px no-repeat,
        linear-gradient(225deg, transparent 0 13px, #cfdae2 13px 14px, transparent 14px) top right / 34px 34px no-repeat,
        linear-gradient(180deg, #fbfdfe, #f2f7fa);
}

html body.gundam-skin .w_result .baseball-detail-panel::after {
    position: absolute;
    right: 24px;
    bottom: 10px;
    left: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9cb6c8 16% 84%, transparent);
    content: "";
}

html body.gundam-skin .w_result .baseball-detail-head {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #c9d7e1;
}

html body.gundam-skin .w_result .baseball-detail-title {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

html body.gundam-skin .w_result .baseball-detail-title > strong {
    color: #0a3156;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.045em;
}

html body.gundam-skin .w_result .baseball-detail-title > span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3c5d75;
    font-size: 12px;
    font-weight: 700;
}

html body.gundam-skin .w_result .baseball-detail-title > span > i {
    width: 1px;
    height: 12px;
    background: #b0c1cd;
}

html body.gundam-skin .w_result .baseball-final-badge {
    padding: 6px 13px;
    border: 1px solid #ce3944;
    border-radius: 3px;
    color: #fff;
    background: linear-gradient(180deg, #ee3b46, #cf202c);
    box-shadow: inset 0 1px rgb(255 255 255 / 24%);
    font-size: 12px;
    font-weight: 900;
}

html body.gundam-skin .w_result .baseball-score-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
    min-height: 112px;
    align-items: center;
    border-bottom: 1px solid #d4e0e8;
}

html body.gundam-skin .w_result .baseball-score-team {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

html body.gundam-skin .w_result .baseball-score-team--home { justify-content: flex-end; padding-right: 28px; }
html body.gundam-skin .w_result .baseball-score-team--away { justify-content: flex-start; flex-direction: row-reverse; padding-left: 28px; }

html body.gundam-skin .w_result .baseball-score-team small {
    color: #168dc8;
    font: 900 11px/1 Arial, sans-serif;
    letter-spacing: .12em;
}

html body.gundam-skin .w_result .baseball-score-team strong {
    overflow: hidden;
    color: #0b3154;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body.gundam-skin .w_result .baseball-score-final {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    align-items: center;
    border-right: 1px solid #cedbe4;
    border-left: 1px solid #cedbe4;
    text-align: center;
}

html body.gundam-skin .w_result .baseball-score-final b {
    color: #082e51;
    font: 900 42px/1 Arial, sans-serif;
}

html body.gundam-skin .w_result .baseball-score-final span {
    color: #6c8497;
    font: 700 25px/1 Arial, sans-serif;
}

html body.gundam-skin .w_result .baseball-detail-section {
    margin-top: 20px;
    padding: 18px 18px 20px;
    border: 1px solid #bccedb;
    background: rgb(255 255 255 / 78%);
}

html body.gundam-skin .w_result .baseball-detail-section > h3 {
    position: relative;
    margin: 0 0 14px;
    padding-left: 13px;
    color: #0b3154;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.035em;
}

html body.gundam-skin .w_result .baseball-detail-section > h3::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 4px;
    background: #119bda;
    content: "";
}

html body.gundam-skin .w_result .baseball-score-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

html body.gundam-skin .w_result .baseball-score-table th {
    height: 42px !important;
    padding: 0 5px !important;
    border: 1px solid #3d6f91 !important;
    color: #fff !important;
    background: linear-gradient(180deg, #0f507d, #07395e) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

html body.gundam-skin .w_result .baseball-score-table td {
    height: 48px !important;
    padding: 0 5px !important;
    border: 1px solid #bed0dc !important;
    color: #0b3154 !important;
    background: #fff !important;
    font: 800 14px/1 Arial, "Noto Sans KR", sans-serif !important;
}

html body.gundam-skin .w_result .baseball-score-table .team-label {
    width: 112px !important;
    color: #123c5e !important;
    background: #f2f7fa !important;
    font-family: "Noto Sans KR", sans-serif !important;
    font-weight: 900 !important;
}

html body.gundam-skin .w_result .baseball-score-table .team-label::before {
    display: inline-grid;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #0d4770;
    font: 900 11px/1 Arial, sans-serif;
    vertical-align: middle;
    content: "H";
}

html body.gundam-skin .w_result .baseball-score-table tbody tr:nth-child(2) .team-label::before { content: "A"; }

html body.gundam-skin .w_result .baseball-score-table :is(.score-cell, .lose-cell) {
    color: #143a59 !important;
    background: #f8fbfd !important;
}

html body.gundam-skin .w_result .baseball-score-table .win-cell {
    color: #fff !important;
    background: linear-gradient(180deg, #18a4dd, #0a82bd) !important;
}

html body.gundam-skin .w_result .baseball-score-table .final-header {
    color: #fff !important;
    background: linear-gradient(180deg, #20a9e2, #0b82bc) !important;
}

html body.gundam-skin .w_result .baseball-score-table .final-score {
    color: #082f52 !important;
    background: #eef6fa !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

html body.gundam-skin .w_result .baseball-compare-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 12px;
    color: #0d3658;
    font-size: 12px;
}

html body.gundam-skin .w_result .baseball-compare-teams strong:last-child { text-align: right; }
html body.gundam-skin .w_result .baseball-compare-teams span { color: #6b8294; font: 800 9px/1 Arial, sans-serif; letter-spacing: .12em; }

html body.gundam-skin .w_result .baseball-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #c4d4df;
    background: #fff;
}

html body.gundam-skin .w_result .baseball-stat-item {
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px dashed #bbccd8;
    border-bottom: 1px dashed #bbccd8;
}

html body.gundam-skin .w_result .baseball-stat-item:nth-child(4n) { border-right: 0; }
html body.gundam-skin .w_result .baseball-stat-item:nth-last-child(-n + 4) { border-bottom: 0; }

html body.gundam-skin .w_result .baseball-stat-label {
    display: flex;
    min-height: 22px;
    align-items: center;
    gap: 7px;
    color: #244b67;
    font-size: 11px;
}

html body.gundam-skin .w_result .baseball-stat-label > span { color: #0d82b9; font-size: 15px; }

html body.gundam-skin .w_result .baseball-stat-values {
    display: grid;
    grid-template-columns: 1fr 12px 1fr;
    align-items: baseline;
    margin: 4px 0 7px;
    color: #0b3154;
    text-align: center;
}

html body.gundam-skin .w_result .baseball-stat-values b { font: 900 19px/1 Arial, sans-serif; }
html body.gundam-skin .w_result .baseball-stat-values span { color: #91a4b2; font-size: 12px; }

html body.gundam-skin .w_result .baseball-stat-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

html body.gundam-skin .w_result .baseball-stat-bar {
    position: relative;
    display: block;
    height: 5px;
    overflow: hidden;
    background: #dbe5eb;
}

html body.gundam-skin .w_result .baseball-stat-bar::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--stat-size);
    background: #109bd5;
    content: "";
}

html body.gundam-skin .w_result .baseball-stat-bar--home::after { right: 0; }
html body.gundam-skin .w_result .baseball-stat-bar--away::after { left: 0; background: #426f8e; }

@media (max-width: 980px) {
    html body.gundam-skin .w_result .baseball-detail-panel { padding: 0 10px 18px; }
    html body.gundam-skin .w_result .baseball-detail-head { min-height: 62px; }
    html body.gundam-skin .w_result .baseball-detail-title { display: block; }
    html body.gundam-skin .w_result .baseball-detail-title > strong { display: block; font-size: 17px; }
    html body.gundam-skin .w_result .baseball-detail-title > span { margin-top: 5px; font-size: 10px; }
    html body.gundam-skin .w_result .baseball-score-hero { grid-template-columns: 1fr 94px 1fr; min-height: 96px; }
    html body.gundam-skin .w_result .baseball-score-team { display: block; text-align: center; }
    html body.gundam-skin .w_result .baseball-score-team--home { padding-right: 10px; }
    html body.gundam-skin .w_result .baseball-score-team--away { padding-left: 10px; }
    html body.gundam-skin .w_result .baseball-score-team strong { display: block; margin-top: 5px; font-size: 13px; }
    html body.gundam-skin .w_result .baseball-score-final b { font-size: 28px; }
    html body.gundam-skin .w_result .baseball-detail-section { margin-top: 12px; padding: 12px 8px; overflow-x: auto; }
    html body.gundam-skin .w_result .baseball-score-table { min-width: 690px !important; }
    html body.gundam-skin .w_result .baseball-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body.gundam-skin .w_result .baseball-stat-item:nth-child(2n) { border-right: 0; }
    html body.gundam-skin .w_result .baseball-stat-item:nth-last-child(-n + 4) { border-bottom: 1px dashed #bbccd8; }
    html body.gundam-skin .w_result .baseball-stat-item:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* Expanded-state spacing: keep the control aligned with the summary and separate the panel below. */
@media (min-width: 981px) {
    html body.gundam-skin #ajax-content.contents > .page.w_result .match-card.detail-open .detail-stats {
        margin-top: 12px !important;
    }
}

/* Shared expanded detail frame for every non-baseball sport. */
html body.gundam-skin .w_result .detail-stats--sport:not(.detail-stats--baseball) {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #9eb6c8 !important;
    color: #0c3153 !important;
    background: #f7fbfd !important;
    box-shadow: inset 0 3px #178fc5, 0 4px 14px rgb(16 58 84 / 8%) !important;
}

html body.gundam-skin .w_result .sport-detail-panel {
    padding: 0 24px 24px;
    background: linear-gradient(180deg, #fbfdfe, #f2f7fa);
}

html body.gundam-skin .w_result .sport-detail-head {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #c9d7e1;
}

html body.gundam-skin .w_result .sport-detail-title {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 18px;
}

html body.gundam-skin .w_result .sport-detail-title > strong {
    flex: 0 0 auto;
    color: #0a3156;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.045em;
}

html body.gundam-skin .w_result .sport-detail-title > span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #3c5d75;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body.gundam-skin .w_result .sport-detail-title > span > i {
    flex: 0 0 1px;
    width: 1px;
    height: 12px;
    background: #b0c1cd;
}

html body.gundam-skin .w_result .sport-final-badge {
    flex: 0 0 auto;
    padding: 6px 13px;
    border: 1px solid #ce3944;
    border-radius: 3px;
    color: #fff;
    background: #dc2935;
    font-size: 12px;
    font-weight: 900;
}

html body.gundam-skin .w_result .sport-score-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
    min-height: 112px;
    align-items: center;
    border-bottom: 1px solid #d4e0e8;
}

html body.gundam-skin .w_result .sport-score-team {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

html body.gundam-skin .w_result .sport-score-team--home { justify-content: flex-end; padding-right: 28px; }
html body.gundam-skin .w_result .sport-score-team--away { justify-content: flex-start; padding-left: 28px; }

html body.gundam-skin .w_result .sport-score-team small {
    flex: 0 0 auto;
    color: #079fd8;
    -webkit-text-fill-color: #079fd8;
    font: 900 11px/1 Arial, sans-serif;
    letter-spacing: .12em;
    text-shadow: 0 1px 0 #fff;
}

html body.gundam-skin .w_result .sport-score-team strong {
    overflow: hidden;
    color: #0b3154;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body.gundam-skin .w_result .sport-score-final {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    align-items: center;
    border-right: 1px solid #cedbe4;
    border-left: 1px solid #cedbe4;
    text-align: center;
}

html body.gundam-skin .w_result .sport-score-final b { color: #082e51; font: 900 42px/1 Arial, sans-serif; }
html body.gundam-skin .w_result .sport-score-final span { color: #6c8497; font: 700 25px/1 Arial, sans-serif; }

html body.gundam-skin .w_result .sport-detail-body {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #bccedb;
    background: rgb(255 255 255 / 82%);
}

html body.gundam-skin .w_result .sport-section-title,
html body.gundam-skin .w_result .sport-detail-body.has-stats .stats-grid::before {
    position: relative;
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 14px;
    padding-left: 13px;
    color: #0b3154;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.035em;
}

html body.gundam-skin .w_result .sport-section-title::before,
html body.gundam-skin .w_result .sport-detail-body.has-stats .stats-grid::after {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 4px;
    background: #119bda;
    content: "";
}

html body.gundam-skin .w_result .sport-detail-body > .score-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

html body.gundam-skin .w_result .sport-detail-body > .score-table th {
    height: 42px !important;
    padding: 0 8px !important;
    border: 1px solid #3d6f91 !important;
    color: #fff !important;
    background: #0b456f !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

html body.gundam-skin .w_result .sport-detail-body > .score-table td {
    height: 48px !important;
    padding: 0 8px !important;
    border: 1px solid #bed0dc !important;
    color: #0b3154 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

html body.gundam-skin .w_result .sport-detail-body > .score-table .team-label {
    width: 110px !important;
    color: #123c5e !important;
    background: #f2f7fa !important;
    font-weight: 900 !important;
}

html body.gundam-skin .w_result .sport-detail-body > .score-table .final-header { background: #1297d2 !important; }
html body.gundam-skin .w_result .sport-detail-body > .score-table .final-score { color: #082f52 !important; background: #eaf5fa !important; font-size: 20px !important; }
html body.gundam-skin .w_result .sport-detail-body > .score-table .win-cell { color: #fff !important; background: #139bd4 !important; }
html body.gundam-skin .w_result .sport-detail-body > .score-table .lose-cell { color: #60788c !important; background: #f5f8fa !important; }

html body.gundam-skin .w_result .sport-detail-body .stats-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin-top: 20px !important;
    border: 1px solid #c4d4df;
    background: #fff;
}

html body.gundam-skin .w_result .sport-detail-body.has-stats .stats-grid::before { content: "팀 기록 비교"; }

html body.gundam-skin .w_result .sport-detail-body.has-stats .stats-grid::before {
    margin: 16px 14px 14px;
}

html body.gundam-skin .w_result .sport-detail-body.has-stats .stats-grid::after {
    top: 17px;
    bottom: auto;
    left: 14px;
    height: 20px;
}

html body.gundam-skin .w_result .sport-detail-body .stat-item-compact {
    display: grid !important;
    grid-template-columns: 28px minmax(70px, 1fr) auto;
    min-height: 54px;
    align-items: center;
    gap: 7px;
    padding: 9px 12px !important;
    border: 0 !important;
    border-right: 1px dashed #bbccd8 !important;
    border-bottom: 1px dashed #bbccd8 !important;
    background: #fff !important;
}

html body.gundam-skin .w_result .sport-detail-body .stat-item-compact:nth-child(3n) { border-right: 0 !important; }
html body.gundam-skin .w_result .sport-detail-body .stat-icon { color: #118fc8 !important; font-size: 17px !important; }
html body.gundam-skin .w_result .sport-detail-body .stat-name { color: #365870 !important; font-size: 12px !important; font-weight: 800 !important; }
html body.gundam-skin .w_result .sport-detail-body .stat-val { color: #092f52 !important; font: 900 16px/1 Arial, sans-serif !important; white-space: nowrap; }

html body.gundam-skin .w_result .sport-detail-body .incidents-section {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 4px solid #e0ad13;
    color: #163a56;
    background: #fff9df;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.7;
}

html body.gundam-skin .w_result .sport-detail-body .incident-group {
    color: #163a56 !important;
}

html body.gundam-skin .w_result .sport-detail-body .incident-group + .incident-group {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid #e2d7b2;
}

html body.gundam-skin .w_result .sport-detail-body .incident-group strong {
    margin-right: 5px;
    font-weight: 900;
}

html body.gundam-skin .w_result .sport-detail-body .incident-group--yellow strong { color: #8a5a00 !important; }
html body.gundam-skin .w_result .sport-detail-body .incident-group--red strong { color: #b20f25 !important; }

html body.gundam-skin .w_result .sport-detail-body .no-stats {
    margin: 0;
    padding: 26px;
    color: #526f84;
    background: #f5f9fb;
    text-align: center;
}

@media (max-width: 980px) {
    html body.gundam-skin .w_result .sport-detail-panel { padding: 0 10px 18px; }
    html body.gundam-skin .w_result .sport-detail-head { min-height: 62px; }
    html body.gundam-skin .w_result .sport-detail-title { display: block; }
    html body.gundam-skin .w_result .sport-detail-title > strong { display: block; font-size: 17px; }
    html body.gundam-skin .w_result .sport-detail-title > span { margin-top: 5px; font-size: 10px; }
    html body.gundam-skin .w_result .sport-score-hero { grid-template-columns: 1fr 94px 1fr; min-height: 96px; }
    html body.gundam-skin .w_result .sport-score-team { display: block; text-align: center; }
    html body.gundam-skin .w_result .sport-score-team--home { padding-right: 10px; }
    html body.gundam-skin .w_result .sport-score-team--away { padding-left: 10px; }
    html body.gundam-skin .w_result .sport-score-team strong { display: block; margin: 5px 0; font-size: 13px; }
    html body.gundam-skin .w_result .sport-score-final b { font-size: 28px; }
    html body.gundam-skin .w_result .sport-detail-body { margin-top: 12px; padding: 12px 8px; overflow-x: auto; }
    html body.gundam-skin .w_result .sport-detail-body > .score-table { min-width: 580px !important; }
    html body.gundam-skin .w_result .sport-detail-body .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; min-width: 500px; }
    html body.gundam-skin .w_result .sport-detail-body .stat-item-compact:nth-child(3n) { border-right: 1px dashed #bbccd8 !important; }
    html body.gundam-skin .w_result .sport-detail-body .stat-item-compact:nth-child(2n) { border-right: 0 !important; }
}
