@charset "UTF-8";
:root {
    color-scheme: dark;
    /* 卡片玻璃：由 glass.v1.css 的 --glass-alpha 推导，但比导航再透一档
       （--rx-alpha-offset 就是这一档；深色底对比弱，所以留得比浅色实一点） */
    --rx-alpha-offset: .22;
    --rx-panel-alpha: calc(var(--glass-alpha, .48) - var(--rx-alpha-offset));
    /* 卡片磨砂半径：8px（导航是 26px）。背景格线只有 1px，≥3px 就会被糊平，
       所以磨砂一开格线基本看不见——这是"雾面感"和"看得见格线"的取舍开关：
       想要格线透出来就调到 0~1px，想要磨砂就 8~12px。 */
    --rx-blur: 8px;
    --rx-panel-tint: 17, 22, 31; --rx-panel-soft-tint: 26, 33, 46;
    --rx-panel: rgba(var(--rx-panel-tint), var(--rx-panel-alpha)); --rx-panel-soft: rgba(var(--rx-panel-soft-tint), calc(var(--rx-panel-alpha) + .06));
    --rx-sheen: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 44%);
    --rx-bg: #0b0e14; --rx-line: rgba(170, 189, 220, .13);
    --rx-text: #f0f3f9; --rx-muted: #8995a9; --rx-blue: #4b8dff; --rx-soft-blue: #182b49;
    --rx-header: rgba(13, 17, 25, .87); --rx-shadow: 0 10px 32px rgba(0, 0, 0, .08);
    --rx-grid: rgba(255, 255, 255, .05); --rx-glow: rgba(77, 141, 255, .1);
}
/* 浅色配色对齐业务机首页/详情页：格子背景 + 玻璃卡片 + slate 文字 */
html:not([data-theme="dark"]) {
    color-scheme: light;
    /* 浅色：白底上要把透明度再调低一档，格子才透得出来 */
    --rx-alpha-offset: .32;
    --rx-panel-alpha: calc(var(--glass-alpha, .48) - var(--rx-alpha-offset));
    --rx-panel-tint: 255, 255, 255; --rx-panel-soft-tint: 246, 248, 251;
    --rx-panel: rgba(255, 255, 255, var(--rx-panel-alpha)); --rx-panel-soft: rgba(246, 248, 251, calc(var(--rx-panel-alpha) + .1));
    --rx-sheen: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 38%);
    --rx-bg: #f5f7fb; --rx-line: rgba(203, 213, 225, .62);
    --rx-text: #0f172a; --rx-muted: #64748b; --rx-blue: #2563eb; --rx-soft-blue: #eaf1ff;
    --rx-header: rgba(255, 255, 255, .92); --rx-shadow: 0 8px 24px rgba(37, 62, 105, .035);
    --rx-grid: rgba(15, 23, 42, .09); --rx-glow: rgba(37, 99, 235, .1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body.rx-detail-page {
    margin: 0; isolation: isolate;
    color: var(--rx-text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased;
    /* 与业务机同款格子背景；!important 覆盖主题 single-modular 的单页背景 */
    background-color: var(--rx-bg) !important;
    background-image:
        radial-gradient(900px 420px at 50% -10%, var(--rx-glow), transparent 62%),
        linear-gradient(var(--rx-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--rx-grid) 1px, transparent 1px) !important;
    background-size: auto, 44px 44px, 44px 44px !important;
    background-attachment: scroll, fixed, fixed !important;
}
/* 主题自带的固定光晕层会盖住格子背景，详情页统一关掉 */
body.rx-detail-page .bg-decoration { display: none !important; }
/* 主题 .page 容器给 1600px + 内边距，与 .rx-shell 重复，这里归零；
   顶部偏移改由 .rx-shell 统一计算，避免窄屏时内容压到固定导航下面。 */
body.rx-detail-page main.page { max-width: none; padding: 0; min-height: 0; display: block; }
body.rx-detail-page .rx-shell { padding-top: calc(var(--nav-height, 72px) + 22px); }
/* 页面内组件放大到 125%：只缩放 .rx-shell，顶部导航与页脚保持站点原尺寸。
   内层 zoom 会叠加主题在宽屏给 html 的 0.9，所以顶部避让要按 1.25 折算回去。 */
@media (min-width: 1025px) {
    body.rx-detail-page .rx-shell {
        zoom: 1.25;
        padding-top: calc((var(--nav-height, 72px) + 22px) / 1.25);
    }
}
.rx-ambient { position: fixed; top: 0; left: 0; width: 100%; height: 1050px; z-index: -1; pointer-events: none; overflow: hidden; }
.rx-ambient > img { position: absolute; top: -90px; left: -8%; width: 116%; height: 90%; max-width: none; object-fit: cover; filter: blur(100px) saturate(.75); opacity: .27; }
.rx-ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 20, .14), rgba(11, 14, 20, .25) 35%, var(--rx-bg) 100%); }
html:not([data-theme="dark"]) .rx-ambient > img { opacity: .19; filter: blur(105px) saturate(.65); }
html:not([data-theme="dark"]) .rx-ambient::after { background: linear-gradient(180deg, rgba(245, 247, 251, .2), rgba(245, 247, 251, .4) 35%, var(--rx-bg) 100%); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button { transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
/* 只给详情页正文与弹窗加焦点环；主题自带的站点导航/搜索框保持原样式，
   否则 4px 偏移的方形外框会撑出搜索胶囊的圆角。 */
.rx-shell :is(button, a, input, textarea, summary):focus-visible,
.rx-dialog :is(button, a, input, textarea, summary):focus-visible { outline: 2px solid var(--rx-blue); outline-offset: 4px; }
img { max-width: 100%; }
button { color: inherit; }
[hidden] { display: none !important; }
.rx-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.rx-skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--rx-blue); padding: 8px 16px; color: white; }
.rx-skip-link:focus { top: 10px; }
.rx-site-header { height: 76px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--rx-line); background: var(--rx-header); backdrop-filter: blur(18px); }
.rx-header-inner { max-width: 1320px; height: 100%; margin: auto; padding: 0 36px; display: flex; align-items: center; gap: 66px; }
.rx-brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.rx-brand-image { display: block; width: 142px; height: 54px; object-fit: cover; }
.rx-brand-mark { display: grid; place-items: center; position: relative; width: 35px; height: 35px; font-size: 15px; font-weight: 850; letter-spacing: -1px; color: #ddecff; background: linear-gradient(145deg, #245bc5, #172d53); border: 1px solid #3b66ae; border-radius: 10px; }
.rx-brand-mark > span { position: absolute; top: -6px; right: -4px; font-size: 15px; color: #76b4ff; }
.rx-brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.6px; }
.rx-brand-name > span { font-weight: 500; color: var(--rx-muted); }
.rx-site-nav { display: flex; gap: 32px; align-items: center; height: 100%; }
.rx-site-nav a { display: flex; align-items: center; height: 100%; font-size: 13px; font-weight: 550; color: var(--rx-muted); position: relative; white-space: nowrap; }
.rx-site-nav a:hover, .rx-site-nav a.is-current { color: var(--rx-text); }
.rx-site-nav a.is-current::after { content: ""; position: absolute; bottom: 0; height: 2px; background: var(--rx-blue); width: 24px; left: calc(50% - 12px); }
.rx-header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.rx-icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rx-line); border-radius: 9px; background: transparent; color: var(--rx-muted); }
.rx-icon-button:hover { background: var(--rx-panel-soft); color: var(--rx-text); }
.rx-login { padding: 7px 15px; border: 1px solid #3765ba; border-radius: 8px; background: #244a87; color: #e1ebff; font-size: 12px; white-space: nowrap; }
.rx-menu-toggle { display: none; }
.rx-shell { max-width: 1232px; margin: 0 auto; padding: 32px 32px 76px; }
.rx-breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--rx-muted); margin-bottom: 22px; font-size: 12px; }
.rx-breadcrumb > :last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-breadcrumb a:hover { color: var(--rx-blue); }
/* 玻璃卡片：半透明底 + 毛玻璃 + 顶部高光 + 细边框（与导航栏同一透明度 token） */
.rx-panel {
    background-color: var(--rx-panel);
    background-image: var(--rx-sheen);
    border: 1px solid var(--rx-line);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 var(--glass-highlight, rgba(255, 255, 255, .06)), var(--glass-shadow, 0 12px 30px rgba(15, 23, 42, .08));
    -webkit-backdrop-filter: blur(var(--rx-blur, 12px)) saturate(var(--glass-saturate, 185%));
    backdrop-filter: blur(var(--rx-blur, 12px)) saturate(var(--glass-saturate, 185%));
}
.rx-section-nav { display: flex; gap: 36px; border-bottom: 1px solid var(--rx-line); margin-top: 39px; margin-bottom: 25px; }
.rx-section-nav > a { padding: 0 0 15px; font-size: 13px; color: var(--rx-muted); position: relative; }
.rx-section-nav > a:hover, .rx-section-nav > a.is-active { color: var(--rx-text); }
.rx-section-nav > a.is-active::after { content: ""; position: absolute; bottom: -1px; left: 0; height: 2px; width: 100%; background: var(--rx-blue); }
.rx-section-nav span { font-size: 10px; padding: 1px 5px; background: var(--rx-panel-soft); border-radius: 4px; margin-left: 4px; }
.rx-site-footer { border-top: 1px solid var(--rx-line); background: var(--rx-panel); padding: 28px 32px; }
.rx-footer-inner { max-width: 1168px; margin: auto; display: flex; align-items: center; gap: 22px; }
.rx-footer-inner p { color: var(--rx-muted); font-size: 12px; }
.rx-footer-inner nav { display: flex; gap: 22px; margin-left: auto; color: var(--rx-muted); font-size: 12px; }
.rx-footer-inner > span { color: var(--rx-muted); font-size: 11px; margin-left: 18px; }
/* 主题的全局重置把 dialog 的 margin 归零，模态弹窗会贴左上角；
   这里显式恢复 fixed + inset:0 + margin:auto 的居中行为。 */
.rx-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 1px solid var(--rx-line); border-radius: 16px; background: rgba(var(--rx-panel-tint), .94); color: var(--rx-text); max-width: min(1100px, 92vw); max-height: 90vh; }
/* 弹窗不参与卡片玻璃：半透明底会让表单文字和背后的页面搅在一起。
   resource-feedback.v3.css 在本文件之后加载并用 var(--rx-panel)，所以这里加 !important。 */
.rx-dialog,
.rx-feedback-dialog { background-color: rgba(var(--rx-panel-tint), .96) !important; }
.rx-dialog::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(8px); }
.rx-dialog-close { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(10, 15, 24, .75); color: white; border-color: #46536c; }
#rx-dialog-content { line-height: 0; }
#rx-dialog-content img, #rx-dialog-content video { display: block; max-width: 100%; max-height: 85vh; }
.rx-video-error { line-height: 1.8; padding: 40px; font-size: 13px; }
.rx-qr-dialog { width: 340px; text-align: center; padding: 33px 27px 23px; }
.rx-qr-eyebrow { font-size: 11px; color: var(--rx-blue); letter-spacing: 2px; }
.rx-qr-dialog h2 { margin: 4px 0 20px; font-size: 22px; }
#rx-qr-code { background: white; padding: 14px; display: inline-block; border-radius: 12px; }
#rx-qr-code img, #rx-qr-code canvas { width: 196px; height: 196px; display: block; }
#rx-qr-description { font-size: 13px; }
.rx-qr-tip { color: var(--rx-muted); font-size: 11px; line-height: 1.7; }
.rx-protected { padding: 30px; }
@media (max-width: 1000px) {
    .rx-header-inner { gap: 30px; padding: 0 24px; }
    .rx-site-nav { gap: 20px; }
    .rx-shell { padding: 26px 24px 50px; }
}
@media (max-width: 768px) {
    body.rx-detail-page .rx-shell { padding-top: calc(var(--nav-height, 64px) + 14px); }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 84px; }
    .rx-site-header { height: 64px; }
    .rx-header-inner { padding: 0 18px; }
    .rx-site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px; background: var(--rx-panel); border-bottom: 1px solid var(--rx-line); }
    .rx-site-nav.is-open { display: flex; }
    .rx-site-nav a { min-height: 43px; }
    .rx-site-nav a.is-current::after { display: none; }
    .rx-header-actions { gap: 9px; }
    .rx-login { padding: 6px 10px; font-size: 11px; }
    .rx-menu-toggle { display: grid; }
    .rx-brand-name { font-size: 18px; }
    .rx-brand-mark { width: 30px; height: 30px; font-size: 13px; }
    .rx-shell { padding: 22px 18px 40px; }
    .rx-breadcrumb { font-size: 11px; margin-bottom: 18px; }
    .rx-section-nav { gap: 24px; margin-top: 28px; }
    .rx-section-nav > a { font-size: 12px; }
    .rx-site-footer { padding: 24px 18px; }
    .rx-footer-inner { flex-wrap: wrap; gap: 9px 20px; }
    .rx-footer-inner nav { order: 3; width: 100%; margin: 10px 0 0; }
    .rx-footer-inner > span { margin: 0; margin-left: auto; }
    .rx-footer-inner > p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
