.subscription-page {
    width: 100%;
    min-height: 360px;
    background: #fff;
}

.subscription-hero {
    min-height: 360px;
    background: #c7f2ff url('/images/subscription/a6ced9cecc0528b5345a37e9a86228d6c4a72bf3.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
}

.subscription-hero__content {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0;
}

.subscription-hero h1 {
    max-width: 480px;
    margin: 0 0 24px;
    color: #172332;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 400;
}

.subscription-status {
    display: inline-flex;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    margin: 0;
    padding: 9px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .92);
    color: #414141;
    font-size: 15px;
}

.wechat-subscription-control {
    opacity: 0;
    pointer-events: none;
}

.wechat-subscription-control--ready {
    opacity: 1;
    pointer-events: auto;
}

.wechat-subscription-control--hero {
    position: relative;
    width: 112px;
    height: 42px;
}

.wechat-subscription-control wx-open-subscribe {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

.wechat-subscription-control--hero wx-open-subscribe {
    width: 112px;
    height: 42px;
}

.wechat-subscription-control--floating {
    position: fixed;
    right: 2px;
    bottom: calc(300px + env(safe-area-inset-bottom)) !important;
    width: 50px;
    height: 50px;
    z-index: 900;
}

.wechat-subscription-control--floating wx-open-subscribe {
    width: 50px;
    height: 50px;
}

.wechat-subscription-control--unavailable wx-open-subscribe {
    display: none;
}

.subscription-assistive-message {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.subscription-toast {
    position: fixed;
    left: 50%;
    bottom: calc(210px + env(safe-area-inset-bottom));
    z-index: 10010;
    max-width: calc(100% - 48px);
    box-sizing: border-box;
    transform: translateX(-50%);
    padding: 10px 16px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .subscription-page,
    .subscription-hero {
        min-height: 276px;
    }

    .subscription-hero {
        background-position: 48% center;
    }

    .subscription-hero__content {
        width: calc(100% - 40px);
        padding: 48px 0 52px;
    }

    .subscription-hero h1 {
        max-width: 290px;
        margin-bottom: 20px;
        font-size: 27px;
        line-height: 1.16;
    }
}
