/* ============================================================
   英博体育 · 共享外壳样式 /assets/site.css
   夜场转播台 + 技术蓝图网格 + 信号灯色彩语义
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

button {
  font: inherit;
  color: inherit;
}

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

:root {
  --night: #0E1B2A;
  --pitch: #0B2B26;
  --score: #F5F1E6;
  --ref: #C93C36;
  --warn: #F0C33C;
  --grass: #2E7D62;
  --indigo: #3B2F5E;
  --wine: #6B2332;
  --sage: #8CA79C;
  --paper: #DAD5C8;

  --ink: var(--night);
  --ink-soft: rgba(14, 27, 42, .74);
  --line-dark: rgba(245, 241, 230, .16);
  --line-light: rgba(14, 27, 42, .16);

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;

  --shadow-hard: 8px 8px 0 var(--indigo);
  --shadow-hard-sm: 4px 4px 0 var(--night);
  --radius: 2px;
  --gutter: 24px;
  --maxw: 1320px;
  --header-h: 70px;
}

body {
  background-color: var(--night);
  color: var(--score);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

#main-content {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.yb-sheet :focus-visible {
  outline-color: var(--ref);
  box-shadow: 0 0 0 1px var(--pitch);
}

/* ---------------- 跳过导航 ---------------- */
.yb-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--warn);
  color: var(--night);
  border: 2px solid var(--night);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  transition: top .16s ease;
}

.yb-skip:focus {
  top: 12px;
}

/* ---------------- 头部命令栏 ---------------- */
.yb-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--pitch);
  color: var(--score);
  border-bottom: 2px solid var(--paper);
}

.yb-signal {
  position: relative;
  height: 4px;
  background-color: var(--night);
  background-image: repeating-linear-gradient(90deg, rgba(245, 241, 230, .22) 0 1px, transparent 1px 12px);
}

.yb-signal__bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ref), var(--warn) 68%, var(--grass));
  transition: width .1s linear;
}

.yb-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 0 24px;
}

.yb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 0;
}

.yb-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--warn);
  border-radius: var(--radius);
  background: rgba(240, 195, 60, .08);
  box-shadow: 3px 3px 0 var(--ref);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.yb-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.yb-brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--score);
}

.yb-brand__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--sage);
  white-space: nowrap;
}

.yb-ver {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(240, 195, 60, .5);
  border-radius: var(--radius);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.yb-nav {
  margin-left: auto;
}

.yb-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.yb-nav__item {
  display: flex;
}

.yb-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 12px;
  border-left: 1px solid var(--line-dark);
  border-radius: 0;
  color: rgba(245, 241, 230, .8);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .14s ease, background-color .14s ease;
}

.yb-nav__item:last-child .yb-nav__link {
  border-right: 1px solid var(--line-dark);
}

.yb-nav__index,
.yb-nav__idx {
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--sage);
}

.yb-nav__link:hover {
  color: var(--warn);
  background-color: rgba(245, 241, 230, .06);
}

.yb-nav__link[aria-current="page"] {
  background-color: var(--ref);
  color: #FFFFFF;
  box-shadow: inset 0 -3px 0 var(--warn);
}

.yb-nav__link[aria-current="page"] .yb-nav__idx {
  color: rgba(255, 255, 255, .72);
}

.yb-nav__link[aria-current="page"]:hover {
  background-color: var(--ref);
  color: #FFFFFF;
}

.yb-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line-dark);
}

.yb-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(245, 241, 230, .28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--score);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .14s ease, border-color .14s ease, background-color .14s ease;
}

.yb-tool:hover {
  color: var(--warn);
  border-color: var(--warn);
  background-color: rgba(240, 195, 60, .08);
}

.yb-tool--search {
  background-color: rgba(245, 241, 230, .06);
}

.yb-tool--ghost {
  border-color: transparent;
  color: rgba(245, 241, 230, .76);
}

.yb-kbd {
  padding: 2px 4px;
  border: 1px solid var(--sage);
  border-radius: 1px;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
}

.yb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 2px solid rgba(245, 241, 230, .5);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.yb-burger:hover {
  border-color: var(--warn);
}

.yb-burger__line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--score);
  transition: transform .18s ease, opacity .18s ease;
}

.yb-header[data-open] .yb-burger {
  border-color: var(--warn);
}

.yb-header[data-open] .yb-burger__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.yb-header[data-open] .yb-burger__line:nth-child(2) {
  opacity: 0;
}

.yb-header[data-open] .yb-burger__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------- 页脚：比分白 + 粗黑线 + 编号索引 ---------------- */
.yb-foot {
  position: relative;
  background: var(--score);
  color: var(--night);
  border-top: 8px solid var(--night);
}

.yb-foot__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 56px 24px 28px;
}

.yb-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.yb-foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.yb-foot__stripe {
  display: block;
  width: 96px;
  height: 5px;
  background: linear-gradient(90deg, var(--ref) 0 33.33%, var(--warn) 33.33% 66.66%, var(--grass) 66.66% 100%);
}

.yb-foot__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .05em;
  color: var(--night);
}

.yb-foot__line {
  max-width: 34ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(14, 27, 42, .75);
}

.yb-foot__cta {
  margin-top: 4px;
}

.yb-foot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-left: 40px;
  border-left: 2px solid var(--night);
}

.yb-foot__col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--night);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--night);
}

.yb-foot__col-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ref);
}

.yb-foot__links {
  display: flex;
  flex-direction: column;
}

.yb-foot__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(14, 27, 42, .14);
  color: rgba(14, 27, 42, .86);
  font-size: 15px;
  transition: color .14s ease, padding-left .14s ease, border-color .14s ease;
}

.yb-foot__links a::after {
  content: "→";
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: transform .14s ease, color .14s ease;
}

.yb-foot__links a:hover {
  color: var(--wine);
  border-color: var(--wine);
  padding-left: 6px;
}

.yb-foot__links a:hover::after {
  color: var(--ref);
  transform: translateX(3px);
}

.yb-foot__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 44px;
  padding: 18px 0;
  border-top: 2px solid var(--night);
  border-bottom: 1px solid rgba(14, 27, 42, .25);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
}

.yb-foot__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yb-foot__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--ref);
}

.yb-foot__note {
  max-width: 76ch;
  margin-top: 14px;
  color: rgba(14, 27, 42, .62);
  font-size: 13px;
  line-height: 1.7;
}

.yb-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 2px solid var(--night);
  color: rgba(14, 27, 42, .7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
}

.yb-foot__copy {
  margin: 0;
}

.yb-foot__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.yb-foot__legal-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  color: inherit;
}

.yb-foot__legal-links a:hover {
  color: var(--wine);
  border-color: var(--wine);
}

/* ---------------- 通用布局 ---------------- */
.yb-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.yb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.yb-col-4 { grid-column: span 4; }
.yb-col-5 { grid-column: span 5; }
.yb-col-6 { grid-column: span 6; }
.yb-col-7 { grid-column: span 7; }
.yb-col-8 { grid-column: span 8; }
.yb-col-12 { grid-column: span 12; }

/* ---------------- 背景分区 ---------------- */
.yb-sheet {
  background: var(--score);
  color: var(--night);
}

.yb-sheet--pitch {
  background: var(--pitch);
  color: var(--score);
}

.yb-sheet--paper {
  background: var(--paper);
  color: var(--night);
}

/* ---------------- 文本组件 ---------------- */
.yb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.yb-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--ref);
}

.yb-kicker--ink {
  color: var(--wine);
}

.yb-kicker--ink::before {
  background: var(--ref);
}

.yb-mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
}

.yb-rule {
  height: 0;
  border: 0;
  border-top: 2px solid rgba(140, 167, 156, .45);
  margin: 40px 0;
}

.yb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.yb-prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.8;
}

.yb-prose > * + * {
  margin-top: 1.1em;
}

.yb-prose h2 {
  margin-top: 1.8em;
  padding-top: 1.1em;
  border-top: 2px solid rgba(140, 167, 156, .45);
  font-size: clamp(22px, 2.4vw, 28px);
}

.yb-prose h3 {
  margin-top: 1.6em;
  font-size: 20px;
}

.yb-prose ul,
.yb-prose ol {
  padding-left: 1.4em;
  list-style: square;
}

.yb-prose li + li {
  margin-top: .4em;
}

.yb-prose a {
  color: var(--warn);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.yb-prose a:hover {
  color: var(--ref);
}

.yb-sheet .yb-prose a {
  color: var(--wine);
}

.yb-sheet .yb-prose a:hover {
  color: var(--ref);
}

.yb-prose strong {
  font-weight: 800;
}

.yb-prose blockquote {
  padding: 6px 0 6px 18px;
  border-left: 4px solid var(--ref);
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 14px;
}

.yb-prose code {
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(140, 167, 156, .18);
  font-family: var(--font-mono);
  font-size: .9em;
}

/* ---------------- 按钮 ---------------- */
.yb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--night);
  border-radius: var(--radius);
  background: var(--ref);
  color: #FFFFFF;
  box-shadow: var(--shadow-hard-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, color .14s ease, border-color .14s ease;
}

.yb-btn:hover {
  background: var(--wine);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--night);
}

.yb-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--night);
}

.yb-btn--red {
  background: var(--ref);
  color: #FFFFFF;
  border-color: var(--night);
  box-shadow: 4px 4px 0 rgba(14, 27, 42, .85);
}

.yb-btn--red:hover {
  background: var(--wine);
  box-shadow: 2px 2px 0 rgba(14, 27, 42, .85);
}

.yb-btn--ghost {
  background: transparent;
  color: var(--score);
  border-color: var(--score);
  box-shadow: 4px 4px 0 rgba(245, 241, 230, .28);
}

.yb-btn--ghost:hover {
  background: rgba(245, 241, 230, .1);
  color: var(--warn);
  border-color: var(--warn);
  box-shadow: 2px 2px 0 rgba(240, 195, 60, .5);
}

.yb-btn--yellow {
  background: var(--warn);
  color: var(--night);
  border-color: var(--night);
  box-shadow: 4px 4px 0 var(--ref);
}

.yb-btn--yellow:hover {
  background: #F6D264;
  color: var(--night);
  box-shadow: 2px 2px 0 var(--ref);
}

.yb-btn--quiet {
  background: transparent;
  color: var(--night);
  border-color: var(--night);
  box-shadow: 4px 4px 0 rgba(14, 27, 42, .25);
}

.yb-btn--quiet:hover {
  background: rgba(14, 27, 42, .08);
  color: var(--wine);
  box-shadow: 2px 2px 0 rgba(14, 27, 42, .25);
}

/* ---------------- 面包屑 ---------------- */
.yb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
}

.yb-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yb-breadcrumb li + li::before {
  content: "/";
  color: rgba(140, 167, 156, .6);
}

.yb-breadcrumb a {
  border-bottom: 1px solid transparent;
  color: inherit;
}

.yb-breadcrumb a:hover {
  color: var(--warn);
  border-color: var(--warn);
}

.yb-breadcrumb [aria-current="page"] {
  color: var(--score);
}

/* ---------------- 标签 ---------------- */
.yb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1.5px solid rgba(140, 167, 156, .6);
  border-radius: 2px;
  background: rgba(140, 167, 156, .1);
  color: var(--score);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
}

.yb-tag--ref {
  border-color: var(--ref);
  background: rgba(201, 60, 54, .18);
  color: #FFFFFF;
}

.yb-tag--warn {
  border-color: var(--warn);
  background: rgba(240, 195, 60, .14);
  color: var(--warn);
}

.yb-tag--grass {
  border-color: var(--grass);
  background: rgba(46, 125, 98, .2);
  color: #BFE6D7;
}

.yb-tag--ink {
  border-color: rgba(14, 27, 42, .4);
  background: rgba(14, 27, 42, .06);
  color: var(--night);
}

/* ---------------- 卡片 ---------------- */
.yb-card {
  padding: 28px;
  border: 2px solid var(--paper);
  border-radius: var(--radius);
  background: var(--pitch);
  box-shadow: var(--shadow-hard);
}

.yb-card--paper {
  background: var(--score);
  color: var(--night);
  border-color: var(--night);
  box-shadow: 8px 8px 0 rgba(201, 60, 54, .9);
}

.yb-card--flat {
  box-shadow: none;
}

/* ---------------- 图片容器 ---------------- */
.yb-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid rgba(245, 241, 230, .22);
  border-radius: var(--radius);
  background: var(--pitch);
}

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

.yb-media--wide { aspect-ratio: 21 / 9; }
.yb-media--tall { aspect-ratio: 4 / 5; }
.yb-media--square { aspect-ratio: 1 / 1; }

.yb-media--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}

.yb-media--empty {
  background-image: repeating-linear-gradient(135deg, rgba(140, 167, 156, .18) 0 2px, transparent 2px 14px);
  background-color: var(--pitch);
}

.yb-media__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(11, 43, 38, .94), rgba(11, 43, 38, 0));
  color: var(--score);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

/* ---------------- 响应式：头部 ---------------- */
@media (max-width: 1279px) {
  .yb-brand__meta { display: none; }
  .yb-nav__link { padding: 0 10px; font-size: 12px; }
}

@media (max-width: 1119px) {
  .yb-header { --header-h: 64px; }

  .yb-header__inner {
    gap: 10px;
    padding: 0 20px;
  }

  .yb-ver { display: none; }

  .yb-tools {
    order: 4;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .yb-burger {
    display: flex;
    order: 5;
  }

  .yb-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 70;
    order: 3;
    max-height: calc(100dvh - var(--header-h) - 12px);
    margin: 0;
    padding: 8px 0 18px;
    overflow-y: auto;
    background: var(--pitch);
    border-top: 2px solid var(--paper);
    border-bottom: 2px solid var(--paper);
    box-shadow: 0 24px 0 -12px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .yb-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .yb-nav__item { display: block; }

  .yb-nav__link {
    height: auto;
    padding: 16px 20px;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
    font-size: 13.5px;
  }

  .yb-nav__item:last-child .yb-nav__link { border-right: 0; }

  .yb-nav__link[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--warn);
  }

  .yb-header[data-open] .yb-nav,
  .yb-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .yb-header__inner { padding: 0 16px; }
  .yb-brand__name { font-size: 17px; }
  .yb-brand__mark { width: 32px; height: 32px; font-size: 11.5px; }
  .yb-tool { font-size: 11px; padding: 5px 7px; }
  .yb-tool--ghost { display: none; }
  .yb-nav__link { padding: 15px 16px; }
}

/* ---------------- 响应式：页脚 ---------------- */
@media (max-width: 1023px) {
  .yb-foot__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .yb-foot__cols {
    padding-top: 28px;
    padding-left: 0;
    border-top: 2px solid var(--night);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .yb-foot__inner { padding: 44px 20px 24px; }

  .yb-foot__contact {
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
  }

  .yb-foot__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 599px) {
  .yb-foot__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------------- 响应式：通用布局 ---------------- */
@media (max-width: 1023px) {
  .yb-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .yb-col-4,
  .yb-col-5,
  .yb-col-6,
  .yb-col-7,
  .yb-col-8,
  .yb-col-12 {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .yb-container { padding-inline: 20px; }
  .yb-card { padding: 22px; box-shadow: 5px 5px 0 var(--indigo); }
}

@media (max-width: 639px) {
  .yb-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yb-col-4,
  .yb-col-5,
  .yb-col-6,
  .yb-col-7,
  .yb-col-8,
  .yb-col-12 {
    grid-column: span 1;
  }
}

/* ---------------- 减少动态效果 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .yb-signal__bar { transition: none; }
  .yb-btn:hover,
  .yb-btn:active { transform: none; }
  .yb-foot__links a:hover { padding-left: 2px; }
  .yb-foot__links a:hover::after { transform: none; }
  .yb-skip { transition: none; }
}
