@font-face {
    font-family: "FA";
    src: url("/skin/webfonts/fa-solid-900.woff2") format("woff2");
    font-display: swap;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fffdf8; color: #342e29; font: 16px/1.7 Arial, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.fa { font-family: "FA"; font-style: normal; }
.site-header { position: sticky; top: 0; z-index: 20; height: 78px; background: rgba(255,253,248,.96); border-bottom: 1px solid #eee1cc; }
.nav-wrap { display: flex; align-items: center; gap: 28px; max-width: 1180px; height: 100%; margin: auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand img { width: 43px; height: 43px; border-radius: 50%; object-fit: cover; }
.brand span { font-size: 20px; line-height: 1; color: #5a4030; }
.brand b { color: #ed792c; }
.brand small { display: block; margin-top: 5px; color: #9d8f80; font-size: 10px; letter-spacing: 1px; }
.main-nav { display: flex; flex: 1; gap: 22px; align-items: center; }
.main-nav > a,
.main-nav > li > a { position: relative; padding: 27px 0; color: #645e56; font-size: 14px; }
.main-nav a:hover,
.main-nav .active { color: #dc6d25; }
.main-nav .active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #f58231; content: ""; }
.nav-entry { position: relative; display: flex; align-items: center; height: 100%; list-style: none; }
.nav-entry > a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-entry > a .fa { font-size: 12px; transition: transform .2s ease; }
.nav-entry:hover > a .fa,
.nav-entry:focus-within > a .fa { transform: rotate(180deg); }
.nav-sub { position: absolute; top: calc(100% - 1px); left: 50%; z-index: 40; min-width: 168px; margin: 0; padding: 8px 0; border: 1px solid #eadfce; border-radius: 5px; background: #fff; box-shadow: 0 12px 26px rgba(52, 46, 41, .15); opacity: 0; transform: translate(-50%, 7px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; visibility: hidden; }
.nav-entry:hover .nav-sub,
.nav-entry:focus-within .nav-sub { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.nav-sub li { list-style: none; }
.nav-sub li a { display: block; padding: 9px 18px; color: #645e56; font-size: 13px; white-space: nowrap; }
.nav-sub li a:hover,
.nav-sub li a.active1 { background: #fff3df; color: #dc6d25; }
.nav-download, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.nav-download, .primary { padding: 10px 16px; border-radius: 5px; background: #f58231; color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 20px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 70px auto 0; padding: 34px 45px; background: #f58231; color: #fff; }
.footer-cta p, .footer-cta h2 { margin: 0; }
.footer-cta h2 { font-size: 26px; }
.footer-cta a { padding: 10px 15px; border: 1px solid #fff; }
.footer-cta-actions { display: flex; align-items: center; gap: 10px; }
.footer-cta-actions .cta-online { background: #fff; color: #c75d1c; }
.footer-cta-actions .cta-download { background: transparent; color: #fff; }
.site-footer { padding: 38px max(24px, calc((100% - 1120px) / 2)) 16px; background: #342e29; color: #dcd5cd; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-brand p { max-width: 330px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-content: flex-start; padding-top: 12px; font-size: 13px; }
.footer-bottom { margin-top: 28px; padding-top: 14px; border-top: 1px solid #514940; color: #a79d91; font-size: 12px; }
.mobile-experience-bar, .mobile-experience-popup, .mobile-experience-overlay { display: none; }

/* A7-style list pagination and article navigation, using the 蛋木FM palette. */
.pagebar {
    margin-top: 36px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #eadfce;
    border-radius: 5px;
    background: #fff;
    color: #645e56;
    font-size: 13px;
    font-weight: 500;
}

.page-item:hover {
    border-color: #f58231;
    color: #dc6d25;
}

.page-num-current {
    border-color: #f58231;
    background: #f58231;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

.article-nav {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eadfce;
}

.article-nav ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-nav li {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 10px;
    color: #8b7d70;
    font-size: 14px;
    line-height: 1.5;
}

.article-nav li.l {
    text-align: left;
}

.article-nav li.r {
    text-align: right;
}

.article-nav li a {
    color: #dc6d25;
}

.article-nav li a:hover {
    color: #b9551b;
}

.article-nav li span {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    color: #342e29;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    body { padding-bottom: 72px; }

    .mobile-experience-overlay {
        position: fixed;
        inset: 0;
        z-index: 96;
        background: rgba(44, 37, 28, .32);
        backdrop-filter: blur(3px);
    }

    .mobile-experience-overlay.is-open { display: block; }

    .mobile-experience-popup {
        position: fixed;
        right: 20px;
        bottom: 78px;
        left: 20px;
        z-index: 98;
        flex-direction: column;
        gap: 9px;
        padding: 14px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(52, 46, 41, .18);
    }

    .mobile-experience-popup.is-open { display: flex; }

    .mobile-experience-popup a {
        padding: 12px;
        border: 1px solid #e7792d;
        color: #b9551b;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
    }

    .mobile-experience-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        display: block;
        padding: 10px 20px;
        background: #fffdf8;
        border-top: 1px solid #eadfce;
        box-shadow: 0 -4px 16px rgba(52, 46, 41, .08);
    }

    .mobile-experience-button {
        width: 100%;
        padding: 12px;
        border: 0;
        border-radius: 22px;
        background: #f58231;
        color: #fff;
        font: inherit;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    .page-item {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 11px;
    }

    .page-link {
        padding: 0 8px;
        font-size: 10px;
    }

    .article-nav li,
    .article-nav li.l,
    .article-nav li.r {
        text-align: left;
    }
}
.page-hero { padding: 65px 24px; background: #fff1c4; text-align: center; }
.page-hero h1 { margin: 8px 0; font-size: 38px; }
.page-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 55px; max-width: 1120px; margin: 52px auto; padding: 0 24px; }
.article-body { color: #4b433b; line-height: 2; }
.side-info { align-self: start; padding: 24px; background: #fff4d5; }
.side-link { display: block; padding: 10px 0; border-bottom: 1px solid #ead9b5; font-size: 13px; }
.faq-list {
    width: 100%;
}

.faq-item {
    overflow: hidden;
    margin-bottom: 9px;
    border: 1px solid #eadfce;
    background: #fff;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border: 0;
    background: #fff;
    color: #3f372f;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.faq-question:hover,
.faq-question.is-open {
    background: #fff1c4;
    color: #bd571b;
}

.faq-question i {
    flex: 0 0 auto;
    color: #d86621;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    transition: transform .25s ease;
}

.faq-question.is-open i {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height .32s ease;
}

.faq-content {
    padding: 0 20px 19px;
    color: #6e645b;
    font-size: 14px;
    line-height: 1.85;
}

.faq-content p {
    margin: 0;
}

.faq-more-link {
    display: inline-block;
    margin-top: 7px;
    color: #c35b1d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
}
@media (max-width: 760px) { .site-header { height: 66px; } .nav-wrap { padding: 0 16px; gap: 12px; } .nav-toggle { display: block; margin-left: auto; } .main-nav { display: none; position: absolute; top: 66px; right: 0; left: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px; background: #fffdf8; box-shadow: 0 10px 20px rgba(52,46,41,.14); } .main-nav.open { display: flex; } .main-nav > a, .main-nav > li { width: 100%; height: auto; } .main-nav > a, .main-nav > li > a { width: 100%; padding: 9px 0; } .nav-entry > a { justify-content: space-between; } .nav-sub { position: static; display: block; min-width: 0; padding: 0 0 5px 14px; border: 0; border-left: 2px solid #f7c849; border-radius: 0; box-shadow: none; opacity: 1; transform: none; visibility: visible; } .nav-sub li a { padding: 7px 12px; } .nav-download span { display: none; } .footer-cta, .footer-inner { display: block; } .footer-cta h2 { margin: 8px 0 20px; } .footer-cta-actions { flex-wrap: wrap; } .footer-links { margin-top: 18px; } .page-layout { grid-template-columns: 1fr; gap: 25px; margin: 36px auto; } }
