
/* 애니메이션 */
@keyframes bounceAnimation {
    0%
    {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-0.375rem);
    }
    50% {
        transform: translateY(0);
    }
    70% {
        transform: translateY(-0.125rem);
    }
    100% {
        transform: translateY(0);
    }
}

/* 브랜드 색상 */
.brand {
    color: var(--bs-primary);
}

.m_menu {
    position: fixed;
    top: 0;
    right: -100%; /* 기본은 화면 밖 */
    width: 100%; /* 전체 화면 차지 */
    height: 100vh;
    background-color: #111; /* 어두운 배경 */
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

    .m_menu.open {
        right: 0; /* 열릴 때 화면 안쪽으로 */
    }

    .m_menu.d-flex {
        display: flex;
        flex-direction: column;
    }

.view12-lang-menu-bar .view12-lang-toggle,
.mobile-lang-dropdown .view12-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.view12-lang-menu-bar .view12-lang-toggle::after,
.mobile-lang-dropdown .view12-lang-toggle::after {
    margin-left: 0.25rem;
    filter: brightness(0) invert(1);
}
.view12-lang-flag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.375rem;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.view12-lang-flag-wrap img,
.view12-lang-flag {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: cover;
    border-radius: 50%;
}
.view12-lang-menu .dropdown-item.active,
.mobile-lang-dropdown .dropdown-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--bs-primary);
    font-weight: 600;
}
.mobile-lang-section {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mobile-lang-dropdown {
    display: inline-block;
}
.mobile-lang-dropdown .dropdown-menu {
    width: auto;
    min-width: 11rem;
    max-width: calc(100vw - 2.5rem);
    padding: 0.35rem 0;
}
.mobile-lang-dropdown .dropdown-item {
    width: auto;
    min-width: 100%;
    text-align: left;
    white-space: nowrap;
    padding: 0.45rem 0.9rem;
}
.mobile-lang-dropdown .dropdown-item:last-child {
    margin-bottom: 0 !important;
}

    .m_menu .m_icon {
        width: 1.5rem;
        margin-right: .5rem;
    }

/* 네비바 숨기기 */
._navbar {
    display: none;
}

/* 아이템 스타일 */
._header .item {
    margin: 0 1rem;
    color: var(--bs-white);
    flex-direction: column;
}

    ._header .item img {
        height: 3rem;
        margin-bottom: 0.5rem;
    }

    /* 아이콘 보여주기 */
    ._header .item.show-icon {
        margin: unset;
        width: 8rem;
    }

    /* 아이템 hover 시 애니메이션 */
    ._header .item:hover img {
        animation: bounceAnimation 1s ease-out infinite;
    }

    /* 활성 아이템 색상 */
    ._header .item.active {
        color: var(--bs-primary);
    }

/* 수집 아이템 */
.collect {
    width: 2rem;
    height: 2rem;
}

/* 헤더 패딩 */
.__header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* 모바일 메뉴 버튼 */
.mobile_menu .dropdown-toggle,
.mobile_menu > button {
    width: 2.125rem;
    height: 2.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #f4dba4;
    background: linear-gradient(180deg, #f8dea7 0%, #50442c 100%);
    border-radius: 50rem;
    position: relative;
}

    .mobile_menu .dropdown-toggle:before,
    .mobile_menu > button:before {
        content: "";
        position: absolute;
        inset: 0.125rem;
        background: linear-gradient(180deg, #4e4c47 0%, #030303 71.27%);
        border-radius: 50rem;
    }

    .mobile_menu .dropdown-toggle:after,
    .mobile_menu > button:after {
        content: unset;
    }

    .mobile_menu .dropdown-toggle i,
    .mobile_menu > button i {
        position: relative;
    }

/* 모바일 바 */
.mobile_bar {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    background: linear-gradient(180deg, #ffd93d 0%, #db8400 100%);
    color: #211202;
}

.mobile_bar_row--top {
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.mobile_bar_row--money {
    gap: 0.25rem 0.5rem;
    line-height: 1.35;
}

.mobile_bar .welcome_user {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mobile_bar .welcome_user b {
    display: inline;
    max-width: 5.5rem;
    margin-right: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.mobile_bar_item {
    white-space: nowrap;
}

.mobile_bar_divider {
    opacity: 0.65;
}

@media (max-width: 400px) {
    .mobile_bar {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    .mobile_bar_row--money {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .mobile_bar_divider {
        display: none;
    }

    .mobile_bar .welcome_user b {
        max-width: 4rem;
    }
}

/* 구분선 */
.break_line {
    height: 0.125rem;
    background: linear-gradient(180deg, #ffd93d 0%, #db8400 100%);
}

/* 미디어 쿼리 */
@media (min-width: 768px) {
    .m_menu {
        left: unset;
        width: 20rem;
    }
}

/* CSS 변수 */
:root {
    --casino_border: #cb28cf;
    --slots_border: #0095ee;
}

/* CSS property */
@property --angle {
    syntax: "<angle>";
    initial-value: 180deg;
    inherits: false;
}

/* 애니메이션 */
@keyframes hoverAnimation {
    0% {
        --angle: 180deg;
    }

    100% {
        --angle: 540deg;
    }
}

/* Orbitron 텍스트 스타일 */
.orbitron {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    padding-bottom: 1rem;
    margin: 1.5rem 0;
    border: 2px solid;
    border-top: unset;
    border-image-slice: 2;
    border-image-source: linear-gradient( 90deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.4) 49.5%, rgba(255, 255, 255, 0) 75% );
}

/* Provider 스타일 */
.provider {
    overflow: unset;
    position: relative; /* before 요소를 위해 추가 */
}

    .provider > img {
        border-radius: 1rem;
    }

    .provider:before {
        content: "";
        position: absolute;
        inset: -0.125rem;
        background: linear-gradient(var(--angle), rgba(203,40,207,0) 0%, var(--casino_border) 100%);
        border-radius: 1rem;
    }

    /* Slots 프로바이더 색상 변경 */
    .provider.provider_slots:before {
        background: linear-gradient(var(--angle), rgba(0,149,238,0) 0%, var(--slots_border) 100%);
    }

    /* Hover 시 애니메이션 */
    .provider:hover:before {
        animation: hoverAnimation 2s linear infinite forwards;
    }

/* Provider 로고 */
.provider_logo {
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient( 180deg, rgba(3,6,22,0) 0%, rgba(3,6,22,0.495) 26%, rgba(3,6,22,0.7) 57%, #030616 100% );
}

/* 카드 22 */
.card22 {
    background: linear-gradient(270deg, #040618 0%, rgba(4,6,24,0) 51.5%, #040618 100%);
    background-image: url(/Assets/Assets12/images/card.png);
    background-position: center right;
    background-repeat: no-repeat;
}

/* Casino / Slots Ball */
.casino_ball,
.slots_ball {
    width: 48rem;
    height: 48rem;
    top: 50%;
    transform: translate(50%, -50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(0,149,238,0.4) 0%, rgba(0,149,238,0) 100%);
    position: absolute;
}

    .casino_ball + img,
    .slots_ball + img {
        right: 0;
        top: 50%;
        transform: translateY(-25%);
    }

.slots_ball {
    right: unset;
    left: -30%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(148,49,194,0.3) 0%, rgba(148,49,194,0) 100%);
}

    .slots_ball + img {
        top: 40%;
        right: unset;
        transform: unset;
    }

/* Fake Background */
.fake_bg {
    height: 7.25rem;
    background-image: url(/Assets/Assets12/images/fake.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Footer */
.footer22 {
    background-color: #030616e5;
}

/* Carousel */
.carousel22 {
    border-top: 2px solid;
    border-image-slice: 2;
    border-image-source: linear-gradient( 90deg, rgba(255,255,255,0) 26.04%, rgba(255,255,255,0.6) 49.5%, rgba(255,255,255,0) 72.92% );
}

/* Template22 전체 배경 */
.template22 {
    background-color: #030616e5;
}

/* 오도미터 배경 */
._odometer_bg {
    top: 0;
    bottom: 0;
    background-color: #fff3;
    width: 60vw;
    position: relative; /* 필요시 */
}

/* 오도미터 숫자 */
._odometer {
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    position: absolute; /* 위치 제어 */
}

/* 잭팟 컨테이너 */
.jackpot > div {
    background-image: url(/assets/images/template_9/jackpot_bg.png);
    border-radius: 0.75rem;
    border: 0.25rem solid var(--bs-black);
    position: relative; /* before/after 요소 위치 위해 */
}

/* 잭팟 양쪽 장식 */
.jackpot:before,
.jackpot:after {
    content: "";
    position: absolute;
    top: -0.25rem;
    bottom: -0.25rem;
    background: linear-gradient(180deg, #fecb32 0%, #f8ab19 100%);
    border-radius: 1rem;
    width: 20%;
}

.jackpot:before {
    right: -0.25rem;
}

.jackpot:after {
    left: -0.25rem;
}

/* 오도미터 전용 */
.odometer_only {
    font-size: 1.5rem;
}

/* 미디어 쿼리: 큰 화면 */
@media (min-width: 992px) {
    .odometer_only {
        font-size: 2.5rem;
    }
}

/* 기본 블록 속성 */
._nghost_block {
    display: block;
}

/* 벨 스타일 */
.bell {
    flex: 0 0 3rem;
    height: 3rem;
    background: linear-gradient(180deg, #febd02 0%, #ec8e00 100%);
    border: 1px solid #fdc915;
    color: #2e0c11;
}

.app-main-notify .main_notify_bg {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #020403 0%, rgba(2, 4, 3, 0) 100%);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
}



.layer_popup_swiper {
    overflow-y: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    min-height: 100%;
    z-index: 99999;
    opacity: 1;
    background: rgba(36,36,43,.8)
}

    .layer_popup_swiper .swiper-container {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        padding: 20px 20px;
    }

    .layer_popup_swiper .swiper-wrapper {
        display: flex;
        max-width: 1453px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .layer_popup_swiper .swiper-slide {
        display: flex;
        width: 470px;
        height: 600px;
        min-height: 402px;
        margin-right: 5px;
        padding: 5px 5px;
        flex-direction: column;
    }

        .layer_popup_swiper .swiper-slide .pop_content {
            display: flex;
            flex: 1;
            min-height: 0;
            position: relative;
            flex-direction: column
        }

            .layer_popup_swiper .swiper-slide .pop_content .pop_title {
                padding: 15px;
                font-weight: 600;
                font-size: 20px;
                color: #ffc33b;
                text-align: left;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap
            }

            .layer_popup_swiper .swiper-slide .pop_content .pop_inner {
                overflow-y: auto;
                flex: 1;
                min-height: 0;
                font-size: 14px;
                color: #959595;
                line-height: 22px
            }

                .layer_popup_swiper .swiper-slide .pop_content .pop_inner p:after {
                    content: '';
                    display: block;
                    clear: both
                }

                .layer_popup_swiper .swiper-slide .pop_content .pop_inner p * {
                    float: none !important
                }

                .layer_popup_swiper .swiper-slide .pop_content .pop_inner p > img {
                    max-width: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100% !important;
                    height: 100% !important
                }

                .layer_popup_swiper .swiper-slide .pop_content .pop_inner.pc {
                    display: block
                }

                .layer_popup_swiper .swiper-slide .pop_content .pop_inner.mobile {
                    display: none
                }

            .layer_popup_swiper .swiper-slide .pop_content .gaps {
                margin-top: 30px
            }

            .layer_popup_swiper .swiper-slide .pop_content .pop_txt {
                color: #222;
                font-size: 20px;
                line-height: 28px;
                text-align: center
            }

                .layer_popup_swiper .swiper-slide .pop_content .pop_txt .income {
                    display: block;
                    margin-top: 20px;
                    font-size: 30px;
                    font-weight: 500
                }

                    .layer_popup_swiper .swiper-slide .pop_content .pop_txt .income em {
                        font-weight: 700
                    }

            .layer_popup_swiper .swiper-slide .pop_content .trade_status {
                width: 300px;
                height: 300px;
                margin: auto;
                font-size: 50px;
                font-weight: 600;
                color: #fff;
                line-height: 300px;
                text-align: center;
                border-radius: 50%
            }

                .layer_popup_swiper .swiper-slide .pop_content .trade_status.buy {
                    background-color: #ec5649
                }

                .layer_popup_swiper .swiper-slide .pop_content .trade_status.sell {
                    background-color: #0182dd
                }

            .layer_popup_swiper .swiper-slide .pop_content .btn_area {
                margin: 20px 0;
                text-align: center
            }

                .layer_popup_swiper .swiper-slide .pop_content .btn_area .btn_ui {
                    margin: 0 4px
                }

        .layer_popup_swiper .swiper-slide .popup-foot {
            display: flex;
            padding: 10px;
            background-color: #000
        }

            .layer_popup_swiper .swiper-slide .popup-foot .checkbox label {
                font-size: 12px;
                color: #fff
            }

        .layer_popup_swiper .swiper-slide .btn_close {
            display: block;
            position: absolute;
            bottom: 5px;
            right: 5px;
            z-index: 1000;
            width: 43px;
            height: 43px;
            color: #fff;
            background-position: -302px -366px
        }

    .layer_popup_swiper .swiper-pagination {
        display: none
    }

        .layer_popup_swiper .swiper-pagination .swiper-pagination-bullet {
            background-color: #fff
        }

    .layer_popup_swiper .btn_layer_close {
        display: none
    }

.pc-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* 모바일 (768px 이하일 때) */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

span.requested {
    background-color: var(--bs-info);
}

span.answered {
    background-color: var(--bs-success);
}

.notice-height {
    height: 70px; /* 원하는 높이로 설정 */
    /* 필요하면 최소 높이 지정 */
    min-height: 60px;
}

.table-responsive thead tr th {
    background-color: var(--background3);
    vertical-align: middle;
    padding: 1rem;
}

.sortable {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .sortable .arrow {
        display: block;
        font-size: .5rem;
        margin-left: .25rem;
    }

.table-responsive tbody tr td {
    background-color: var(--background3);
    vertical-align: middle;
    white-space: nowrap;
    padding: 1rem;
}

@media (min-width: 992px) {
    .table-responsive th:first-child, td:first-child {
        padding-left: 1.875rem !important;
    }
}
@media screen and (max-width: 768px) {
    .container {
        height: calc(100vh - 116px);
    }
}
.approved {
    background-color: var(--bs-success);
}
.rejected {
    background-color: var(--bs-danger);
}

/* 알림 영역 최대 높이 */
._notice {
    max-height: 60vh;
}

/* 아이콘 영역 크기 */
._notice .icon {
    flex: 0 0 2.5rem;
    height: 2.5rem;
}

    /* 아이템 hover 시 배경색 */
        ._notice .item:hover {
            background-color: var(--background);
        }

/* 설명 텍스트 두 줄 제한 */
    ._notice .desc {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 2.625rem;
    }

.no_data {
    height: 50dvh;
}

.msg_bell {
    --bell-bg: #de3fe1;
    --bell-color: #fff;
}

._bell .text_tiny {
    width: 1rem;
    height: 1rem;
    right: -.325rem;
    top: -.325rem;
    background: var(--bell-bg);
    color: var(--bell-color);
}

/* 입출금 내역: 거래상세 — View12 퍼플/마젠타 톤 */
.btn-payment-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 28px;
    padding: 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    background: linear-gradient(180deg, #ee4ff1 0%, #c122c4 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: filter 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px rgba(199, 40, 202, 0.35);
}

.btn-payment-detail:hover,
.btn-payment-detail:focus {
    filter: brightness(1.1);
    color: #fff;
    outline: none;
    box-shadow: 0 0 12px rgba(238, 79, 241, 0.55);
}

@media (max-width: 767.98px) {
    .btn-payment-detail {
        min-width: 0;
        height: 24px;
        padding: 0 8px;
        font-size: 0.75rem;
    }
}

/* 입금 테더: 지갑주소 select 드롭다운 화살표 */
.wallet-select-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.wallet-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.875rem;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: var(--bs-primary, #c728ca) transparent transparent transparent;
    pointer-events: none;
}

.wallet-select-wrap .wallet-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
    background-color: var(--bs-body-bg, #fff);
}

.wallet-select-wrap .wallet-select:focus {
    box-shadow: none;
}

/* 입출금 내역 PC: 테더 금액 2줄 */
.money_list .money-amount-stack {
    line-height: 1.35;
}

.money_list .money-amount-stack .money-amount-krw {
    margin-top: 2px;
}

.money-amount-usdt {
    font-size: 0.9em;
}