/* ==========================================================================
   IM赛场 / 共享样式表 /assets/site.css
   夜场转播室 × 记分牌手册
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, pre {
  margin: 0;
}

ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; }
table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F0D;
  --ink-deep: #10251E;
  --paper: #F4F1E8;
  --red: #E6392B;
  --yellow: #F2C230;
  --cyan: #37F2D6;
  --panel: #1E2B26;
  --muted: #8FA39A;
  --line: #B8C4BE;
  --white: #FFFFFF;

  --font-display: "Barlow Condensed", "DIN Condensed", "Noto Sans SC",
    "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1480px;
  --col-gap: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hairline: rgba(184, 196, 190, .26);
  --hairline-soft: rgba(184, 196, 190, .14);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
}

p { line-height: 1.75; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 4. 通用工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: .82em;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.is-light { color: var(--ink); }
.is-light .mono-label { color: rgba(11, 15, 13, .58); }

.dot-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: im-pulse 2.6s var(--ease) infinite;
}

@keyframes im-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(230, 57, 43, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(230, 57, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 43, 0); }
}

.rule-slash {
  height: clamp(22px, 3.4vw, 44px);
  border: 0;
  background: repeating-linear-gradient(-58deg,
    rgba(184, 196, 190, .2) 0 1px,
    transparent 1px 13px);
}

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
}

.grid > * { min-width: 0; }

.span-1  { grid-column: span 1; }
.span-2  { grid-column: span 2; }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

/* ---------- 6. 区块 ---------- */
.section {
  padding-block: clamp(48px, 7vw, 108px);
  position: relative;
}

.section--ink   { background: var(--ink); color: var(--paper); }
.section--deep  { background: var(--ink-deep); color: var(--paper); }
.section--panel { background: var(--panel); color: var(--paper); }
.section--paper { background: var(--paper); color: var(--ink); }

.section--paper .page-head__lead,
.section--paper .page-head__eyebrow,
.is-light .page-head__lead { color: rgba(11, 15, 13, .68); }

.section--paper .tag--outline,
.is-light .tag--outline {
  border-color: rgba(11, 15, 13, .3);
  color: var(--ink);
}

/* ---------- 7. 页眉区块标题 ---------- */
.page-head {
  padding-block: clamp(28px, 4.4vw, 64px) clamp(22px, 3vw, 42px);
}

.page-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
}

.page-head__eyebrow::after {
  content: "";
  flex: 1 1 auto;
  max-width: 200px;
  height: 1px;
  background: var(--hairline);
}

.page-head__title {
  font-size: clamp(34px, 6.2vw, 76px);
  letter-spacing: -.02em;
}

.page-head__lead {
  margin-top: 18px;
  max-width: 42ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: rgba(244, 241, 232, .72);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform .18s var(--ease), background-color .18s var(--ease),
    color .18s var(--ease), border-color .18s var(--ease);
}

.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--cyan), inset 0 0 0 4px var(--ink);
}

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #F0493B; }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #FFD24A; }

.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: #5CFFE4; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(184, 196, 190, .45);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 9. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(184, 196, 190, .16);
  color: var(--paper);
}

.tag--red    { background: var(--red); color: var(--white); }
.tag--yellow { background: var(--yellow); color: var(--ink); }
.tag--cyan   { background: var(--cyan); color: var(--ink); }
.tag--outline {
  background: transparent;
  border: 1px solid rgba(184, 196, 190, .42);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  list-style: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(184, 196, 190, .5);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible { color: var(--cyan); }

.breadcrumbs [aria-current="page"] { color: var(--paper); }

.section--paper .breadcrumbs,
.is-light .breadcrumbs { color: rgba(11, 15, 13, .55); }

.section--paper .breadcrumbs a,
.is-light .breadcrumbs a { color: rgba(11, 15, 13, .55); }

.section--paper .breadcrumbs [aria-current="page"],
.is-light .breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 11. 切角面板 ---------- */
.cut-card {
  position: relative;
  background: var(--panel);
  color: var(--paper);
  padding: clamp(20px, 2.4vw, 34px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.cut-card:hover { transform: translateY(-4px); }

.cut-card:focus-within {
  background: #24352E;
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.section--paper .cut-card,
.is-light .cut-card {
  background: #FFFFFF;
  color: var(--ink);
}

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }

.media__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 4px 9px;
  background: rgba(11, 15, 13, .72);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.5;
}

/* ---------- 13. 横向轮次带 ---------- */
.rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}

.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(184, 196, 190, .12); }
.rail::-webkit-scrollbar-thumb { background: rgba(184, 196, 190, .45); }

.rail__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease),
    background-color .18s var(--ease);
}

.rail__item:hover,
.rail__item:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.rail__item[aria-current="true"],
.rail__item.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.section--paper .rail__item,
.is-light .rail__item {
  border-color: rgba(11, 15, 13, .22);
  color: var(--ink);
}

/* ---------- 14. 分段切换 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--hairline);
}

.tabs__btn {
  position: relative;
  min-height: 44px;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .18s var(--ease);
}

.tabs__btn::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s var(--ease);
}

.tabs__btn:hover { color: var(--paper); }
.tabs__btn[aria-selected="true"] { color: var(--paper); }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); }

.section--paper .tabs__btn:hover,
.section--paper .tabs__btn[aria-selected="true"],
.is-light .tabs__btn:hover,
.is-light .tabs__btn[aria-selected="true"] { color: var(--ink); }

/* ---------- 15. 渐显协议 ---------- */
[data-reveal-state="pending"] {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal-state="in"] {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ---------- 16. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: top .18s var(--ease);
}

.skip-link:focus { top: 10px; }

/* ---------- 17. 阅读进度 ---------- */
.read-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: rgba(184, 196, 190, .12);
}

.read-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 55%, var(--cyan) 100%);
  transition: transform .12s linear;
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
}

/* 17.1 赛季细条 */
.header-strip {
  background: var(--ink-deep);
  border-bottom: 1px solid var(--hairline-soft);
}

.header-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 6px;
}

.header-strip__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.header-tools__link {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.header-tools__link:hover,
.header-tools__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* 17.2 刊头 */
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-block: clamp(12px, 2vw, 22px);
  border-bottom: 1px solid var(--hairline-soft);
}

.masthead__round {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  border: 1px solid var(--hairline);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.masthead__round b {
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .02em;
}

.brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  width: clamp(28px, 3vw, 38px);
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 55%, var(--yellow) 55% 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--white);
}

.brand__note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.masthead__cta { font-size: 13px; padding: 10px 18px; }

/* 17.3 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(184, 196, 190, .4);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 17.4 导航 */
.header-nav {
  background: var(--ink);
  border-bottom: 1px solid var(--hairline);
}

.header-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 1.4vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 15px 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(244, 241, 232, .82);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.nav-list a:hover { color: var(--white); }

.nav-list a:hover::after,
.nav-list a:focus-visible::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--red);
}

.header-nav__tag {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg,
    var(--red) 0 20%,
    var(--yellow) 20% 32%,
    rgba(184, 196, 190, .35) 32% 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 54px);
}

.footer-brand { min-width: 0; }

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--white);
  text-decoration: none;
}

.footer-brand__link::before {
  content: "";
  width: 9px;
  height: 26px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
}

.footer-brand__link:hover,
.footer-brand__link:focus-visible { color: var(--cyan); }

.footer-brand__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand__summary {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .7);
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__list a {
  display: inline-block;
  padding-block: 2px;
  font-size: 14px;
  color: rgba(244, 241, 232, .8);
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-col--contact { min-width: 0; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-contact__value {
  font-size: 14px;
  color: rgba(244, 241, 232, .92);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(244, 241, 232, .55);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--hairline);
}

.footer-bottom__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.footer-bottom__icp { color: rgba(184, 196, 190, .8); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .header-nav__tag { display: none; }
  .brand__note { letter-spacing: .12em; }
  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .span-1, .span-2, .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-9, .span-10, .span-11, .span-12 {
    grid-column: span 4;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 12px;
  }

  .masthead__round { display: none; }

  .brand {
    justify-self: start;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .brand__name { font-size: 26px; }
  .brand__note { display: none; }
  .masthead__cta { display: none; }

  .header-nav {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s var(--ease), visibility 0s linear .3s;
  }

  .header-nav[data-open] {
    max-height: min(72vh, 520px);
    overflow-y: auto;
    visibility: visible;
    border-bottom-color: rgba(184, 196, 190, .3);
    transition: max-height .3s var(--ease), visibility 0s;
  }

  .header-nav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px 14px;
  }

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

  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .nav-list a::after { display: none; }

  .nav-list a[aria-current="page"] {
    color: var(--cyan);
    padding-left: 0;
  }

  .nav-list a[aria-current="page"]::before {
    content: "●";
    font-size: 9px;
    color: var(--red);
    margin-right: 8px;
  }
}

@media (max-width: 720px) {
  .header-strip__meta { font-size: 10px; letter-spacing: .08em; }
  .header-tools { gap: 12px; }
  .header-tools__link { font-size: 10px; letter-spacing: .1em; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .header-tools li:first-child { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cut-card { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
}

/* ==========================================================================
   无障碍：减少动态
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .dot-mark { animation: none; box-shadow: none; }

  [data-reveal-state] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .cut-card:hover,
  .footer-col__list a:hover { transform: none; }
}
