* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
}

.content {
    padding: 0 10px;
    padding-bottom: 10px;
}

#app {
    margin: 0 auto;
    width: 100%;
    user-select: none;
}

.down_tips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: right;
    display: none;
    z-index: 9999;
}

.down_tips img {
    width: 250px;
    margin-top: 10px;
    margin-right: 10px;
}

.imgtips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: right;
    display: none;
    padding-top: 10px;
    z-index: 9999;
}

.imgtips img {
    width: 100%;
}

@media only screen and (min-width: 1069px) {
    #app {
        width: 980px;
    }
}

@media only screen and (min-width: 735px) {
    #app {
        width: 692px;
    }
}

@media only screen and (max-width: 500px) {
    ::-webkit-scrollbar {
        display: none;
    }
}

.bottom_tips {
    background-color: #f5f5f7;
    color: #6e6e73;
    padding: 10px;
    font-size: 14px;
    margin-top: 20px;
}

.tips_content {
    text-indent: 2em;
    margin-top: 8px;
    line-height: 1.5;
}

.we-star-rating-stars.we-star-rating-stars-5 {
    width: 60px;
}

.we-star-rating-stars {
    background-position-x: 0;
    display: inline-block;
    height: 12.5px;
    background-size: 12px 25px;
    background-image: url(../img/starfill.svg);
}

.app_info_list {
    margin-bottom: 20px;
}

.app_info_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.app_info_left {
    color: #636366;
    font-size: 14px;
}

.app_info_right {
    width: 70%;
    color: #333;
    font-size: 14px;
    text-align: right;
}

.app_yinsi {
    margin-bottom: 10px;
}

.yinsi_info {
    color: #1d1d1f;
    font-size: 13px;
    padding: 12px;
}

.yinsi_main {
    padding: 28px 20px 20px;
    width: 100%;
    border-radius: 16px;
    box-sizing: border-box;
    background-color: #f8f8f8;
}

.yinsi_icon {
    text-align: center;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.yinsi_icon svg {
    height: auto;
    width: 100%;
    fill: #0070c9;
}

.yinsi_name {
    text-align: center;
    color: #111;
    font-weight: 600;
    font-size: 15px;
    margin-top: 9px;
}

.yinsi_desc {
    margin-top: 6px;
    color: #666;
    text-align: center;
    font-size: 13px;
}

.app_pf {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.app_pftotal {
    text-align: right;
    font-size: 13px;
    color: #636366;
}

.app_pfleft {
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app_pfright {
    width: 70%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf_progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pf_star {
    width: 30%;
    display: flex;
    align-items: center;
}

.pf_prog {
    padding-left: 10px;
    width: 65%;
    height: 4px;
    border-radius: 4px;
    background-color: #efeff4;
    position: relative;
    box-sizing: border-box;
}

.pf_jindu {
    max-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #636366;
    border-radius: 4px;
    left: 0;
    z-index: 1;
}

.app_pfnum {
    font-size: 60px;
    font-weight: bold;
    color: #4c4c50;
    line-height: 1;
    margin-bottom: 5px;
}

.app_pfdesc {
    font-size: 12px;
    color: #636366;
    margin-top: 5px;
}

.app_label {
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 10px;
}

.app_label_left {
    font-size: 20px;
    font-weight: 700;
}

.app_info {
    font-size: 13px;
    padding: 10px;
    color: #1d1d1f;
    line-height: 1.6;
}

.app_info p {
    margin: 0;
    white-space: pre-wrap;
}

.app_img {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: nowrap;
}

.app_img img {
    display: inline-block;
    width: 40%;
    max-width: 150px;
    margin-right: 10px;
    border-radius: 10px;
}

.we-star-bar-graph__stars {
    width: 10px;
    height: 9px;
    display: inline-block;
    background-image: url(../img/star.svg);
    background-size: 49px 9px;
    background-position: 100% center;
    background-repeat: no-repeat;
    margin-left: auto;
}

.we-star-bar-graph__stars--5 {
    width: 49px;
}

.we-star-bar-graph__stars--4 {
    width: 39.5px;
}

.we-star-bar-graph__stars--3 {
    width: 29.5px;
}

.we-star-bar-graph__stars--2 {
    width: 19.5px;
}

.we-star-bar-graph__stars--1 {
    width: 9.5px;
}

.app_data_wrap {
    padding: 10px 0;
    border-top: 1px solid #d6d6d6;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: nowrap;
}

.data_top {
    font-size: 12px;
    color: #636366;
    text-align: center;
    transform: scale(0.8);
}

.data_mid {
    font-size: 20px;
    font-weight: bold;
    color: #636366;
    text-align: center;
    margin: 5px 0;
}

.data_bot {
    font-size: 12px;
    text-align: center;
    transform: scale(0.8);
    color: #8e8e93;
}

.data_item {
    display: inline-block;
    width: 19%;
    vertical-align: top;
}

.data_item:not(:last-child) {
    border-right: 1px solid #d6d6d6;
}

.header_wrap {
    display: flex;
    padding: 20px;
}

.header_left img {
    border-radius: 10px;
    width: 100px;
    height: 100px;
}

.header_right {
    padding-left: 10px;
    flex: 1;
}

.app_name {
    font-size: 18px;
    font-weight: bold;
}

.app_desc {
    font-size: 14px;
    color: #636366;
    margin-top: 8px;
}

.btn_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.install_btn {
    padding: 4px 20px;
    border-radius: 20px;
    background-color: #027aff;
    color: #fff;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
}

.install_btn:hover {
    background-color: #0066dd;
}

.jc_btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #027aff;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    user-select: none;
    cursor: pointer;
}

.jc_btn:hover {
    background-color: #0066dd;
}

.trust_btn {
    padding: 4px 16px;
    border-radius: 20px;
    background-color: #34c759;
    color: #fff;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

.trust_btn:hover {
    background-color: #2fb34a;
}

.install_btn.disabled {
    background-color: #8e8e93;
    cursor: not-allowed;
}

.install_btn.disabled:hover {
    background-color: #8e8e93;
}

/* 信任教程模态框 */
.trust-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.trust-modal.show {
    display: flex;
}

.trust-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trust-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

.close-btn {
    font-size: 28px;
    color: #8e8e93;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
}

.close-btn:hover {
    color: #636366;
}

.trust-modal-body {
    padding: 20px;
}

.trust-modal-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1d1d1f;
}

.trust-modal-body p:last-child {
    margin-bottom: 0;
}

.trust-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    background-color: #fff;
    color: #027aff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn:hover {
    background-color: #f5f5f7;
}

.modal-btn.primary {
    background-color: #027aff;
    color: #fff;
    border-color: #027aff;
}

.modal-btn.primary:hover {
    background-color: #0066dd;
}

/* 图文教程模态框 */
.image-tutorial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.image-tutorial-modal.show {
    display: flex;
}

.image-tutorial-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    height: 80vh;
}

.image-tutorial-content .close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 36px;
    color: #fff;
    z-index: 10001;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-container {
    width: 100%;
    height: calc(100% - 50px);
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
    z-index: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #fff;
    width: 10px;
    height: 10px;
}

