* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html body {
    width: 100%;
    height: 100%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Segoe UI, Arial, Roboto, PingFang SC,
    miui, Hiragino Sans GB, Microsoft Yahei, sans-serif;
    border: 0;
    color: #333;
    overflow: hidden;
    position: fixed;
    -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
    display: none;
}


.container {
    position: fixed;
    z-index: 900000;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #27292f;
}

.flex-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.header {
    width: 100%;
    position: fixed;
    z-index: 900001;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 1.222rem;
    background-color: #160128;
    color: #F2F2F2;
    -webkit-box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.3);
    box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.3);
}

.header-title {
    font-size: 0.5555rem;
    font-weight: normal;
}

.back-btn {
    position: absolute;
    left: 0.425rem;
    width: 0.8555rem;
    height: 0.5555rem;
    /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>');*/
    background-image:url('ty-fanhui.png');
	background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 55%;
}

.deposit-container {
    position: absolute;
    margin-top: 1.2rem;
    padding: 0.333rem;
    width: 100%;
    box-sizing: border-box;
}

.deposit-promo {
    color: #FF9800;
    font-size: 0.2888rem;
    line-height: 0.6222rem;
    text-align: left;
    margin-bottom: 0.325rem;
    padding: 0.0222rem 0.3125rem;
    background-color: rgba(255, 152, 0, 0.1);
    border-radius: 0.25rem;
}

.amount-options {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -0.3125rem 0;
}

.amount-option {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(33% - 0.6855rem);
    -moz-box-flex: 0;
    -ms-flex: 0 0 calc(33% - 0.6855rem);
    flex: 0 0 calc(33% - 0.6855rem);
    margin: 0 0.3125rem 0.325rem;
    background-color: #3d414b;
    border-radius: 0.2rem;
    padding: 0.188rem 0.125rem;
    text-align: center;
    border: 0.0625rem solid #4a4e58;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.amount-option.selected {
    border-color: #1E88E5;
    background-color: rgba(30, 136, 229, 0.2);
    color: #1E88E5;
}

.amount-option .amount {
    font-size: 0.3222rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0.2rem 0 0;
}

.amount-option .bonus {
    font-size: 0.2888rem;
    color: #FF9800;
    margin-top: 0.1222rem;
}

.amount-option.has-bonus .amount {
    margin-bottom: 0.111rem;
}

.amount-option .promo-tag {
    position: absolute;
    top: -0.1888rem;
    right: 0;
    background-color: #FF5722;
    color: white;
    font-size: 0.266rem;
    padding: 0.033rem 0.3888rem;
    border-radius: 0.5rem;
    display: none;
    font-weight: bold;
    width: 2.4rem;
    height: 0.4rem;
    line-height: 0.3rem;
}

.amount-option .promo-tag.promo-hot {
    width: 1.5rem;
    height: 0.4rem;
    line-height: 0.3rem;
    right: -0.122rem;
}

.amount-option.has-promo .promo-tag {
    display: block;
}

.custom-amount {
    margin-top: -0.3555rem;
    margin-bottom: 0.1555rem;
    position: relative;
}

.custom-amount .input-wrapper {
    position: relative;
}

.custom-amount input {
    width: 100%;
    padding: 0.2555rem;
    border: 0.0525rem solid #4a4e58;
    border-radius: 0.122rem;
    font-size: 0.3222rem;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #3d414b;
    color: #ffffff;
    box-sizing: border-box;
}

.custom-amount input:focus {
    border-color: #1E88E5;
}

.custom-amount input.invalid {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.min-amount-hint {
    position: absolute;
    right: 0.444rem;
    top: 50%;
    color: #8a8a8a;
    font-size: 0.3222rem;
}


.deposit-btn {
    width: 100%;
    padding: 0.3333rem;
    background-color: #1E88E5;
    color: white;
    border: none;
    border-radius: 0.122rem;
    font-size: 0.4444rem;
    font-weight: bold;
    margin-bottom: 0.444rem;
    -webkit-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.deposit-btn:active {
    background-color: #1565C0;
}

.tips-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 0.222rem;
    color: #cecccc;
    font-weight: bold;
    font-size: 0.3666rem;
}

.tips-title::before,
.tips-title::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.tips-title::before {
    margin-right: 0.322rem;
}

.tips-title::after {
    margin-left: 0.322rem;
}

.tips-content {
    font-size: 0.3666rem;
    color: #cecccc;
    line-height: 1.6;
}

.tips-content p {
    text-align: left;
    margin-bottom: 0.3125rem;
    border-bottom: .02667rem solid #2a3b50;
}

.hint-container {
    position: fixed;
    z-index: 900002;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 0.3444rem;
    background-color: rgb(0 0 0 / 80%);
    border-radius: 0.21111rem;
}

.hint-text {
    color: white;
    font-size: 0.36666rem;
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    word-wrap: break-word;

}

.mask {
    background-color: #000000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-opacity: 0.8;
    opacity: 0.6;
    filter: alpha(opacity=80);
    z-index: 900001;
    height: 100vh;
    width: 100%;
}

.loader {
    border: 0.15rem solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 0.15rem solid #3498db;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 1.5s linear infinite;
    -moz-animation: spin 1.5s linear infinite;
    -webkit-animation: spin 1.5s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 900003;
    margin-top: -1.2rem;
    margin-left: -0.8rem;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

.deposit-confirm {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    background-color: white;
    border-radius: 0.14444rem;
    z-index: 900002;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dialog-header {
    padding: 0.222rem 0.288rem;
    border-bottom: 0.032rem solid #f0f0f0;
    font-size: 0.4444rem;
}

.dialog-body {
    padding: 0.222rem 0.288rem;
    font-size: 0.3444rem;
    line-height: 1.5;
    color: #666;
}

.dialog-footer {
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 0.222rem 0.288rem;
    border-top: 0.032rem solid #f0f0f0;
}

.dialog-footer button {
    width: 100%;
    height: 100%;
    padding: 0.222rem 0.288rem;
    border-radius: 0.088rem;
    font-size: 0.3222rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.confirm-btn {
    background-color: #1890ff;
    color: white;
    border: 1px solid #1890ff;
}

.confirm-btn:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
}

.third-header-title {
    max-width: 4.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	font-size:20px;
}

.third-deposit-btn {
    position: absolute;
    right: 0.2222rem;
    font-size: 0.3555rem;
    font-weight: bold;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.2rem 0.2rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0.2rem 0.2rem;
    border-radius: 0.0888rem;
}

.third_deposit-container {
    position: relative;
    /*padding: 0.333rem 0 0.444rem 0;*/
	padding: 0 0 0 0;
    /*margin-top: 0.8rem;*/
}

.third_iframe {
    width: 100%;
    height: calc(100vh - 1.222rem);
    border: 0;
}