/* 补充组件细节：状态、资料索引、长文阅读、窄屏与辅助访问 */
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:2px}
::selection{background:#e5b64b;color:#24282c}
img,svg,video{max-width:100%;height:auto}
main{min-height:55vh}
section[id],article[id]{scroll-margin-top:96px}
.primary-nav a:focus-visible,.brand-lockup:focus-visible{outline-offset:5px}
.button:focus-visible,.nav-toggle:focus-visible{outline-offset:4px}
.hero-copy{min-width:0}
.hero-index{position:relative;overflow:hidden}
.hero-index:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(229,182,75,.14);border-radius:50%;right:-105px;bottom:-112px;pointer-events:none}
.index-rule i{min-width:3px}
.fact-panel{position:relative}
.fact-panel:before{content:"";position:absolute;right:18px;top:18px;width:20px;height:20px;border-top:1px solid #b7a996;border-right:1px solid #b7a996}
.prose-main{max-width:760px}
.prose-main p{line-height:1.95}
.prose-main p+p{margin-top:16px}
.verification-list article{position:relative}
.verification-list article:after{content:"";position:absolute;left:16px;top:58px;bottom:-1px;width:1px;background:var(--line);z-index:-1}
.verification-list article:last-child:after{display:none}
.number-tag{background:var(--paper)}
.notice-box{position:relative}
.notice-box:after{content:"";position:absolute;right:0;top:0;width:34px;height:34px;border-top:1px solid #d7c6a7;border-right:1px solid #d7c6a7}
.selection-row{transition:background-color .18s ease}
.selection-row:hover{background:rgba(237,233,223,.42)}
.row-body{min-width:0}
.row-body>p{line-height:1.9}
.row-arrow{font-size:18px;align-self:start}
.check-line{line-height:1.7}
.resource-entry{position:relative}
.resource-index{padding-top:4px}
.resource-content dl div{line-height:1.75}
.resource-content dd{overflow-wrap:anywhere}
.skin-entry{overflow:hidden;border-radius:var(--radius)}
.skin-preview{position:relative}
.skin-preview:after{content:"";position:absolute;left:15px;right:15px;top:42px;height:1px;background:rgba(229,182,75,.2)}
.preview-screen{position:relative;overflow:hidden}
.preview-screen:after{content:"";position:absolute;width:42%;height:1px;background:rgba(229,182,75,.35);left:29%;top:50%;transform:rotate(-14deg)}
.skin-copy{min-height:215px}
.skin-copy p{line-height:1.8}
.faq-item summary{transition:color .15s ease}
.faq-item summary:hover{color:var(--copper)}
.faq-item summary:focus-visible{outline-offset:-3px}
.faq-item[open] summary{color:var(--copper)}
.faq-item>p{line-height:1.9}
.closing-band{position:relative;overflow:hidden}
.closing-band:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.14);border-radius:50%;right:17%;top:-150px;pointer-events:none}
.closing-band>div,.closing-band>a{position:relative;z-index:1}
.footer-links a:hover{color:#fff;text-decoration:underline}
.footer-note{line-height:1.8}
.breadcrumb li{display:flex;align-items:center}
.inner-hero-meta>span:first-child{letter-spacing:.02em}
.section-index{border-left:3px solid var(--amber)}
.section-index li{padding:2px 0}
.section-index a:hover{color:var(--copper)}
.download-record{position:relative;min-width:0}
.download-record h3{line-height:1.5}
.record-fields dd{overflow-wrap:anywhere;line-height:1.65}
.record-fields dt{font-weight:650}
.record-version b{overflow-wrap:anywhere;text-align:right}
.record-foot span{overflow-wrap:anywhere}
.comparison-wrap{border:1px solid var(--line)}
.comparison-table tbody tr:nth-child(even){background:rgba(237,233,223,.45)}
.comparison-table tbody tr:hover{background:#f0e9dc}
.comparison-table th{line-height:1.6}
.language-explainer>div{min-width:0}
.language-explainer h3{line-height:1.5}
.install-steps article{min-width:0}
.install-steps article>b{flex:0 0 32px}
.back-reference a{font-weight:650}
.empty-state{min-height:50vh}
/* 文字内容的可读宽度与长字段保护 */
.hero-lead,.section-intro,.prose-main p,.verification-list p,.row-body>p,.resource-content>p,.download-record>p{max-width:78ch}
code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.detail-list{padding-left:1.25em;color:var(--muted)}
.detail-list li+li{margin-top:7px}
.text-link{font-weight:650}
.text-link:hover{color:#5d2e1a}
/* 页面打印和高对比模式 */
@media(prefers-contrast:more){:root{--line:#8f887d;--muted:#3e3b36}.section-code,.status-pill{border:1px solid currentColor}.fact-panel,.notice-box{border:1px solid currentColor}}
@media(forced-colors:active){.brand-symbol,.button-primary,.closing-band{forced-color-adjust:auto}.number-tag,.section-code{border:1px solid CanvasText}}
@media(max-width:1000px){.hero{gap:42px}.prose-grid{gap:34px}.section-heading{align-items:flex-start}.section-more{padding-top:7px}}
@media(max-width:900px){.hero-index{max-width:300px}.record-fields{gap:9px 12px}.download-record{padding:17px}.skin-copy{min-height:235px}}
@media(max-width:800px){.hero{grid-template-columns:1fr}.hero-index{width:min(100%,420px)}.prose-grid{grid-template-columns:1fr}.fact-panel{max-width:none}.closing-band:after{right:-50px}.resource-content dl div{grid-template-columns:88px 1fr}}
@media(max-width:680px){.section-index ol{gap:5px 14px}.section-index li{font-size:11px}.record-fields{grid-template-columns:1fr 1fr}.language-explainer>div{padding:17px}.comparison-table{font-size:12px}.install-steps article{padding:14px 0}}
@media(max-width:480px){.page-shell,.header-inner,.footer-inner{width:calc(100% - 30px)}.brand-symbol{width:30px;height:30px}.brand-lockup small{font-size:10px}.hero{padding-top:38px}.hero h1{font-size:32px}.hero-index{padding:20px}.intro-strip{padding:14px 0}.content-section{padding-top:46px;padding-bottom:44px}.section-heading h2{font-size:24px}.verification-list article{padding:18px 0}.selection-row{padding:19px 0}.row-number{font-size:13px}.row-body h3{font-size:16px}.check-line{font-size:11px}.record-fields{grid-template-columns:1fr}.record-foot{font-size:9px}.download-record{padding:15px}.inner-hero h1{font-size:32px}.inner-hero-meta{font-size:11px}.section-index{padding:13px}.section-index ol{padding-left:16px}.back-reference{font-size:12px}}
@media(max-width:360px){.hero-actions{align-items:flex-start;flex-direction:column}.button{width:100%;justify-content:space-between}.selection-row{grid-template-columns:27px 1fr}.row-arrow{display:none}.record-head{align-items:flex-start;gap:8px;flex-direction:column}.record-version{align-items:flex-start;gap:8px;flex-direction:column}.record-version b{text-align:left}.faq-item summary{align-items:flex-start}.faq-item summary b{font-size:17px}}
@media print{.hero-index,.notice-box,.fact-panel,.skin-preview{break-inside:avoid}.content-section{break-inside:auto}.faq-item{break-inside:avoid}.breadcrumb{display:none}}
