/* 补充阅读组件：索引标记、信息层次、数据表格和窄屏阅读优化。 */
:root {
    --reading-rule: rgba(41, 39, 35, .11);
    --reading-soft: rgba(237, 233, 223, .58);
    --reading-blue-soft: rgba(77, 98, 114, .08);
}
:focus-visible {
    outline: 3px solid rgba(229, 182, 75, .9);
    outline-offset: 3px;
}
main a:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible {
    border-radius: 3px;
}
.section-heading > div { min-width: 0; }
.section-heading .section-kicker { text-transform: none; }
.prose strong { color: var(--graphite); font-weight: 700; }
.prose a { font-weight: 650; }
.prose ul, .prose ol { margin: 12px 0 18px; padding-left: 1.5em; }
.prose li { padding-left: 4px; margin: 5px 0; }
.prose li::marker { color: var(--copper); }
.prose blockquote {
    margin: 20px 0; padding: 13px 18px;
    border-left: 3px solid var(--amber);
    color: var(--graphite); background: var(--reading-soft);
}
.prose code, .package-table code {
    padding: 2px 5px; border-radius: 3px;
    color: var(--blue); background: var(--reading-blue-soft);
    font-family: Consolas, "Courier New", monospace; font-size: .92em;
}
.hero-copy .section-kicker { margin-bottom: 19px; }
.hero-copy h1 { text-wrap: balance; }
.hero-lead { text-wrap: pretty; }
.hero-actions .button span { font-size: 17px; line-height: 1; }
.text-link { text-decoration-color: rgba(136,72,41,.35); }
.text-link:hover { text-decoration-color: currentColor; }
.hero-facts b { font-variant-numeric: tabular-nums; }
.visual-frame img { color: transparent; }
.visual-caption { min-height: 34px; }
.visual-index { border-left: 3px solid var(--amber); }
.intro-strip p { max-width: 900px; }
.content-section[id] { scroll-margin-top: 28px; }
.identity-section .prose p:first-child::first-letter {
    float: left; margin: 7px 8px 0 0;
    color: var(--copper); font-size: 42px; font-weight: 750; line-height: .85;
}
.source-card { box-shadow: 0 8px 24px rgba(36,40,44,.035); }
.source-card h3 { line-height: 1.45; }
.source-link { align-items: center; }
.source-link span { font-size: 17px; }
.selection-section { position: relative; }
.check-row { transition: background .18s ease; }
.check-row:hover { background: rgba(237,233,223,.34); }
.check-row p { line-height: 1.75; }
.check-mark { font-weight: 800; }
.selection-note { border-radius: 3px; }
.guide-item { transition: padding .18s ease, background .18s ease; }
.guide-item:hover { background: rgba(237,233,223,.24); }
.guide-main h3 { line-height: 1.45; }
.guide-details dt { letter-spacing: .02em; }
.guide-details dd { overflow-wrap: anywhere; }
.guide-state { max-width: 190px; border-radius: 3px; }
.skin-item { position: relative; overflow: hidden; border-radius: 4px; }
.skin-item::before {
    position: absolute; top: 0; left: 0; width: 32px; height: 2px;
    background: var(--amber); content: "";
}
.skin-item h3 { line-height: 1.5; }
.skin-meta span { overflow-wrap: anywhere; }
.skin-intro img { border-radius: 4px; }
.faq-item summary { transition: color .18s ease; }
.faq-item summary:hover { color: var(--copper); }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-answer { text-wrap: pretty; }
.closing-panel { position: relative; overflow: hidden; }
.closing-panel::after {
    position: absolute; right: 0; bottom: 0; width: 140px; height: 3px;
    background: var(--amber); content: "";
}
.footer-brand { align-items: center; }
.footer-mark { border-radius: 4px; }
.footer-links a { text-underline-offset: 4px; }
.footer-links a:hover { text-decoration: underline; }
.breadcrumbs li:last-child span { color: var(--copper); font-weight: 650; }
.download-hero .section-kicker { margin-bottom: 14px; }
.download-hero .button { margin-top: 2px; }
.download-stamp { border-radius: 4px; }
.download-stamp strong { font-variant-numeric: tabular-nums; }
.source-detail { border-radius: 4px; }
.source-detail-copy { min-width: 0; }
.source-detail-copy h3 { line-height: 1.45; }
.source-detail-copy .source-url { overflow-wrap: anywhere; }
.package-table-wrap { scrollbar-color: #B7AFA1 var(--warm-gray); scrollbar-width: thin; }
.package-table { min-width: 740px; }
.package-table th { font-weight: 700; }
.package-table tbody tr:hover { background: rgba(237,233,223,.3); }
.package-table tbody th { white-space: normal; }
.package-table td small { line-height: 1.65; }
.table-status { border-radius: 2px; white-space: nowrap; }
.version-group { overflow: hidden; border-radius: 4px; }
.version-group-heading p { max-width: 900px; line-height: 1.8; }
.download-step { transition: background .18s ease; }
.download-step:hover { background: rgba(237,233,223,.28); }
.step-number { font-variant-numeric: tabular-nums; }
.download-step p { line-height: 1.85; }
.back-reference { border-radius: 2px; }
.error-page .hero-actions { margin-bottom: 20px; }
.error-code { letter-spacing: -.07em; }
.error-page p { max-width: 480px; }
.site-footer .copyright { max-width: 960px; }
.site-header { backdrop-filter: saturate(1.1); }
.primary-navigation a { white-space: nowrap; }
.button:focus-visible { outline-offset: 4px; }
.button-primary:active, .button-light:active, .button-outline:active { transform: translateY(0); }
img[loading="lazy"] { background: var(--warm-gray); }
table { font-variant-numeric: tabular-nums; }
small { line-height: 1.6; }
hr { height: 1px; border: 0; background: var(--reading-rule); }
@media (min-width: 1200px) {
    .hero-shell { padding-top: 88px; padding-bottom: 76px; }
    .content-section { padding-top: 76px; padding-bottom: 80px; }
    .hero-visual { padding-right: 12px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
    .header-inner { width: calc(100% - 42px); }
    .page-shell, .footer-inner, .hero-shell { width: calc(100% - 42px); }
    .primary-navigation { gap: 23px; }
    .hero-shell { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); }
    .hero-copy h1 { font-size: 46px; }
    .skin-grid { gap: 11px; }
    .skin-item { padding: 19px; }
}
@media (max-width: 760px) {
    .hero-copy h1 { text-wrap: pretty; }
    .visual-frame { transform: none; }
    .source-detail-copy .source-url { font-size: 11px; }
    .package-table-wrap { margin-right: -1px; }
    .package-table { min-width: 720px; }
    .download-hero .button { width: fit-content; max-width: 100%; }
    .footer-links { row-gap: 10px; }
}
@media (max-width: 520px) {
    .intro-strip p { font-size: 13px; }
    .source-detail { align-items: start; }
    .source-detail-mark { margin-top: 4px; }
    .source-detail .button { min-height: 42px; padding: 8px 12px; }
    .download-stamp { padding: 18px; }
    .download-stamp strong { font-size: 30px; }
    .faq-item summary { font-size: 14px; }
    .footer-brand { align-items: flex-start; }
    .footer-mark { flex: 0 0 38px; }
}
@media (hover: none) {
    .check-row:hover, .guide-item:hover, .skin-item:hover, .download-step:hover,
    .package-table tbody tr:hover { background: transparent; }
}
@media print {
    :root { --paper: #fff; --ink: #000; --muted: #333; }
    body { color: #000; background: #fff; font-size: 11pt; }
    .site-header, .site-footer, .nav-toggle, .hero-actions, .section-more,
    .closing-panel .button, .download-stamp, .visual-index { display: none !important; }
    .page-shell, .hero-shell, .footer-inner { width: 100%; }
    .hero-shell { min-height: 0; padding: 20px 0; }
    .content-section { padding: 22px 0; break-inside: avoid; }
    .source-card, .skin-item, .version-group { break-inside: avoid; }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after { content: "（" attr(href) "）"; font-size: 9pt; overflow-wrap: anywhere; }
}
