/* ============================================================
   凤凰体育安装 · 共享样式 /assets/site.css
   1 reset · 2 tokens · 3 base type · 4 layout · 5 buttons
   6 marks · 7 panels/grid/media · 8 index/disc/toc/crumbs/band
   9 header · 10 footer · 11 back-to-top · 12 responsive · 13 a11y
   ============================================================ */

/* ---------- 1. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }

/* ---------- 2. tokens ---------- */
:root {
  --c-flame: #E4572E;
  --c-flame-deep: #C9451F;
  --c-ink: #10243E;
  --c-gold: #F2B544;
  --c-steel: #6B7C86;
  --c-sand: #F6F1E7;
  --c-paper: #FBF8F2;
  --c-coal: #1A1D21;
  --c-ember: #F7A072;
  --c-mist: #C9D6DF;
  --c-teal: #2F8F83;

  --fx-font-sans: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --fx-font-mono: "Roboto Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fx-maxw: 1240px;
  --fx-gutter: clamp(1.1rem, 4vw, 3rem);
  --fx-header-h: 72px;
  --fx-radius: 22px;
  --fx-radius-sm: 10px;
  --fx-ease: cubic-bezier(.22, .61, .36, 1);
  --fx-hair: rgba(16, 36, 62, .13);
  --fx-hair-light: rgba(201, 214, 223, .16);
}

/* ---------- 3. base type ---------- */
body {
  min-height: 100vh;
  background: var(--c-sand);
  color: var(--c-ink);
  font-family: var(--fx-font-sans);
  font-size: clamp(1rem, .965rem + .18vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -.012em; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
#main-content { scroll-margin-top: calc(var(--fx-header-h) + 12px); }
:where(section, article, div, aside)[id] { scroll-margin-top: calc(var(--fx-header-h) + 20px); }
body.fx-nav-locked { overflow: hidden; }

/* ---------- 4. layout utilities ---------- */
.fx-container {
  width: 100%;
  max-width: var(--fx-maxw);
  margin-inline: auto;
  padding-inline: var(--fx-gutter);
}
.fx-section { padding-block: clamp(2.75rem, 6.5vw, 5.5rem); }
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--fx-font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.fx-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-flame); }
.fx-display {
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.fx-title { font-size: clamp(1.55rem, 3.4vw, 2.5rem); font-weight: 800; }
.fx-lead { max-width: 68ch; color: var(--c-steel); font-size: clamp(1rem, 1.15vw, 1.12rem); }
.fx-rule { height: 1px; border: 0; background: var(--fx-hair); }
.fx-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .62rem;
  border-radius: 999px;
  background: rgba(16, 36, 62, .07);
  color: var(--c-ink);
  font-family: var(--fx-font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  line-height: 1.5;
}
.fx-tag--gold { background: rgba(242, 181, 68, .24); color: #7A5206; }
.fx-tag--flame { background: rgba(228, 87, 46, .14); color: #A83A18; }
.fx-grid { display: grid; gap: clamp(1rem, 2.4vw, 2rem); }
.fx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 5. buttons ---------- */
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s var(--fx-ease), color .15s var(--fx-ease),
              border-color .15s var(--fx-ease), transform .15s var(--fx-ease);
}
.fx-btn--primary {
  background: var(--c-flame);
  color: #FFF8F4;
  box-shadow: 0 12px 26px -14px rgba(228, 87, 46, .9);
}
.fx-btn--primary:hover { background: var(--c-flame-deep); transform: translateY(-1px); }
.fx-btn--ghost { color: var(--c-ink); border-color: rgba(16, 36, 62, .26); }
.fx-btn--ghost:hover { border-color: var(--c-ink); background: rgba(16, 36, 62, .06); }
.fx-btn--ghost-invert { color: var(--c-paper); border-color: rgba(251, 248, 242, .38); }
.fx-btn--ghost-invert:hover { border-color: var(--c-gold); color: var(--c-gold); }
.fx-btn--block { width: 100%; }

/* ---------- 6. panels / media ---------- */
.fx-panel {
  padding: clamp(1.15rem, 2.4vw, 2rem);
  background: var(--c-paper);
  border: 1px solid rgba(16, 36, 62, .09);
  border-radius: var(--fx-radius);
}
.fx-panel--ink { background: var(--c-ink); color: var(--c-paper); border-color: var(--fx-hair-light); }
.fx-panel--ink .fx-lead { color: var(--c-mist); }
.fx-panel--sand { background: var(--c-sand); border-color: var(--fx-hair); }

.fx-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--fx-radius);
  background: linear-gradient(150deg, var(--c-mist), rgba(201, 214, 223, .45));
  isolation: isolate;
}
.fx-media img,
.fx-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--fx-ease);
}
.fx-media--zoom:hover img { transform: scale(1.045); }
.fx-media--16x9 { aspect-ratio: 16 / 9; }
.fx-media--4x3 { aspect-ratio: 4 / 3; }
.fx-media--1x1 { aspect-ratio: 1 / 1; }
.fx-media--3x4 { aspect-ratio: 3 / 4; }
.fx-media__badge {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  padding: .22rem .5rem;
  border-radius: 6px;
  background: rgba(26, 29, 33, .84);
  color: var(--c-gold);
  font-family: var(--fx-font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  line-height: 1.5;
}
.fx-media__scrim {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem .9rem;
  background: linear-gradient(180deg, rgba(16, 36, 62, 0), rgba(16, 36, 62, .78));
  color: var(--c-paper);
  font-size: .88rem;
  line-height: 1.55;
}

/* ---------- 7. index / disclosure / toc / crumbs / band ---------- */
.fx-index { display: grid; }
.fx-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: .95rem 0;
  border-top: 1px solid var(--fx-hair);
}
.fx-index__item:last-child { border-bottom: 1px solid var(--fx-hair); }
.fx-index__num {
  font-family: var(--fx-font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--c-flame);
}
.fx-index__link { font-size: 1.02rem; font-weight: 700; text-decoration: none; color: var(--c-ink); }
.fx-index__link:hover { color: var(--c-flame); }
.fx-index__meta { font-family: var(--fx-font-mono); font-size: .74rem; color: var(--c-steel); }

.fx-disc { border-top: 1px solid var(--fx-hair); }
.fx-disc:last-child { border-bottom: 1px solid var(--fx-hair); }
.fx-disc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem .2rem;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
  transition: color .14s var(--fx-ease);
}
.fx-disc__btn:hover { color: var(--c-flame); }
.fx-disc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(16, 36, 62, .3);
  border-radius: 50%;
  color: var(--c-ink);
}
.fx-disc__icon::before,
.fx-disc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform .2s var(--fx-ease), opacity .2s var(--fx-ease);
}
.fx-disc__icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.fx-disc__icon::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.fx-disc[data-open="true"] .fx-disc__icon { color: var(--c-flame); border-color: var(--c-flame); }
.fx-disc[data-open="true"] .fx-disc__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.fx-disc__panel { height: 0; overflow: hidden; transition: height .24s var(--fx-ease); }
.fx-disc__inner { padding: 0 .2rem 1.3rem; color: var(--c-steel); max-width: 72ch; }

.fx-toc { display: grid; gap: .1rem; }
.fx-toc__link {
  display: block;
  padding: .48rem 0 .48rem .9rem;
  border-left: 2px solid rgba(16, 36, 62, .12);
  color: var(--c-steel);
  font-size: .9rem;
  text-decoration: none;
  transition: color .14s var(--fx-ease), border-color .14s var(--fx-ease);
}
.fx-toc__link:hover { color: var(--c-ink); border-color: var(--c-mist); }
.fx-toc__link[aria-current="true"] { color: var(--c-ink); font-weight: 700; border-color: var(--c-flame); }

.fx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-family: var(--fx-font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--c-steel);
}
.fx-crumbs__link { color: var(--c-steel); text-decoration: none; }
.fx-crumbs__link:hover { color: var(--c-flame); }
.fx-crumbs__sep { color: rgba(107, 124, 134, .55); }
.fx-crumbs__here { color: var(--c-ink); }
.fx-crumbs--invert { color: rgba(201, 214, 223, .78); }
.fx-crumbs--invert .fx-crumbs__link { color: rgba(251, 248, 242, .82); }
.fx-crumbs--invert .fx-crumbs__here { color: var(--c-paper); }
.fx-crumbs--invert .fx-crumbs__sep { color: rgba(201, 214, 223, .4); }

.fx-band {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.fx-band > * { flex: 0 0 auto; scroll-snap-align: start; }

/* ---------- 8. header ---------- */
.fx-skip {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 200;
  padding: .62rem 1.05rem;
  border-radius: 0 0 10px 10px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .16s var(--fx-ease);
}
.fx-skip:focus-visible { transform: translateY(0); outline: 2px solid var(--c-gold); outline-offset: 2px; }

.fx-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--c-paper);
  background: transparent;
  transition: background-color .16s var(--fx-ease), box-shadow .16s var(--fx-ease);
}
.fx-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 36, 62, .9) 0%, rgba(16, 36, 62, .52) 58%, rgba(16, 36, 62, 0) 100%);
  transition: opacity .16s var(--fx-ease);
}
.fx-header[data-scrolled="true"] {
  background: var(--c-ink);
  box-shadow: 0 1px 0 var(--fx-hair-light), 0 16px 34px -24px rgba(16, 36, 62, .9);
}
.fx-header[data-scrolled="true"]::before { opacity: 0; }
.fx-header[data-open="true"] { background: var(--c-ink); }
.fx-header[data-open="true"]::before { opacity: 0; }

.fx-header__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 72px;
  padding-block: .55rem;
}

.fx-brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}
.fx-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(142deg, var(--c-flame), var(--c-ember));
  color: #FFF7F2;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 8px 20px -10px rgba(228, 87, 46, .95);
}
.fx-brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.fx-brand__name { font-size: .99rem; font-weight: 800; letter-spacing: .015em; }
.fx-brand__sub {
  margin-top: 3px;
  font-family: var(--fx-font-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--c-mist);
}

.fx-nav { margin-inline: auto; }
.fx-nav__list { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.3rem); }
.fx-nav__item { display: block; }
.fx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .42rem;
  padding: .55rem .15rem .62rem;
  color: rgba(251, 248, 242, .84);
  font-size: .91rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .14s var(--fx-ease);
}
.fx-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s var(--fx-ease);
}
.fx-nav__link:hover,
.fx-nav__link:focus-visible { color: #FFFFFF; }
.fx-nav__link:hover::after,
.fx-nav__link:focus-visible::after { transform: scaleX(1); }
.fx-nav__link[aria-current="page"] { color: #FFFFFF; }
.fx-nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--c-flame); }
.fx-nav__idx {
  font-family: var(--fx-font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(242, 181, 68, .78);
}
.fx-nav__link[aria-current="page"] .fx-nav__idx { color: var(--c-flame); }
.fx-nav__label { white-space: nowrap; }
.fx-nav__aside { display: none; }
.fx-nav__note {
  font-family: var(--fx-font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.fx-header__actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; }
.fx-header__cta {
  display: inline-flex;
  align-items: center;
  padding: .58rem 1.1rem;
  border-radius: 999px;
  background: var(--c-flame);
  color: #FFF8F4;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s var(--fx-ease), transform .15s var(--fx-ease);
}
.fx-header__cta:hover { background: var(--c-flame-deep); transform: translateY(-1px); }

.fx-nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .52rem .85rem;
  border: 1px solid rgba(251, 248, 242, .34);
  border-radius: 999px;
  color: var(--c-paper);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s var(--fx-ease), color .15s var(--fx-ease);
}
.fx-nav-toggle:hover { border-color: var(--c-gold); color: var(--c-gold); }
.fx-nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.fx-nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .18s var(--fx-ease), opacity .18s var(--fx-ease);
}
.fx-header[data-open="true"] .fx-nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.fx-header[data-open="true"] .fx-nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }
.fx-nav-toggle__label { position: relative; }
.fx-nav-toggle__close { display: none; }
.fx-header[data-open="true"] .fx-nav-toggle__open { display: none; }
.fx-header[data-open="true"] .fx-nav-toggle__close { display: inline; }

.fx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(251, 248, 242, .16);
}
.fx-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-flame));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .1s linear;
}

/* ---------- 9. footer ---------- */
.fx-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-coal);
  color: rgba(201, 214, 223, .84);
}
.fx-footer::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(62% 100% at 20% 100%, rgba(228, 87, 46, .32), rgba(228, 87, 46, 0) 70%),
    radial-gradient(52% 90% at 88% 0%, rgba(242, 181, 68, .14), rgba(242, 181, 68, 0) 74%);
}
.fx-footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}
.fx-footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.fx-brand--footer .fx-brand__name { font-size: 1.05rem; }
.fx-brand--footer .fx-brand__sub { color: rgba(201, 214, 223, .62); }
.fx-footer__line { max-width: 34ch; font-size: .95rem; line-height: 1.8; color: rgba(251, 248, 242, .78); }
.fx-footer__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fx-font-mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: rgba(201, 214, 223, .72);
}
.fx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(47, 143, 131, .22);
}
.fx-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.fx-footer__group { min-width: 0; }
.fx-footer__title {
  margin-bottom: .9rem;
  font-family: var(--fx-font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.fx-footer__list { display: grid; gap: .55rem; }
.fx-footer__list--plain { gap: .7rem; font-size: .88rem; line-height: 1.65; }
.fx-footer__link {
  display: inline-block;
  color: rgba(251, 248, 242, .8);
  font-size: .93rem;
  text-decoration: none;
  transition: color .14s var(--fx-ease);
}
.fx-footer__link:hover,
.fx-footer__link:focus-visible {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.fx-footer__k {
  display: block;
  font-family: var(--fx-font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: rgba(201, 214, 223, .55);
}
.fx-footer__bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding-block: 1.15rem 1.5rem;
  border-top: 1px solid var(--fx-hair-light);
}
.fx-footer__legal {
  font-family: var(--fx-font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  color: rgba(201, 214, 223, .62);
}

/* ---------- 10. back to top ---------- */
.fx-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  border: 1px solid rgba(201, 214, 223, .3);
  border-radius: 999px;
  color: rgba(251, 248, 242, .86);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s var(--fx-ease), color .15s var(--fx-ease);
}
.fx-top:hover { border-color: var(--c-gold); color: var(--c-gold); }
.fx-top__arrow { font-family: var(--fx-font-mono); line-height: 1; }

/* ---------- 11. responsive ---------- */
@media (max-width: 1180px) {
  .fx-nav__idx { display: none; }
  .fx-nav__link { font-size: .88rem; }
}
@media (max-width: 1024px) {
  .fx-header__cta { display: none; }
}
@media (max-width: 980px) {
  :root { --fx-header-h: 62px; }
  .fx-header__grid { min-height: 62px; }
  .fx-nav-toggle { display: inline-flex; }
  .fx-brand__sub { display: none; }

  .fx-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--fx-header-h);
    max-height: calc(100dvh - var(--fx-header-h));
    margin-inline: 0;
    padding: 1.1rem var(--fx-gutter) 2rem;
    overflow-y: auto;
    background: var(--c-ink);
    border-top: 1px solid var(--fx-hair-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s var(--fx-ease), transform .18s var(--fx-ease), visibility .18s var(--fx-ease);
  }
  .fx-nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .fx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fx-nav__link {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    width: 100%;
    padding: .95rem 0;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(201, 214, 223, .12);
  }
  .fx-nav__link::after { display: none; }
  .fx-nav__idx { display: inline; font-size: .72rem; color: rgba(242, 181, 68, .72); }
  .fx-nav__link[aria-current="page"] { color: var(--c-flame); }
  .fx-nav__aside {
    display: grid;
    gap: .8rem;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(201, 214, 223, .12);
  }

  .fx-grid--2,
  .fx-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .fx-footer__top { grid-template-columns: minmax(0, 1fr); }
  .fx-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fx-footer__nav { grid-template-columns: minmax(0, 1fr); }
  .fx-footer__bar { justify-content: flex-start; }
  .fx-index__item { grid-template-columns: auto minmax(0, 1fr); }
  .fx-index__meta { grid-column: 2; }
}

/* ---------- 12. a11y ---------- */
:where(a, button, [tabindex], summary):focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.fx-nav__link:focus-visible::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .fx-media--zoom:hover img { transform: none; }
}
