/* ==========================================================================
   凤凰体育官网 · 共享外壳样式 /assets/site.css
   母题：赛前更衣室战术板 × 转播数据墙
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --phx-obsidian: #0A0C10;
  --phx-rock: #14171D;
  --phx-mineral: #262B33;
  --phx-flame: #FF6B1F;
  --phx-flame-soft: #FF8340;
  --phx-ember: #C2261B;
  --phx-ember-ink: #E4645A;
  --phx-clay: #B4733C;
  --phx-moss: #6F8F5C;
  --phx-steel: #8095AC;
  --phx-mist: #6E747E;
  --phx-cream: #F3EEE5;
  --phx-ink: #C7C2B9;

  --phx-font-display: "Oswald", "Noto Sans SC Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --phx-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --phx-font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --phx-font-body: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --phx-shell: 1320px;
  --phx-gutter: 32px;
  --phx-radius: 14px;
  --phx-header-h: 72px;
  --phx-header-h-compact: 56px;
  --phx-ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

ul, ol { list-style: none; }

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

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

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

table { border-collapse: collapse; border-spacing: 0; }

summary { cursor: pointer; }

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--phx-obsidian);
  background-image:
    radial-gradient(940px 520px at 6% -12%, rgba(255, 107, 31, .085), transparent 62%),
    radial-gradient(760px 480px at 102% 1%, rgba(128, 149, 172, .07), transparent 64%);
  background-repeat: no-repeat;
  color: var(--phx-ink);
  font-family: var(--phx-font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { color: var(--phx-cream); text-wrap: balance; }

p { text-wrap: pretty; }

strong { color: var(--phx-cream); font-weight: 600; }

::selection { background: rgba(255, 107, 31, .32); color: var(--phx-cream); }

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

/* ---------- 4. 跳转链接 ---------- */
.phx-skip {
  position: absolute;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  z-index: 140;
  padding: 11px 22px;
  border-radius: 0 0 6px 6px;
  background: var(--phx-flame);
  color: var(--phx-obsidian);
  font-family: var(--phx-font-display);
  font-size: 14px;
  letter-spacing: .1em;
  transition: top .2s var(--phx-ease);
}

.phx-skip:focus { top: 0; }

/* ---------- 5. 头部 ---------- */
.phx-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 12, 16, .93);
  border-bottom: 1px solid var(--phx-mineral);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color .28s var(--phx-ease), border-color .28s var(--phx-ease);
}

.phx-header.is-condensed {
  background: rgba(10, 12, 16, .97);
  border-bottom-color: rgba(38, 43, 51, .9);
}

.phx-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--phx-shell);
  margin: 0 auto;
  padding: 12px var(--phx-gutter);
  min-height: var(--phx-header-h);
  transition: min-height .28s var(--phx-ease), padding .28s var(--phx-ease);
}

.phx-header.is-condensed .phx-header__inner {
  min-height: var(--phx-header-h-compact);
  padding-top: 6px;
  padding-bottom: 6px;
}

/* 品牌块 */
.phx-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.phx-brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.phx-brand__mark {
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--phx-flame);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transition: transform .3s var(--phx-ease);
}

.phx-brand__link:hover .phx-brand__mark { transform: rotate(90deg); }

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

.phx-brand__name {
  font-family: var(--phx-font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.25;
  color: var(--phx-cream);
  white-space: nowrap;
}

.phx-brand__meta {
  font-family: var(--phx-font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--phx-steel);
  white-space: nowrap;
  transition: opacity .24s var(--phx-ease);
}

.phx-header.is-condensed .phx-brand__meta { opacity: .55; }

.phx-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--phx-mineral);
  border-radius: 999px;
  background: var(--phx-rock);
  font-family: var(--phx-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--phx-steel);
}

.phx-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phx-flame);
  box-shadow: 0 0 0 3px rgba(255, 107, 31, .16);
  animation: phx-pulse 2.4s ease-in-out infinite;
}

@keyframes phx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .34; }
}

/* 导航 */
.phx-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

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

.phx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-family: var(--phx-font-display);
  font-size: 14px;
  letter-spacing: .09em;
  color: var(--phx-steel);
  white-space: nowrap;
  transition: color .2s var(--phx-ease);
}

.phx-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--phx-flame);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--phx-ease);
}

.phx-nav__link:hover { color: var(--phx-cream); }
.phx-nav__link:hover::after { transform: scaleX(1); }

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

.phx-nav__cta {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--phx-flame);
  color: var(--phx-obsidian);
  font-family: var(--phx-font-display);
  font-size: 14px;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background-color .2s var(--phx-ease), color .2s var(--phx-ease);
}

.phx-nav__cta:hover { background: var(--phx-flame-soft); }

/* 移动端按钮 */
.phx-nav__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 9px 13px;
  border: 1px solid var(--phx-mineral);
  border-radius: 5px;
  background: var(--phx-rock);
  color: var(--phx-cream);
  font-family: var(--phx-font-display);
  font-size: 13px;
  letter-spacing: .12em;
  transition: border-color .2s var(--phx-ease), background-color .2s var(--phx-ease);
}

.phx-nav__toggle:hover { border-color: var(--phx-steel); }

.phx-nav__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 15px;
}

.phx-nav__bars i {
  display: block;
  height: 1.5px;
  background: var(--phx-flame);
  transition: transform .24s var(--phx-ease);
}

.phx-nav__toggle[aria-expanded="true"] .phx-nav__bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.phx-nav__toggle[aria-expanded="true"] .phx-nav__bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* 阅读进度 */
.phx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  display: block;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--phx-ember), var(--phx-flame));
  opacity: 0;
  transition: opacity .3s var(--phx-ease);
  pointer-events: none;
}

.phx-header.is-condensed .phx-progress { opacity: 1; }

/* ---------- 6. 页脚 ---------- */
.phx-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 9vw, 112px);
  background: var(--phx-rock);
  border-top: 1px solid var(--phx-mineral);
  color: var(--phx-steel);
}

.phx-footer__scale {
  height: 14px;
  border-bottom: 1px solid var(--phx-mineral);
  background-image: repeating-linear-gradient(
    to right,
    var(--phx-mineral) 0 1px,
    transparent 1px 24px
  );
  background-size: 100% 6px;
  background-position: left top;
  background-repeat: repeat-x;
}

.phx-footer__inner {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 2fr;
  gap: 40px 32px;
  width: 100%;
  max-width: var(--phx-shell);
  margin: 0 auto;
  padding: 46px var(--phx-gutter) 38px;
}

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

.phx-footer__brand {
  font-family: var(--phx-font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  color: var(--phx-cream);
}

.phx-footer__note {
  margin-top: 12px;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--phx-mist);
}

.phx-rhythm { margin-top: 20px; }

.phx-rhythm__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(38, 43, 51, .9);
}

.phx-rhythm__key {
  font-family: var(--phx-font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--phx-steel);
}

.phx-rhythm__value {
  font-family: var(--phx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--phx-flame);
  white-space: nowrap;
}

.phx-footer__title {
  margin-bottom: 16px;
  font-family: var(--phx-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--phx-steel);
  text-transform: uppercase;
}

.phx-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phx-footer__list--plain li {
  font-family: var(--phx-font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--phx-mist);
  word-break: break-word;
}

.phx-footer__link {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  color: var(--phx-steel);
  transition: color .2s var(--phx-ease), transform .2s var(--phx-ease);
}

.phx-footer__link:hover {
  color: var(--phx-flame);
  transform: translateX(3px);
}

.phx-footer__icp {
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--phx-mist);
}

.phx-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--phx-shell);
  margin: 0 auto;
  padding: 18px var(--phx-gutter) 26px;
  border-top: 1px solid var(--phx-mineral);
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--phx-mist);
}

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

.phx-section { padding: clamp(48px, 7vw, 88px) 0; }

.phx-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--phx-mineral);
}

/* ---------- 8. 排版元件 ---------- */
.phx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--phx-font-display);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--phx-flame);
}

.phx-eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--phx-flame);
}

.phx-h1 {
  font-family: var(--phx-font-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.008em;
  color: var(--phx-cream);
}

.phx-h2 {
  font-family: var(--phx-font-serif);
  font-size: clamp(25px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--phx-cream);
}

.phx-h3 {
  font-family: var(--phx-font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: .02em;
  color: var(--phx-cream);
}

.phx-lede {
  max-width: 34em;
  font-size: 18px;
  line-height: 1.8;
  color: var(--phx-steel);
}

.phx-copy {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.78;
  color: var(--phx-ink);
}

.phx-copy + .phx-copy { margin-top: 18px; }

.phx-index {
  font-family: var(--phx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--phx-flame);
}

.phx-num {
  font-family: var(--phx-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

/* ---------- 9. 按钮与标签 ---------- */
.phx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--phx-flame);
  color: var(--phx-obsidian);
  font-family: var(--phx-font-display);
  font-size: 15px;
  letter-spacing: .09em;
  transition: background-color .2s var(--phx-ease), color .2s var(--phx-ease),
              border-color .2s var(--phx-ease), transform .2s var(--phx-ease);
}

.phx-btn:hover { background: var(--phx-flame-soft); transform: translateY(-1px); }

.phx-btn--ghost {
  background: transparent;
  border-color: var(--phx-mineral);
  color: var(--phx-cream);
}

.phx-btn--ghost:hover {
  background: var(--phx-rock);
  border-color: var(--phx-steel);
}

.phx-btn--ember {
  background: var(--phx-ember);
  color: var(--phx-cream);
}

.phx-btn--ember:hover { background: #D9301F; }

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

.phx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--phx-mineral);
  border-radius: 999px;
  background: var(--phx-obsidian);
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--phx-steel);
  white-space: nowrap;
}

.phx-tag--flame { border-color: rgba(255, 107, 31, .42); color: var(--phx-flame); }
.phx-tag--moss { border-color: rgba(111, 143, 92, .48); color: var(--phx-moss); }
.phx-tag--ember { border-color: rgba(194, 38, 27, .55); color: var(--phx-ember-ink); }

/* ---------- 10. 面包屑 ---------- */
.phx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--phx-mist);
}

.phx-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phx-breadcrumb li + li::before {
  content: "/";
  color: var(--phx-mineral);
}

.phx-breadcrumb a { transition: color .2s var(--phx-ease); }
.phx-breadcrumb a:hover { color: var(--phx-flame); }
.phx-breadcrumb [aria-current="page"] { color: var(--phx-steel); }

/* ---------- 11. Bento 与卡片 ---------- */
.phx-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.phx-bento__cell {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--phx-mineral);
  border-radius: var(--phx-radius);
  background: var(--phx-rock);
}

.phx-bento__cell--span-4 { grid-column: span 4; }
.phx-bento__cell--span-6 { grid-column: span 6; }
.phx-bento__cell--span-7 { grid-column: span 7; }
.phx-bento__cell--span-8 { grid-column: span 8; }
.phx-bento__cell--span-12 { grid-column: span 12; }

.phx-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--phx-mineral);
  border-radius: var(--phx-radius);
  background: var(--phx-rock);
}

.phx-slab {
  padding: 22px;
  border-radius: 18px;
  background: var(--phx-clay);
  color: var(--phx-obsidian);
}

.phx-slab--moss { background: var(--phx-moss); color: var(--phx-obsidian); }
.phx-slab--ember { background: var(--phx-ember); color: var(--phx-cream); }

/* ---------- 12. 对照表 ---------- */
.phx-table {
  width: 100%;
  font-size: 15px;
}

.phx-table caption {
  padding-bottom: 12px;
  font-family: var(--phx-font-display);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--phx-steel);
  text-align: left;
  text-transform: uppercase;
}

.phx-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--phx-mineral);
  font-family: var(--phx-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--phx-steel);
  text-align: left;
  text-transform: uppercase;
}

.phx-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(38, 43, 51, .72);
  color: var(--phx-ink);
  vertical-align: middle;
}

.phx-table tbody tr:nth-child(even) { background: rgba(38, 43, 51, .3); }

.phx-table .phx-num { text-align: right; }

/* ---------- 13. 横向归档带 ---------- */
.phx-rail-wrap {
  position: relative;
  overflow: hidden;
}

.phx-rail-wrap::before,
.phx-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 18px;
  width: 52px;
  z-index: 2;
  pointer-events: none;
}

.phx-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--phx-obsidian), rgba(10, 12, 16, 0));
}

.phx-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--phx-obsidian), rgba(10, 12, 16, 0));
}

.phx-rail {
  display: flex;
  gap: 14px;
  padding: 4px var(--phx-gutter) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--phx-mineral) transparent;
}

.phx-rail::-webkit-scrollbar { height: 6px; }
.phx-rail::-webkit-scrollbar-track { background: transparent; }
.phx-rail::-webkit-scrollbar-thumb {
  background: var(--phx-mineral);
  border-radius: 999px;
}

.phx-rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ---------- 14. 可展开内容组 ---------- */
.phx-fold {
  border: 1px solid var(--phx-mineral);
  border-radius: 10px;
  background: var(--phx-rock);
  overflow: hidden;
}

.phx-fold + .phx-fold { margin-top: 10px; }

.phx-fold > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  list-style: none;
  font-family: var(--phx-font-display);
  font-size: 16px;
  letter-spacing: .05em;
  color: var(--phx-cream);
  transition: background-color .2s var(--phx-ease);
}

.phx-fold > summary::-webkit-details-marker { display: none; }
.phx-fold > summary:hover { background: rgba(38, 43, 51, .55); }

.phx-fold > summary::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phx-mist);
  transition: background-color .24s var(--phx-ease), box-shadow .24s var(--phx-ease);
}

.phx-fold[open] > summary::before {
  background: var(--phx-flame);
  box-shadow: 0 0 0 4px rgba(255, 107, 31, .16);
}

.phx-fold > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--phx-font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--phx-steel);
}

.phx-fold[open] > summary::after { content: "–"; }

.phx-fold__body {
  padding: 0 20px 20px;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--phx-ink);
}

/* ---------- 15. 框景与刻度 ---------- */
.phx-frame {
  position: relative;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid var(--phx-mineral);
  border-radius: 6px;
}

.phx-frame::before,
.phx-frame::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--phx-flame);
}

.phx-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.phx-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.phx-scale {
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    var(--phx-mineral) 0 1px,
    transparent 1px 18px
  );
}

/* ---------- 16. 图片容器（供页面阶段放图） ---------- */
.phx-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--phx-mineral);
  border-radius: 2px;
  background: var(--phx-rock);
}

.phx-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06) brightness(.88);
}

.phx-figure--16x9 { aspect-ratio: 16 / 9; }
.phx-figure--4x3 { aspect-ratio: 4 / 3; }
.phx-figure--1x1 { aspect-ratio: 1 / 1; }
.phx-figure--21x9 { aspect-ratio: 21 / 9; }

.phx-figure__cap {
  margin-top: 10px;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--phx-mist);
}

/* ---------- 17. 入场显隐 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s var(--phx-ease), transform .42s var(--phx-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1180px) {
  .phx-nav__link { padding: 9px 9px; font-size: 13.5px; }
  .phx-nav__link::after { left: 9px; right: 9px; }
}

@media (max-width: 1080px) {
  .phx-nav__toggle { display: inline-flex; }

  .phx-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--phx-header-h-compact));
    overflow-y: auto;
    padding: 8px var(--phx-gutter) 22px;
    background: var(--phx-rock);
    border-top: 1px solid var(--phx-mineral);
    border-bottom: 1px solid var(--phx-mineral);
  }

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

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

  .phx-nav__list li + li { border-top: 1px solid var(--phx-mineral); }

  .phx-nav__link {
    display: flex;
    justify-content: flex-start;
    padding: 15px 4px;
    font-size: 15px;
    letter-spacing: .1em;
  }

  .phx-nav__link::after {
    left: 4px;
    right: auto;
    width: 24px;
    bottom: 10px;
  }

  .phx-nav__cta {
    justify-content: center;
    margin: 16px 0 0;
    padding: 13px 16px;
    font-size: 15px;
  }
}

@media (max-width: 1040px) {
  .phx-footer__inner { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .phx-footer__col--lead { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --phx-gutter: 24px; }

  .phx-bento__cell--span-4,
  .phx-bento__cell--span-6,
  .phx-bento__cell--span-7,
  .phx-bento__cell--span-8 { grid-column: span 12; }

  .phx-bento { gap: 12px; }
}

@media (max-width: 640px) {
  :root { --phx-gutter: 20px; }

  body { font-size: 16px; }

  .phx-brand__meta { display: none; }
  .phx-brand__name { font-size: 16px; letter-spacing: .05em; }
  .phx-live { padding: 3px 8px; }

  .phx-footer__inner { grid-template-columns: 1fr; padding: 34px var(--phx-gutter) 28px; }
  .phx-footer__col--lead { grid-column: auto; }
  .phx-footer__base { flex-direction: column; align-items: flex-start; }

  .phx-section__head { align-items: flex-start; }
}

@media (max-width: 400px) {
  .phx-live { display: 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;
  }

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

  .phx-nav__cta:hover,
  .phx-btn:hover { transform: none; }
}
