/* ============================================================
   云体育安装 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 基础组件
   ============================================================ */

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

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

body { margin: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0A1628;
  --ink-deep: #071120;
  --ink-soft: #0D1F34;
  --ice: #00B4FF;
  --lime: #B4FF39;
  --orange: #FF5C1A;
  --snow: #F7FBFF;
  --steel: #1E3348;
  --mist: #8FB3C7;
  --pale: #D9F4FF;
  --green: #0E5A43;
  --alert: #FF6B6B;

  --line: rgba(143, 179, 199, 0.22);
  --line-ice: rgba(0, 180, 255, 0.40);
  --body-text: #D7E7F1;

  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1280px;
  --pad: clamp(18px, 4vw, 56px);

  --cut: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  --cut-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);

  --ease: cubic-bezier(0.22, 0.72, 0.24, 1);
}

/* ---------- 3. 中文基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 90% at 82% -12%, rgba(0, 180, 255, 0.16), transparent 62%),
    radial-gradient(90% 80% at -10% 108%, rgba(180, 255, 57, 0.07), transparent 60%);
  background-attachment: fixed;
  color: var(--body-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--snow);
}

h1 { font-size: clamp(36px, 5.4vw, 68px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

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

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

#main-content { display: block; scroll-margin-top: 116px; }

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

/* ---------- 4. 通用容器与版式 ---------- */
.yun-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.yun-section {
  position: relative;
  padding-block: clamp(44px, 7vw, 92px);
}

.yun-section--light {
  background: var(--snow);
  color: #12283c;
}

.yun-section--light h1,
.yun-section--light h2,
.yun-section--light h3,
.yun-section--light h4 { color: var(--ink); }

.yun-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

.yun-rule {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--line-ice), rgba(143, 179, 199, 0.06));
}

/* ---------- 5. 按钮 ---------- */
.yun-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.35em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--snow);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.yun-btn--accent {
  background: var(--orange);
  color: #16100a;
}

.yun-btn--accent:hover { background: #ff7a45; }

.yun-btn--ice {
  background: var(--ice);
  color: #04121f;
}

.yun-btn--ice:hover { background: #4bcbff; }

.yun-btn--ghost {
  background: rgba(10, 22, 40, 0.35);
  border-color: var(--line-ice);
  color: var(--snow);
}

.yun-btn--ghost:hover {
  border-color: var(--ice);
  background: rgba(0, 180, 255, 0.12);
  color: var(--pale);
}

.yun-btn:active { transform: translateY(1px); }

/* ---------- 6. 标签与导语 ---------- */
.yun-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 5px 11px;
  border: 1px solid rgba(0, 180, 255, 0.42);
  background: rgba(0, 180, 255, 0.14);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  clip-path: var(--cut-sm);
}

.yun-tag--lime {
  border-color: rgba(180, 255, 57, 0.45);
  background: rgba(180, 255, 57, 0.16);
  color: var(--lime);
}

.yun-tag--alert {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.14);
  color: var(--alert);
}

.yun-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.yun-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: var(--lime);
}

/* ---------- 7. 页头：看板边框 ---------- */
.yun-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice), var(--lime));
  transition: width 0.12s linear;
  pointer-events: none;
}

.yun-skip {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: #08131f;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: var(--cut-sm);
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.yun-skip:focus,
.yun-skip:focus-visible { transform: translateY(0); }

.yun-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(10, 22, 40, 0.98), rgba(10, 22, 40, 0.94)),
    radial-gradient(120% 140% at 6% 0%, rgba(0, 180, 255, 0.22), transparent 58%);
  border-bottom: 1px solid var(--line-ice);
  box-shadow: 0 22px 44px -38px rgba(0, 0, 0, 0.95);
}

.yun-header__frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 12px var(--pad);
}

.yun-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--snow);
}

.yun-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--ice), var(--lime));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

.yun-brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 7px;
  top: 13px;
  height: 4px;
  background: var(--ink);
  transform: skewX(-26deg);
}

.yun-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yun-brand__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--snow);
}

.yun-brand__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--mist);
  white-space: nowrap;
}

.yun-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.6vw, 20px);
  min-width: 0;
}

.yun-nav__list {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.yun-nav__item { display: flex; }

.yun-nav__link {
  position: relative;
  display: block;
  padding: 11px clamp(9px, 1.05vw, 15px);
  border-right: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.yun-nav__link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.yun-nav__link:hover {
  color: var(--snow);
  background: rgba(0, 180, 255, 0.10);
}

.yun-nav__link:hover::after { transform: scaleX(1); }

.yun-nav__link[aria-current="page"] {
  color: var(--snow);
  background: linear-gradient(180deg, rgba(0, 180, 255, 0.24), rgba(0, 180, 255, 0.04));
}

.yun-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.yun-nav__actions { display: none; }

.yun-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yun-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-ice);
  background: rgba(0, 180, 255, 0.12);
  color: var(--snow);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.yun-nav-toggle[aria-expanded="true"] {
  border-color: var(--ice);
  background: var(--ice);
  color: #04121f;
}

.yun-nav-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.yun-nav-toggle__label { display: block; }

/* ---------- 8. 页脚 ---------- */
.yun-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 104px);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  border-top: 1px solid var(--line-ice);
  overflow: hidden;
  color: var(--snow);
}

.yun-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(0, 180, 255, 0.16), transparent 62%),
    radial-gradient(80% 70% at 92% 24%, rgba(180, 255, 57, 0.08), transparent 66%);
  pointer-events: none;
}

.yun-footer__trace {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ice) 26%, var(--lime) 62%, transparent);
  opacity: 0.85;
}

.yun-footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(34px, 5.4vw, 62px) var(--pad) 28px;
}

.yun-footer__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.yun-footer__lead { min-width: 0; }

.yun-footer__brand {
  display: inline-block;
  color: var(--snow);
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.yun-footer__brand:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.yun-footer__brandline {
  margin-top: 10px;
  color: #cfe2ee;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.yun-footer__note {
  margin-top: 6px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.yun-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yun-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

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

.yun-footer__title {
  margin: 0 0 12px;
  color: var(--snow);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.yun-footer__title::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 8px;
  background: var(--line-ice);
}

.yun-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yun-footer__list > li { margin-bottom: 9px; }

.yun-footer__link {
  display: inline-block;
  color: #c3d8e6;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.yun-footer__link:hover {
  color: var(--ice);
  border-bottom-color: rgba(0, 180, 255, 0.6);
}

.yun-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}

.yun-footer__label {
  flex: 0 0 auto;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.yun-footer__value {
  color: #c3d8e6;
  font-size: 13.5px;
  line-height: 1.75;
}

.yun-footer__value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--pale);
}

.yun-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 20px;
  color: var(--mist);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.yun-footer__copy { margin: 0; }

.yun-footer__icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.yun-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

/* ---------- 9. 面包屑 ---------- */
.yun-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.yun-breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(143, 179, 199, 0.5);
}

.yun-breadcrumb__link {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.yun-breadcrumb__link:hover {
  color: var(--ice);
  border-bottom-color: rgba(0, 180, 255, 0.6);
}

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

/* ---------- 10. 长文容器 ---------- */
.yun-prose {
  max-width: 44rem;
  color: var(--body-text);
  font-size: 16.5px;
  line-height: 1.9;
}

.yun-prose h2 {
  margin: 1.9em 0 0.7em;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--snow);
}

.yun-prose h3 {
  margin: 1.6em 0 0.5em;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--snow);
}

.yun-prose p { margin: 0 0 1.15em; }

.yun-prose ul,
.yun-prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.3em;
}

.yun-prose ul { list-style: disc; }
.yun-prose ol { list-style: decimal; }
.yun-prose li { margin: 0.42em 0; }

.yun-prose a {
  color: var(--ice);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.yun-prose strong { color: var(--snow); font-weight: 700; }

.yun-prose code {
  padding: 2px 6px;
  background: rgba(0, 180, 255, 0.16);
  color: var(--pale);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.yun-prose--light { color: #27455c; }
.yun-prose--light h2,
.yun-prose--light h3,
.yun-prose--light strong { color: var(--ink); }
.yun-prose--light a { color: #046a96; }

/* ---------- 11. 卡片 ---------- */
.yun-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(165deg, rgba(30, 51, 72, 0.94), rgba(13, 31, 52, 0.94));
  border: 1px solid var(--line);
  clip-path: var(--cut);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.yun-card__title {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--snow);
}

.yun-card__body {
  color: #cfe2ee;
  font-size: 15.5px;
  line-height: 1.85;
}

@media (hover: hover) {
  .yun-card:hover {
    border-color: var(--line-ice);
    transform: translateY(-3px);
  }
}

/* ---------- 12. 图片容器（供页面阶段放置占位） ---------- */
.yun-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--media-ratio, 16 / 9);
  overflow: hidden;
  background: linear-gradient(150deg, #14324c 0%, var(--ink) 55%, #0e2237 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.yun-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 44%, rgba(10, 22, 40, 0.76) 100%);
  pointer-events: none;
}

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

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

.yun-media__overlay {
  position: absolute;
  z-index: 2;
  inset: auto 16px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.yun-media__caption {
  position: absolute;
  z-index: 2;
  inset: auto 16px 14px 16px;
  color: var(--pale);
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------- 13. 分段标签页 ---------- */
.yun-tabs { position: relative; }

.yun-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
}

.yun-tabs__btn {
  appearance: none;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: rgba(30, 51, 72, 0.55);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.yun-tabs__btn:hover {
  color: var(--snow);
  border-color: var(--line-ice);
}

.yun-tabs__btn[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A1628;
}

.yun-tabs__panel {
  padding-top: 22px;
  animation: yun-tab-in 0.32s var(--ease) both;
}

.yun-tabs__panel[hidden] { display: none; }

@keyframes yun-tab-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. 揭示动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  clip-path: inset(0 0 14% 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              clip-path 0.5s var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .yun-brand__tag { display: none; }
}

@media (max-width: 1080px) {
  .yun-header__frame {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px var(--pad);
  }

  .yun-header__actions { display: none; }

  .yun-nav-toggle { display: inline-flex; }

  .yun-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    padding: 0 var(--pad);
    overflow: hidden;
    background: var(--ink-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-ice);
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.34s var(--ease), opacity 0.22s var(--ease),
                visibility 0.22s var(--ease);
  }

  .yun-nav[data-open] {
    max-height: 80vh;
    padding-bottom: 20px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .yun-nav__list {
    flex-direction: column;
    align-items: stretch;
    border-left: 0;
  }

  .yun-nav__item { display: block; }

  .yun-nav__link {
    padding: 14px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .yun-nav__link::after {
    left: 4px;
    right: auto;
    width: 26px;
    bottom: 8px;
  }

  .yun-nav__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
  }

  .yun-nav__actions .yun-btn { flex: 1 1 150px; }
}

@media (max-width: 900px) {
  .yun-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .yun-footer__rail { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.85; }

  #main-content { scroll-margin-top: 92px; }

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

  .yun-brand__name { font-size: 15.5px; letter-spacing: 0.04em; }

  .yun-nav-toggle { padding: 9px 11px; }

  .yun-nav-toggle__label { display: none; }

  .yun-section { padding-block: clamp(34px, 9vw, 52px); }

  .yun-footer__cols { grid-template-columns: minmax(0, 1fr); }

  .yun-footer__base { gap: 8px 16px; font-size: 12px; }

  .yun-footer__legal { margin-left: 0; }

  .yun-media { aspect-ratio: var(--media-ratio-mobile, 4 / 3); }

  .yun-media--wide { aspect-ratio: 4 / 3; }
}

/* ---------- 16. 无障碍与动效偏好 ---------- */
@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .yun-tabs__panel { animation: none; }
}
