* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.7; }
.a { --ink: #142b24; --text: #334b40; --muted: #50675a; --bg: #f5f7f1; --paper: #fff; --line: #d7e1d2; --accent: #245544; --deep: #123a2f; --light: #e9f0e4; }
.b { --ink: #122640; --text: #32455d; --muted: #4c6078; --bg: #f0f4f9; --paper: #fff; --line: #d7e0eb; --accent: #235381; --deep: #152e50; --light: #e4edf6; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #af781f; outline-offset: 4px; }
a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
.frame { width: min(calc(100% - 88px), 1240px); margin-inline: auto; }
.review-tag { padding: 5px 20px; text-align: center; background: var(--light); color: var(--text); font-size: 12px; letter-spacing: .07em; font-weight: 600; }
.brand-mark { display: grid; place-items: center; flex: none; width: 43px; height: 43px; background: var(--deep); color: #fff; border-radius: 10px; font-family: "Songti SC", STSong, serif; font-size: 25px; font-weight: 800; line-height: 1; }
.gate { width: min(840px, calc(100% - 44px)); margin: clamp(45px,11vh,130px) auto; border: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: .48fr 1fr; min-height: 405px; box-shadow: 0 24px 64px #123a2f12; }
.gate-brand { background: var(--deep); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; min-width: 0; }
.gate-brand .brand-mark { background: transparent; border: 1px solid #ffffff60; width: 58px; height: 58px; font-size: 32px; }
.gate-word { font-size: 16px; letter-spacing: .17em; font-weight: 600; }
.gate-art { display: none; }
.gate-main { align-self: center; padding: 45px clamp(30px,5vw,67px); }
.gate h1 { font-size: clamp(25px,3.2vw,38px); line-height: 1.37; font-weight: 750; letter-spacing: -.028em; margin-bottom: 31px; text-wrap: balance; }
.b .gate { max-width: 620px; display: block; border-top: 5px solid var(--accent); }
.b .gate-brand { background: transparent; color: var(--deep); justify-content: flex-start; flex-direction: row; gap: 12px; padding: 35px 50px 0; }
.b .gate-brand .brand-mark { background: var(--deep); color: white; width: 42px; height: 42px; font-size: 24px; }
.b .gate-main { padding-top: 22px; }
#unlock label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 8px; }
.form-row { display: flex; gap: 10px; }
#code { width: 100%; min-width: 0; min-height: 48px; padding: 8px 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
#code[aria-invalid="true"] { border-color: #9c372c; }
#enter { border: 0; border-radius: 7px; color: #fff; background: var(--accent); padding: 8px 21px; min-height: 48px; white-space: nowrap; font-weight: 700; }
#enter:disabled { opacity: .64; cursor: wait; }
#status { font-size: 14px; color: var(--text); min-height: 27px; margin-top: 7px; }
#status.error { color: #9c372c; }
#demo-note { font-size: 13px; color: var(--muted); }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; gap: 16px; min-height: 79px; }
.mast-inner h1 { font-size: clamp(17px, 2.3vw, 28px); font-weight: 740; letter-spacing: -.026em; line-height: 1.4; text-wrap: balance; }
.b .masthead { color: #fff; background: var(--deep); border-color: var(--deep); }
.b .masthead .brand-mark { background: #ffffff14; border: 1px solid #ffffff55; }
.switch { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.tab-inner { display: flex; min-height: 55px; gap: 24px; }
.tab-inner button { background: transparent; border: 0; color: var(--muted); padding: 0 5px; border-bottom: 3px solid transparent; font-weight: 700; min-height: 50px; }
.tab-inner button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.market { padding: 37px 0 56px; }
.market-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.market-version { color: var(--muted); font-size: 13px; letter-spacing: .06em; font-weight: 650; }
.market-header h2 { font-size: clamp(36px,5vw,65px); line-height: 1.05; margin: 6px 0 0; letter-spacing: -.045em; font-weight: 770; }
.a .market-header h2 { font-family: "Songti SC", STSong, serif; font-weight: 800; }
.market-header>span { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; background: var(--light); border-radius: 4px; padding: 3px 10px; }
.market-grid, .reading { min-width: 0; }
.rail { display: none; }
.b .market-grid { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 27px; align-items: start; }
.b .rail { display: block; position: sticky; top: 76px; padding: 20px 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.rail h3 { font-size: 15px; margin-bottom: 8px; }
.rail a { display: block; font-size: 13px; line-height: 1.5; padding: 8px 0; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); }
.rail a:hover { color: var(--accent); text-decoration: underline; }
.lead { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: 20px; }
.conclusions, .feature, .resource, .competitors, .document { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.conclusions { padding: 21px 24px 22px; }
.conclusions h3, .resource h3 { font-size: 21px; line-height: 1.3; font-weight: 750; }
.conclusions ol { padding-left: 1.5em; margin: 12px 0 17px; }
.conclusions li { padding-left: 4px; margin-block: 8px; color: var(--text); }
.conclusions li::marker { color: var(--accent); font-weight: 800; }
.full-link { font-size: 14px; font-weight: 700; }
.feature { margin: 0; overflow: clip; align-self: start; }
.feature>button { border: 0; background: #fff; width: 100%; padding: 0; display: block; }
.feature img { width: 100%; height: auto; }
.feature figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 8px 14px; font-size: 13px; color: var(--text); }
.outline { padding: 5px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--accent); border-radius: 5px; white-space: nowrap; min-height: 36px; font-size: 13px; font-weight: 700; }
.b .lead { grid-template-columns: 1fr; gap: 13px; }
.b .conclusions { border-left: 5px solid var(--accent); border-radius: 7px; }
.b .conclusions ol { margin-top: 8px; margin-bottom: 7px; }
.b .conclusions li { margin: 4px 0; }
.b .feature>button { display: grid; place-items: center; }
.b .feature img { width: min(100%, 660px); }
.resource { margin-top: 18px; padding: 15px 20px 17px; }
.source-links { display: flex; flex-wrap: wrap; gap: 7px 11px; margin-top: 10px; }
.source-links a { padding: 5px 9px; display: flex; gap: 9px; align-items: center; background: var(--light); color: var(--accent); border-radius: 4px; font-size: 13px; font-weight: 650; text-decoration: none; }
.source-links a:hover { text-decoration: underline; }
.competitors { margin: 15px 0; padding: 12px 20px; }
.competitors summary { font-weight: 700; cursor: pointer; }
.competitors summary span { color: var(--muted); font-size: 13px; margin-left: 8px; }
.competitors nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 7px 17px; padding: 10px 0 3px; }
.competitors a { font-size: 14px; }
.document { color: var(--text); padding: clamp(18px,4vw,50px); overflow: hidden; }
.document .fullbar { color: var(--accent); font-weight: 700; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.document h1,.document h2,.document h3,.document h4 { color: var(--ink); margin-block: 22px 9px; line-height: 1.45; }
.document h1 { font-size: 25px; } .document h2 { font-size: 21px; } .document h3 { font-size: 18px; } .document h4 { font-size: 16px; }
.document p { margin-block: 9px; }
.document hr { border: 0; border-bottom: 1px solid var(--line); margin: 20px 0; }
.document ul,.document ol { padding-left: 1.5em; }
.document blockquote { border-left: 4px solid var(--line); padding-left: 14px; margin-left: 0; }
.table-wrap { width: 100%; overflow-x: auto; }
.document table { width: 100%; min-width: 580px; font-size: 14px; border-collapse: collapse; margin: 9px 0; }
.document th,.document td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.document th { background: var(--light); }
.document [id], .resource, .lead, .document { scroll-margin-top: 72px; }
.report-image { border: 0; padding: 0; display: block; max-width: 100%; margin: 12px 0; background: #fff; }
.img-retry { color: var(--accent); min-height: 40px; padding: 8px; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 0; width: min(92vw,960px); max-height: 87vh; background: var(--paper); }
dialog::backdrop { background: #142636bb; }
.dialog-bar, .dialog-actions { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; gap: 9px; background: var(--paper); }
.dialog-bar strong { font-size: 15px; }
.dialog-actions { justify-content: end; }
#chart-scroll { max-height: 66vh; overflow: auto; border-block: 1px solid var(--line); background: #fff; touch-action: pan-x pan-y pinch-zoom; }
#chart-image { width: 100%; max-width: none; }
@media(max-width: 960px) {
 .frame { width: calc(100% - 44px); }
 .b .market-grid { grid-template-columns: 165px minmax(0,1fr); gap: 14px; }
}
@media(max-width: 640px) {
 .frame { width: calc(100% - 30px); }
 .review-tag { font-size: 11px; }
 .gate, .b .gate { display: block; width: calc(100% - 32px); margin-top: 37px; min-height: auto; }
 .gate-brand, .b .gate-brand { padding: 14px 19px; flex-direction: row; justify-content: flex-start; gap: 10px; }
 .gate-brand .brand-mark,.b .gate-brand .brand-mark { width: 35px; height: 35px; font-size: 20px; border-radius: 7px; }
 .gate-word { font-size: 14px; }
 .gate-main,.b .gate-main { padding: 23px 19px 25px; }
 .gate h1 { font-size: 26px; margin-bottom: 24px; }
 .mast-inner { min-height: 64px; gap: 10px; padding-block: 8px; }
 .mast-inner .brand-mark { width: 34px; height: 34px; font-size: 20px; }
 .mast-inner h1 { font-size: 16px; }
 .tab-inner { min-height: 47px; gap: 23px; }
 .tab-inner button { font-size: 14px; min-height: 46px; }
 .market { padding-top: 20px; }
 .market-header { margin-bottom: 13px; padding-bottom: 10px; }
 .market-header h2 { font-size: 37px; }
 .market-header>span { font-size: 12px; }
 .lead { grid-template-columns: 1fr; gap: 9px; }
 .conclusions { padding: 14px; font-size: 14px; }
 .conclusions h3,.resource h3 { font-size: 18px; }
 .conclusions li { margin-block: 5px; }
 .conclusions ol { margin-block: 8px; }
 .feature figcaption { padding: 6px 9px; font-size: 12px; }
 .outline { min-height: 34px; }
 .b .market-grid { display: block; }
 .b .rail { position: static; padding: 8px 10px; margin-bottom: 10px; }
 .rail nav { display: flex; gap: 8px; overflow-x: auto; align-items: center; }
 .rail h3,.rail a { font-size: 12px; flex-shrink: 0; white-space: nowrap; margin: 0; padding: 3px; border: 0; }
 .rail h3 { font-weight: 800; color: var(--accent); }
 .resource { padding: 12px; }
 .document { font-size: 14px; }
}
.a .rail { display: block; margin-bottom: 15px; }
.a .rail nav { display: flex; gap: 7px 17px; align-items: center; flex-wrap: wrap; padding: 0 1px; }
.a .rail h3 { font-size: 13px; font-weight: 750; margin: 0; }
.a .rail a { padding: 3px 0; border: 0; font-size: 13px; }
@media(max-width: 640px) {
 .a .rail { margin-bottom: 9px; }
 .a .rail nav { flex-wrap: nowrap; gap: 10px; }
 .a .rail h3, .a .rail a { font-size: 12px; }
}
.keep-word { white-space: nowrap; }
.back-index { display: inline-block; margin-bottom: 7px; font-size: 13px; font-weight: 650; }
@media(max-width: 640px) {
 .mast-inner h1 { text-wrap: initial; }
}
.source-note { color: var(--muted); }
.mobile-title-break { display: none; }
@media(max-width: 640px) {
 .mobile-title-break { display: initial; }
}
