/* ==============================
   必一体育 全站共享样式
   zero-biyi.com.cn /assets/site.css
   ============================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #111111;
  background-color: #F1FAEE;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid #F4A261;
  outline-offset: 2px;
}

::selection {
  background: #E63946;
  color: #F1FAEE;
}

/* ---------- 2. CSS 变量 ---------- */
:root {
  --c-red: #E63946;
  --c-yellow: #F4A261;
  --c-blue: #1D3557;
  --c-black: #111111;
  --c-gold: #D4AF37;
  --c-gray: #8D99AE;
  --c-green: #2A9D8F;
  --c-terracotta: #E76F51;
  --c-rice: #F1FAEE;
  --c-mist: #E0E1DD;

  --font-heading: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", Consolas, "Menlo", monospace;

  --content-max: 1200px;
  --header-max: 1360px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;

  --shadow-sm: 0 1px 3px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 4px 12px rgba(17, 17, 17, 0.12);
  --shadow-lg: 0 12px 32px rgba(17, 17, 17, 0.18);

  --line-streak: linear-gradient(90deg, #E63946 0%, #F4A261 50%, #D4AF37 100%);
  --diag-lines: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 2px, transparent 2px, transparent 6px);
}

/* ---------- 3. 基础排版 ---------- */
p {
  margin-bottom: 1rem;
}

strong,
b {
  font-weight: 700;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ---------- 4. 通用工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0.75rem;
  z-index: 300;
  background: #F4A261;
  color: #111111;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ---------- 5. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--line-streak);
  z-index: 1000;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---------- 6. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background:
    var(--diag-lines),
    linear-gradient(180deg, #1D3557 0%, #17294a 100%);
  color: #F1FAEE;
  border-bottom: 3px solid transparent;
  border-image: var(--line-streak) 1;
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.35);
}

.header-shell {
  max-width: var(--header-max);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 品牌区 */
.header-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
}

.brand-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  background: #E63946;
  color: #F1FAEE;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.45);
  transform: skewX(-6deg);
}

.brand-pin::first-letter {
  transform: skewX(6deg);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #F1FAEE;
  white-space: nowrap;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #F4A261;
  letter-spacing: 0.08em;
  padding-left: 0.5rem;
  margin-left: 0.25rem;
  border-left: 2px solid rgba(244, 162, 97, 0.4);
  white-space: nowrap;
}

/* 主导航 */
.header-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0;
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(241, 250, 238, 0.82);
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(244, 162, 97, 0.14);
  color: #F4A261;
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  background: rgba(244, 162, 97, 0.22);
  color: #F4A261;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #F4A261, 0 0 0 1px rgba(244, 162, 97, 0.25);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8D99AE;
  letter-spacing: 0.04em;
}

.nav-link[aria-current="page"] .nav-index {
  color: #D4AF37;
}

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(241, 250, 238, 0.3);
  color: #F1FAEE;
  background: rgba(241, 250, 238, 0.06);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.tool-btn:hover {
  border-color: #F4A261;
  background: rgba(244, 162, 97, 0.16);
  color: #F4A261;
  transform: translateY(-1px);
}

.tool-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
}

.tool-label {
  font-size: 0.78rem;
}

.tool-collect .tool-icon {
  color: #D4AF37;
}

.tool-collect:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.14);
  color: #D4AF37;
}

.tool-export .tool-icon {
  color: #E76F51;
}

.tool-export:hover {
  border-color: #E76F51;
  background: rgba(231, 111, 81, 0.14);
  color: #E76F51;
}

.tool-update {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8D99AE;
  background: rgba(17, 17, 17, 0.35);
  border: 1px solid rgba(141, 153, 174, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.32rem 0.55rem;
  white-space: nowrap;
}

.update-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2A9D8F;
  flex-shrink: 0;
}

.update-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #2A9D8F;
  opacity: 0.6;
  animation: updatePulse 2s ease-out infinite;
}

@keyframes updatePulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(241, 250, 238, 0.08);
  border: 1px solid rgba(241, 250, 238, 0.3);
  flex-shrink: 0;
  margin-left: auto;
}

.toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #F4A261;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 7. 站点页脚 ---------- */
.site-footer {
  background:
    var(--diag-lines),
    linear-gradient(180deg, #17294a 0%, #1D3557 100%);
  color: #F1FAEE;
  border-top: 3px solid transparent;
  border-image: var(--line-streak) 1;
  margin-top: var(--space-xl);
}

.footer-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 1.5rem var(--space-md);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #F1FAEE;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background: #E63946;
  transform: skewX(-10deg);
  border-radius: 2px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #F4A261;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(241, 250, 238, 0.7);
  margin-bottom: 0.4rem;
  max-width: 24rem;
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8D99AE;
  background: rgba(17, 17, 17, 0.35);
  border: 1px solid rgba(141, 153, 174, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  display: inline-block;
  align-self: flex-start;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #F4A261;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(244, 162, 97, 0.3);
  display: inline-block;
}

.footer-contact-list,
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact-list li {
  font-size: 0.83rem;
  color: rgba(241, 250, 238, 0.82);
  line-height: 1.5;
  padding-left: 0.5rem;
  position: relative;
}

.footer-contact-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #E63946;
  font-weight: 900;
}

.footer-link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.75rem;
}

.footer-link-list a {
  font-size: 0.83rem;
  color: rgba(241, 250, 238, 0.82);
  padding: 0.15rem 0;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer-link-list a:hover {
  color: #F4A261;
  padding-left: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(241, 250, 238, 0.12);
  background: rgba(17, 17, 17, 0.25);
}

.footer-bottom-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  color: #8D99AE;
  margin: 0;
  font-family: var(--font-mono);
}

.footer-region {
  font-size: 0.75rem;
  color: #D4AF37;
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- 8. 内容容器与页面标题 ---------- */
.content-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem var(--space-xl);
}

.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  border-bottom: 2px dashed rgba(141, 153, 174, 0.4);
  margin-bottom: var(--space-lg);
}

.page-header::after {
  content: "◆";
  position: absolute;
  bottom: -0.6rem;
  right: 0;
  font-size: 0.8rem;
  color: #E63946;
  background: #F1FAEE;
  padding: 0 0.3rem;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1D3557;
  margin-bottom: 0.6rem;
}

.page-intro {
  font-size: 1rem;
  color: #4a5568;
  max-width: 46rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.page-lead {
  font-size: 1.1rem;
  color: #111111;
  font-weight: 500;
  max-width: 42rem;
  margin-bottom: 1rem;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #8D99AE;
  font-family: var(--font-mono);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "∕";
  color: #8D99AE;
  margin-right: 0.3rem;
}

.breadcrumb a {
  color: #1D3557;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: #E63946;
}

.breadcrumb li[aria-current="page"] {
  color: #E63946;
  font-weight: 700;
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: #E63946;
  color: #F1FAEE;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.btn--primary:hover {
  background: #d62d3a;
  color: #F1FAEE;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
}

.btn--outline {
  background: transparent;
  border-color: #1D3557;
  color: #1D3557;
}

.btn--outline:hover {
  background: rgba(29, 53, 87, 0.06);
  border-color: #111111;
  transform: translateY(-1px);
}

.btn--gold {
  background: #D4AF37;
  color: #111111;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn--gold:hover {
  background: #c3a02e;
  color: #111111;
  transform: translateY(-1px);
}

/* ---------- 11. 章节索引 ---------- */
.section-index {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-index .index-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #E63946;
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-index .index-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #8D99AE;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ---------- 12. 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: var(--space-md) 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #F1FAEE;
  border: 1px solid #E0E1DD;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--line-streak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #1D3557;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  margin: 0;
}

.card-text {
  font-size: 0.87rem;
  color: #4a5568;
  line-height: 1.65;
  margin-bottom: 0.75rem;
  flex: 1 1 auto;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8D99AE;
  border-top: 1px dashed #E0E1DD;
  padding-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 13. 徽标 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--hot {
  background: #E63946;
  color: #F1FAEE;
  border-color: #E63946;
}

.badge--gold {
  background: rgba(212, 175, 55, 0.16);
  color: #8a6d1d;
  border-color: #D4AF37;
}

.badge--new {
  background: rgba(42, 157, 143, 0.14);
  color: #1d7068;
  border-color: #2A9D8F;
}

.badge--round {
  background: rgba(231, 111, 81, 0.14);
  color: #b3553a;
  border-color: #E76F51;
}

/* ---------- 14. 数据表格 ---------- */
.table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border: 1px solid #E0E1DD;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #F1FAEE;
}

.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.data-table thead {
  background: #1D3557;
  color: #F1FAEE;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
}

.data-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #E0E1DD;
  vertical-align: middle;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(224, 225, 221, 0.3);
}

.data-table tbody tr:hover {
  background: rgba(244, 162, 97, 0.1);
}

.data-table td.num,
.data-table th.num {
  font-family: var(--font-mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.data-table .highlight {
  color: #E63946;
  font-weight: 700;
  font-family: var(--font-mono);
}

.data-table .gold-highlight {
  color: #8a6d1d;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ---------- 15. 图片容器 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1D3557 0%, #111111 100%);
  border: 1px solid #E0E1DD;
  border-radius: var(--radius-md);
  min-height: 120px;
}

.figure::before {
  content: "FIG";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: #8D99AE;
  padding: 0.3rem 0.6rem;
  border: 1px solid #8D99AE;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--diag-lines);
  pointer-events: none;
}

.figure--hero {
  aspect-ratio: 16 / 9;
}

.figure--card {
  aspect-ratio: 3 / 2;
}

.figure--profile {
  aspect-ratio: 1;
}

.figure--banner {
  aspect-ratio: 21 / 7;
}

/* ---------- 16. 信息提示条 ---------- */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(42, 157, 143, 0.1);
  border: 1px solid rgba(42, 157, 143, 0.4);
  border-left: 4px solid #2A9D8F;
  color: #1d7068;
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  margin: var(--space-md) 0;
  font-size: 0.85rem;
}

.notice-bar::before {
  content: "◷";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #2A9D8F;
}

/* ---------- 17. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 18. 响应式断点 ---------- */
@media (max-width: 1100px) {
  .header-shell {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
  }

  .header-nav {
    order: 3;
    flex-basis: 100%;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(241, 250, 238, 0.1);
    padding-top: 0.2rem;
  }

  .brand-tag {
    display: none;
  }

  .tool-label {
    display: none;
  }

  .tool-btn {
    padding: 0.4rem 0.5rem;
  }

  .tool-update {
    font-size: 0.68rem;
    padding: 0.28rem 0.45rem;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 899px) {
  .header-shell {
    flex-wrap: nowrap;
    padding: 0.55rem 1rem;
  }

  .header-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-pin {
    min-width: 2.1rem;
    height: 2.1rem;
    font-size: 0.8rem;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: #111111;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4.5rem 1.5rem 2rem;
    flex-basis: auto;
    order: 0;
    border-top: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .header-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(241, 250, 238, 0.08);
  }

  .nav-link:hover {
    background: rgba(244, 162, 97, 0.16);
  }

  .nav-link[aria-current="page"] {
    background: rgba(244, 162, 97, 0.22);
    box-shadow: inset 3px 0 0 #F4A261, 0 0 0 1px rgba(244, 162, 97, 0.2);
  }

  .nav-index {
    font-size: 0.8rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header-tools {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 96;
    background: #17294a;
    border-top: 2px solid var(--line-streak);
    margin: 0;
    padding: 0.6rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
  }

  .tool-update {
    display: none;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) 1.25rem var(--space-md);
  }

  .footer-bottom-shell {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .content-container {
    padding: var(--space-md) 1.25rem var(--space-lg);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .tool-btn {
    flex: 1;
    justify-content: center;
    padding: 0.5rem 0.3rem;
  }

  .tool-label {
    display: inline;
    font-size: 0.72rem;
  }

  .tool-icon {
    display: none;
  }

  .header-tools {
    padding: 0.5rem 0.75rem;
    gap: 0.3rem;
  }

  .footer-link-list {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

/* ---------- 19. 动画与可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .update-dot::after {
    display: none;
  }

  .scroll-progress {
    transition: none;
  }
}
