/* =========================================================
   凤凰体育APP · 赛季档案室  —  /assets/site.css
   Shared Site Kit：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { background: none; border: 0; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-base: #0A0A0C;
  --c-surface: #141519;
  --c-panel: #1E2026;
  --c-line: #33373F;
  --c-ink: #C9CCD2;
  --c-mid: #6E7480;
  --c-bone: #F2EFEA;
  --c-orange: #FF4A17;
  --c-ember: #FF8A3D;
  --c-scorch: #8A2408;
  --c-cyan: #35D0DE;
  --c-gold: #E9B949;

  --shadow-hard: 6px 6px 0 var(--c-scorch);
  --shadow-hard-sm: 3px 3px 0 var(--c-scorch);
  --line-w: 2px;

  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 64px;
  --utility-h: 42px;

  --f-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-data: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --step-hero: clamp(40px, 7vw, 96px);
  --step-section: clamp(26px, 3.4vw, 40px);
  --step-sub: clamp(20px, 2vw, 24px);
  --step-body: clamp(16px, 1.05vw, 17px);
  --step-note: 12px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基底与中文排版 ---------- */
body {
  background-color: var(--c-base);
  color: var(--c-bone);
  font-family: var(--f-body);
  font-size: var(--step-body);
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--c-bone);
}

p { text-wrap: pretty; }

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

::selection {
  background: var(--c-orange);
  color: #0A0A0C;
}

/* ---------- 4. 跳至主要内容 ---------- */
.phx-skip {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-orange);
  color: #0A0A0C;
  font-weight: 800;
  font-size: 15px;
  border: var(--line-w) solid var(--c-bone);
  box-shadow: var(--shadow-hard-sm);
  transition: top .18s var(--ease);
}
.phx-skip:focus { top: 12px; }

.phx-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 头部 ---------- */
.phx-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: var(--c-base);
  width: 100%;
}

/* 5.1 上层口径条 */
.phx-utility {
  max-height: 64px;
  overflow: hidden;
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  transition: max-height .28s var(--ease), opacity .22s var(--ease);
}

.phx-header[data-stuck] .phx-utility {
  max-height: 0;
  opacity: 0;
}

.phx-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--utility-h);
}

.phx-utility__brand {
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phx-utility__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.phx-utility__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-mid);
  white-space: nowrap;
}

.phx-utility__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background-color: var(--c-orange);
  transform: rotate(45deg);
}

/* 5.2 下层栏目条 */
.phx-bar {
  position: relative;
  background-color: var(--c-base);
  border-bottom: var(--line-w) solid var(--c-line);
  transition: border-color .2s var(--ease);
}

.phx-header[data-stuck] .phx-bar { border-bottom-color: var(--c-orange); }

.phx-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--bar-h);
}

.phx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.phx-brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  background: linear-gradient(135deg, var(--c-orange), var(--c-scorch));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgba(10, 10, 12, .5);
}

.phx-brand__text { display: block; }

.phx-brand__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--c-bone);
  line-height: 1.2;
}

.phx-brand__sub {
  display: block;
  font-family: var(--f-data);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--c-mid);
  line-height: 1.4;
}

.phx-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 18px);
}

.phx-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .18s var(--ease);
}

.phx-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  background-color: var(--c-orange);
  transition: right .22s var(--ease);
}

.phx-nav__link:hover { color: var(--c-bone); }
.phx-nav__link:hover::after { right: 0; }

.phx-nav__link[aria-current="page"] { color: var(--c-orange); }
.phx-nav__link[aria-current="page"]::after { right: 0; }

.phx-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: none;
}

/* 5.3 移动导航按钮 */
.phx-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: var(--line-w) solid var(--c-line);
  background-color: var(--c-panel);
  color: var(--c-bone);
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .16em;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.phx-nav-toggle:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}

.phx-nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}

.phx-nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--c-orange);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.phx-header[data-open] .phx-nav-toggle__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.phx-header[data-open] .phx-nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* 5.4 阅读进度条 */
.phx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  overflow: hidden;
}

.phx-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--c-scorch), var(--c-orange) 55%, var(--c-ember));
  transition: transform .1s linear;
}

/* ---------- 6. 按钮 ---------- */
.phx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: var(--line-w) solid var(--c-line);
  background-color: var(--c-panel);
  color: var(--c-bone);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  line-height: 1.2;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              background-color .18s var(--ease);
}

.phx-btn:hover,
.phx-btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--c-scorch);
  border-color: var(--c-orange);
  color: var(--c-orange);
}

.phx-btn--primary {
  background-color: var(--c-orange);
  border-color: var(--c-orange);
  color: #0A0A0C;
}

.phx-btn--primary:hover,
.phx-btn--primary:focus-visible {
  background-color: var(--c-ember);
  border-color: var(--c-ember);
  color: #0A0A0C;
}

.phx-btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

/* ---------- 7. 容器与区块 ---------- */
.phx-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.phx-main { display: block; }

.phx-section {
  position: relative;
  border-top: var(--line-w) solid var(--c-line);
  padding: clamp(44px, 6vw, 80px) 0;
}

.phx-section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.phx-section__num {
  font-family: var(--f-data);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--c-line);
  font-variant-numeric: tabular-nums slashed-zero;
  transition: color .25s var(--ease);
}

.phx-section.is-active .phx-section__num { color: var(--c-orange); }

.phx-section__kicker {
  display: block;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-mid);
  margin-bottom: 10px;
}

.phx-section__title {
  font-size: var(--step-section);
  max-width: 22ch;
}

.phx-section__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

/* 8. 文本工具 */
.phx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-orange);
}

.phx-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  background-color: var(--c-orange);
}

.phx-note {
  font-family: var(--f-data);
  font-size: var(--step-note);
  line-height: 1.65;
  letter-spacing: .16em;
  color: var(--c-mid);
}

.phx-note--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  justify-self: end;
  align-self: start;
  letter-spacing: .3em;
  max-height: 240px;
}

.phx-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.68;
  color: var(--c-ink);
  max-width: 42ch;
}

.phx-prose {
  max-width: 40ch;
  color: var(--c-ink);
  font-size: var(--step-body);
  line-height: 1.76;
}

.phx-prose p + p { margin-top: 1em; }

.phx-prose strong {
  color: var(--c-bone);
  font-weight: 700;
}

.phx-prose a {
  color: var(--c-orange);
  border-bottom: 1px solid currentColor;
}

.phx-data {
  font-family: var(--f-data);
  font-variant-numeric: tabular-nums slashed-zero;
  font-feature-settings: "tnum" 1, "zero" 1;
  letter-spacing: -.01em;
}

/* 9. 面包屑 */
.phx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mid);
  padding: 18px 0;
}

.phx-crumbs a { color: var(--c-ink); }
.phx-crumbs a:hover { color: var(--c-orange); }

.phx-crumbs__sep {
  color: var(--c-line);
  font-family: var(--f-data);
}

/* 10. 分栏 */
.phx-split-7-5 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.phx-split-8-4 {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

/* 11. 网格刻度底纹 */
.phx-grid-bg {
  background-image:
    linear-gradient(to right, rgba(51, 55, 63, .6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 55, 63, .6) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
}

/* 12. 图片容器（页面阶段放入 img / svg） */
.phx-figure {
  position: relative;
  border: var(--line-w) solid var(--c-line);
  background-color: var(--c-panel);
  overflow: hidden;
}

.phx-figure__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--c-panel);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(30, 32, 38, 1) 0 12px,
    rgba(20, 21, 25, 1) 12px 24px
  );
}

.phx-figure--wide .phx-figure__img { aspect-ratio: 16 / 9; }
.phx-figure--portrait .phx-figure__img { aspect-ratio: 3 / 4; }

.phx-figure__cap {
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-mid);
  padding: 10px 14px;
  border-top: 1px solid var(--c-line);
  background-color: var(--c-surface);
}

/* 13. 标签 chip */
.phx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--c-line);
  background-color: var(--c-surface);
  color: var(--c-ink);
  font-family: var(--f-data);
  font-size: 12.5px;
  letter-spacing: .06em;
  line-height: 1.2;
  transition: border-color .18s var(--ease), color .18s var(--ease),
              background-color .18s var(--ease);
}

.phx-chip:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}

.phx-chip[aria-pressed="true"],
.phx-chip.is-active {
  border-color: var(--c-orange);
  background-color: rgba(255, 74, 23, .12);
  color: var(--c-orange);
}

/* 14. 表格 */
.phx-table-wrap {
  overflow-x: auto;
  border: var(--line-w) solid var(--c-line);
  background-color: var(--c-panel);
  -webkit-overflow-scrolling: touch;
}

.phx-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-family: var(--f-data);
  font-size: 14px;
  font-variant-numeric: tabular-nums slashed-zero;
}

.phx-table th,
.phx-table td {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-line);
}

.phx-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--c-surface);
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: .06em;
}

.phx-table tbody tr:last-child td { border-bottom: 0; }

.phx-table tbody tr:hover td { background-color: rgba(255, 74, 23, .07); }

.phx-table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--c-orange);
}

.phx-table th:first-child,
.phx-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: var(--c-panel);
}

.phx-table thead th:first-child {
  z-index: 3;
  background-color: var(--c-surface);
}

/* 15. 技能树节点与时间轴 */
.phx-node {
  position: relative;
  padding-left: 28px;
  padding-bottom: 18px;
}

.phx-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--c-line);
  background-color: var(--c-panel);
  transform: rotate(45deg);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.phx-node::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(.5em + 14px);
  bottom: 2px;
  width: 2px;
  background-color: var(--c-line);
}

.phx-node:last-child::after { display: none; }

.phx-node:hover::before {
  border-color: var(--c-orange);
  background-color: var(--c-orange);
}

.phx-rail {
  border-left: var(--line-w) solid var(--c-line);
  padding-left: 24px;
  margin-left: 6px;
}

.phx-rail > li + li { margin-top: 22px; }

/* 16. 显现动效 */
.phx-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease-out, transform .2s ease-out;
}

.phx-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 页脚 ---------- */
.phx-footer {
  position: relative;
  background-color: var(--c-surface);
  border-top: var(--line-w) solid var(--c-line);
  margin-top: clamp(48px, 7vw, 96px);
}

.phx-footer::before {
  content: "";
  display: block;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--c-orange) 0 40px,
    transparent 40px 48px,
    var(--c-scorch) 48px 88px,
    transparent 88px 96px
  );
}

.phx-footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) 28px;
}

.phx-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 52px);
}

.phx-footer__block { min-width: 0; }

.phx-footer__block--brand {
  border-left: var(--line-w) solid var(--c-orange);
  padding-left: 20px;
}

.phx-footer__logo {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.02em;
  color: var(--c-bone);
  line-height: 1.2;
}

.phx-footer__intro {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-ink);
}

.phx-footer__brand-note {
  margin-top: 14px;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-mid);
}

.phx-footer__title {
  font-family: var(--f-data);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-mid);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}

.phx-footer__list li + li { margin-top: 9px; }

.phx-footer__list a {
  font-size: 14.5px;
  color: var(--c-ink);
  transition: color .18s var(--ease);
}

.phx-footer__list a:hover,
.phx-footer__list a:focus-visible { color: var(--c-orange); }

.phx-footer__contact {
  display: inline-block;
  font-family: var(--f-data);
  font-size: 14px;
  color: var(--c-bone);
  letter-spacing: .02em;
  word-break: break-all;
}

.phx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  font-family: var(--f-data);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-mid);
}

.phx-footer__legal a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phx-footer__legal a:hover { color: var(--c-orange); }

.phx-footer__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-mid);
  max-width: 68ch;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1100px) {
  .phx-nav__link { font-size: 13.5px; }
  .phx-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 1000px) {
  .phx-nav-toggle { display: inline-flex; }

  .phx-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background-color: var(--c-surface);
    border-bottom: var(--line-w) solid var(--c-line);
    box-shadow: 0 6px 0 rgba(138, 36, 8, .55);
    transition: max-height .28s var(--ease), visibility .28s var(--ease);
  }

  .phx-header[data-open] .phx-nav {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    visibility: visible;
  }

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

  .phx-nav__link {
    display: block;
    padding: 15px var(--gutter);
    font-family: var(--f-display);
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid var(--c-line);
  }

  .phx-nav__link::after {
    left: 0;
    right: auto;
    bottom: 0;
    top: 0;
    width: 0;
    height: auto;
    transition: width .22s var(--ease);
  }

  .phx-nav__link:hover::after,
  .phx-nav__link[aria-current="page"]::after { right: auto; width: 4px; }

  .phx-utility__meta li:nth-child(2),
  .phx-utility__meta li:nth-child(3) { display: none; }

  .phx-split-7-5,
  .phx-split-8-4 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .phx-section__head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .phx-note--vertical {
    display: none;
  }
  .phx-footer__grid { grid-template-columns: 1fr 1fr; }
  .phx-footer__block--brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .phx-utility__meta { display: none; }
  .phx-utility__brand { font-size: 11.5px; letter-spacing: .1em; }
}

@media (max-width: 640px) {
  :root { --bar-h: 58px; }
  html { scroll-padding-top: 84px; }
  .phx-brand__sub { display: none; }
  .phx-brand__name { font-size: 17px; }
  .phx-bar__actions .phx-btn { display: none; }
  .phx-footer__grid { grid-template-columns: 1fr; }
  .phx-footer__legal { flex-direction: column; }
  .phx-prose,
  .phx-lede { max-width: none; }
}

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

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

  .phx-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .phx-progress__bar { transition: none; }
}
