:root {
    --page-bg: #050510;
    --page-panel: rgba(12, 10, 25, 0.76);
    --page-border: rgba(255, 255, 255, 0.09);
    --page-purple: #8a2be2;
    --page-gold: #d4af37;
    --page-text: #eceaf5;
    --page-muted: rgba(255, 255, 255, 0.62);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page-bg);
    color-scheme: dark;
}

body.content-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--page-bg);
    color: var(--page-text);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

body.content-page.contact-feedback-open {
    overflow: hidden;
}

button,
a {
    font: inherit;
}

#starCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.content-page-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.content-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 0 max(20px, calc((100vw - 1080px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(5, 5, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.content-topbar-link,
.content-topbar-button,
.content-brand {
    width: fit-content;
    border: 0;
    padding: 7px 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease;
}

.content-topbar-link {
    justify-self: start;
}

.content-topbar-button {
    justify-self: end;
}

.content-brand {
    justify-self: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
}

.content-topbar-link i,
.content-topbar-button i {
    margin-right: 6px;
    color: var(--page-gold);
}

.content-topbar-link:hover,
.content-topbar-link:focus-visible,
.content-topbar-button:hover,
.content-topbar-button:focus-visible,
.content-brand:hover,
.content-brand:focus-visible {
    color: #ffffff;
    outline: none;
}

.content-main {
    width: min(900px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 52px 0 44px;
}

.content-eyebrow {
    margin: 0 0 14px;
    color: #e2bd3c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.content-main h1 {
    margin: 0;
    color: #f2f0f8;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.32;
}

.content-summary {
    margin: 24px 0 34px;
    padding: 2px 0 2px 16px;
    border-left: 2px solid rgba(212, 175, 55, 0.88);
    color: rgba(255, 255, 255, 0.64);
    font-size: 15px;
    line-height: 1.9;
}

.content-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 12px;
}

.content-section-heading h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
}

.content-section-heading span {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
}

.faq-list {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(7, 5, 18, 0.7);
}

.faq-list details + details {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.faq-list details[open] {
    background: rgba(44, 19, 76, 0.3);
}

.faq-list summary {
    min-height: 66px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-number {
    color: #dfba3a;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.faq-chevron {
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    text-align: right;
    transition: transform 160ms ease, color 160ms ease;
}

details[open] .faq-chevron {
    transform: rotate(180deg);
    color: #dfba3a;
}

.faq-answer {
    margin: 0;
    padding: 0 54px 24px 66px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.9;
}

.qimen-board-figure {
    margin: 0 54px 24px 66px;
}

.qimen-board-figure picture,
.qimen-board-figure img {
    display: block;
    width: 100%;
}

.qimen-board-figure img {
    height: auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    background: #090716;
}

.qimen-board-figure figcaption {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.75;
}

.article-sections {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-section {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-section-number {
    color: #dfba3a;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.article-section h2 {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.article-section p,
.article-section li {
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.9;
}

.article-section p {
    margin: 0;
}

.article-section p + p {
    margin-top: 12px;
}

.article-section ol,
.article-section ul {
    margin: 0;
    padding-left: 20px;
}

.article-section p + ol,
.article-section p + ul {
    margin-top: 10px;
}

.article-section ol + p,
.article-section ul + p {
    margin-top: 12px;
}

.article-section strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.article-section li + li {
    margin-top: 5px;
}

.content-action-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 30px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-action-copy strong,
.content-action-copy span {
    display: block;
}

.content-action-copy strong {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.content-action-copy span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.6;
}

.content-primary-action {
    min-width: 148px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(138, 43, 226, 0.54);
    border-radius: 10px;
    background: rgba(138, 43, 226, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.content-primary-action:hover,
.content-primary-action:focus-visible {
    border-color: rgba(212, 175, 55, 0.68);
    background: rgba(212, 175, 55, 0.1);
    outline: none;
}

.content-disclaimer {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.75;
}

.content-footer {
    width: min(900px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 0 0 28px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 640px) {
    .content-topbar {
        height: 56px;
        gap: 8px;
        padding: 0 14px;
    }

    .content-topbar-link,
    .content-topbar-button {
        font-size: 12px;
    }

    .content-topbar-link i,
    .content-topbar-button i {
        margin-right: 4px;
    }

    .content-brand {
        font-size: 14px;
    }

    .content-main {
        width: calc(100vw - 28px);
        padding: 30px 0 34px;
    }

    .content-eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .content-main h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .content-summary {
        margin: 18px 0 26px;
        padding-left: 12px;
        font-size: 14px;
        line-height: 1.8;
    }

    .content-section-heading h2 {
        font-size: 17px;
    }

    .faq-list summary {
        min-height: 56px;
        grid-template-columns: 25px minmax(0, 1fr) 16px;
        gap: 8px;
        padding: 12px 13px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 36px 20px 47px;
        font-size: 14px;
        line-height: 1.82;
    }

    .qimen-board-figure {
        margin: 0 13px 20px;
    }

    .qimen-board-figure figcaption {
        font-size: 12px;
        line-height: 1.7;
    }

    .article-section {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 22px 0;
    }

    .article-section h2 {
        font-size: 17px;
    }

    .content-action-band {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding: 22px 0;
    }

    .content-primary-action {
        width: 100%;
    }

    .content-footer {
        width: calc(100vw - 28px);
    }
}

@media (max-width: 359px) {
    html,
    body.content-page {
        min-width: 0;
    }

    .content-topbar-link span,
    .content-topbar-button span {
        display: none;
    }

    .content-topbar-link i,
    .content-topbar-button i {
        margin-right: 0;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-chevron,
    .content-primary-action,
    .content-topbar-link,
    .content-topbar-button,
    .content-brand {
        transition: none;
    }
}
