/* 商家助手 · 首页模板 */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
    background: #0f1210;
    -webkit-font-smoothing: antialiased;
}

.mh {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.mh-bg {
    position: absolute;
    inset: 0;
    background: url(../images/bg.jpg) center top / cover no-repeat;
    transform: scale(1.02);
}

.mh-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .88) 0%,
        rgba(255, 255, 255, .62) 30%,
        rgba(255, 255, 255, .12) 56%,
        rgba(0, 0, 0, .10) 100%);
}

.mh-main {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 17vh 26px 0;
}

.mh-badge {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(160deg, #4fd17a 0%, #2fae54 55%, #1f8a3f 100%);
    box-shadow: 0 10px 24px rgba(18, 80, 35, .28), inset 0 2px 0 rgba(255, 255, 255, .22);
}

.mh-title {
    font-size: clamp(34px, 9.4vw, 52px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: .5px;
    color: #10130f;
}

.mh-sub {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 500;
    color: #232823;
    letter-spacing: .5px;
}

.mh-line {
    display: block;
    width: 46px;
    height: 4px;
    margin-top: 14px;
    border-radius: 2px;
    background: #07c160;
}

.mh-actions {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: auto auto 0;
    padding: 40px 26px 0;
}

.mh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}
.mh-btn:active { transform: scale(.985); }

.mh-btn-primary {
    color: #fff;
    background: #07c160;
    box-shadow: 0 12px 26px rgba(7, 193, 96, .34);
}

.mh-btn-ghost {
    margin-top: 14px;
    color: #1a1e1b;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.mh-link {
    display: block;
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    opacity: .92;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.mh-foot {
    position: relative;
    padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

@media (min-width: 640px) {
    .mh-main { padding-top: 15vh; padding-left: 0; padding-right: 0; }
    .mh-actions { padding-left: 0; padding-right: 0; padding-bottom: 0; }
}
