/* ============================================================
   亚体育主站 · 共享外壳样式 /assets/site.css
   夜色赛场指挥台：深空黑基底 + 电光青结构 + 熔岩橙行动点
   ============================================================ */

:root {
  --ys-ink: #06080D;
  --ys-panel: #0E141D;
  --ys-panel-2: #131B26;
  --ys-cyan: #21E6D6;
  --ys-teal: #0C6E71;
  --ys-lava: #FF6A2B;
  --ys-lava-a: #FF8A3D;
  --ys-lava-b: #FF3D2E;
  --ys-indigo: #1A1235;
  --ys-wine: #2A0E1C;
  --ys-text: #E9F3F6;
  --ys-text-soft: #C6D5DE;
  --ys-muted: #8CA0AE;
  --ys-amber: #FFB347;
  --ys-line: rgba(33, 230, 214, 0.22);
  --ys-line-soft: rgba(140, 160, 174, 0.18);
  --ys-cut: 14px;
  --ys-shell: 1240px;
  --ys-gutter: clamp(16px, 4vw, 48px);
  --ys-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ys-font-display: "Oswald", "Archivo Narrow", "Barlow Condensed",
    "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ys-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
  --ys-font-body: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

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

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

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

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

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

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

::selection {
  background: var(--ys-cyan);
  color: #04120F;
}

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

body {
  background-color: var(--ys-ink);
  color: var(--ys-text);
  font-family: var(--ys-font-body);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 工具类 ---------- */
.ys-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ys-mono {
  font-family: var(--ys-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.ys-rule {
  display: block;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(33, 230, 214, 0.65), rgba(33, 230, 214, 0));
}

/* ---------- 跳转链接 ---------- */
.ys-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 10px 20px;
  background: var(--ys-cyan);
  color: #04120F;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: top 0.18s var(--ys-ease);
}

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

/* ============================================================
   头部
   ============================================================ */
.ys-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.22s var(--ys-ease),
    border-color 0.22s var(--ys-ease),
    box-shadow 0.22s var(--ys-ease);
}

.ys-header[data-scrolled="true"] {
  background: rgba(8, 11, 17, 0.93);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: var(--ys-line);
  box-shadow: 0 24px 48px -36px rgba(0, 0, 0, 0.95);
}

/* ---------- 公告滚动带 ---------- */
.ys-announce {
  position: relative;
  overflow: hidden;
  max-height: 40px;
  background:
    linear-gradient(90deg, rgba(255, 106, 43, 0.18), rgba(42, 14, 28, 0.85) 38%, rgba(10, 14, 20, 0.9));
  border-bottom: 1px solid rgba(255, 106, 43, 0.26);
  transition:
    max-height 0.28s var(--ys-ease),
    opacity 0.2s var(--ys-ease),
    border-color 0.2s var(--ys-ease);
}

.ys-header[data-scrolled="true"] .ys-announce {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.ys-announce__inner {
  max-width: var(--ys-shell);
  margin: 0 auto;
  padding: 0 var(--ys-gutter);
  height: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ys-announce__label {
  flex: none;
  font-family: var(--ys-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ys-lava);
  padding: 1px 10px;
  border: 1px solid rgba(255, 106, 43, 0.5);
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.ys-announce__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.ys-announce__track {
  display: flex;
  width: max-content;
  animation: ys-marquee 40s linear infinite;
}

.ys-announce:hover .ys-announce__track,
.ys-announce:focus-within .ys-announce__track { animation-play-state: paused; }

.ys-announce__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.ys-announce__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #D6E3EA;
}

.ys-announce__dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--ys-amber);
  transform: rotate(45deg);
}

.ys-announce__time {
  font-family: var(--ys-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ys-amber);
  opacity: 0.85;
}

.ys-announce__link {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ys-cyan);
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s var(--ys-ease), color 0.16s var(--ys-ease);
}

.ys-announce__link:hover {
  color: #9BFFF5;
  border-bottom-color: currentColor;
}

@keyframes ys-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 头部主行 ---------- */
.ys-header__inner {
  position: relative;
  max-width: var(--ys-shell);
  margin: 0 auto;
  padding: 0 var(--ys-gutter);
  min-height: 78px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 32px);
  transition: min-height 0.22s var(--ys-ease);
}

.ys-header[data-scrolled="true"] .ys-header__inner { min-height: 62px; }

/* ---------- 品牌 ---------- */
.ys-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-block: 10px;
  min-width: 0;
}

.ys-brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  color: #04120F;
  background: linear-gradient(140deg, var(--ys-cyan), var(--ys-teal));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  transition: background 0.2s var(--ys-ease);
}

.ys-brand:hover .ys-brand__mark {
  background: linear-gradient(140deg, #6DFFF3, var(--ys-cyan));
}

.ys-brand__glyph { display: block; }

.ys-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.ys-brand__line {
  font-family: var(--ys-font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--ys-text);
}

.ys-brand__tag {
  font-family: var(--ys-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ys-muted);
  margin-top: 3px;
}

/* ---------- 移动切换按钮 ---------- */
.ys-navtoggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--ys-line);
  background: rgba(33, 230, 214, 0.05);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background-color 0.16s var(--ys-ease), border-color 0.16s var(--ys-ease);
}

.ys-navtoggle:hover { border-color: var(--ys-cyan); background: rgba(33, 230, 214, 0.12); }

.ys-navtoggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ys-cyan);
  transition: transform 0.18s var(--ys-ease), opacity 0.18s var(--ys-ease);
}

.ys-header[data-open="true"] .ys-navtoggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ys-header[data-open="true"] .ys-navtoggle__bar:nth-child(2) { opacity: 0; }
.ys-header[data-open="true"] .ys-navtoggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 导航 ---------- */
.ys-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  min-width: 0;
}

.ys-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ys-nav__item { position: relative; }

.ys-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 15px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #B9CBD5;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: color 0.16s var(--ys-ease), background-color 0.16s var(--ys-ease);
}

.ys-nav__index {
  font-family: var(--ys-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ys-teal);
  transition: color 0.16s var(--ys-ease);
}

.ys-nav__link:hover {
  color: var(--ys-cyan);
  background: rgba(33, 230, 214, 0.08);
}

.ys-nav__link:hover .ys-nav__index { color: var(--ys-cyan); }

.ys-nav__link[aria-current="page"] {
  color: #04120F;
  background: var(--ys-cyan);
  font-weight: 600;
}

.ys-nav__link[aria-current="page"] .ys-nav__index {
  color: #04120F;
  opacity: 0.62;
}

.ys-nav__foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ys-nav__meta {
  display: none;
  font-family: var(--ys-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ys-muted);
}

/* ---------- 滚动进度光轨 ---------- */
.ys-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--ys-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ys-cyan), var(--ys-amber) 58%, var(--ys-lava));
  pointer-events: none;
}

/* ============================================================
   按钮
   ============================================================ */
.ys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition:
    background-color 0.18s var(--ys-ease),
    color 0.18s var(--ys-ease),
    border-color 0.18s var(--ys-ease),
    filter 0.18s var(--ys-ease);
}

.ys-btn--lava {
  background: linear-gradient(100deg, var(--ys-lava-a), var(--ys-lava-b));
  color: #180704;
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.4);
}

.ys-btn--lava:hover { filter: brightness(1.12) saturate(1.06); }

.ys-btn--ghost {
  background: rgba(33, 230, 214, 0.05);
  border-color: var(--ys-line);
  color: var(--ys-text);
}

.ys-btn--ghost:hover {
  border-color: var(--ys-cyan);
  color: var(--ys-cyan);
  background: rgba(33, 230, 214, 0.11);
}

/* ============================================================
   页脚
   ============================================================ */
.ys-footer {
  margin-top: clamp(56px, 9vw, 104px);
  background: linear-gradient(180deg, #080B11 0%, #0B1119 52%, var(--ys-ink) 100%);
  border-top: 1px solid var(--ys-line);
}

.ys-footer__inner {
  max-width: var(--ys-shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--ys-gutter) 28px;
}

.ys-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.ys-footer__brand { min-width: 0; }

.ys-footer__name {
  font-family: var(--ys-font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  color: var(--ys-text);
}

.ys-footer__slogan {
  margin-top: 12px;
  max-width: 21em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ys-muted);
}

.ys-footer__rule { margin: 20px 0 14px; }

.ys-footer__stamp {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ys-teal);
}

.ys-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.ys-footer__col { min-width: 0; }

.ys-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--ys-font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ys-cyan);
  text-transform: uppercase;
}

.ys-footer__title::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--ys-cyan);
  transform: rotate(45deg);
  opacity: 0.75;
}

.ys-footer__list { display: flex; flex-direction: column; gap: 2px; }

.ys-footer__link {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-size: 13.5px;
  color: #B4C4CF;
  transition: color 0.16s var(--ys-ease);
}

.ys-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--ys-cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.18s var(--ys-ease);
}

.ys-footer__link:hover { color: var(--ys-cyan); }
.ys-footer__link:hover::after { transform: scaleX(1); }

.ys-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 18px 32px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 24px;
  border-top: 1px solid var(--ys-line-soft);
}

.ys-footer__contactItem { min-width: 0; }

.ys-footer__k {
  font-family: var(--ys-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ys-teal);
  text-transform: uppercase;
}

.ys-footer__v {
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ys-text-soft);
  word-break: break-word;
}

.ys-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ys-line-soft);
}

.ys-footer__copy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ys-muted);
}

.ys-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ys-footer__legalLink {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #A4B5C0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ys-ease), border-color 0.16s var(--ys-ease);
}

.ys-footer__legalLink:hover {
  color: var(--ys-cyan);
  border-bottom-color: var(--ys-cyan);
}

/* ============================================================
   通用排版与组件
   ============================================================ */
.ys-container {
  width: 100%;
  max-width: var(--ys-shell);
  margin-inline: auto;
  padding-inline: var(--ys-gutter);
}

.ys-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.ys-section--panel { background: var(--ys-panel); }
.ys-section--indigo { background: var(--ys-indigo); }
.ys-section--wine { background: var(--ys-wine); }

.ys-section--slant {
  clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(48px, 7vw, 96px) + 44px);
}

.ys-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ys-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ys-muted);
  text-transform: uppercase;
}

.ys-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--ys-cyan);
}

.ys-display {
  font-family: var(--ys-font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.06em;
  color: var(--ys-text);
  text-transform: uppercase;
}

.ys-heading {
  font-family: var(--ys-font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--ys-text);
}

.ys-lede {
  max-width: 38em;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: var(--ys-text-soft);
}

.ys-text {
  max-width: 38em;
  color: var(--ys-text-soft);
  line-height: 1.75;
}

.ys-text > * + * { margin-top: 1em; }

.ys-text h3 {
  font-family: var(--ys-font-display);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--ys-text);
}

.ys-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  font-family: var(--ys-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ys-cyan);
  background: rgba(33, 230, 214, 0.07);
  border: 1px solid rgba(33, 230, 214, 0.35);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.ys-tag--lava {
  color: #FFD4C0;
  background: rgba(255, 106, 43, 0.13);
  border-color: rgba(255, 106, 43, 0.45);
}

.ys-tag--amber {
  color: #FFE2B8;
  background: rgba(255, 179, 71, 0.1);
  border-color: rgba(255, 179, 71, 0.4);
}

.ys-panel {
  position: relative;
  background: var(--ys-panel);
  border: 1px solid var(--ys-line-soft);
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  transition: border-color 0.18s var(--ys-ease), background-color 0.18s var(--ys-ease);
}

.ys-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--ys-cyan), rgba(33, 230, 214, 0) 72%);
  pointer-events: none;
}

.ys-panel:hover {
  border-color: rgba(33, 230, 214, 0.38);
  background: var(--ys-panel-2);
}

.ys-panel--cut {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.ys-grid-bg { position: relative; }

.ys-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 230, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 230, 214, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 32% 22%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 32% 22%, #000, transparent 78%);
}

.ys-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--ys-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ys-muted);
}

.ys-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ys-breadcrumb__item + .ys-breadcrumb__item::before {
  content: "/";
  color: var(--ys-teal);
}

.ys-breadcrumb a {
  color: #A6B8C3;
  transition: color 0.16s var(--ys-ease);
}

.ys-breadcrumb a:hover { color: var(--ys-cyan); }

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

.ys-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.ys-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 图片容器基础规则 */
.ys-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #101A24, #0A1017);
  border: 1px solid var(--ys-line-soft);
}

.ys-media--wide { aspect-ratio: 16 / 9; }
.ys-media--tall { aspect-ratio: 3 / 4; }
.ys-media--square { aspect-ratio: 1 / 1; }

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

.ys-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.92);
}

.ys-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 230, 214, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 230, 214, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.ys-media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 92%;
  padding: 6px 14px 6px 12px;
  background: rgba(6, 8, 13, 0.84);
  font-family: var(--ys-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ys-amber);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .ys-nav__link { padding: 9px 12px; font-size: 13.5px; }
  .ys-nav__foot .ys-btn { padding: 10px 16px; font-size: 12.5px; }
}

@media (max-width: 1023px) {
  .ys-navtoggle { display: inline-flex; }

  .ys-header__inner { min-height: 66px; padding-block: 8px; }

  .ys-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px 0 18px;
    border-top: 1px solid var(--ys-line-soft);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .ys-header[data-open="true"] .ys-nav { display: flex; }

  .ys-header[data-open="true"] {
    background: rgba(8, 11, 17, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--ys-line);
  }

  .ys-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ys-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 18px;
    font-size: 15px;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    border-bottom: 1px solid rgba(140, 160, 174, 0.1);
  }

  .ys-nav__index { font-size: 11px; }

  .ys-nav__foot {
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ys-nav__foot .ys-btn { width: 100%; padding: 13px 20px; font-size: 14px; }

  .ys-nav__meta { display: block; padding-left: 4px; }

  .ys-announce__group { gap: 28px; padding-right: 28px; }
  .ys-announce__link { display: none; }
}

@media (max-width: 900px) {
  .ys-footer__top { grid-template-columns: minmax(0, 1fr); }
  .ys-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
  .ys-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ys-brand__tag { display: none; }
  .ys-brand__line { font-size: 0.98rem; letter-spacing: 0.12em; }
  .ys-brand__mark { width: 30px; height: 30px; }

  .ys-announce__inner { height: 36px; gap: 10px; }
  .ys-announce { max-height: 36px; }
  .ys-announce__item { font-size: 12px; }
  .ys-announce__label { font-size: 10px; padding: 1px 8px; }

  .ys-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ys-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ys-grid--2,
  .ys-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .ys-media { aspect-ratio: 16 / 11; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .ys-announce__track { animation: none; }
  .ys-announce__viewport { overflow-x: auto; }

  .ys-nav__link:hover,
  .ys-panel:hover,
  .ys-footer__link:hover::after,
  .ys-btn--lava:hover { filter: none; }
}
