/* Gundam betting-history page: flat federation surface, isolated from legacy lion styling. */
@media (min-width: 1200px) {
    html:has(.w_mybet) body.gundam-skin #ajax-content.contents > .page.w_mybet {
        width: calc(100% + 14px) !important;
        min-width: 0 !important;
        margin: -5px -7px 0 !important;
        color: #12385d !important;
        background: #fefefe !important;
    }

    /* Exact title contract shared with the point page. */
    html:has(.w_mybet) body.gundam-skin #ajax-content.contents > .page.w_mybet > .page_ttl {
        position: relative !important;
        isolation: isolate !important;
        overflow: hidden !important;
        display: flex !important;
        width: auto !important;
        height: 171px !important;
        min-height: 171px !important;
        max-height: 171px !important;
        margin: 0 !important;
        border: 1px solid #395b74 !important;
        border-inline: 0 !important;
        box-shadow: inset 0 4px #0b2135, inset 0 -5px #071522, inset 0 -7px #33c8f3 !important;
        background:
            linear-gradient(90deg, transparent 30%, rgb(1 13 24) 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;
    }

    html:has(.w_mybet) body.gundam-skin #ajax-content.contents > .page.w_mybet > .page_ttl > span {
        position: relative !important;
        z-index: 2 !important;
        display: inline !important;
        color: #fff !important;
        font-size: 46px !important;
        font-weight: 900 !important;
        letter-spacing: -.055em !important;
        line-height: 1 !important;
        opacity: 1 !important;
        text-shadow: 0 3px 8px #00101f !important;
    }

    html:has(.w_mybet) body.gundam-skin #ajax-content.contents > .page.w_mybet > .page_ttl > .gundam-page-title-copy {
        -webkit-text-fill-color: #fff !important;
        font-family: "Malgun Gothic", sans-serif !important;
        font-size: 52px !important;
        font-weight: 900 !important;
        transform: translate(-2px, -13px) !important;
    }

    html:has(.w_mybet) body.gundam-skin #ajax-content.contents > .page.w_mybet > .page_ttl::before {
        position: absolute !important;
        top: 117px !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        z-index: 2 !important;
        display: block !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;
        box-shadow: none !important;
        content: "" !important;
        opacity: 1 !important;
        transform: translateX(-50%) !important;
    }

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

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

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-shell {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 18px 48px !important;
        background: #fefefe !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-category-tabs {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 0 !important;
        width: calc(100% + 36px) !important;
        height: 52px !important;
        margin: -12px -18px 9px !important;
        padding: 0 5px !important;
        border: 0 !important;
        border-bottom: 1px solid #d5e0e9 !important;
        background: #fefefe !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-category-tabs a {
        display: grid !important;
        height: 51px !important;
        padding: 0 12px !important;
        place-items: center !important;
        border: 0 !important;
        border-right: 1px solid #d9e2e9 !important;
        border-radius: 0 !important;
        color: #173a5c !important;
        background: #fefefe !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-category-tabs a.on {
        color: #0d3155 !important;
        background: #fefefe !important;
        box-shadow: inset 0 -4px #16c4e8 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet :is(.mybet-section, .mybet-section-card, .mybet-results-card) {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #173a5c !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-section-card {
        padding: 0 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-section-head {
        margin: 0 !important;
        padding: 0 0 18px !important;
        border: 0 !important;
        border-bottom: 0 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-section-copy {
        transform: translateY(-4px) !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-section-title {
        margin: 0 0 2px !important;
        color: #0b3158 !important;
        font-size: 28px !important;
        font-weight: 900 !important;
        letter-spacing: -.045em !important;
        line-height: 1.2 !important;
        text-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-section-caption {
        color: #738aa0 !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-subtabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        width: 100% !important;
        min-height: 46px !important;
        margin: 0 0 5px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid #e9edf0 !important;
        border-radius: 0 !important;
        background: #fefefe !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-subtabs > a {
        width: calc(100% / 7) !important;
        min-width: 0 !important;
        flex: 0 0 calc(100% / 7) !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-subtabs a {
        display: grid !important;
        min-width: 0 !important;
        height: 44px !important;
        padding: 0 12px !important;
        place-items: center !important;
        border: 0 !important;
        border-right: 1px solid #e9edf0 !important;
        border-radius: 0 !important;
        color: #173a5c !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-subtabs a.on {
        color: #fff !important;
        background: #0272bb !important;
        box-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-bulk-actions {
        gap: 9px !important;
        min-height: 36px !important;
        margin: 0 0 -3px !important;
        padding: 0 1px 0 0 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-bulk-actions :is(.btn_blue, .btn_red) {
        display: grid !important;
        flex: 0 0 97px !important;
        width: 97px !important;
        min-width: 97px !important;
        height: 32px !important;
        padding: 0 16px !important;
        place-items: center !important;
        border: 1px solid #aac4d8 !important;
        border-radius: 2px !important;
        color: #315a7c !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        transform: translateY(-1px) !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-bulk-actions :is(#delSportChk, #delMiniChk) {
        border-color: #efb2b5 !important;
        color: #cf3c43 !important;
        background: #fff !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .mybet-results-card {
        padding: 0 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .match-result.game_list {
        padding: 0 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .bet-kind-badge {
        min-width: 66px !important;
        margin: 2px 0 5px !important;
        padding: 6px 12px !important;
        border: 0 !important;
        border-radius: 2px !important;
        color: #fff !important;
        background: #2476a8 !important;
        box-shadow: none !important;
        font-size: 11px !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list :is(.betting_title, .betting_title > li) {
        min-height: 33px !important;
        height: 33px !important;
        border-color: #e9ecf0 !important;
        color: #5f7890 !important;
        background: #fcfcfd !important;
        box-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content,
    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content:nth-child(even),
    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content:hover {
        border-color: #e9edf0 !important;
        background: #fefefe !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content > li,
    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content:nth-child(even) > li,
    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content:hover > li {
        min-height: 40px !important;
        height: 47px !important;
        padding: 8px 7px !important;
        border-color: #e0e7ed !important;
        color: #254967 !important;
        background: #fefefe !important;
        font-family: "Malgun Gothic", sans-serif !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content :is(.godd, .gname, .gscore) {
        color: #173f62 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list .betting_content .gtype span,
    html:has(.w_mybet) body.gundam-skin .w_mybet .sports-list .game_list li.gteam .vs {
        color: #4c7697 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .betting-footer {
        margin: 0 0 16px !important;
        padding: 10px 12px !important;
        border: 1px solid #e9edf0 !important;
        border-top: 0 !important;
        border-radius: 0 !important;
        color: #45647e !important;
        background: #fefefe !important;
        box-shadow: none !important;
        font-family: "Malgun Gothic", sans-serif !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .betting-footer :is(.num-accent, .num-highlight) {
        color: #0c5b91 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .betting-footer :is(.cancel_button, #bet_delete_btn) {
        border: 1px solid #efb2b5 !important;
        border-radius: 2px !important;
        color: #cf3c43 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .bet-badge {
        border: 1px solid #b8cad8 !important;
        border-radius: 2px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .bet-badge--win {
        border-color: #8bc6a1 !important;
        color: #27804a !important;
        background: #f4fbf6 !important;
    }

    html:has(.w_mybet) body.gundam-skin .w_mybet .bet-badge--lose {
        border-color: #eba9ae !important;
        color: #ce3e45 !important;
        background: #fff6f6 !important;
    }

    /* Defeat late legacy lion rules without changing their shared behavior elsewhere. */
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-bulk-actions #allchk {
        border-color: #aac4d8 !important;
        color: #315a7c !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-bulk-actions :is(#delSportChk, #delMiniChk) {
        border-color: #efb2b5 !important;
        color: #cf3c43 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer {
        position: relative !important;
        min-height: 54px !important;
        border-color: #e9edf0 !important;
        color: #45647e !important;
        background: #fefefe !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer :is(.num-accent, .num-highlight) {
        color: #0c5b91 !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer > span,
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer > span > span:not(.num-accent, .num-highlight) {
        color: #58718a !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer :is(.cancel_button, #bet_delete_btn) {
        position: absolute !important;
        top: 9px !important;
        right: 98px !important;
        border: 1px solid #efb2b5 !important;
        color: #cf3c43 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer > span:first-child {
        padding-left: 8px !important;
        padding-right: 170px !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .bet-badge--win {
        border-color: #8bc6a1 !important;
        color: #27804a !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .bet-badge--lose {
        border-color: #eba9ae !important;
        color: #ce3e45 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .sports-list .game_list .betting_title,
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .sports-list .game_list .betting_title > li {
        border-color: #e9ecf0 !important;
        color: #5f7890 !important;
        background: #fcfcfd !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .sports-list .game_list .betting_content,
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .sports-list .game_list .betting_content > li {
        border-color: #e9edf0 !important;
        color: #254967 !important;
        background: #fefefe !important;
        box-shadow: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list :is(.betting_title, .betting_content) {
        display: grid !important;
        width: 100% !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list :is(.betting_title, .betting_content) > li {
        width: auto !important;
        min-width: 0 !important;
        flex: none !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .game_list :is(.betting_title, .betting_content) { grid-template-columns: 110px 150px minmax(250px, 1.8fr) minmax(140px, 1fr) 84px 72px 78px 82px; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_minigame .game_list :is(.betting_title, .betting_content) { grid-template-columns: minmax(120px, 1fr) 180px 150px minmax(150px, 1.1fr) 210px 82px; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .game_list :is(.betting_title, .betting_content) { grid-template-columns: 72px 170px 150px 150px minmax(170px, 1.35fr) 94px 150px 82px 78px; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_token .game_list :is(.betting_title, .betting_content) { grid-template-columns: 72px 190px 170px minmax(170px, 1fr) 230px 82px; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_mingo .game_list :is(.betting_title, .betting_content) { grid-template-columns: 72px 190px 130px minmax(160px, 1fr) 140px 140px 120px 82px; }
}

/* Mybet detail polish: align order actions and keep empty/virtual states in the Gundam light system. */
@media (min-width: 1200px) {
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .betting-footer :is(.cancel_button, #bet_delete_btn) {
        top: 13px !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state {
        position: relative !important;
        isolation: isolate !important;
        display: flex !important;
        min-height: 230px !important;
        margin: 0 !important;
        padding: 34px 24px !important;
        overflow: hidden !important;
        border: 1px solid #d5e0e9 !important;
        border-radius: 0 !important;
        color: #738aa0 !important;
        background: #f8fafc !important;
        box-shadow: inset 0 1px #fff !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        text-align: center !important;
        clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px) !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state::before,
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state::after {
        display: none !important;
        content: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state__icon {
        display: inline-flex !important;
        width: 58px !important;
        height: 58px !important;
        margin: 0 0 4px !important;
        border: 1px solid #b9d2e2 !important;
        border-radius: 50% !important;
        color: #087ab7 !important;
        background: #edf6fa !important;
        box-shadow: inset 0 0 0 5px #f8fbfd !important;
        align-items: center !important;
        justify-content: center !important;
        text-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state__icon::before {
        width: 22px !important;
        height: 26px !important;
        border: 2px solid currentcolor !important;
        background:
            linear-gradient(currentcolor, currentcolor) 5px 7px / 10px 2px no-repeat,
            linear-gradient(currentcolor, currentcolor) 5px 13px / 10px 2px no-repeat,
            linear-gradient(currentcolor, currentcolor) 5px 19px / 7px 2px no-repeat !important;
        box-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state__title {
        color: #0b3158 !important;
        font-family: ChosunGu, "Malgun Gothic", sans-serif !important;
        font-size: 19px !important;
        font-weight: 900 !important;
        text-shadow: none !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin:has(.w_mybet) .w_mybet .mybet-empty-state__description {
        color: #738aa0 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
    }

}

/* 재작업 최종 가독성 보정 — 흐린 레거시 텍스트를 의미별 색으로 분리한다. */
@media (min-width: 1200px) {
    html body.gundam-skin #ajax-content.contents > .w_mybet .gundam-page-title-en { opacity: 1 !important; }

    html body.gundam-skin #ajax-content.contents > .w_mybet :is(.mybet-category-tabs a, .mybet-subtabs a) {
        color: #274b69 !important;
        -webkit-text-fill-color: #274b69 !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet :is(.mybet-category-tabs a.on, .mybet-subtabs a.on) {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: linear-gradient(#159bd5, #086fb4) !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li,
    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li :is(span, p, time) {
        color: #294a63 !important;
        -webkit-text-fill-color: #294a63 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_title > li {
        color: #0d4d7c !important;
        -webkit-text-fill-color: #0d4d7c !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        opacity: 1 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li .bet-badge.bet-badge--win {
        border-color: #18845f !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #18845f !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li .bet-badge.bet-badge--lose {
        border-color: #d94755 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #d94755 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li .bet-badge.bet-badge--special {
        border-color: #d47a18 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #d47a18 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .betting_content > li :is(.bet-badge.bet-badge--pending, .bet-badge.bet-badge--cancel) {
        border-color: #697d8e !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #697d8e !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .game_list .bet-badge {
        min-width: 48px !important;
        padding: 4px 8px !important;
        border-radius: 3px !important;
        font-weight: 900 !important;
        text-align: center !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-kind {
        color: #315b78 !important;
        -webkit-text-fill-color: #315b78 !important;
        background: #e8f1f6 !important;
        border: 1px solid #c8dbe6 !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick {
        display: inline-grid !important;
        min-width: 42px !important;
        min-height: 24px !important;
        place-items: center !important;
        padding: 3px 8px !important;
        border: 1px solid currentColor !important;
        border-radius: 3px !important;
        font-weight: 900 !important;
        background: #fff !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick--win { color: #147554 !important; -webkit-text-fill-color: #147554 !important; background: #edf8f3 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick--draw { color: #9b6500 !important; -webkit-text-fill-color: #9b6500 !important; background: #fff7df !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick--lose { color: #c33c4b !important; -webkit-text-fill-color: #c33c4b !important; background: #fff0f2 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick--over { color: #0873a8 !important; -webkit-text-fill-color: #0873a8 !important; background: #eaf7fc !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-pick--under { color: #7045a5 !important; -webkit-text-fill-color: #7045a5 !important; background: #f5effb !important; }

    html body.gundam-skin #ajax-content.contents > .w_mybet .el-pagination {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 24px 0 8px !important;
        background: transparent !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet .el-pagination :is(button, .number, a) {
        min-width: 34px !important;
        height: 34px !important;
        border: 1px solid #b8cddd !important;
        border-radius: 3px !important;
        color: #244f70 !important;
        -webkit-text-fill-color: #244f70 !important;
        background: #fff !important;
        font-weight: 800 !important;
        box-shadow: none !important;
    }
    html body.gundam-skin #ajax-content.contents > .w_mybet .el-pagination :is(.active, .on) {
        border-color: #087ab7 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #087ab7 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card { border: 1px solid #c4d4df !important; border-left: 4px solid #3380ad !important; border-radius: 3px !important; background: #fff !important; box-shadow: none !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__head { border-color: #c9d8e2 !important; background: #edf4f8 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__columns { color: #174c70 !important; -webkit-text-fill-color: #174c70 !important; background: #dfeaf1 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__leg { border-color: #d1dde5 !important; background: #fff !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__footer { border-color: #d1dde5 !important; background: #f2f7fa !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card :is(.esport-bet-card__date, .esport-bet-card__folders, .esport-bet-card__match, .esport-bet-card__selection, .esport-bet-card__odds, .esport-bet-card__footer span) { color: #294f69 !important; -webkit-text-fill-color: #294f69 !important; opacity: 1 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__market span { color: #086b98 !important; -webkit-text-fill-color: #086b98 !important; background: #e5f3f9 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__status { color: #fff !important; -webkit-text-fill-color: #fff !important; min-width: 48px !important; text-align: center !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card--win .esport-bet-card__status,
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card--settlement .esport-bet-card__status { border-color: #18845f !important; background: #18845f !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card--lose .esport-bet-card__status { border-color: #d94755 !important; background: #d94755 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card--pending .esport-bet-card__status { border-color: #b87908 !important; background: #b87908 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card--void .esport-bet-card__status { border-color: #637789 !important; background: #637789 !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card__type { color: #fff !important; -webkit-text-fill-color: #fff !important; }
    html body.gundam-skin #ajax-content.contents > .w_mybet .esport-bet-card .cancel_button { border: 1px solid #c53d49 !important; color: #c53d49 !important; -webkit-text-fill-color: #c53d49 !important; background: #fff !important; border-radius: 3px !important; }
}

@media (min-width: 1200px) {
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_virtual .mybet-choice-kind {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #315b78 !important;
        -webkit-text-fill-color: #315b78 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Sports order summary badges use the same filled result colors as each detail row. */
@media (min-width: 1200px) {
    html:not(#_gundamparity_) body.gundam-skin.gundam-skin #ajax-content.contents > .w_mybet #div_sport .betting-footer .bet-badge--win {
        border-color: #18845f !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #18845f !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin #ajax-content.contents > .w_mybet #div_sport .betting-footer .bet-badge--lose {
        border-color: #d94755 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #d94755 !important;
    }

    html:not(#_gundamparity_) body.gundam-skin.gundam-skin #ajax-content.contents > .w_mybet #div_sport .betting-footer .bet-badge--special {
        border-color: #d47a18 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: #d47a18 !important;
    }
}

/* Give every sports-history classification its own immediately recognizable color. */
@media (min-width: 1200px) {
    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .bet-kind-badge--domestic {
        background: #2476a8 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .bet-kind-badge--overseas {
        background: #248373 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .bet-kind-badge--special {
        background: #7552a0 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .bet-kind-badge--realtime {
        background: #c07828 !important;
    }

    html body.gundam-skin #ajax-content.contents > .w_mybet #div_sport .bet-kind-badge--inplay {
        background: #c24f5a !important;
    }
}
