html.fy-confproduct-v6r2,
html.fy-confproduct-v6r2 body {
    width: 100%;
    min-height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(44, 187, 237, .13),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #f2faff 0%,
            #edf7fd 100%
        ) !important;

    overflow-x: hidden !important;
}

html.fy-confproduct-v6r2 *,
html.fy-confproduct-v6r2 *::before,
html.fy-confproduct-v6r2 *::after {
    box-sizing: border-box;
}

/*
 * JS识别出的旧Staryun顶部。
 * 只在套餐配置页面隐藏。
 */

html.fy-confproduct-v6r2
.fy-v6r2-legacy-header {
    display: none !important;
    visibility: hidden !important;

    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    opacity: 0 !important;
    overflow: hidden !important;

    pointer-events: none !important;
}

/*
 * 去掉旧顶部隐藏后残留的白色空隙。
 */

html.fy-confproduct-v6r2 #main-body {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding-top: 0 !important;

    background: transparent !important;
}

html.fy-confproduct-v6r2-auth
#main-body {
    padding-top: 18px !important;
}

html.fy-confproduct-v6r2
body > .main-content,

html.fy-confproduct-v6r2
body > .content-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
 * 未登录：首页同款导航
 * ========================================================= */

.fy-home-v6r2-header {
    position: relative;
    z-index: 999999;

    width: 100vw;

    margin-left:
        calc(50% - 50vw);

    color: #fff;

    background:
        linear-gradient(
            105deg,
            #0b4d95 0%,
            #0d70bc 45%,
            #1ca6dd 75%,
            #3bc6ed 100%
        );

    box-shadow:
        0 13px 36px
        rgba(7, 70, 123, .18);
}

.fy-home-v6r2-shell {
    position: relative;

    display: flex;

    width:
        min(
            1480px,
            calc(100% - 48px)
        );

    min-height: 92px;

    margin: 0 auto;

    align-items: center;
    gap: 30px;
}

.fy-home-v6r2-brand {
    display: inline-flex;

    align-items: center;
    gap: 16px;

    color: #fff !important;
    text-decoration: none !important;

    flex: 0 0 auto;
}

.fy-home-v6r2-mark {
    display: inline-flex;

    width: 63px;
    height: 63px;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, .29);

    border-radius: 19px;

    background:
        rgba(255, 255, 255, .11);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .15);
}

.fy-home-v6r2-mark svg {
    width: 43px;
    height: 43px;
}

.fy-home-v6r2-brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.fy-home-v6r2-brand-text strong {
    color: #fff !important;

    font-size: 35px;
    font-weight: 950;
    letter-spacing: 1px;
}

.fy-home-v6r2-brand-text span {
    margin-top: 9px;

    color:
        rgba(255, 255, 255, .87) !important;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 4px;
}

.fy-home-v6r2-links {
    display: flex;

    margin-left: auto;

    align-items: center;
    gap: 34px;
}

.fy-home-v6r2-links a {
    color: #fff !important;

    font-size: 16px;
    font-weight: 900;

    text-decoration: none !important;
    white-space: nowrap;
}

.fy-home-v6r2-actions {
    display: flex;

    align-items: center;
    gap: 14px;
}

.fy-home-v6r2-button {
    display: inline-flex;

    min-height: 50px;

    padding: 0 21px;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    font-size: 15px;
    font-weight: 900;

    text-decoration: none !important;
    white-space: nowrap;
}

.fy-home-v6r2-contact {
    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            #4bd900,
            #75df00
        );

    box-shadow:
        0 11px 25px
        rgba(69, 194, 0, .22);
}

.fy-home-v6r2-login {
    color: #fff !important;

    border:
        1px solid
        rgba(255, 255, 255, .30);

    background:
        rgba(255, 255, 255, .08);
}

.fy-home-v6r2-register {
    color: #0671bd !important;

    background: #fff;
}

.fy-home-v6r2-toggle {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.fy-home-v6r2-menu {
    display: none;

    width: 49px;
    height: 49px;

    margin-left: auto;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, .30);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .10);

    cursor: pointer;
}

.fy-home-v6r2-menu span,
.fy-home-v6r2-menu span::before,
.fy-home-v6r2-menu span::after {
    display: block;

    width: 23px;
    height: 2px;

    content: "";

    border-radius: 999px;

    background: #fff;
}

.fy-home-v6r2-menu span {
    position: relative;
}

.fy-home-v6r2-menu span::before {
    position: absolute;
    top: -7px;
    left: 0;
}

.fy-home-v6r2-menu span::after {
    position: absolute;
    top: 7px;
    left: 0;
}

/* =========================================================
 * 原生付款周期卡片
 * ========================================================= */

html.fy-confproduct-v6r2
#order-standard_cart
.order-list {
    display: grid !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(190px, 260px)
        ) !important;

    gap: 14px !important;

    align-items: stretch !important;
    justify-content: start !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list::before,

html.fy-confproduct-v6r2
#order-standard_cart
.order-list::after {
    display: none !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle] {
    position: relative !important;
    isolation: isolate;

    display: block !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 92px !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    cursor: pointer;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]:only-child {
    width: min(300px, 100%) !important;
    max-width: 300px !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]
.panel {
    position: relative;
    z-index: 1;

    display: block !important;

    width: 100% !important;
    min-height: 92px !important;

    margin: 0 !important;

    overflow: hidden;

    border:
        1px solid
        #cbdfea !important;

    border-radius: 17px !important;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f2f9fe
        ) !important;

    box-shadow:
        0 11px 28px
        rgba(20, 86, 137, .09) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]:hover
.panel {
    transform: translateY(-2px);

    box-shadow:
        0 16px 34px
        rgba(18, 103, 168, .14) !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]
.panel-body {
    display: block !important;

    min-height: 92px !important;

    padding: 0 !important;

    background: transparent !important;
}

/*
 * 原主题可能把span文字隐藏，
 * 这里直接使用data-cycle和data-billing显示，
 * 不修改隐藏字段和点击逻辑。
 */

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]
.panel-body
span,

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]
.panel-body
i {
    display: none !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]::before {
    position: absolute;
    top: 18px;
    left: 19px;
    z-index: 3;

    color: #124a75;

    font-size: 16px;
    font-weight: 950;
    line-height: 1;

    pointer-events: none;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="monthly"]::before {
    content: "月付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="quarterly"]::before {
    content: "季付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="semiannually"]::before {
    content: "半年付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="annually"]::before {
    content: "年付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="biennially"]::before {
    content: "两年付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle="triennially"]::before {
    content: "三年付";
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle]::after {
    position: absolute;
    right: 19px;
    bottom: 17px;
    left: 19px;
    z-index: 3;

    overflow: hidden;

    content:
        attr(data-billing);

    color: #0878c9;

    font-size: 14px;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;

    pointer-events: none;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle].selected
.panel {
    border-color:
        transparent !important;

    background:
        linear-gradient(
            135deg,
            #0a59aa,
            #20afe1
        ) !important;

    box-shadow:
        0 14px 30px
        rgba(16, 116, 188, .24) !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle].selected::before,

html.fy-confproduct-v6r2
#order-standard_cart
.order-list
> [data-cycle].selected::after {
    color: #fff !important;
}

/* PC配置内容保持整行 */

html.fy-confproduct-v6r2
#order-standard_cart
dl.bk-group {
    width: 100% !important;
    max-width: 100% !important;
}

html.fy-confproduct-v6r2
#order-standard_cart
dd.bk-group-detail {
    min-width: 0 !important;
    overflow: visible !important;
}

/* =========================================================
 * 平板与手机
 * ========================================================= */

@media (max-width: 1100px) {
    .fy-home-v6r2-links {
        gap: 18px;
    }

    .fy-home-v6r2-links a {
        font-size: 14px;
    }

    .fy-home-v6r2-button {
        padding: 0 15px;
    }
}

@media (max-width: 900px) {
    .fy-home-v6r2-shell {
        width:
            calc(100% - 28px);

        min-height: 78px;
    }

    .fy-home-v6r2-mark {
        width: 51px;
        height: 51px;

        border-radius: 15px;
    }

    .fy-home-v6r2-mark svg {
        width: 35px;
        height: 35px;
    }

    .fy-home-v6r2-brand-text strong {
        font-size: 26px;
    }

    .fy-home-v6r2-brand-text span {
        margin-top: 6px;

        font-size: 8px;
        letter-spacing: 2px;
    }

    .fy-home-v6r2-menu {
        display: inline-flex;
    }

    .fy-home-v6r2-links,
    .fy-home-v6r2-actions {
        display: none;
    }

    .fy-home-v6r2-toggle:checked
    ~ .fy-home-v6r2-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;

        display: grid;

        width: 100%;

        margin: 0;
        padding: 14px;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 5px;

        border-radius: 19px;

        background:
            linear-gradient(
                145deg,
                #0b5da5,
                #169fd9
            );

        box-shadow:
            0 24px 50px
            rgba(3, 53, 92, .24);
    }

    .fy-home-v6r2-toggle:checked
    ~ .fy-home-v6r2-links a {
        padding: 11px 7px;

        text-align: center;
    }

    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }

    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list
    > [data-cycle]:only-child {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 560px) {
    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list {
        grid-template-columns:
            minmax(0, 1fr) !important;
    }

    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list
    > [data-cycle] {
        min-height: 84px !important;
    }

    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list
    > [data-cycle]
    .panel,

    html.fy-confproduct-v6r2
    #order-standard_cart
    .order-list
    > [data-cycle]
    .panel-body {
        min-height: 84px !important;
    }
}
