:root {
    --img-radius: 2.67vw;
    --fs-nav: 4.53vw;
    --color-nav-text: #333333;
}

[v-cloak] {
    display: none !important;
}

body {
    margin: 0;
    background: #fff5e8;
}

/* 触摸/点击后的默认 focus 矩形框（div+tabindex、role=button 等） */
.page-root [role="button"]:focus,
.page-root [tabindex]:not([tabindex="-1"]):focus,
.page-root button:focus,
.page-root a:focus {
    outline: none;
}

.page-root {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-root img {
    border-radius: var(--img-radius);
}

/* 全宽头图、弹窗壳图等本身带形状，不叠加圆角 */
.page-root .home-banner,
.page-root .hero-jingyu,
.page-root .prize-badge,
.page-root .tab-bg,
.page-root .pop-multi-bg,
.page-root .pop-one-bg,
.page-root .pop-sign-bg,
.page-root .pop-close img,
.page-root .pop-multi-x img,
.page-root .home-guide-tip,
.page-root .act-rules img,
.page-root .sig-rules img,
.page-root .sig-banner,
.page-root .sig-enroll img,
.page-root .sig-promo img,
.page-root .sig-tier-prize img,
.page-root .sig-tier-btn img,
.page-root .sig-tips-ico img,
.page-root .sp-root img {
    border-radius: 0;
}

/* ========== 顶栏导航 ========== */
.nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 3.4667vw 4.8vw;
    min-height: 11.7333vw;
}

.nav-bar {
    display: flex;
    align-items: center;
    align-self: stretch;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 3.4667vw 4.8vw;
    background: #ffffff;
}

.nav-back {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-back:focus {
    outline: none;
}

.nav-arrow {
    display: block;
    flex-shrink: 0;
    height: 3.3012vw;
    width: 3.3012vw;
    box-sizing: border-box;
    border-left: .5867vw solid var(--color-nav-text);
    border-bottom: .5867vw solid var(--color-nav-text);
    transform: rotate(45deg);
}

.nav-title {
    flex: 1;
    margin: 0;
    font-size: var(--fs-nav);
    font-weight: 600;
    color: var(--color-nav-text);
    text-align: center;
    line-height: 1;
}

/* ========== 任务操作按钮（首页 + 任务页共用，切图三态） ========== */
.task-act {
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 21.3333vw; /* 80@375 */
    height: 8.2667vw; /* 31@375 */
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.task-act img {
    display: block;
    width: 21.3333vw; /* 80@375 */
    height: 8.2667vw; /* 31@375 */
    object-fit: contain;
}

/* ========== 五选一弹窗（首页 / 权益 / 任务页共用） ========== */
.pop-layer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.pop-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(8, 16, 26, 0.8);
}

.pop-wrap {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* splash(z-index:3000) 之上展示 Toast */
.toast-over-splash.van-toast {
    z-index: 10001 !important;
}

.toast-over-splash .van-toast__text {
    max-width: 72vw;
    line-height: 1.5;
    word-break: break-all;
}

.pop-close {
    z-index: 2110;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.pop-close:focus {
    outline: none;
}

.pop-close img {
    display: block;
    width: 10.6667vw;
    height: auto;
}

.pop-multi {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.pop-multi-bg {
    display: block;
    width: 100%;
    height: auto;
}

.pop-multi-body {
    position: absolute;
    top: 15.2vw;
    right: 6.2667vw;
    bottom: 5.8667vw;
    left: 6.2667vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 6.1333vw;
}

.pop-multi-ttl {
    width: 33.3333vw;
    height: 8.2667vw;
    margin-top: 25.3333vw;
    object-fit: contain;
    flex-shrink: 0;
}

.pop-multi-head {
    margin-top: 6.6667vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.9333vw;
    width: 100%;
    box-sizing: border-box;
}

.pop-multi-icon {
    width: 8vw;
    height: 8vw;
    object-fit: contain;
    flex-shrink: 0;
}

.pop-multi-name {
    flex: 1;
    margin-top: 1.0667vw;
    margin-left: 2.6667vw;
    font-size: 4vw;
    font-weight: 400;
    color: #000;
    line-height: 1.2;
    white-space: nowrap;
}

.pop-multi-claim {
    width: 18.9333vw;
    height: auto;
}

.pop-multi-sub {
    margin-top: 6.6667vw;
    margin-bottom: 4vw;
    font-size: 3.7333vw;
    font-weight: 400;
    color: #999999;
    line-height: 1;
    text-align: center;
}

.pop-pick-list {
    display: flex;
    flex-direction: column;
    padding: 0 2.9333vw;
    width: 100%;
    background: #fffaf4;
    border-radius: 0 0 2.6667vw 2.6667vw;
    box-sizing: border-box;
}

.pop-pick-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2.6667vw 0;
    border-bottom: 1px solid #eeeeee;
}

.pop-pick-item:last-child {
    border-bottom: none;
}

.pop-pick-icon {
    display: block;
    width: 8vw;
    height: 8vw;
    object-fit: contain;
    flex-shrink: 0;
}

.pop-pick-name {
    flex: 1;
    margin-left: 2.6667vw;
    font-size: 4vw;
    font-weight: 400;
    color: #000;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pop-pick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.pop-pick-btn img {
    display: block;
    width: 18.9333vw;
    height: auto;
}

.pop-multi-x {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20vw;
    margin-left: 0;
    padding: 0;
    border: none;
    background: transparent;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
    z-index: 100;
}

.pop-multi-x img {
    display: block;
    width: 10.6667vw;
    height: auto;
}
