/* ============================================================
   幻影体育主站 · 共享样式表 /assets/site.css
   骨架：技术蓝图网格 · 居中刊头 · 深空黑夜场底色
   ============================================================ */

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

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

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

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --gr-ink: #0B0B10;
  --gr-panel: #14141F;
  --gr-line: #232334;
  --gr-text: #C7CAD8;
  --gr-muted: #8C90A6;
  --gr-bright: #EDEEF5;

  --gr-violet: #6C3BFF;
  --gr-violet-deep: #3B1F99;
  --gr-violet-soft: #A98CFF;
  --gr-green: #00E5A0;
  --gr-green-deep: #00A374;
  --gr-amber: #F0A35E;
  --gr-ice: #7FB2C8;

  --gr-shell: 1280px;
  --gr-rail: 220px;

  --gr-r-xl: 28px;
  --gr-r-lg: 20px;
  --gr-r-md: 14px;
  --gr-r-pill: 999px;

  --gr-font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --gr-font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --gr-ease: cubic-bezier(.2, .7, .3, 1);
  --gr-shadow-lift: 0 24px 48px -34px rgba(0, 0, 0, .95);
}

/* ---------- 3. 页面基座 ---------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--gr-ink);
  background-image:
    radial-gradient(120% 70% at 12% -10%, rgba(108, 59, 255, .20), transparent 62%),
    radial-gradient(80% 60% at 96% 4%, rgba(0, 229, 160, .10), transparent 66%);
  background-repeat: no-repeat;
  color: var(--gr-text);
  font-family: var(--gr-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(108, 59, 255, .55); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gr-green);
  outline-offset: 3px;
  border-radius: 8px;
}

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

/* ---------- 4. 布局容器 ---------- */
.gr-shell {
  width: 100%;
  max-width: var(--gr-shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.gr-main { position: relative; display: block; }

/* ---------- 5. 排版工具 ---------- */
.gr-display {
  font-family: var(--gr-font-sans);
  font-weight: 200;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--gr-bright);
  margin: 0;
}

.gr-num {
  font-family: var(--gr-font-mono);
  font-weight: 200;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--gr-bright);
}

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

.gr-index {
  font-family: var(--gr-font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--gr-muted);
  margin: 0;
}

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

.gr-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.gr-section__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gr-bright);
}

.gr-section__lead {
  margin: 0;
  max-width: 68ch;
  color: var(--gr-muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- 6. 按钮与徽标 ---------- */
.gr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--gr-r-pill);
  font-family: var(--gr-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--gr-ease), background-color .2s var(--gr-ease), border-color .2s var(--gr-ease), box-shadow .2s var(--gr-ease), color .2s var(--gr-ease);
}

.gr-btn--primary {
  background-image: linear-gradient(135deg, var(--gr-violet), var(--gr-violet-deep));
  color: #fff;
  box-shadow: 0 16px 34px -20px rgba(108, 59, 255, .95);
}

.gr-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -18px rgba(108, 59, 255, 1);
}

.gr-btn--ghost {
  background-color: rgba(108, 59, 255, .14);
  border-color: rgba(169, 140, 255, .42);
  color: #DCD6FF;
}

.gr-btn--ghost:hover {
  background-color: rgba(108, 59, 255, .26);
  border-color: var(--gr-violet-soft);
  color: #fff;
}

.gr-btn--green {
  background-image: linear-gradient(135deg, var(--gr-green), var(--gr-green-deep));
  color: #04120C;
  font-weight: 600;
  box-shadow: 0 16px 34px -22px rgba(0, 229, 160, .95);
}

.gr-btn--green:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -18px rgba(0, 229, 160, 1);
}

.gr-btn--quiet {
  background-color: transparent;
  border-color: var(--gr-line);
  color: var(--gr-text);
}

.gr-btn--quiet:hover {
  border-color: var(--gr-violet-soft);
  color: #fff;
}

.gr-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-pill);
  background-color: rgba(20, 20, 31, .92);
  color: var(--gr-muted);
  font-family: var(--gr-font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.gr-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
  flex: none;
}

.gr-chip--version {
  color: var(--gr-violet-soft);
  border-color: rgba(169, 140, 255, .38);
  background-color: rgba(108, 59, 255, .12);
}

.gr-chip--green {
  color: var(--gr-green);
  border-color: rgba(0, 229, 160, .38);
  background-color: rgba(0, 229, 160, .09);
}

.gr-chip--amber {
  color: var(--gr-amber);
  border-color: rgba(240, 163, 94, .42);
  background-color: rgba(240, 163, 94, .10);
}

/* ============================================================
   7. 页头：绘制流动网格 · 居中刊头 · 胶囊栏目条
   ============================================================ */
.gr-skip {
  position: absolute;
  top: -80px;
  left: clamp(18px, 4vw, 40px);
  z-index: 120;
  padding: 12px 22px;
  border-radius: var(--gr-r-pill);
  background-color: var(--gr-green);
  color: #04120C;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--gr-ease);
}

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

.gr-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--gr-line);
  background-image: linear-gradient(180deg, rgba(11, 11, 16, .97), rgba(11, 11, 16, .88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gr-header__grid,
.gr-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(35, 35, 52, .70) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 35, 52, .52) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .55;
  animation: gr-drift 20s linear infinite;
}

.gr-footer__grid { opacity: .45; }

@keyframes gr-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

.gr-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.gr-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--gr-violet), var(--gr-green));
}

/* 刊头 */
.gr-masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-block: 22px 18px;
}

.gr-masthead__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.gr-masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

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

.gr-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--gr-bright);
}

.gr-brand__glyph {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 50% 50%, var(--gr-green) 0 3px, transparent 3.5px),
    conic-gradient(from 210deg, var(--gr-violet), var(--gr-violet-deep) 55%, var(--gr-violet));
  box-shadow: inset 0 0 0 1px rgba(169, 140, 255, .45), 0 0 20px rgba(108, 59, 255, .55);
}

.gr-brand__name {
  font-family: var(--gr-font-sans);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--gr-bright);
}

.gr-brand__tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: var(--gr-muted);
}

/* 栏目条 */
.gr-navbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
}

.gr-nav { display: flex; justify-content: center; min-width: 0; }

.gr-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gr-nav__item { display: block; }

.gr-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--gr-r-pill);
  color: var(--gr-text);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s var(--gr-ease), background-color .2s var(--gr-ease);
}

.gr-nav__link:hover {
  color: #fff;
  background-color: rgba(108, 59, 255, .16);
}

.gr-nav__link[aria-current="page"] {
  color: #fff;
  background-color: rgba(108, 59, 255, .26);
}

.gr-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--gr-green);
  box-shadow: 0 0 10px rgba(0, 229, 160, .85);
}

.gr-nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-pill);
  background-color: rgba(20, 20, 31, .9);
  color: var(--gr-text);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color .2s var(--gr-ease), color .2s var(--gr-ease);
}

.gr-nav__toggle:hover { border-color: var(--gr-violet-soft); color: #fff; }

.gr-nav__toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 11px;
}

.gr-nav__toggle-icon span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background-color: var(--gr-green);
  transition: transform .2s var(--gr-ease), opacity .2s var(--gr-ease);
}

.gr-nav__toggle[aria-expanded="true"] .gr-nav__toggle-icon span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.gr-nav__toggle[aria-expanded="true"] .gr-nav__toggle-icon span:nth-child(2) { opacity: 0; }
.gr-nav__toggle[aria-expanded="true"] .gr-nav__toggle-icon span:nth-child(3) { transform: translateY(-4.75px) rotate(-45deg); }

.gr-nav__toggle-text { font-family: var(--gr-font-mono); }

.gr-utility {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.gr-utility__link {
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gr-muted);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--gr-ease), border-color .2s var(--gr-ease);
}

.gr-utility__link:hover {
  color: var(--gr-green);
  border-bottom-color: var(--gr-green);
}

/* ============================================================
   8. 页脚
   ============================================================ */
.gr-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--gr-line);
  background-image: linear-gradient(180deg, rgba(20, 20, 31, .94), rgba(11, 11, 16, 1) 62%);
  overflow: hidden;
}

.gr-footer__inner {
  position: relative;
  padding-block: clamp(40px, 6vw, 64px) 34px;
}

.gr-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 56px);
}

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

.gr-brand--footer .gr-brand__name {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.14em;
}

.gr-brand--footer .gr-brand__glyph { width: 18px; height: 18px; }

.gr-footer__note {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gr-muted);
}

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

.gr-footer__title {
  margin: 0 0 14px;
  font-family: var(--gr-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gr-violet-soft);
}

.gr-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gr-footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gr-text);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--gr-ease), border-color .2s var(--gr-ease);
}

.gr-footer__link:hover {
  color: var(--gr-green);
  border-bottom-color: rgba(0, 229, 160, .5);
}

.gr-footer__export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 48px);
  padding: 24px 28px;
  border: 1px solid rgba(0, 229, 160, .3);
  border-radius: var(--gr-r-xl);
  background-image: linear-gradient(118deg, rgba(0, 163, 116, .18), rgba(108, 59, 255, .18) 68%, rgba(11, 11, 16, 0));
}

.gr-footer__export-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gr-footer__export-text {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gr-text);
}

.gr-footer__contact {
  margin-top: clamp(26px, 4vw, 36px);
  padding-top: 22px;
  border-top: 1px dashed var(--gr-line);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--gr-muted);
}

.gr-footer__contact p { margin: 0; word-break: break-word; }

.gr-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gr-line);
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6B6F84;
}

/* ============================================================
   9. 通用组件
   ============================================================ */
/* 面包屑 */
.gr-crumbs { padding-top: 22px; }

.gr-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gr-muted);
}

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

.gr-crumbs__list li + li::before {
  content: "/";
  color: rgba(140, 144, 166, .5);
}

.gr-crumbs__list a {
  color: var(--gr-muted);
  transition: color .2s var(--gr-ease);
}

.gr-crumbs__list a:hover { color: var(--gr-green); }

/* 网格 */
.gr-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

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

.gr-grid--rail {
  grid-template-columns: var(--gr-rail) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.gr-rail {
  position: sticky;
  top: 168px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 卡片 */
.gr-card {
  position: relative;
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-xl);
  background-color: rgba(20, 20, 31, .9);
  transition: transform .2s var(--gr-ease), border-color .2s var(--gr-ease), box-shadow .2s var(--gr-ease);
}

.gr-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 140, 255, .42);
  box-shadow: var(--gr-shadow-lift);
}

.gr-card__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gr-bright);
}

.gr-card__meta {
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gr-muted);
}

.gr-card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gr-text);
}

/* 超大数字卡 */
.gr-stat {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-xl);
  background-image: linear-gradient(150deg, rgba(30, 24, 58, .92), rgba(20, 20, 31, .96));
  overflow: hidden;
}

.gr-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(120% 92% at 100% 0%, rgba(108, 59, 255, .3), transparent 62%),
    radial-gradient(80% 70% at 0% 100%, rgba(0, 229, 160, .12), transparent 60%);
}

.gr-stat__label {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gr-violet-soft);
}

.gr-stat__value {
  position: relative;
  margin: 0;
  font-family: var(--gr-font-mono);
  font-weight: 200;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--gr-bright);
}

.gr-stat__value--green { color: var(--gr-green); }

.gr-stat__foot {
  position: relative;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--gr-muted);
}

/* 标签页 */
.gr-tabs { position: relative; }

.gr-tabs__list {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-pill);
  background-color: rgba(20, 20, 31, .84);
  max-width: 100%;
}

.gr-tabs__tab {
  appearance: none;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--gr-r-pill);
  background-color: transparent;
  color: var(--gr-muted);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: color .24s var(--gr-ease), background-color .24s var(--gr-ease);
}

.gr-tabs__tab:hover { color: var(--gr-text); background-color: rgba(108, 59, 255, .16); }

.gr-tabs__tab[aria-selected="true"] {
  color: #fff;
  background-image: linear-gradient(135deg, var(--gr-violet), var(--gr-violet-deep));
  box-shadow: 0 12px 26px -18px rgba(108, 59, 255, .95);
}

.gr-tabs__panel { padding-top: clamp(20px, 3vw, 28px); }

/* 表格 */
.gr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.gr-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gr-muted);
}

.gr-table th,
.gr-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--gr-line);
  text-align: left;
  vertical-align: middle;
}

.gr-table th {
  font-family: var(--gr-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gr-muted);
  white-space: nowrap;
}

.gr-table td { color: var(--gr-text); }
.gr-table tbody tr:hover td { background-color: rgba(108, 59, 255, .08); }

/* 图片容器 */
.gr-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--gr-line);
  border-radius: var(--gr-r-xl);
  overflow: hidden;
  background-image:
    radial-gradient(90% 80% at 12% 8%, rgba(108, 59, 255, .55), transparent 66%),
    radial-gradient(70% 70% at 92% 92%, rgba(0, 163, 116, .42), transparent 68%),
    linear-gradient(150deg, #1A1533, #0B0B10);
}

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

.gr-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px 14px;
  font-family: var(--gr-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gr-text);
  background-image: linear-gradient(0deg, rgba(11, 11, 16, .94), rgba(11, 11, 16, 0));
}

.gr-media--wide { aspect-ratio: 21 / 9; }
.gr-media--4x3 { aspect-ratio: 4 / 3; }
.gr-media--square { aspect-ratio: 1 / 1; }

.gr-media--tilt {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  border-radius: var(--gr-r-lg);
}

/* 装饰 */
.gr-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(58% 50% at 14% 10%, rgba(108, 59, 255, .38), transparent 70%),
    radial-gradient(44% 44% at 88% 6%, rgba(0, 229, 160, .16), transparent 70%),
    radial-gradient(66% 60% at 72% 98%, rgba(59, 31, 153, .45), transparent 74%);
}

.gr-slash { clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }

/* 显露动效 */
.gr-reveal { opacity: 1; }

.gr-js .gr-reveal {
  transition: opacity .6s var(--gr-ease), transform .6s var(--gr-ease);
}

.gr-js .gr-reveal:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.gr-js .gr-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   10. 响应式
   ============================================================ */
@media (max-width: 1080px) {
  .gr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-grid--rail { grid-template-columns: minmax(0, 1fr); }
  .gr-rail { position: static; }
}

@media (max-width: 920px) {
  .gr-masthead {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 14px;
    padding-block: 18px 14px;
  }

  .gr-masthead__meta,
  .gr-masthead__action { justify-self: center; }

  .gr-brand__name { letter-spacing: 0.12em; }

  .gr-navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
  }

  .gr-nav__toggle { display: inline-flex; order: 1; }
  .gr-utility { order: 2; }
  .gr-nav { order: 3; flex: 1 1 100%; display: block; }

  .gr-nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-r-lg);
    background-color: rgba(20, 20, 31, .98);
    box-shadow: 0 30px 56px -34px rgba(0, 0, 0, 1);
  }

  .gr-nav[data-open] .gr-nav__list { display: flex; }

  .gr-nav__link {
    padding: 12px 16px;
    border-radius: var(--gr-r-md);
    font-size: 15px;
  }

  .gr-nav__link[aria-current="page"]::after { left: 16px; right: 16px; bottom: 6px; }

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

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .gr-grid--2,
  .gr-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .gr-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gr-footer__export { padding: 20px; }
  .gr-btn { width: 100%; }
  .gr-masthead__action .gr-btn { width: auto; }
}

@media (max-width: 520px) {
  .gr-utility { gap: 12px; }
  .gr-utility__link { font-size: 11px; letter-spacing: 0.06em; }
  .gr-tabs__list { display: flex; width: 100%; border-radius: var(--gr-r-lg); }
  .gr-tabs__tab { flex: 1 1 auto; text-align: center; padding-inline: 12px; }
  .gr-footer__legal { font-size: 11px; gap: 8px 16px; }
}

/* ============================================================
   11. 动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .gr-header__grid,
  .gr-footer__grid { animation: none; }

  .gr-js .gr-reveal:not(.is-in) {
    opacity: 1;
    transform: none;
  }

  .gr-card:hover,
  .gr-btn:hover { transform: none; }
}
