/* =========================================================
   盈嘉体育官网 · 共享样式 /assets/site.css
   01 重置  02 变量  03 基础排版  04 布局工具  05 通用组件
   06 页头  07 页脚  08 响应式  09 动效降级
   ========================================================= */

/* ---------- 01 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

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

/* ---------- 02 变量 ---------- */
:root {
  --ink:        #0B2420;
  --ink-2:      #123028;
  --ink-3:      #071614;
  --cyan:       #38E8C8;
  --cyan-soft:  #8FF7E3;
  --orange:     #FF8A3D;
  --paper:      #F2EAD9;
  --paper-2:    #D9CDB4;
  --muted:      #9FB3AE;
  --amber:      #F5C24A;

  --line:        rgba(159, 179, 174, 0.24);
  --line-soft:   rgba(159, 179, 174, 0.14);
  --line-cyan:   rgba(56, 232, 200, 0.38);
  --glass:       rgba(56, 232, 200, 0.07);
  --glass-deep:  rgba(7, 22, 20, 0.86);

  --radius:      14px;
  --radius-sm:   9px;
  --radius-pill: 999px;

  --wrap:        1180px;
  --gutter:      24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun",
                Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", Menlo, Consolas,
               "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.4, 0.2, 0.2, 1);
  --dur: 0.2s;
}

/* ---------- 03 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 640px at 88% -10%, rgba(56, 232, 200, 0.10), transparent 62%),
    radial-gradient(820px 520px at -6% 14%, rgba(255, 138, 61, 0.075), transparent 60%),
    linear-gradient(180deg, rgba(7, 22, 20, 0.55) 0%, rgba(7, 22, 20, 0) 46%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-stretch: 87.5%;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: var(--paper);
}

h1 { font-size: clamp(30px, 4.4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }

p + p { margin-top: 0.9em; }

a {
  color: var(--cyan-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

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

strong { font-weight: 700; }

small { font-size: 13px; }

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 32px 0;
}

::selection {
  background: rgba(56, 232, 200, 0.3);
  color: #ffffff;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #06201a;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #06201a;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.lede {
  font-size: 18px;
  line-height: 1.85;
  color: #cfe2dc;
  max-width: 62ch;
}

/* ---------- 04 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 64px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.section__head h2 { margin: 0; }

.grid { display: grid; gap: 20px; }

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

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

.grid--split { grid-template-columns: 38fr 62fr; }

.stack > * + * { margin-top: 16px; }

/* ---------- 05 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

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

.btn--primary {
  background: var(--orange);
  color: #1c0d03;
}
.btn--primary:hover { background: #ffa468; color: #1c0d03; }

.btn--ghost {
  border-color: var(--line-cyan);
  background: var(--glass);
  color: var(--cyan-soft);
}
.btn--ghost:hover { background: rgba(56, 232, 200, 0.16); color: var(--cyan-soft); }

.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover { background: #fff8ea; color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.tag--cyan {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: var(--glass);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(245, 194, 74, 0.42);
  background: rgba(245, 194, 74, 0.1);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(255, 138, 61, 0.1);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

.crumbs li + li::before {
  content: "/";
  color: rgba(159, 179, 174, 0.5);
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cyan-soft); }
.crumbs [aria-current="page"] { color: var(--cyan); }

.prose {
  background: var(--paper);
  color: #1d2b27;
  border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 36px);
  font-size: 17px;
  line-height: 1.85;
}

.prose h2,
.prose h3,
.prose h4 { color: var(--ink); margin-top: 1.4em; }

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.prose a {
  color: #0d6a58;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: #0a4f42; }

.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

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

.prose blockquote {
  border-left: 3px solid var(--paper-2);
  padding-left: 16px;
  color: #44554f;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 22px;
}

.panel--glass {
  background: var(--glass);
  border-color: rgba(56, 232, 200, 0.2);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.panel--paper {
  background: var(--paper);
  border-color: var(--paper-2);
  color: #1d2b27;
}

.panel--edge {
  background: transparent;
  border-style: dashed;
  border-color: var(--line);
}

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(56, 232, 200, 0.14), transparent 58%),
    linear-gradient(160deg, var(--ink-2) 0%, var(--ink-3) 100%);
  isolation: isolate;
}

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

.media--bleed {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.78) contrast(1.04);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.media:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(0.9) contrast(1.04);
}

.media__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(159, 179, 174, 0.66);
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  background: linear-gradient(0deg, rgba(7, 22, 20, 0.92), rgba(7, 22, 20, 0));
}

/* ---------- 06 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 22, 20, 0.94), rgba(7, 22, 20, 0.8));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

/* 入口切换条 */
.entry-bar {
  background: rgba(56, 232, 200, 0.055);
  border-bottom: 1px solid var(--line-soft);
}

.entry-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px var(--gutter);
  transition: padding 0.22s var(--ease);
}

.entry-bar[data-collapsed] .entry-bar__inner { padding: 4px var(--gutter); }

.entry-bar__line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 44px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  transition: max-height 0.24s var(--ease), opacity 0.18s var(--ease);
}

.entry-bar[data-collapsed] .entry-bar__line {
  max-height: 0;
  opacity: 0;
}

.entry-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.16);
  flex: 0 0 auto;
}

.entry-bar__key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-bar__ver {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--paper);
}

.entry-bar__sep { color: rgba(159, 179, 174, 0.45); }

.entry-bar__text { color: var(--muted); }

.entry-bar__link {
  color: var(--cyan);
  border-bottom: 1px solid var(--line-cyan);
  padding-bottom: 1px;
}

.entry-bar__link:hover { color: var(--cyan-soft); }

.entry-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.entry-bar__toggle:hover {
  color: var(--cyan-soft);
  border-color: var(--line-cyan);
  background: var(--glass);
}

.entry-bar__chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-135deg);
  transition: transform 0.24s var(--ease);
  margin-top: -3px;
}

.entry-bar[data-collapsed] .entry-bar__chev {
  transform: rotate(45deg);
  margin-top: 2px;
}

/* 命令栏 */
.command-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 13px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
}

.brand:hover { color: var(--paper); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--cyan) 0%, #14a98a 100%);
  color: #04201a;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1px rgba(56, 232, 200, 0.36),
              0 8px 22px -12px rgba(56, 232, 200, 0.75);
  flex: 0 0 auto;
}

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* 导航 */
.nav { margin-left: auto; }

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

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--cyan-soft);
  background: var(--glass);
}

.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  flex: 0 0 auto;
  transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav__link[aria-current="page"] {
  color: var(--paper);
  background: var(--glass);
  border-color: var(--line-cyan);
}

.nav__link[aria-current="page"] .nav__dot {
  background: var(--cyan);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(56, 232, 200, 0.18);
}

.nav__title,
.nav__meta { display: none; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--cyan-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.nav-toggle:hover { background: rgba(56, 232, 200, 0.16); }

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

.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}

.nav-toggle__bars i:nth-child(2) { width: 70%; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { width: 55%; }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--line-soft);
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 55%, var(--cyan-soft) 100%);
  transition: width 0.1s linear;
}

/* ---------- 07 页脚 ---------- */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(18, 48, 40, 0.55) 0%, var(--ink-3) 100%);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 32px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
}

.site-footer__brand .brand { margin-bottom: 16px; }

.site-footer__tag {
  max-width: 34ch;
  font-size: 14px;
  color: var(--muted);
}

.site-footer__stamp {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(159, 179, 174, 0.7);
}

.site-footer__col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-footer__links,
.site-footer__items {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__links a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-footer__links a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--line-cyan);
}

.site-footer__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(159, 179, 174, 0.86);
}

.site-footer__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper-2);
  flex: 0 0 auto;
}

.site-footer__legal {
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 22, 20, 0.4);
}

.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 30px;
  font-size: 13px;
}

.site-footer__icp a {
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.site-footer__icp a:hover { color: var(--cyan-soft); }

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: rgba(159, 179, 174, 0.86);
}

.site-footer__contact .mono { color: var(--cyan-soft); }

.site-footer__sep { color: rgba(159, 179, 174, 0.4); }

/* 显现协议 */
[data-reveal] {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
}

html.js [data-reveal="in"] {
  opacity: 1;
  transform: none;
}

.is-active { color: var(--cyan-soft); }

/* ---------- 08 响应式 ---------- */
@media (max-width: 1080px) {
  body { font-size: 16.5px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .grid--split { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  :root { --gutter: 18px; }

  body { font-size: 16px; line-height: 1.8; }

  h1 { font-size: clamp(26px, 7vw, 34px); }
  h2 { font-size: clamp(20px, 5.4vw, 24px); }

  .section { padding: 44px 0; }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  /* 命令栏收窄 */
  .command-bar__inner { padding: 10px var(--gutter); gap: 12px; }

  .brand__mark { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }

  .brand__name { font-size: 16px; }

  .brand__sub { font-size: 10px; }

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

  /* 导航变为贴底面板 */
  .nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    margin: 0;
    max-height: 76vh;
    overflow-y: auto;
    padding: 18px 16px 20px;
    border: 1px solid var(--line-cyan);
    border-radius: 18px;
    background: var(--glass-deep);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 -18px 60px -22px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 32px));
    transition: transform 0.26s var(--ease), opacity 0.2s var(--ease),
                visibility 0.26s var(--ease);
  }

  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__title {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav__link {
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(56, 232, 200, 0.05);
    border-color: transparent;
    color: var(--paper);
    font-size: 16px;
  }

  .nav__link .nav__dot { order: 2; }

  .nav__link[aria-current="page"] {
    background: rgba(56, 232, 200, 0.14);
    border-color: var(--line-cyan);
  }

  .nav__meta {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted);
  }

  .site-footer { margin-top: 56px; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px var(--gutter) 32px;
  }

  .site-footer__tag { max-width: none; }

  .site-footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 26px;
  }

  .prose { padding: 22px 18px; }
}

@media (max-width: 520px) {
  .entry-bar__key,
  .entry-bar__sep,
  .entry-bar__text { display: none; }

  .entry-bar__line { max-height: 30px; }

  .grid--2,
  .grid--3 { gap: 16px; }

  .section__head { margin-bottom: 22px; }
}

/* ---------- 09 动效降级 ---------- */
@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;
  }

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

  .media:hover img { transform: none; }

  .btn:hover { transform: none; }
}
