/*
 * FEIYU PUBLIC THEME V3
 * Return home / Register / Knowledgebase
 */

:root {
    --fy-navy: #07385e;
    --fy-dark: #064c7e;
    --fy-blue: #0879c8;
    --fy-blue-2: #159bdc;
    --fy-cyan: #31c4ef;
    --fy-bg: #eef7fc;
    --fy-card: #ffffff;
    --fy-text: #0a3557;
    --fy-muted: #7892a6;
    --fy-line: #d6e7f2;
    --fy-shadow: 0 18px 45px rgba(13, 77, 123, .12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================================================
   左侧返回首页卡片
   ========================================================= */

.fy-return-home-v3-card {
    position: fixed !important;
    z-index: 10050 !important;

    display: flex !important;
    align-items: center !important;

    left: var(--fy-return-left, 14px) !important;
    bottom: 16px !important;

    width: var(--fy-return-width, 210px) !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;

    margin: 0 !important;
    padding: 10px 12px !important;

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

    overflow: hidden !important;

    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 17px !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .18),
            rgba(255, 255, 255, .07)
        ) !important;

    box-shadow:
        0 12px 28px rgba(0, 65, 117, .20) !important;

    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;

    transition:
        transform .18s ease,
        opacity .18s ease,
        background .18s ease !important;
}

.fy-return-home-v3-card:hover {
    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(-2px) !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .26),
            rgba(255, 255, 255, .12)
        ) !important;
}

.fy-return-home-v3-card:focus,
.fy-return-home-v3-card:active {
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 0 !important;
}

.fy-return-home-v3-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 46px !important;

    width: 46px !important;
    height: 46px !important;

    color: var(--fy-blue) !important;

    border-radius: 50% !important;
    background: #ffffff !important;

    box-shadow:
        0 8px 20px rgba(0, 69, 120, .18) !important;
}

.fy-return-home-v3-icon svg {
    display: block !important;

    width: 23px !important;
    height: 23px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.1 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.fy-return-home-v3-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-width: 0 !important;
    margin-left: 12px !important;
}

.fy-return-home-v3-title {
    display: block !important;

    overflow: hidden !important;

    color: #ffffff !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.fy-return-home-v3-subtitle {
    display: block !important;

    margin-top: 5px !important;

    overflow: hidden !important;

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

    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* 收缩侧栏：只保留紧凑图标，不再出现长竖框 */
.fy-return-home-v3-card.fy-return-collapsed {
    width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;

    padding: 5px !important;

    border-radius: 16px !important;
}

.fy-return-home-v3-card.fy-return-collapsed
.fy-return-home-v3-icon {
    flex-basis: 44px !important;

    width: 44px !important;
    height: 44px !important;
}

.fy-return-home-v3-card.fy-return-collapsed
.fy-return-home-v3-copy {
    display: none !important;
}

.fy-return-home-v3-card.fy-return-hidden {
    display: none !important;
}

.fy-return-home-v3-host {
    padding-bottom: 104px !important;
}

/* 删除旧返回首页组件遗留 */
.fy-return-home-card,
.fy-return-home-v2-card {
    display: none !important;
}

/* =========================================================
   注册页和教程页公共导航
   ========================================================= */

.fy-public-legacy-hidden {
    display: none !important;
}

html.fy-register-page,
html.fy-tutorial-page {
    min-height: 100% !important;
    background: var(--fy-bg) !important;
}

html.fy-register-page body,
html.fy-tutorial-page body {
    min-height: 100vh !important;
    margin: 0 !important;

    color: var(--fy-text) !important;
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(52, 192, 235, .16),
            transparent 29%
        ),
        linear-gradient(180deg, #f5fbff 0%, #edf6fb 100%) !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Microsoft YaHei",
        Arial,
        sans-serif !important;
}

.fy-public-header {
    position: relative;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 82px;

    padding: 0 5vw;

    border-bottom: 1px solid rgba(23, 112, 170, .10);
    background: rgba(255, 255, 255, .92);

    box-shadow:
        0 10px 28px rgba(17, 75, 116, .06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.fy-public-brand {
    display: flex;
    align-items: center;

    color: var(--fy-text) !important;
    text-decoration: none !important;
}

.fy-public-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #ffffff;

    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #075899,
            #20bbed
        );

    box-shadow:
        0 10px 25px rgba(8, 126, 198, .23);
}

.fy-public-brand-mark svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.fy-public-brand-copy {
    display: flex;
    flex-direction: column;

    margin-left: 13px;
}

.fy-public-brand-name {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.fy-public-brand-en {
    margin-top: 6px;

    color: var(--fy-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.fy-public-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.fy-public-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    color: #466d88 !important;
    text-decoration: none !important;

    border-radius: 12px;

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

    transition:
        color .18s ease,
        background .18s ease;
}

.fy-public-nav a:hover {
    color: var(--fy-blue) !important;
    background: #edf8fd;
}

.fy-public-nav .fy-public-primary {
    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            #0868b2,
            #24bfe9
        );

    box-shadow:
        0 10px 24px rgba(9, 125, 196, .18);
}

/* =========================================================
   注册页面
   ========================================================= */

.fy-register-layout {
    display: grid;
    grid-template-columns:
        minmax(360px, .92fr)
        minmax(500px, 1.08fr);
    gap: 42px;
    align-items: center;

    width: min(1380px, calc(100% - 48px));
    min-height: calc(100vh - 82px);

    margin: 0 auto;
    padding: 48px 0 64px;
}

.fy-register-hero {
    position: relative;

    min-height: 680px;
    padding: 64px 54px;

    overflow: hidden;

    color: #ffffff;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(51, 205, 244, .65),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #05477e 0%,
            #086fc0 48%,
            #20bce8 100%
        );

    box-shadow:
        0 28px 60px rgba(8, 88, 145, .22);
}

.fy-register-hero::before,
.fy-register-hero::after {
    position: absolute;

    content: "";

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.fy-register-hero::before {
    top: -180px;
    right: -130px;

    width: 440px;
    height: 440px;
}

.fy-register-hero::after {
    right: -70px;
    bottom: -230px;

    width: 520px;
    height: 520px;
}

.fy-register-eyebrow {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    min-height: 38px;
    padding: 0 17px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fy-register-hero h1 {
    position: relative;
    z-index: 1;

    max-width: 560px;
    margin: 38px 0 22px;

    color: #ffffff !important;

    font-size: clamp(42px, 4vw, 70px) !important;
    font-weight: 900 !important;
    line-height: 1.06 !important;
    letter-spacing: -2px !important;
}

.fy-register-hero > p {
    position: relative;
    z-index: 1;

    max-width: 560px;
    margin: 0;

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

    font-size: 18px;
    line-height: 1.9;
}

.fy-register-benefits {
    position: relative;
    z-index: 1;

    display: grid;
    gap: 14px;

    margin-top: 48px;
}

.fy-register-benefit {
    display: flex;
    align-items: center;

    min-height: 76px;
    padding: 16px 18px;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
}

.fy-register-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    margin-right: 14px;

    color: #0877bf;

    border-radius: 13px;
    background: #ffffff;

    font-size: 20px;
    font-weight: 900;
}

.fy-register-benefit strong {
    display: block;

    color: #ffffff;

    font-size: 15px;
}

.fy-register-benefit span {
    display: block;

    margin-top: 4px;

    color: rgba(255, 255, 255, .67);

    font-size: 12px;
}

.fy-register-card {
    width: 100%;
    padding: 42px 46px;

    border: 1px solid rgba(22, 108, 163, .10);
    border-radius: 30px;

    background: #ffffff;

    box-shadow: var(--fy-shadow);
}

.fy-register-card-heading {
    margin-bottom: 28px;
}

.fy-register-card-heading h2 {
    margin: 0;

    color: var(--fy-text) !important;

    font-size: 35px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.fy-register-card-heading p {
    margin: 10px 0 0;

    color: var(--fy-muted);

    font-size: 14px;
    line-height: 1.7;
}

.fy-register-form {
    display: block !important;
    width: 100% !important;
}

.fy-register-form .form-group,
.fy-register-form .control-group {
    margin-bottom: 18px !important;
}

.fy-register-form label,
.fy-register-form .control-label {
    display: block !important;

    margin-bottom: 8px !important;

    color: var(--fy-text) !important;

    font-size: 14px !important;
    font-weight: 800 !important;
}

.fy-register-form input[type="text"],
.fy-register-form input[type="email"],
.fy-register-form input[type="password"],
.fy-register-form input[type="tel"],
.fy-register-form select,
.fy-register-form textarea,
.fy-register-form .form-control {
    width: 100% !important;
    min-height: 52px !important;

    padding: 0 16px !important;

    color: var(--fy-text) !important;

    border: 1px solid #cedfea !important;
    border-radius: 13px !important;
    outline: 0 !important;

    background: #f8fbfd !important;

    box-shadow: none !important;

    font-size: 15px !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease !important;
}

.fy-register-form textarea {
    min-height: 105px !important;
    padding-top: 14px !important;
}

.fy-register-form input:focus,
.fy-register-form select:focus,
.fy-register-form textarea:focus,
.fy-register-form .form-control:focus {
    border-color: #2ab4e7 !important;
    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(40, 177, 226, .12) !important;
}

.fy-register-form .btn-primary,
.fy-register-form button[type="submit"],
.fy-register-form input[type="submit"] {
    width: 100% !important;
    min-height: 54px !important;

    margin-top: 12px !important;

    color: #ffffff !important;

    border: 0 !important;
    border-radius: 14px !important;

    background:
        linear-gradient(
            135deg,
            #0765af,
            #2bc4ed
        ) !important;

    box-shadow:
        0 14px 30px rgba(8, 127, 198, .20) !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}

.fy-register-form .alert {
    border: 0 !important;
    border-radius: 13px !important;
}

.fy-register-form .panel,
.fy-register-form .card {
    border: 1px solid var(--fy-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.fy-public-source-empty {
    display: none !important;
}

/* =========================================================
   教程 / 知识库页面
   ========================================================= */

.fy-tutorial-hero {
    position: relative;

    width: min(1320px, calc(100% - 48px));
    min-height: 300px;

    margin: 42px auto 30px;
    padding: 55px 60px;

    overflow: hidden;

    color: #ffffff;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 86% 10%,
            rgba(57, 205, 244, .70),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #064779,
            #0877c6 54%,
            #2bc4ec
        );

    box-shadow:
        0 24px 55px rgba(8, 86, 142, .20);
}

.fy-tutorial-hero::before,
.fy-tutorial-hero::after {
    position: absolute;

    content: "";

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.fy-tutorial-hero::before {
    top: -210px;
    right: -90px;

    width: 490px;
    height: 490px;
}

.fy-tutorial-hero::after {
    right: 210px;
    bottom: -270px;

    width: 540px;
    height: 540px;
}

.fy-tutorial-hero-content {
    position: relative;
    z-index: 1;

    max-width: 780px;
}

.fy-tutorial-kicker {
    display: inline-flex;
    align-items: center;

    min-height: 36px;
    padding: 0 16px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fy-tutorial-hero h1 {
    margin: 27px 0 12px;

    color: #ffffff !important;

    font-size: clamp(38px, 4vw, 60px) !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
}

.fy-tutorial-hero p {
    margin: 0;

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

    font-size: 17px;
    line-height: 1.8;
}

.fy-tutorial-search {
    position: relative;
    z-index: 1;

    display: flex;

    max-width: 720px;
    margin-top: 30px;
    padding: 7px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);

    box-shadow:
        0 14px 34px rgba(0, 67, 115, .18);
}

.fy-tutorial-search input {
    flex: 1 1 auto;

    min-width: 0;
    min-height: 50px;

    padding: 0 17px;

    color: var(--fy-text);

    border: 0;
    outline: 0;
    background: transparent;

    font-size: 15px;
}

.fy-tutorial-search button {
    flex: 0 0 auto;

    min-width: 115px;

    color: #ffffff;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #0767b1,
            #23bce8
        );

    font-size: 14px;
    font-weight: 800;
}

.fy-tutorial-content {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: none !important;

    margin: 0 auto 60px !important;
    padding: 34px !important;

    border: 1px solid rgba(23, 108, 162, .10) !important;
    border-radius: 26px !important;

    background: #ffffff !important;

    box-shadow: var(--fy-shadow) !important;
}

html.fy-tutorial-page .fy-tutorial-content h1,
html.fy-tutorial-page .fy-tutorial-content h2,
html.fy-tutorial-page .fy-tutorial-content h3 {
    color: var(--fy-text) !important;
    font-weight: 900 !important;
}

html.fy-tutorial-page .fy-tutorial-content h1 {
    font-size: 36px !important;
}

html.fy-tutorial-page .fy-tutorial-content h2 {
    margin-top: 28px !important;
    font-size: 26px !important;
}

html.fy-tutorial-page .fy-tutorial-content p,
html.fy-tutorial-page .fy-tutorial-content li {
    color: #527188 !important;

    font-size: 16px !important;
    line-height: 1.9 !important;
}

html.fy-tutorial-page .fy-tutorial-content a {
    color: var(--fy-blue) !important;
    font-weight: 700 !important;
}

html.fy-tutorial-page .fy-tutorial-content .panel,
html.fy-tutorial-page .fy-tutorial-content .card,
html.fy-tutorial-page .fy-tutorial-content .list-group,
html.fy-tutorial-page .fy-tutorial-content .kb-category,
html.fy-tutorial-page .fy-tutorial-content .kb-article-item {
    overflow: hidden !important;

    margin-bottom: 18px !important;

    border: 1px solid var(--fy-line) !important;
    border-radius: 17px !important;

    background: #ffffff !important;

    box-shadow:
        0 10px 25px rgba(11, 79, 126, .07) !important;
}

html.fy-tutorial-page .fy-tutorial-content .panel-heading,
html.fy-tutorial-page .fy-tutorial-content .card-header {
    padding: 18px 20px !important;

    color: var(--fy-text) !important;

    border-bottom: 1px solid var(--fy-line) !important;
    background:
        linear-gradient(
            135deg,
            #f5fbff,
            #edf8fd
        ) !important;

    font-size: 17px !important;
    font-weight: 900 !important;
}

html.fy-tutorial-page .fy-tutorial-content .panel-body,
html.fy-tutorial-page .fy-tutorial-content .card-body,
html.fy-tutorial-page .fy-tutorial-content .list-group-item {
    padding: 18px 20px !important;

    border-color: var(--fy-line) !important;
    background: #ffffff !important;
}

html.fy-tutorial-page .fy-tutorial-content
.list-group-item:hover {
    background: #f4fbff !important;
}

html.fy-tutorial-page .fy-tutorial-content pre,
html.fy-tutorial-page .fy-tutorial-content code {
    border-radius: 10px !important;
}

.fy-public-footer {
    padding: 28px 24px 38px;

    color: #7892a6;

    text-align: center;

    font-size: 12px;
}

/* =========================================================
   手机适配
   ========================================================= */

@media (max-width: 900px) {
    .fy-public-header {
        min-height: 72px;
        padding: 0 20px;
    }

    .fy-public-brand-mark {
        width: 43px;
        height: 43px;
    }

    .fy-public-brand-name {
        font-size: 19px;
    }

    .fy-public-nav a {
        display: none;
    }

    .fy-public-nav .fy-public-primary {
        display: inline-flex;

        min-height: 40px;
        padding: 0 15px;
    }

    .fy-register-layout {
        display: block;

        width: min(100% - 24px, 760px);
        min-height: 0;

        padding: 22px 0 40px;
    }

    .fy-register-hero {
        min-height: 0;
        padding: 34px 27px;
        border-radius: 24px;
    }

    .fy-register-hero h1 {
        margin-top: 24px;

        font-size: 39px !important;
        letter-spacing: -1px !important;
    }

    .fy-register-hero > p {
        font-size: 15px;
        line-height: 1.75;
    }

    .fy-register-benefits {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .fy-register-benefit {
        min-height: 67px;
    }

    .fy-register-card {
        margin-top: 18px;
        padding: 29px 22px;

        border-radius: 23px;
    }

    .fy-register-card-heading h2 {
        font-size: 29px !important;
    }

    .fy-tutorial-hero {
        width: calc(100% - 24px);
        min-height: 0;

        margin: 22px auto 17px;
        padding: 34px 25px;

        border-radius: 24px;
    }

    .fy-tutorial-hero h1 {
        font-size: 38px !important;
    }

    .fy-tutorial-hero p {
        font-size: 15px;
    }

    .fy-tutorial-search {
        display: block;

        padding: 7px;
    }

    .fy-tutorial-search input {
        width: 100%;
    }

    .fy-tutorial-search button {
        width: 100%;
        min-height: 47px;
    }

    .fy-tutorial-content {
        width: calc(100% - 24px) !important;

        margin-bottom: 30px !important;
        padding: 23px 18px !important;

        border-radius: 21px !important;
    }

    html.fy-tutorial-page .fy-tutorial-content h1 {
        font-size: 29px !important;
    }

    html.fy-tutorial-page .fy-tutorial-content h2 {
        font-size: 23px !important;
    }

    html.fy-tutorial-page .fy-tutorial-content p,
    html.fy-tutorial-page .fy-tutorial-content li {
        font-size: 15px !important;
    }
}

@media (max-width: 520px) {
    .fy-public-brand-en {
        display: none;
    }

    .fy-public-brand-copy {
        margin-left: 10px;
    }

    .fy-public-nav .fy-public-primary {
        padding: 0 13px;
        font-size: 13px;
    }

    .fy-register-hero h1 {
        font-size: 34px !important;
    }

    .fy-register-card {
        padding: 25px 17px;
    }

    .fy-register-form input[type="text"],
    .fy-register-form input[type="email"],
    .fy-register-form input[type="password"],
    .fy-register-form input[type="tel"],
    .fy-register-form select,
    .fy-register-form textarea,
    .fy-register-form .form-control {
        min-height: 50px !important;
        font-size: 16px !important;
    }
}

/* FEIYU_RETURN_HOME_V3R1_BEGIN */

/*
 * 返回首页改为侧栏内普通菜单卡片。
 * 不再使用fixed定位，避免长竖框、漂移和消失。
 */

.fy-return-home-v3-slot {
    display: block !important;

    width: 100% !important;
    height: auto !important;

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

    list-style: none !important;
}

.fy-return-home-v3-card,
.fy-return-home-v3-card.fy-return-hidden {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    display: flex !important;
    align-items: center !important;

    width: calc(100% - 24px) !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;

    margin: 17px 12px 18px !important;
    padding: 10px 12px !important;

    overflow: hidden !important;

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

    border:
        1px solid
        rgba(255, 255, 255, .20) !important;

    border-radius: 17px !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .20),
            rgba(255, 255, 255, .08)
        ) !important;

    box-shadow:
        0 12px 25px
        rgba(0, 70, 124, .16) !important;

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
}

.fy-return-home-v3-card:hover,
.fy-return-home-v3-card:focus,
.fy-return-home-v3-card:active {
    color: #ffffff !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .28),
            rgba(255, 255, 255, .13)
        ) !important;

    transform: translateY(-1px) !important;
    outline: 0 !important;
}

.fy-return-home-v3-card
.fy-return-home-v3-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 45px !important;

    width: 45px !important;
    height: 45px !important;

    margin: 0 !important;

    color: #087bc4 !important;

    border-radius: 50% !important;
    background: #ffffff !important;

    box-shadow:
        0 7px 18px
        rgba(0, 67, 118, .18) !important;
}

.fy-return-home-v3-card
.fy-return-home-v3-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-width: 0 !important;

    margin: 0 0 0 12px !important;
}

.fy-return-home-v3-card
.fy-return-home-v3-title {
    display: block !important;

    color: #ffffff !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

.fy-return-home-v3-card
.fy-return-home-v3-subtitle {
    display: block !important;

    margin-top: 5px !important;

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

    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

/* 取消旧脚本给侧栏留下的大块底部空白 */
.fy-return-home-v3-host {
    padding-bottom: 12px !important;
}

/* 收缩侧栏 */
.fy-return-home-v3-card.fy-return-collapsed {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;

    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;

    margin: 16px auto 18px !important;
    padding: 5px !important;

    border-radius: 16px !important;
}

.fy-return-home-v3-card.fy-return-collapsed
.fy-return-home-v3-icon {
    flex: 0 0 44px !important;

    width: 44px !important;
    height: 44px !important;
}

.fy-return-home-v3-card.fy-return-collapsed
.fy-return-home-v3-copy {
    display: none !important;
}

/* 手机侧栏打开后正常显示 */
@media (max-width: 768px) {
    .fy-return-home-v3-card {
        width: calc(100% - 22px) !important;

        margin:
            15px 11px
            18px !important;
    }
}

/* FEIYU_RETURN_HOME_V3R1_END */

/* FEIYU_TUTORIAL_ANNOUNCEMENT_V3R2_BEGIN */

/* =========================================================
   教程页面点击和卡片布局
   ========================================================= */

html.fy-tutorial-page
.fy-tutorial-content {
    position: relative !important;
    z-index: 5 !important;

    pointer-events: auto !important;
}

html.fy-tutorial-page
.fy-tutorial-content * {
    pointer-events: auto;
}

html.fy-tutorial-page
.fy-tutorial-content::before,

html.fy-tutorial-page
.fy-tutorial-content::after,

html.fy-tutorial-page
.fy-tutorial-content *::before,

html.fy-tutorial-page
.fy-tutorial-content *::after {
    pointer-events: none !important;
}

html.fy-tutorial-page
.fy-tutorial-content a[href] {
    position: relative !important;
    z-index: 8 !important;

    color: #087bc5 !important;
    text-decoration: none !important;

    cursor: pointer !important;
    pointer-events: auto !important;
}

html.fy-tutorial-page
.fy-tutorial-content a[href]:hover {
    color: #055f9c !important;
}

/* 教程分类卡片 */
.fy-kb-category-card {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    min-height: 82px !important;

    margin: 13px 0 !important;
    padding: 18px 20px !important;

    overflow: hidden !important;

    border:
        1px solid
        #d6e8f3 !important;

    border-radius: 17px !important;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f1faff
        ) !important;

    box-shadow:
        0 10px 27px
        rgba(7, 84, 136, .08) !important;

    cursor: pointer !important;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease !important;
}

.fy-kb-category-card:hover {
    transform:
        translateY(-2px) !important;

    border-color:
        #8ed4ee !important;

    box-shadow:
        0 16px 34px
        rgba(7, 84, 136, .13) !important;
}

.fy-kb-category-card::after {
    position: absolute;

    top: 50%;
    right: 22px;

    content: "›";

    color: #169bd7;

    font-size: 33px;
    font-weight: 300;
    line-height: 1;

    transform: translateY(-50%);
}

/* 教程文章卡片 */
.fy-kb-article-card {
    position: relative !important;

    display: block !important;

    min-height: 86px !important;

    margin: 12px 0 !important;
    padding: 18px 54px 18px 20px !important;

    overflow: hidden !important;

    border:
        1px solid
        #dae9f2 !important;

    border-radius: 16px !important;

    background: #ffffff !important;

    box-shadow:
        0 8px 23px
        rgba(7, 73, 119, .065) !important;

    cursor: pointer !important;

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

.fy-kb-article-card:hover {
    background: #f5fbff !important;

    transform:
        translateX(3px) !important;

    box-shadow:
        0 12px 27px
        rgba(7, 73, 119, .11) !important;
}

.fy-kb-article-card::after {
    position: absolute;

    top: 50%;
    right: 20px;

    content: "→";

    color: #159dd8;

    font-size: 21px;

    transform: translateY(-50%);
}

.fy-kb-category-card a,
.fy-kb-article-card a {
    display: block !important;

    width: 100% !important;

    color: #0a3c61 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
}

.fy-kb-article-card p,
.fy-kb-article-card small,
.fy-kb-article-card .text-muted {
    margin: 7px 0 0 !important;

    color: #7892a5 !important;

    font-size: 13px !important;
    line-height: 1.65 !important;
}

.fy-tutorial-click-ready {
    cursor: pointer !important;
}

/* 教程搜索框 */
html.fy-tutorial-page
.fy-tutorial-search {
    max-width: 760px !important;
}

html.fy-tutorial-page
.fy-tutorial-search input {
    color: #0a3557 !important;

    font-size: 15px !important;
}

/* =========================================================
   控制面板最新公告
   ========================================================= */

.fy-dashboard-announcements-panel {
    overflow: hidden !important;

    border:
        1px solid
        #d8e7f0 !important;

    border-radius: 18px !important;

    background: #ffffff !important;

    box-shadow:
        0 12px 30px
        rgba(8, 72, 117, .08) !important;
}

.fy-dashboard-announcements-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 68px !important;

    padding: 0 24px !important;

    border-bottom:
        1px solid
        #dbe9f2 !important;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f5fbff
        ) !important;
}

.fy-dashboard-announcements-title {
    display: flex !important;
    align-items: center !important;

    margin: 0 !important;

    color: #0a3657 !important;

    font-size: 18px !important;
    font-weight: 900 !important;
}

.fy-dashboard-announcements-title::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-right: 11px;

    content: "公";

    color: #ffffff;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #0874bd,
            #27bce8
        );

    font-size: 13px;
    font-weight: 900;
}

.fy-dashboard-announcements-all {
    color: #0785cc !important;
    text-decoration: none !important;

    font-size: 14px !important;
    font-weight: 800 !important;
}

.fy-dashboard-announcements-body {
    display: block !important;

    padding: 4px 22px 12px !important;
}

.fy-dashboard-announcement-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 68px !important;

    padding: 12px 5px !important;

    color: #0b3a5d !important;
    text-decoration: none !important;

    border-bottom:
        1px solid
        #e4eef4 !important;

    transition:
        padding-left .18s ease,
        color .18s ease !important;
}

.fy-dashboard-announcement-item:last-child {
    border-bottom: 0 !important;
}

.fy-dashboard-announcement-item:hover {
    padding-left: 10px !important;

    color: #0785c9 !important;
    text-decoration: none !important;
}

.fy-dashboard-announcement-copy {
    min-width: 0 !important;
}

.fy-dashboard-announcement-name {
    display: block !important;

    overflow: hidden !important;

    color: inherit !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.fy-dashboard-announcement-date {
    display: block !important;

    margin-top: 6px !important;

    color: #88a0b1 !important;

    font-size: 12px !important;
}

.fy-dashboard-announcement-arrow {
    flex: 0 0 auto !important;

    margin-left: 15px !important;

    color: #17a6dc !important;

    font-size: 20px !important;
}

.fy-dashboard-announcements-empty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 150px !important;

    color: #8ca1b0 !important;

    font-size: 14px !important;
}

/* 手机 */
@media (max-width: 768px) {
    .fy-kb-category-card,
    .fy-kb-article-card {
        margin: 10px 0 !important;
        padding:
            16px 45px
            16px 16px !important;

        border-radius: 15px !important;
    }

    .fy-kb-category-card a,
    .fy-kb-article-card a {
        font-size: 15px !important;
    }

    .fy-dashboard-announcements-head {
        min-height: 62px !important;
        padding: 0 17px !important;
    }

    .fy-dashboard-announcements-title {
        font-size: 17px !important;
    }

    .fy-dashboard-announcements-body {
        padding: 3px 15px 10px !important;
    }

    .fy-dashboard-announcement-item {
        min-height: 65px !important;
    }

    .fy-dashboard-announcement-name {
        max-width: 250px !important;
        font-size: 14px !important;
    }
}

/* FEIYU_TUTORIAL_ANNOUNCEMENT_V3R2_END */
