/* Mobile drawers reuse the live desktop side-frame DOM and desktop dimensions. */
@media (max-width: 980px) {
    html.side-panel-open,
    html.side-panel-open body {
        overflow: hidden !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active {
        box-sizing: border-box !important;
        top: 60px !important;
        bottom: auto !important;
        height: calc(100dvh - 60px) !important;
        border-radius: 0 !important;
        background: #eef2f5 !important;
        box-shadow: 0 18px 44px rgb(0 12 24 / 52%) !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active {
        right: auto !important;
        left: 0 !important;
        width: 258px !important;
        padding: 14px 13px 0 12px !important;
        border: 0 !important;
        border-right: 1px solid #8093a3 !important;
        background: #eef2f5 url('/skin/gundam_main/images/left-rail/gundam-left-chassis-v3.webp?v=6') top left / 258px 100% no-repeat !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active {
        right: 0 !important;
        left: auto !important;
        width: 280px !important;
        padding: 29px 14px 0 !important;
        border: 0 !important;
        border-left: 1px solid #8093a3 !important;
        background: #eef2f5 url('/skin/gundam_main/images/right-rail/gundam-right-chassis-v2.webp?v=2') top center / 280px 100% no-repeat !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active > .scrollFrame,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active > .scrollFrame {
        box-sizing: border-box !important;
        width: 100% !important;
        height: calc(100dvh - 100px) !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 2px 0 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active > .scrollFrame {
        height: calc(100dvh - 115px) !important;
        padding-right: 0 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu {
        width: 100% !important;
        max-width: 100% !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
        padding: 0 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a {
        width: auto !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 3px !important;
        gap: 3px !important;
        font-size: 11.5px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active::before,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active::after {
        content: none !important;
        display: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active > .scrollFrame {
        margin-top: 16px !important;
        height: calc(100dvh - 116px) !important;
        background: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu {
        background: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu {
        margin: 0 0 8px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a.ybg {
        border: 1px solid #a9b8c5 !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, #fdfefe, #e2e8ee) !important;
        box-shadow: inset 0 1px 0 #fff !important;
        color: #14243a !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a[data-menu-id="left_deposit"] {
        border-color: #8d1117 !important;
        background: linear-gradient(180deg, #e8524c, #a70f16) !important;
        color: #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a:is([data-menu-id="left_withdraw"], [data-menu-id="left_customer"]) {
        border-color: #16385c !important;
        background: linear-gradient(180deg, #2a5478, #10294a) !important;
        color: #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .gundam-left-promos {
        width: 100% !important;
        margin: 0 0 8px !important;
        gap: 5px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .gundam-left-promos .gundam-left-promo--holdem {
        grid-column: 1 / -1 !important;
        height: 61px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .gundam-left-promos .gundam-left-promo img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .gundam-left-promos .gundam-left-promo--holdem img {
        height: 61px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .sports-left-search {
        width: calc(100% + 2px) !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .sports-left-search__form {
        box-sizing: border-box !important;
        grid-template-columns: minmax(0, 1fr) 34px !important;
        gap: 0 !important;
        width: 100% !important;
        height: 34px !important;
        overflow: hidden !important;
        border: 1px solid #a0b1c0 !important;
        border-radius: 3px !important;
        background: #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .sports-left-search__input {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        padding: 0 8px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #16304d !important;
        font-size: 11.5px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .sports-left-search__input::placeholder {
        color: #596b7e !important;
        opacity: 1 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .sports-left-search__button {
        width: 34px !important;
        height: 32px !important;
        border: 0 !important;
        border-left: 1px solid #a0b1c0 !important;
        border-radius: 0 !important;
        background: linear-gradient(180deg, #2a5478, #10294a) !important;
        color: #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) {
        width: 100% !important;
        margin: 0 0 8px !important;
        overflow: hidden !important;
        border: 1px solid #a0b1c0 !important;
        border-radius: 3px !important;
        background: #fff !important;
        color: #16304d !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) h4 {
        display: flex !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        align-items: center !important;
        border: 0 !important;
        border-bottom: 1px solid #b6c3ce !important;
        background: linear-gradient(180deg, #fbfcfd, #dde5eb) !important;
        color: #12324f !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) h4::before {
        content: attr(aria-label) !important;
        color: inherit !important;
        font: inherit !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) li,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) li > a {
        border-color: #dde3e9 !important;
        background: #fff !important;
        background-image: none !important;
        color: #16304d !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active :is(.freematch, .gundam-popular-leagues) li > a {
        min-height: 34px !important;
        padding: 0 8px !important;
        gap: 6px !important;
        border: 0 !important;
        border-bottom: 1px solid #e3e8ed !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .freematch li > a > small {
        min-width: 24px !important;
        margin-left: auto !important;
        padding: 2px 6px !important;
        border-radius: 9px !important;
        background: linear-gradient(180deg, #2f6ea8, #10406e) !important;
        color: #fff !important;
        font-size: 10.5px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #16304d !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .bgy {
        border: 0 !important;
        border-radius: 2px !important;
        background: linear-gradient(180deg, #2a5478, #10294a) !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .gundam-account-balance-stack,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .gundam-account-balance {
        width: 100% !important;
        margin: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .gundam-account-balance {
        border: 1px solid #c6d1da !important;
        border-radius: 2px !important;
        background: #fff !important;
        color: #16304d !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .rmenu {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, 53px) !important;
        width: 252px !important;
        height: 110px !important;
        margin-top: 6px !important;
        padding: 0 !important;
        gap: 4px !important;
        background: transparent !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a {
        width: 100% !important;
        height: 53px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a[href="/deposit"] { grid-column: 1 / span 2 !important; grid-row: 1 !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a[href="/withdraw"] { grid-column: 3 / span 2 !important; grid-row: 1 !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a[href="/point"] { grid-column: 5 / span 2 !important; grid-row: 1 !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a[href="/memo"] { grid-column: 1 / span 3 !important; grid-row: 2 !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu > a[href="/customer"] { grid-column: 4 / span 3 !important; grid-row: 2 !important; }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu .gundam-slip-icon {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 53px !important;
        overflow: hidden !important;
        border: 1px solid #afbec9 !important;
        border-radius: 0 !important;
        clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px) !important;
        background: linear-gradient(180deg, #0b344e 0%, #061f34 54%, #031522 100%) !important;
        box-shadow: inset 0 0 0 2px #03111d, inset 0 0 0 3px rgb(224 235 242 / 20%) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu .gundam-slip-icon::before {
        top: 6px !important;
        color: #e8b64f !important;
        font: 900 20px/1 sans-serif !important;
        text-shadow: 0 0 6px rgb(48 199 247 / 38%) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rmenu .gundam-slip-icon::after {
        bottom: 5px !important;
        color: #fff !important;
        font: 900 11px/1 "Noto Sans KR", sans-serif !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip {
        display: block !important;
        width: 252px !important;
        height: 524px !important;
        border: 1px solid #91a8bc !important;
        background: #f8fafc !important;
        box-shadow: inset 0 0 0 2px #fff !important;
        color: #24415d !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .bgy.title {
        display: flex !important;
        height: 49px !important;
        min-height: 49px !important;
        border-bottom: 1px solid #b5c5d3 !important;
        background: linear-gradient(180deg, #fff, #f7f9fb) !important;
        color: #12375d !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-title-default {
        display: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-title-cross {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .bgy.title :is(i, span),
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip #cart_all_del {
        color: #294969 !important;
        text-shadow: none !important;
        white-space: nowrap !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-tabs,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-tabs button {
        height: 36px !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-tabs {
        display: flex !important;
        border-bottom: 1px solid #aabaca !important;
        background: #eef3f7 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-tabs button {
        flex: 1 1 33.333% !important;
        width: 33.333% !important;
        min-width: 0 !important;
        border-right: 1px solid #b8c6d2 !important;
        background: linear-gradient(180deg, #fdfefe, #e8eef3) !important;
        color: #274563 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-tabs button.active {
        background: linear-gradient(180deg, #34a9df, #1478b4) !important;
        color: #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip #cart_game_list_pos {
        height: 162px !important;
        min-height: 162px !important;
        margin: 0 !important;
        background: #fbfcfc !important;
        color: #244766 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-empty,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-slip-empty :is(i, strong, span) {
        background: #fbfcfc !important;
        color: #244766 !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betinput {
        display: flex !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        border-top: 1px solid #b9c7d3 !important;
        background: #fcfcfc !important;
        color: #24415d !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betinput input {
        width: 92px !important;
        height: 26px !important;
        border: 0 !important;
        background: transparent !important;
        color: #12375d !important;
        text-align: right !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betmoney {
        display: grid !important;
        height: 85px !important;
        padding: 2px 10px 11px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 6px 7px !important;
        border-top: 0 !important;
        background: #fcfcfc !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betmoney button {
        min-width: 0 !important;
        height: 34px !important;
        padding: 0 2px !important;
        border: 1px solid #a8bac9 !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, #fff, #dce3e9) !important;
        color: #102f4e !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betinput2 {
        height: 40px !important;
        min-height: 40px !important;
        border-top: 1px solid #b9c7d3 !important;
        background: #fbfcfc !important;
        color: #24415d !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betbtn_wrap {
        height: 77px !important;
        margin: 0 !important;
        padding: 13px 15px 15px !important;
        border-top: 1px solid #b9c7d3 !important;
        background: #fdfdfd !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip .betbtn {
        width: 100% !important;
        height: 48px !important;
        border: 1px solid #a9141b !important;
        background: linear-gradient(180deg, #cb302d, #971a1a) !important;
        color: #fff !important;
        text-shadow: 0 1px #7b0a10 !important;
    }

    /* Final parity pass: neutralize mobile-only menu ordering. */
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .left_content.active .leftMenu .menu > a {
        order: 0 !important;
    }

    /* Match the desktop authenticated summary card exactly. */
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child {
        width: 250px !important;
        min-height: 172px !important;
        height: 172px !important;
        padding: 0 0 5px !important;
        border: 1px solid #8fa3b4 !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, #fbfcfd 0%, #e2e8ee 100%) !important;
        box-shadow: inset 0 0 0 1px #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child .gundam-account-balance {
        height: 31px !important;
        padding: 0 10px !important;
        background: #fbfbfb !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .gundam-account-balance > div,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .gundam-account-balance > div > span {
        color: #16304d !important;
        font-family: ChosunGu, "Malgun Gothic", sans-serif !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        line-height: 16.1px !important;
        letter-spacing: normal !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .gundam-account-balance > div:last-child,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .gundam-account-balance > div:last-child > span {
        color: #667b8f !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active
    #toggle-rolling-btn-navi {
        width: 42px !important;
        height: 22px !important;
        border: 0 !important;
        border-radius: 9px !important;
        background: linear-gradient(180deg, #2f6ea8, #10406e) !important;
        color: #fff !important;
        font-family: ChosunGu, "Malgun Gothic", sans-serif !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 16.1px !important;
        text-shadow: none !important;
        box-shadow: inset 0 1px 0 rgb(255 217 128 / 12%) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .bgy .act-logout {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        height: 24px !important;
        margin: 0 !important;
        padding: 0 9px !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        border: 1px solid #9fb3c4 !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, #e8524c, #a70f16) !important;
        box-shadow: inset 0 1px rgb(255 255 255 / 26%) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active .rightMenu > .user_body:first-child
    .bgy .act-logout::after {
        content: "로그아웃" !important;
        display: block !important;
        color: #fff !important;
        font-family: ChosunGu, "Malgun Gothic", sans-serif !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-shadow: 0 1px #7b0a10 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-template-rows: 54px !important;
        width: 252px !important;
        height: 54px !important;
        margin-top: 6px !important;
        padding: 0 3px !important;
        gap: 2px !important;
        background: transparent !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions > a {
        grid-column: auto !important;
        grid-row: 1 !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 54px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions > a > .gundam-slip-icon {
        position: relative !important;
        display: block !important;
        box-sizing: border-box !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 54px !important;
        overflow: hidden !important;
        border: 1px solid #aab9c6 !important;
        border-radius: 4px !important;
        clip-path: none !important;
        background:
            linear-gradient(135deg, transparent 0 7px, rgb(35 112 169 / 8%) 7px 8px, transparent 8px),
            linear-gradient(180deg, #fff 0%, #f3f6f8 58%, #e2e8ed 100%) !important;
        box-shadow: inset 0 0 0 1px #fff, inset 0 -2px 0 rgb(24 70 105 / 10%), 0 1px 2px rgb(0 25 48 / 14%) !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon::before {
        position: absolute !important;
        top: 8px !important;
        right: 0 !important;
        left: 0 !important;
        display: block !important;
        color: #164c7b !important;
        font: 900 18px/1 Arial, sans-serif !important;
        text-align: center !important;
        text-shadow: 0 1px #fff !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon::after {
        position: absolute !important;
        right: 1px !important;
        bottom: 7px !important;
        left: 1px !important;
        display: block !important;
        color: #173d62 !important;
        font: 800 9px/1 "Noto Sans KR", sans-serif !important;
        letter-spacing: -.08em !important;
        text-align: center !important;
        text-shadow: 0 1px #fff !important;
        white-space: nowrap !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon--deposit::before { content: "₩" !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon--withdraw::before { content: "↻" !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon--memo::before { content: "✉" !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon--point::before { content: "◎" !important; }
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active #gundam-reference-quick-actions .gundam-slip-icon--customer::before { content: "☎" !important; }

    /* Keep the unread memo count in the button's upper-right status position. */
    html:not(#_mobile_pc_side_frames_) body.gundam-skin[data-gundam-page]
    .right_content.active .rightMenu > .user_body:first-child
    .rmenu > a[href="/memo"] .gundam-slip-memo-count {
        position: absolute !important;
        z-index: 5 !important;
        top: 3px !important;
        right: 3px !important;
        bottom: auto !important;
        left: auto !important;
        display: grid !important;
        box-sizing: border-box !important;
        min-width: 16px !important;
        height: 16px !important;
        padding: 0 4px !important;
        place-items: center !important;
        border: 1px solid #fff !important;
        border-radius: 999px !important;
        background: #d71920 !important;
        color: #fff !important;
        font: 900 9px/14px Arial, sans-serif !important;
        box-shadow: 0 1px 3px rgb(0 0 0 / 55%) !important;
        text-shadow: none !important;
    }

    /* Uploaded sidebar banners keep their ratio but fill the mobile rail width. */
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active
    .rightMenu > .r_banner {
        box-sizing: border-box !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active
    .rightMenu > .r_banner > a,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active
    .rightMenu > .r_banner img {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Mobile home-board rows need readable weight and contrast on the pale panel. */
    html:not(#_mobile_pc_side_frames_) body.gundam-skin[data-gundam-page="home"]
    .main_notice_area .notice_box table tr td,
    html:not(#_mobile_pc_side_frames_) body.gundam-skin[data-gundam-page="home"]
    .main_notice_area .gundam-main-board-subject {
        color: #102d46 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }

    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active[data-mobile-betslip="true"] .gundam-main-betslip :is(#bonus_odd_row, #manual_bonus_row, .betinfo) {
        display: none !important;
    }
}

@media (max-width: 980px) {
    html:not(#_mobile_pc_side_frames_) body.gundam-skin .right_content.active
    :is(#txt_menu_id, #txt_menu_pass)::placeholder {
        color: #61758a !important;
        opacity: 1 !important;
        font-weight: 600 !important;
    }
}
