* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}

body,
html {
    line-height: 1.5;
    font-size: 14px;
    font-family: "Microsoft YaHei", Arial;
    color: #333;
    background-color: #fff;
}

body,
._w750 {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
}

input,
button,
select,
textarea {
    outline: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a {
    color: #444c69;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

i {
    font-style: normal;
}

ul,
ol {
    list-style: none;
}

video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.list-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 0 6px;
    color: var(--text-muted);
    font-size: .8rem;
}

.list-end::before,
.list-end::after {
    content: "";
    width: 2.4rem;
    height: .0667rem;
    background: #ddd;
}

/* 占位标签 */
.footer_placeholder {
    height: 90px;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3.7rem;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: #999;
    font-size: .8rem;
    height: 3.7rem;
    position: relative;
}

.bottom-nav-item.active {
    color: #2e7d32;
}

.bottom-nav-item svg {
    width: 1.5rem;
    height: 1.5rem;
}

.bottom-nav-center-btn {
    position: relative;
    top: -1rem;
}

.bottom-nav-center-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #66bb6a, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
    margin-bottom: 2px;
}

.tab-center .center-btn svg {
    width: 28px;
    height: 28px;
}

.tab-center span {
    color: #2e7d32;
    font-size: .8rem;
}

/* 默认状态下显示默认图标，隐藏激活图标 */
.bottom-nav .bottom-nav-item .active-icon {
    display: none;
}

.bottom-nav .bottom-nav-item .default-icon {
    display: inline-block;
}

/* 激活状态下显示激活图标，隐藏默认图标 */
.bottom-nav .bottom-nav-item.active .default-icon {
    display: none;
}

.bottom-nav .bottom-nav-item.active .active-icon {
    display: inline-block;
}

/* 弹窗 */
.popupmask {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popupmask.show {
    opacity: 1;
    visibility: visible;
}

.popupmask .popupHome {
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.3s ease;
}

.popupmask.show .popupHome {
    transform: translate(-50%, -50%) scale(1);
}

.popupHome {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 101;
    min-width: 85%;
    height: 33rem;
    border-radius: .6rem;
    box-shadow: 0 0 .625rem rgba(53, 52, 52, 0.2);
    background-color: #fff;
    overflow: hidden;
}

.popupHome .img-wrap {
    position: relative;
}

.popupHome .img-wrap img {
    display: block;
    width: 100%;
    height: 10.5rem;
}

/* 底部渐变模糊遮罩 */
.popupHome .img-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    transform: translateY(2px);
}

.popupHome .title {
    width: 100%;
    padding: .375rem;
    font-size: 1rem;
    font-weight: bold;
    color: #227b0c;
    text-align: center;
}

.popupHome .content {
    height: 17rem;
    padding: .625rem;
    word-break: break-all;
    overflow-y: auto;
}

.popupHome .closepopup {
    position: absolute;
    bottom: .625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: .5rem;
    background-color: #227b0c;
    border-radius: 3rem;
    font-size: .875rem;
    color: #fff;
    text-align: center;
}

/* ========== 顶部导航 ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 46px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.nav-back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-back svg {
    display: block;
    width: 20px;
    height: 20px;
}

.nav-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #111;
}