:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #173ea5;
  --navy: #06132f;
  --navy-2: #0a1d46;
  --ink: #162033;
  --muted: #64708a;
  --line: #dfe5ef;
  --soft: #f3f6fb;
  --paper: #ffffff;
  --accent: #0ea5e9;
  --orange: #f97316;
  --header-height: 68px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--navy); }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--navy); color: var(--ink); }
body::before {
  content: ""; position: fixed; inset: var(--header-height) 0 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(125,211,252,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 30%, rgba(147,197,253,.65) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 10% 78%, rgba(96,165,250,.6) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 86%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    linear-gradient(135deg, #040d25 0%, #071633 48%, #06112a 100%);
}
body::after {
  content: ""; position: fixed; inset: var(--header-height) 0 0; z-index: -1; pointer-events: none; opacity: .34;
  background-image: linear-gradient(135deg, transparent 49.5%, rgba(96,165,250,.25) 50%, transparent 50.5%);
  background-size: 280px 280px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid rgba(14,165,233,.45); outline-offset: 3px; }

.site-header { height: var(--header-height); position: sticky; top: 0; z-index: 80; background: rgba(37,99,235,.97); color: #fff; box-shadow: 0 8px 28px rgba(2,8,23,.18); backdrop-filter: blur(16px); }
.header-inner { width: min(1440px, 100%); height: 100%; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(280px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 32px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 11px; background: rgba(255,255,255,.12); }
.brand-mark svg { width: 31px; height: 31px; }
.brand-copy { min-width: 0; display: grid; gap: 1px; }
.brand-copy strong { font: 700 16px/1.2 Consolas, "Microsoft YaHei UI", sans-serif; letter-spacing: .08em; }
.brand-copy small { overflow: hidden; color: rgba(255,255,255,.82); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.top-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.top-nav a { position: relative; color: rgba(255,255,255,.84); }
.top-nav a::after { content: ""; height: 2px; position: absolute; right: 50%; bottom: -9px; left: 50%; background: #fff; transition: right .18s ease, left .18s ease; }
.top-nav a:hover { color: #fff; }
.top-nav a:hover::after { right: 0; left: 0; }
.outline-button { justify-self: end; min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.outline-button:hover { background: rgba(255,255,255,.19); }
.outline-button svg { width: 17px; height: 17px; }

.page-shell { width: min(1440px, calc(100% - 44px)); margin: 28px auto 54px; display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 22px; }
.desktop-toc { position: sticky; top: calc(var(--header-height) + 28px); color: #fff; }
.toc-card { overflow: hidden; border: 1px solid rgba(148,163,184,.23); border-radius: 15px; background: rgba(6,20,50,.76); box-shadow: 0 24px 60px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.toc-kicker { padding: 22px 22px 5px; color: #60a5fa; font: 700 11px/1.2 Consolas, monospace; letter-spacing: .16em; }
.toc-card h2 { padding: 0 22px 17px; font-size: 21px; }
.toc-links { padding: 7px; display: grid; border-top: 1px solid rgba(148,163,184,.16); border-bottom: 1px solid rgba(148,163,184,.16); }
.toc-links a { min-height: 45px; padding: 0 15px; display: flex; align-items: center; gap: 12px; border-radius: 9px; color: #b8c6df; font-size: 14px; }
.toc-links a span { width: 24px; color: #6483bc; font: 600 12px/1 Consolas, monospace; }
.toc-links a:hover { background: rgba(59,130,246,.11); color: #fff; }
.toc-links a.is-active { background: linear-gradient(90deg, rgba(37,99,235,.32), rgba(37,99,235,.1)); color: #fff; }
.toc-links a.is-active span { color: #7dd3fc; }
.toc-status { padding: 17px 20px; display: flex; align-items: center; gap: 11px; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 5px rgba(245,158,11,.11); }
.toc-status > span:last-child { display: grid; gap: 2px; }
.toc-status strong { font-size: 12px; }
.toc-status small { color: #8292ae; font-size: 11px; }

.rule-document { min-width: 0; overflow: hidden; border-radius: 15px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.24); }
.document-hero { min-height: 430px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; background: radial-gradient(circle at 79% 32%, #153d91 0, #0b2a69 31%, #071b48 58%, #061536 100%); color: #fff; }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(147,197,253,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(147,197,253,.14) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 0, #000 42%, #000 100%); }
.hero-orbit { position: absolute; border: 1px solid rgba(125,211,252,.16); border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; top: -205px; right: -70px; }
.orbit-two { width: 320px; height: 320px; right: 50px; bottom: -180px; }
.hero-copy { padding: 58px 22px 54px 58px; position: relative; z-index: 2; }
.hero-badge { width: max-content; max-width: 100%; padding: 7px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(125,211,252,.23); border-radius: 999px; background: rgba(14,165,233,.1); color: #bae6fd; font-size: 12px; }
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.hero-eyebrow { margin-top: 30px; color: #7dd3fc; font: 700 12px/1.2 Consolas, monospace; letter-spacing: .13em; }
.hero-copy h1 { margin-top: 12px; font-size: clamp(36px, 4vw, 56px); line-height: 1.2; letter-spacing: -.04em; }
.hero-copy h1 em { color: #e4efff; font-style: normal; }
.hero-summary { max-width: 540px; margin-top: 21px; color: #b7c9e8; font-size: 17px; line-height: 1.8; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 11px 22px; color: #8fa7cf; font-size: 12px; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #38bdf8; }
.hero-visual { height: 100%; min-height: 390px; position: relative; display: grid; place-items: center; }
.track-visual { width: min(460px, 100%); height: auto; position: relative; z-index: 1; overflow: visible; }
.track-shadow, .track-line, .track-dash { fill: none; stroke-linecap: round; }
.track-shadow { stroke: rgba(0,0,0,.42); stroke-width: 55; transform: translateY(9px); }
.track-line { stroke: #dbeafe; stroke-width: 48; }
.track-dash { stroke: #5b86c8; stroke-width: 2; stroke-dasharray: 12 10; }
.lap-chip { position: absolute; right: 35px; bottom: 44px; z-index: 2; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(3,17,48,.78); backdrop-filter: blur(10px); }
.lap-chip strong { font: 700 24px/1 Consolas, monospace; color: #7dd3fc; }
.lap-chip span { color: #c8d7ef; font-size: 10px; line-height: 1.4; }

.draft-notice { margin: 28px 46px 0; padding: 17px 19px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #f5d38c; border-radius: 10px; background: #fff9e9; }
.draft-notice svg { width: 21px; height: 21px; flex: 0 0 auto; color: #d97706; }
.draft-notice strong { color: #8b5406; font-size: 15px; }
.draft-notice p { margin-top: 4px; color: #7d6846; font-size: 13px; line-height: 1.65; }
.quick-facts { margin: 20px 46px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.quick-facts article { min-width: 0; padding: 17px 18px; display: grid; gap: 5px; border-left: 1px solid var(--line); }
.quick-facts article:first-child { border-left: 0; }
.quick-facts span { color: var(--muted); font-size: 11px; }
.quick-facts strong { overflow-wrap: anywhere; font-size: 15px; }
.quick-facts small { color: #8490a6; font-size: 11px; }

.article-body { padding: 0 46px 28px; }
.rule-section { padding: 70px 0 4px; scroll-margin-top: calc(var(--header-height) + 16px); }
.rule-section + .rule-section { margin-top: 30px; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.section-title > span { color: var(--blue); font: 700 34px/1 Consolas, monospace; }
.section-title > div { padding-left: 16px; border-left: 1px solid #cbd5e1; }
.section-title p { color: #8090a9; font: 700 10px/1.2 Consolas, monospace; letter-spacing: .15em; }
.section-title h2 { margin-top: 5px; font-size: 26px; }
.rule-section > p, .rule-section .lead { color: #39465c; font-size: 16px; line-height: 1.95; }
.lead { padding: 22px 24px; border-left: 3px solid var(--blue); background: #f6f9ff; }
.rule-section > h3 { margin: 30px 0 14px; color: #1f3f78; font-size: 18px; }
.overview-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.overview-item { min-height: 148px; padding: 20px; display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.overview-item > b { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #e9f0ff; color: var(--blue); font: 700 14px/1 Consolas, monospace; }
.overview-item h3 { font-size: 16px; }
.overview-item p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.key-point { margin-top: 17px; padding: 19px 22px; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 15px; border-radius: 10px; background: var(--navy-2); color: #fff; }
.key-point strong { color: #7dd3fc; font-size: 14px; }
.key-point p { color: #d6e3f8; font-size: 14px; line-height: 1.75; }
.content-columns { margin-top: 25px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.content-columns > div { padding: 23px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fafcff; }
.content-columns h3 { color: #1e4482; font-size: 17px; }
.content-columns ul { margin: 15px 0 0; padding-left: 19px; }
.content-columns li { margin-top: 10px; color: #49566c; font-size: 14px; line-height: 1.7; }
.spec-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.spec-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 16px 18px; border-top: 1px solid var(--line); text-align: left; line-height: 1.65; }
.spec-table thead th { border-top: 0; background: #edf3ff; color: #234c96; font-size: 13px; }
.spec-table tbody th { width: 18%; color: #263650; font-weight: 600; }
.spec-table tbody td { color: #556176; }
.spec-table tbody tr:nth-child(even) { background: #fafbfd; }
.safety-note { margin-top: 16px; padding: 16px 18px; display: flex; gap: 15px; border-radius: 9px; background: #fff2ed; }
.safety-note span { flex: 0 0 auto; color: #c2410c; font-size: 13px; font-weight: 700; }
.safety-note p { color: #7f4d38; font-size: 13px; line-height: 1.7; }
.track-card { margin-top: 24px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 200px; border: 1px solid var(--line); border-radius: 12px; background: #f2f6fc; }
.track-map { min-height: 300px; position: relative; display: grid; place-items: center; background-image: linear-gradient(#e4eaf4 1px, transparent 1px), linear-gradient(90deg, #e4eaf4 1px, transparent 1px); background-size: 24px 24px; }
.track-map svg { width: 92%; overflow: visible; }
.map-border, .map-road, .map-center { fill: none; stroke-linecap: round; }
.map-border { stroke: #c3cfdf; stroke-width: 72; }
.map-road { stroke: #fff; stroke-width: 60; }
.map-center { stroke: #6b87b8; stroke-width: 2; stroke-dasharray: 9 9; }
.map-label { padding: 4px 7px; position: absolute; border-radius: 5px; background: #1e3a8a; color: #fff; font: 700 9px/1 Consolas, monospace; letter-spacing: .08em; }
.start-label { left: 5%; bottom: 22%; }.task-label { top: 26%; left: 43%; background: #f97316; }.finish-label { right: 6%; bottom: 33%; }
.track-legend { padding: 24px 20px; display: grid; align-content: center; gap: 22px; border-left: 1px solid var(--line); background: #fff; }
.track-legend > div { display: flex; align-items: center; gap: 12px; }
.legend-swatch { width: 30px; height: 4px; flex: 0 0 auto; background: #7b8ca6; }
.legend-swatch.dashed { background: repeating-linear-gradient(90deg, #7b8ca6 0 6px, transparent 6px 10px); }
.legend-swatch.block { height: 18px; border-radius: 3px; background: #f97316; }
.track-legend p { display: grid; gap: 3px; }
.track-legend strong { font-size: 13px; }.track-legend small { color: var(--muted); font-size: 11px; }
.timeline { margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.timeline li { min-width: 0; position: relative; padding-top: 48px; text-align: center; }
.timeline li::before { content: ""; height: 2px; position: absolute; top: 18px; right: 50%; left: -50%; background: #cbd5e1; }
.timeline li:first-child::before { display: none; }
.timeline li > span { width: 38px; height: 38px; position: absolute; top: 0; left: calc(50% - 19px); z-index: 1; display: grid; place-items: center; border: 2px solid #9fb6dd; border-radius: 50%; background: #fff; color: var(--blue); font: 700 11px/1 Consolas, monospace; }
.timeline p { color: var(--blue); font-size: 11px; }
.timeline h3 { margin-top: 5px; font-size: 14px; }
.timeline small { margin-top: 6px; display: block; color: var(--muted); font-size: 11px; line-height: 1.55; }
.score-layout { margin-top: 24px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.score-formula { padding: 25px; display: flex; flex-direction: column; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, #0b2a69, #174fb2); color: #fff; }
.score-formula > span { width: max-content; padding: 4px 7px; border-radius: 4px; background: rgba(255,255,255,.14); color: #bae6fd; font-size: 10px; }
.score-formula p { margin-top: 14px; font-size: 17px; line-height: 1.65; }
.score-formula p b { color: #7dd3fc; }
.score-formula small { margin-top: 11px; color: #9fb6dc; font-size: 11px; }
.score-items { padding: 8px 20px; border: 1px solid var(--line); border-radius: 10px; }
.score-items > div { min-height: 65px; display: grid; grid-template-columns: 100px 1fr; align-items: center; border-top: 1px solid var(--line); }
.score-items > div:first-child { border-top: 0; }
.score-items span { color: var(--muted); font-size: 12px; }.score-items strong { font-size: 13px; }
.penalty-list { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.penalty-list li { padding: 13px 15px; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; border-radius: 8px; background: #f7f9fc; color: #4d5b70; font-size: 13px; line-height: 1.6; }
.penalty-list span { color: #be3c16; font-weight: 700; }
.discipline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.discipline-grid article { min-height: 165px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; }
.discipline-grid span { color: #8da4cb; font: 700 12px/1 Consolas, monospace; }
.discipline-grid h3 { margin-top: 19px; font-size: 16px; }
.discipline-grid p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.final-callout { margin-top: 18px; padding: 23px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 11px; background: #eff5ff; }
.final-callout p { color: var(--blue); font-size: 12px; font-weight: 700; }.final-callout h3 { margin-top: 6px; font-size: 16px; }
.final-callout button { padding: 10px 13px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #a9bce0; border-radius: 7px; background: #fff; color: #234c96; cursor: pointer; }
.final-callout button:hover { border-color: var(--blue); }.final-callout button span { font-size: 18px; }
.document-footer { min-height: 100px; padding: 24px 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); background: #f7f9fc; }
.document-footer > div { display: grid; gap: 4px; }.document-footer strong { font-size: 14px; }.document-footer span, .document-footer p { color: var(--muted); font-size: 11px; }

.mobile-toc-button, .mobile-toc { display: none; }

@media (max-width: 1100px) {
  .page-shell { width: min(980px, calc(100% - 30px)); grid-template-columns: 210px minmax(0, 1fr); gap: 16px; }
  .document-hero { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 46px; }
  .hero-visual { min-height: 230px; position: absolute; inset: auto -60px -45px auto; opacity: .33; }
  .lap-chip { display: none; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-facts article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .quick-facts article:nth-child(4) { border-top: 1px solid var(--line); }
  .overview-grid, .discipline-grid { grid-template-columns: 1fr; }
  .overview-item { min-height: 0; }
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .timeline li { min-height: 66px; padding: 0 0 0 56px; display: grid; align-content: center; text-align: left; }
  .timeline li::before { width: 2px; height: auto; top: -10px; bottom: calc(100% - 10px); left: 18px; }
  .timeline li > span { top: 14px; left: 0; }
}

@media (max-width: 820px) {
  :root { --header-height: 62px; }
  .header-inner { padding: 0 16px; grid-template-columns: 1fr auto; }
  .brand-copy strong { font-size: 14px; }.brand-copy small, .top-nav { display: none; }
  .outline-button span { display: none; }.outline-button { width: 40px; padding: 0; justify-content: center; }
  .page-shell { width: min(720px, calc(100% - 20px)); margin-top: 14px; grid-template-columns: 1fr; }
  .desktop-toc { display: none; }
  .rule-document { border-radius: 12px; }
  .document-hero { min-height: 480px; }
  .hero-copy { padding: 48px 26px; }
  .hero-visual { right: -100px; bottom: -20px; }
  .draft-notice, .quick-facts { margin-right: 20px; margin-left: 20px; }
  .article-body { padding-right: 20px; padding-left: 20px; }
  .content-columns, .score-layout, .track-card { grid-template-columns: 1fr; }
  .track-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 0; }
  .track-legend > div { align-items: flex-start; }
  .document-footer { padding-right: 20px; padding-left: 20px; }
  .mobile-toc-button { min-width: 60px; min-height: 60px; position: fixed; right: 18px; bottom: 20px; z-index: 70; display: grid; place-items: center; gap: 1px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: #fff; color: #17386f; box-shadow: 0 12px 32px rgba(0,0,0,.28); cursor: pointer; }
  .mobile-toc-button svg { width: 20px; height: 20px; }.mobile-toc-button span { font-size: 10px; }
  .mobile-toc[hidden] { display: none; }.mobile-toc { position: fixed; inset: 0; z-index: 90; display: block; }
  .toc-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,8,23,.66); backdrop-filter: blur(4px); }
  .mobile-toc-panel { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px 20px calc(26px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -20px 60px rgba(0,0,0,.28); }
  .mobile-toc-panel header { display: flex; align-items: center; justify-content: space-between; }
  .mobile-toc-panel header p { color: var(--blue); font: 700 10px/1.2 Consolas, monospace; letter-spacing: .15em; }.mobile-toc-panel h2 { margin-top: 4px; font-size: 22px; }
  .mobile-toc-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #4b5563; font-size: 27px; line-height: 1; cursor: pointer; }
  .mobile-toc-panel nav { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mobile-toc-panel nav a { min-height: 48px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border-radius: 8px; background: #f3f6fb; font-size: 14px; }
  .mobile-toc-panel nav span { color: var(--blue); font: 700 11px/1 Consolas, monospace; }
  body.toc-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .page-shell { width: 100%; margin: 0; }
  .rule-document { border-radius: 0; }
  .document-hero { min-height: 500px; }
  .hero-copy { padding: 43px 20px 90px; align-self: start; }
  .hero-copy h1 { font-size: 34px; }
  .hero-summary { font-size: 15px; }
  .hero-meta { display: grid; gap: 8px; }
  .hero-visual { width: 360px; right: -105px; bottom: -70px; }
  .draft-notice { margin-top: 20px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts article { border-top: 1px solid var(--line); border-left: 0; }.quick-facts article:first-child { border-top: 0; }
  .rule-section { padding-top: 55px; }
  .section-title { justify-content: flex-start; }.section-title > span { font-size: 28px; }.section-title h2 { font-size: 23px; }
  .lead { padding: 18px; }
  .key-point { grid-template-columns: 1fr; }
  .track-map { min-height: 230px; }.track-legend { grid-template-columns: 1fr; }
  .score-items > div { grid-template-columns: 1fr; align-content: center; gap: 4px; }
  .penalty-list li { grid-template-columns: 1fr; gap: 4px; }
  .final-callout, .document-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .toc-links a, .outline-button, .final-callout button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
  .mini-car { animation: carPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes carPulse { 0%,100% { opacity: 1; } 50% { opacity: .72; } }
}

@media print {
  :root { --header-height: 0px; }
  body { background: #fff; }
  body::before, body::after, .site-header, .desktop-toc, .mobile-toc-button, .draft-notice { display: none !important; }
  .page-shell { width: 100%; margin: 0; display: block; }
  .rule-document { box-shadow: none; }
  .document-hero { min-height: 300px; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rule-section { break-inside: avoid; }
}

/* 与 wzut.smartcar.asia/notice-car-safety 一致的通知长文视觉语言 */
:root {
  --blue: #2262e8;
  --blue-dark: #1859b7;
  --navy: #222326;
  --navy-2: #222326;
  --ink: #202124;
  --muted: #70757c;
  --line: #e3e6ea;
  --soft: #fafbfc;
  --header-height: 64px;
}

html { background: #f4f4f4; scroll-padding-top: 94px; }
body { overflow-x: hidden; background: #f4f4f4; color: #202124; }
body::before, body::after { display: none; }

.site-header {
  height: 64px;
  background: #fff;
  color: #17191d;
  border-bottom: 1px solid #ededed;
  box-shadow: none;
  backdrop-filter: none;
}
.header-inner {
  width: min(1210px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { min-width: 240px; gap: 0; }
.brand-mark { display: none; }
.brand-copy { display: block; }
.brand-copy strong {
  color: #17191d;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-copy small { display: none; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 16px; }
.top-nav a {
  width: 90px;
  height: 44px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #f5f5f5;
  color: #26282b;
  white-space: nowrap;
}
.top-nav a:last-child { background: #222; color: #fff; }
.top-nav a:hover {
  background: #ececec;
  color: #26282b;
}
.top-nav a:last-child:hover {
  background: #111;
  color: #fff;
}
.top-nav a::after { display: none; }
.outline-button {
  width: 44px;
  min-height: 44px;
  margin-left: 2px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #34373b;
}
.outline-button:hover { background: #ececec; }
.outline-button span { display: none; }

.page-shell {
  width: min(1210px, calc(100% - 48px));
  margin: 24px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 16px;
}
.rule-document {
  grid-column: 1;
  grid-row: 1;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.desktop-toc {
  grid-column: 2;
  grid-row: 1;
  top: 84px;
  color: #202124;
}
.toc-card {
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22,34,51,.04);
  backdrop-filter: none;
}
.toc-kicker { display: none; }
.toc-card h2 { padding: 24px 24px 16px; color: #242629; font-size: 16px; line-height: 1.4; font-weight: 800; }
.toc-links { padding: 0 12px 16px; border: 0; gap: 2px; }
.toc-links a {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: #565b62;
  font-size: 14px;
}
.toc-links a span { width: 24px; color: #999; }
.toc-links a:hover { background: #f5f5f5; color: #242629; }
.toc-links a.is-active { background: #f5f5f5; color: #242629; }
.toc-links a.is-active span { color: #2262e8; }
.toc-status { padding: 16px 24px 20px; border-top: 1px solid #eee; }
.toc-status small { color: #999; }

.document-hero {
  min-height: 0;
  display: block;
  background: #fff;
  color: #202124;
}
.document-hero::before, .hero-grid, .hero-orbit, .hero-visual { display: none; }
.hero-copy {
  padding: 30px 48px 26px;
  display: flex;
  flex-direction: column;
}
.hero-badge {
  order: 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 3px;
  background: #f4f4f4;
  color: #676c72;
  font-size: 12px;
}
.hero-badge span { background: #2262e8; box-shadow: none; }
.hero-eyebrow { display: none; }
.hero-copy h1 {
  order: 1;
  margin-top: 0;
  color: #222326;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}
.hero-copy h1 em { margin-left: 0; color: inherit; font-style: normal; }
.hero-author-meta {
  order: 2;
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #9a9a9a;
  font-size: 14px;
}
.hero-author-avatar {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.hero-author-meta strong {
  margin-right: 6px;
  color: #2b2d30;
  font-size: 15px;
  font-weight: 700;
}
.hero-author-meta time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-author-meta svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}
.hero-meta {
  order: 2;
  margin-top: 18px;
  gap: 12px 20px;
  color: #9a9a9a;
  font-size: 14px;
}
.hero-meta span::before { width: 5px; height: 5px; background: #222; }
.hero-summary {
  order: 3;
  max-width: none;
  margin-top: 28px;
  color: #34373b;
  font-size: 16px;
  line-height: 1.9;
}
.hero-banner {
  order: 3;
  width: 100%;
  height: auto;
  margin-top: 64px;
  display: block;
  object-fit: contain;
}

.draft-notice {
  margin: 0 48px 20px;
  padding: 2px 0 2px 16px;
  border: 0;
  border-left: 3px solid #e63f3f;
  border-radius: 0;
  background: transparent;
}
.draft-notice svg { color: #e23d3d; }
.draft-notice strong { color: #e23d3d; }
.draft-notice p { color: #5a5050; font-size: 14px; }
.quick-facts { margin: 24px 48px 8px; border-color: #e3e6ea; border-radius: 8px; background: #fafbfc; }
.quick-facts article { border-color: #e3e6ea; }

.article-body { padding: 8px 48px 64px; }
.rule-section { padding: 0; margin-top: 34px; scroll-margin-top: 94px; }
.rule-section + .rule-section { margin-top: 44px; border-top: 0; }
.section-title {
  margin-bottom: 12px;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
}
.section-title > span { color: #25272a; font: 800 30px/1.45 "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
.section-title > div { padding-left: 0; border-left: 0; }
.section-title p { display: none; }
.section-title h2 { margin: 0; color: #25272a; font-size: 30px; line-height: 1.45; font-weight: 800; }
.rule-section > p, .rule-section .lead { color: #34373b; font-size: 16px; line-height: 1.9; text-align: justify; }
.lead { padding: 0; border: 0; background: transparent; }
.overview-grid { margin-top: 18px; }
.overview-item, .content-columns > div, .discipline-grid article { border-color: #e3e6ea; border-radius: 8px; background: #fafbfc; }
.key-point { border-radius: 0 6px 6px 0; background: #f5f8ff; color: #303a4a; border-left: 3px solid #2262e8; }
.key-point strong { color: #2262e8; }
.key-point p { color: #303a4a; }
.spec-table-wrap, .track-card, .score-formula, .score-items { border-radius: 8px; }
.score-formula { background: #f5f8ff; color: #303a4a; border-left: 3px solid #2262e8; }
.score-formula > span { background: #eaf1ff; color: #2262e8; }
.score-formula p b { color: #2262e8; }
.score-formula small { color: #70757c; }
.document-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  min-height: 72px;
  padding: 13px 48px;
  border-top: 1px solid #ececec;
  background: rgba(255,255,255,.96);
  color: #26282b;
  backdrop-filter: blur(8px);
}
.document-footer > div { gap: 3px; }
.document-footer strong {
  color: #202124;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}
.document-footer span {
  color: #747a82;
  font-size: 13px;
  line-height: 1.5;
}
.document-footer p {
  color: #747a82;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .site-header { height: 66px; }
  .header-inner, .page-shell { width: min(calc(100% - 24px), 760px); }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 23px; }
  .top-nav a:not(:last-child) { display: none; }
  .top-nav a:last-child { width: 86px; height: 40px; }
  .outline-button { display: none; }
  .page-shell { margin-top: 14px; grid-template-columns: 1fr; }
  .rule-document { grid-column: 1; grid-row: 1; }
  .desktop-toc { display: none; }
  .hero-copy { padding: 28px 28px 20px; }
  .hero-banner { margin-top: 52px; }
  .quick-facts { margin-right: 28px; margin-left: 28px; }
  .draft-notice { margin-right: 28px; margin-left: 28px; }
  .article-body { padding: 12px 28px 54px; }
  .document-footer { padding: 10px 28px; }
  .mobile-toc-button { background: #222; color: #fff; border: 0; }
}

@media (max-width: 580px) {
  .header-inner { gap: 12px; }
  .brand-copy strong { font-size: 18px; }
  .page-shell { width: min(calc(100% - 24px), 760px); margin-top: 14px; }
  .rule-document { border-radius: 8px; }
  .document-hero { min-height: 0; background: #fff; }
  .hero-copy { padding: 24px 21px 16px; }
  .hero-copy h1 { font-size: 27px; line-height: 1.35; }
  .hero-copy h1 em { margin-left: 0; }
  .hero-author-meta { margin-top: 20px; gap: 9px 12px; font-size: 13px; }
  .hero-author-meta strong { font-size: 14px; }
  .hero-banner { margin-top: 47px; }
  .hero-summary { margin-top: 22px; font-size: 16px; line-height: 1.85; }
  .hero-meta { margin-top: 20px; gap: 9px 12px; font-size: 13px; }
  .draft-notice, .quick-facts { margin-right: 21px; margin-left: 21px; }
  .article-body { padding: 10px 21px 44px; }
  .rule-section { padding-top: 0; }
  .section-title { justify-content: flex-start; }
  .section-title > span, .section-title h2 { font-size: 24px; }
  .rule-section > p, .rule-section .lead { font-size: 16px; line-height: 1.85; }
  .document-footer { padding: 9px 17px; }
  .document-footer p { display: none; }
}

@media print {
  .site-header, .desktop-toc, .mobile-toc-button, .document-footer { display: none !important; }
  body { background: #fff; }
  .page-shell { width: 100%; margin: 0; display: block; }
  .rule-document { border: 0; }
  .document-hero { min-height: 0; break-after: auto; }
}

/* 规则正文：对齐竞赛规则参考页的编号标题与宋体长文排版 */
.article-body {
  padding: 16px 28px 72px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
.rule-section {
  margin-top: 48px;
}
.rule-section:first-child {
  margin-top: 10px;
}
.rule-section + .rule-section {
  margin-top: 72px;
}
.section-title {
  margin: 0 0 26px;
  padding: 0 0 28px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid #dddddd;
  text-align: center;
}
.section-title > span {
  color: #6658d4;
  font: 700 34px/1.2 Arial, "Microsoft YaHei UI", sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.section-title > div {
  padding: 0;
  border: 0;
}
.section-title h2 {
  margin: 0;
  color: #6658d4;
  font-family: KaiTi, STKaiti, "Microsoft YaHei UI", sans-serif;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .02em;
}
.section-title h2 b {
  color: #ef1111;
  font-weight: inherit;
}
.rule-section > p,
.rule-section .lead,
.rule-section li {
  color: #111;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 2.05;
}
.rule-section > p,
.rule-section .lead {
  text-align: justify;
}
.rule-section .lead {
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  text-indent: 2em;
}
.rule-guide-list {
  margin: 28px 0 0;
  padding: 0 18px 0 36px;
}
.rule-guide-list li {
  margin: 0 0 8px;
  padding-left: 2px;
  text-align: justify;
}
.rule-guide-list li::marker {
  font-size: .7em;
}
.rule-section strong,
.rule-section b {
  font-weight: 700;
}
.preface-block + .preface-block {
  margin-top: 34px;
}
.preface-block h3 {
  margin: 0 0 14px;
  color: #7638b5;
  font-size: 21px;
  line-height: 1.6;
}
.preface-block p {
  margin: 0 14px 16px;
  color: #111;
  font-size: 17px;
  line-height: 2.05;
  text-align: justify;
  text-indent: 2em;
}
.group-table-caption {
  margin: 0 0 26px;
  color: #6658d4;
  font-size: 15px;
  text-align: right;
}
.group-table-wrap {
  width: calc(100% + 20px);
  margin-top: 26px;
  margin-left: -10px;
  padding-bottom: 4px;
  border: 0;
  border-radius: 0;
}
.group-table-inner {
  width: 100%;
}
.group-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border: 1px solid #d8d8d8;
  font-size: 16px;
}
.group-table th,
.group-table td {
  padding: 13px 11px;
  border: 1px solid #d8d8d8;
  vertical-align: middle;
  color: #25272a;
  line-height: 1.75;
}
.group-table tbody th,
.group-table tbody td {
  color: #333333;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.group-table th:nth-child(4),
.group-table td:nth-child(4) {
  padding-right: 2px;
  padding-left: 2px;
}
.group-table thead th {
  height: 96px;
  padding: 10px;
  color: #6a5acd;
  background: #f0f3f6;
  font-family: SimSun, "宋体", NSimSun, Arial, serif;
  font-size: 16px;
  font-weight: 400;
}
.group-table tbody th {
  width: auto;
  font-weight: 400;
}
.group-table th:nth-child(1), .group-table td:nth-child(1),
.group-table th:nth-child(2), .group-table td:nth-child(2),
.group-table th:nth-child(3), .group-table td:nth-child(3) {
  text-align: center;
}
.group-table thead th:nth-child(n + 5),
.group-table tbody td:nth-child(n + 5) {
  text-align: center;
}
.group-col-index { width: 4.3%; }
.group-col-name { width: 5.4%; }
.group-col-environment { width: 6.1%; }
.group-col-task { width: 46.7%; }
.group-col-sensor { width: 7.8%; }
.group-col-mcu { width: 13.8%; }
.group-col-car { width: 9.7%; }
.group-col-team { width: 6.2%; }
.table-stacked-label {
  display: inline-block;
  line-height: 1.32;
  text-align: center;
}
.group-table thead th:nth-child(5) {
  padding-right: 4px;
  padding-left: 4px;
}
.group-table tbody td:nth-child(5) {
  padding-right: 4px;
  padding-left: 4px;
  white-space: nowrap;
}
.group-table tbody td:nth-child(6),
.group-table tbody td:nth-child(7),
.group-table tbody td:nth-child(8) {
  padding-right: 4px;
  padding-left: 4px;
  white-space: nowrap;
}
.table-single-line-label {
  white-space: nowrap;
}
.table-vertical-label {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .12em;
}
.placeholder-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 3px solid #6658d4;
  background: #f7f6ff;
}

@media (max-width: 860px) {
  .article-body { padding: 14px 24px 58px; }
  .rule-section + .rule-section { margin-top: 60px; }
  .section-title { padding-bottom: 22px; margin-bottom: 22px; }
  .section-title > span, .section-title h2 { font-size: 30px; }
  .rule-section > p, .rule-section .lead, .rule-section li { font-size: 17px; line-height: 1.95; }
  .rule-section .lead { padding: 0 5px; }
  .rule-guide-list { padding-right: 5px; padding-left: 27px; }
  .preface-block p { margin-right: 5px; margin-left: 5px; font-size: 17px; line-height: 1.95; }
  .group-table-wrap { width: 100%; margin-left: 0; }
  .group-table-inner, .group-table { width: 880px; min-width: 880px; }
}

@media (max-width: 580px) {
  .article-body { padding: 12px 20px 48px; }
  .rule-section:first-child { margin-top: 4px; }
  .rule-section + .rule-section { margin-top: 52px; }
  .section-title { gap: 10px; padding-bottom: 18px; margin-bottom: 20px; }
  .section-title > span, .section-title h2 { font-size: 26px; }
  .rule-section > p, .rule-section .lead, .rule-section li { font-size: 16px; line-height: 1.9; }
  .rule-guide-list { margin-top: 22px; }
  .preface-block + .preface-block { margin-top: 28px; }
  .preface-block h3 { font-size: 19px; }
  .preface-block p { font-size: 16px; line-height: 1.9; }
  .group-table-caption { font-size: 14px; }
}

/* 03 比赛器材：按参考规则长文还原层级与配色 */
:is(#equipment, #track, #schedule, #scoring) .preface-block + .preface-block {
  margin-top: 34px;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block h3 {
  margin: 0 0 8px;
  color: #7a37ab;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 700;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block h4 {
  margin: 18px 0 6px;
  color: #008090;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 700;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block h5 {
  margin: 18px 0 6px;
  color: #e06030;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 700;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block p + p {
  margin-top: 16px;
}
:is(#equipment, #track, #schedule, #scoring) .part-list + p {
  margin-top: 16px;
}
:is(#equipment, #track, #schedule, #scoring) .part-list li + li {
  margin-top: 12px;
}
:is(#equipment, #track, #schedule, #scoring) .rule-link {
  color: #2f7fd4;
  white-space: nowrap;
}
:is(#equipment, #track, #schedule, #scoring) .rule-link--warm {
  color: #e0612f;
}
:is(#equipment, #track, #schedule, #scoring) .rule-link-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -1px;
}
:is(#equipment, #track, #schedule, #scoring) .part-list {
  margin: 6px 0 0;
  padding: 0 0 0 2.1em;
  list-style: disc;
}
:is(#equipment, #track, #schedule, #scoring) .part-list li {
  color: #111;
  font-size: 17px;
  line-height: 1.9;
}
:is(#equipment, #track, #schedule, #scoring) .part-list li::marker {
  font-size: .7em;
}

/* 04 比赛环境：赛道规格示意图 */
#track .rule-figure {
  width: 78%;
  margin: 22px auto 0;
}
#track .rule-figure img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 860px) {
  #track .rule-figure {
    width: 100%;
  }
}

/* 04 比赛环境：表 1-1 赛道基本元素 */
#track .element-table-wrap {
  margin: 26px 0 0;
}
#track .element-table-scroll {
  overflow-x: auto;
}
#track .element-table-caption {
  margin: 0 0 16px;
  color: #222226;
  font-size: 15px;
  text-align: right;
}
#track .element-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
}
#track .element-col-name {
  width: 13%;
}
#track .element-table th,
#track .element-table td {
  padding: 12px 16px;
  border: 1px solid #dcdcdc;
  text-align: left;
  vertical-align: middle;
  line-height: 1.75;
}
#track .element-table thead th {
  background: #eff3f5;
  color: #6a5acd;
  font-size: 16px;
  font-weight: 400;
}
#track .element-table tbody th {
  color: #4a4a4a;
  font-weight: 400;
}
#track .element-table tbody td {
  color: #333;
}
@media (max-width: 860px) {
  #track .element-table {
    min-width: 560px;
    font-size: 15px;
  }
  #track .element-col-name {
    width: 16%;
  }
  #track .element-table th,
  #track .element-table td {
    padding: 10px 12px;
  }
}


/* 06 判罚标准：罚时数值与一览表 */
:is(#equipment, #track, #schedule, #scoring) .penalty-time {
  color: #d6336c;
  font-weight: 700;
}
#scoring .penalty-table-scroll {
  margin: 20px 0 0;
  overflow-x: auto;
}
#scoring .penalty-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
}
#scoring .penalty-table th,
#scoring .penalty-table td {
  padding: 12px 16px;
  border: 1px solid #dddddd;
  text-align: left;
  vertical-align: middle;
  line-height: 1.75;
}
#scoring .penalty-table thead th {
  background: #eff3f5;
  color: #6a5acd;
  font-size: 16px;
  font-weight: 400;
}
#scoring .penalty-col-name {
  width: 13%;
}
#scoring .penalty-col-time {
  width: 13%;
}
#scoring .penalty-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}
#scoring .penalty-table tbody td:nth-child(2) {
  color: #d6336c;
  font-weight: 700;
}
@media (max-width: 860px) {
  #scoring .penalty-table {
    min-width: 560px;
  }
}

/* 同一个小节内连续出现的标题：与上文留出间距 */
:is(#equipment, #track, #schedule, #scoring) .preface-block > h3 {
  margin: 30px 0 12px;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block > h3:first-child {
  margin-top: 0;
}
:is(#equipment, #track, #schedule, #scoring) .preface-block > h4 {
  margin: 22px 0 8px;
}
#scoring .penalty-col-name {
  width: 15%;
}
#scoring .penalty-table th,
#scoring .penalty-table td {
  padding: 12px 14px;
}

#scoring .penalty-col-name {
  width: 15%;
}
#scoring .penalty-col-time {
  width: 16%;
}
#scoring .penalty-table thead th:nth-child(2) {
  white-space: nowrap;
}

/* 侧栏：通知公告 / 推荐标签 / 本文目录 */
.desktop-toc {
  width: 290px;
  min-width: 290px;
  max-width: 290px;
  position: static;
  top: auto;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-self: stretch;
  gap: 20px;
}
.side-card {
  padding: 24px;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22,34,51,.04);
}
.desktop-toc > .side-card:first-child {
  min-height: 280px;
}
.desktop-toc > .side-card:first-child .side-card-head {
  margin-bottom: 16px;
}
.side-card-head {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.side-card-head svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #242629;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.side-card-head h2 {
  margin: 0;
  padding: 0;
  color: #242629;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}
.notice-list {
  --notice-row-height: 48px;
  min-height: calc(4 * var(--notice-row-height));
  margin: 0;
  padding: 0;
  display: block;
  list-style: none;
}
.notice-list li {
  min-height: var(--notice-row-height);
  margin: 0 -12px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  font-size: 14px;
}
.notice-list li:hover { background: #f5f5f5; }
.notice-list a {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #3f4246;
}
.notice-list a:hover { color: #242629; }
.notice-list time {
  color: #999;
  font-size: 14px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud a {
  padding: 8px 11px;
  border-radius: 3px;
  background: #f4f4f4;
  color: #5a5d61;
  font-size: 13px;
  line-height: normal;
}
.toc-links {
  position: sticky;
  top: 84px;
  align-self: start;
  margin: 0 0 4px 12px;
  padding: 2px 0 2px 16px;
  display: block;
  border: 0;
  border-left: 1px solid #dedede;
  border-radius: 0;
}
.toc-links a {
  position: relative;
  padding: 0;
  display: block;
  min-height: 0;
  border-radius: 0;
  color: #70757c;
  font-size: 15px;
  line-height: 1.55;
}
.toc-links a span {
  width: 24px;
  color: #b3b7bc;
  font: 400 14px/1 inherit;
}
.toc-links a:hover { background: none; color: #2a2d32; }
.toc-links .toc-level-1 {
  color: #565b62;
  font-size: 15px;
}
.toc-links .toc-level-2 {
  margin-left: 12px;
  padding: 0;
  color: #70757c;
  font-size: 14px;
}
.toc-links .toc-level-1 + .toc-level-1,
.toc-links .toc-level-2 + .toc-level-1 { margin-top: 16px; }
.toc-links .toc-level-1 + .toc-level-2 { margin-top: 12px; }
.toc-links .toc-level-2 + .toc-level-2 { margin-top: 10px; }
.toc-links a.is-active {
  background: none;
  color: #565b62;
  font-weight: 400;
}
.toc-links .toc-level-2.is-active { color: #70757c; }
.toc-links a.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  width: 2px;
  height: 24px;
  transform: translateY(-50%);
  background: #292c30;
}
.toc-links .toc-level-2.is-active::before { left: -29px; }
.toc-links a.is-active span { color: #2262e8; }
.toc-status {
  margin-top: 12px;
  padding: 2px 0 0 16px;
  border-top: 0;
}
.preface-block h3[id] { scroll-margin-top: 94px; }

.closing-notes {
  margin: 0;
  padding-left: 2.1em;
}

.closing-notes li {
  margin: 8px 0;
}

.rule-signature {
  margin-top: 36px;
  padding-right: 14px;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #2f3338;
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
}

.rule-signature p {
  margin: 0;
}

.rule-signature time {
  color: #555b63;
  font-size: 15px;
}

@media (max-width: 580px) {
  .rule-signature {
    margin-top: 28px;
    padding-right: 4px;
    font-size: 15px;
  }
}

/* 文章底部操作栏 */
.rule-document {
  overflow: visible;
}

.document-footer {
  min-height: 58px;
  padding: 10px 48px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ececec;
  background: rgba(255,255,255,.96);
  color: #26282b;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.document-footer .footer-title {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
  color: #26282b;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.document-footer .footer-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.footer-action {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #555a5f;
  cursor: pointer;
}

.footer-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-action:hover,
.footer-action:focus-visible {
  background: #f3f3f3;
  color: #111;
}

.footer-action:focus-visible {
  outline: 2px solid #2262e8;
  outline-offset: 2px;
}

.footer-action.is-success {
  color: #2262e8;
}

@media (max-width: 860px) {
  .page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .desktop-toc {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    position: static;
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-rows: auto auto;
    align-self: start;
    gap: 20px;
  }

  .desktop-toc .side-card {
    min-width: 0;
    max-width: 100%;
  }

  .desktop-toc .toc-links {
    display: none;
  }

  .rule-document {
    width: 100%;
    overflow: clip;
  }

  .document-footer {
    padding: 10px 28px;
  }
}

@media (max-width: 580px) {
  .document-footer {
    padding: 9px 17px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .document-footer .footer-title {
    display: none;
  }
}
