.main {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    height: 100%;
    background: #381D0B;
}

.apple {
    display: none;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    height: 100%;
    background: #2c5cc4;
}

.content {
    padding-bottom: 80px;
    position: relative;
    display: block;
    width: 100%;
    overflow: auto;
}

.page_img {
    display: block;
    width: 100%;
    height: 100%;
}

.imgbox1,
.imgbox2 {
    display: block;
    width: 100%;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    height: 46px;
}

footer {
    position: fixed;
    bottom: 0;
    max-width: 500px;
    width: 100%;
    height: 80px;
    z-index: 99;
    color: #ffffff;
    /* background-color: rgba(0, 0, 0, 0.8); */
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1.3px;
}

.cg-footer-btn {
    flex: 1;
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 9px;
}

.cg-footer-btn .cg-footer-bubble {
    position: absolute;
    bottom: 50px;
    right: 0;
    padding: 8px 12px;
    background-color: #ea4e3d;
    border-radius: 10px;
    font-size: 14px;
    max-width: calc(100% - 12px);
    white-space: normal;
    word-break: break-all;
}

.cg-footer-btn .cg-footer-bubble:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-left: 16px solid #ea4e3d;
    left: 0;
    bottom: -9px;
}

.cg-fix-tool {
    position: fixed;
    display: block;
    z-index: 100;
}

.cg-fix-tool.cg-fix-right-top {
    top: 100px;
    right: max(50vw - 250Px + 6px, 6px);
}

.cg-fix-item {
    display: block;
    width: 67px;
    height: 67px;
    margin-top: 12px;
}

.cg-fix-default {
    color: rgb(21, 119, 254); 
    border-color: rgb(21, 119, 254);
    background-color: rgba(255, 255, 255, .7);
    border-radius: 30%;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    border: solid 3px #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.imgbox {
    display: flex;
    justify-content: center;
    margin-top: -6rem;
    margin-bottom: 2rem;
    width: 100%;
}

#imgbox-center {
    display: none;
    width: 90%;
    height: 80%;
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);

    align-items: center;
    justify-content: center; 
}

#ios-image {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    height: auto; 
    margin-top: auto;
}

#ios-button {
    display: none;
    position: fixed;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 91%;
    height: 38px;
    z-index: 10000;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.ios_btn {
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: black;
    background-color: #e0efdd;
    padding: 12px; 
    border: 0;
}