/* ==========================================================================
   火博体育 · 共享样式表 /assets/site.css
   骨架：深湖蓝轨道 + 沙白内容 + 日落橙节奏 + 荧光绿状态
   ========================================================================== */

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

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

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

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

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

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

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

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

[hidden] { display: none !important; }

/* 2. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 色板 */
  --lake: #0B6E99;
  --deep: #073B57;
  --sunset: #F26B2B;
  --lime: #B7F34A;
  --char: #1D252C;
  --mist: #E6EDF2;
  --sand: #F7F9FA;
  --sky: #CDEBF7;
  --warm: #FFF8F2;
  --ink: #101418;

  /* 结构 */
  --rail-w: 254px;
  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 52px);
  --radius: 3px;
  --hair: 1px;
  --ease: cubic-bezier(.22, .68, .24, 1);
  --shadow-soft: 0 18px 42px -34px rgba(7, 59, 87, .8);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* 3. 基础排版
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--char);
  background: var(--sand);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 5.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }

strong { font-weight: 800; color: var(--ink); }

::selection {
  background: var(--sunset);
  color: var(--ink);
}

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

#main-content { scroll-margin-top: 84px; }

@media (min-width: 1024px) {
  #main-content { scroll-margin-top: 24px; }
}

/* 4. 跳过链接
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 400;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px var(--lime);
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* 5. 侧边轨道 / 头部
   -------------------------------------------------------------------------- */
.site-rail {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--deep);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-rail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--sunset) 0 38%,
    var(--lime) 38% 54%,
    var(--lake) 54% 100%);
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px var(--pad) 14px;
}

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

.brand-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  background: var(--sunset);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  transition: background .2s var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 52%;
  background: var(--lime);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.brand:hover .brand-mark { background: var(--lime); }
.brand:hover .brand-mark::after { background: var(--sunset); }

.brand-text { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.04rem;
  letter-spacing: .04em;
  line-height: 1.15;
  color: #fff;
}

.brand-desc {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--sunset);
  background: rgba(242, 107, 43, .16);
}

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background .2s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: top .24s var(--ease), transform .24s var(--ease);
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.site-rail[data-open] .nav-toggle-bar { background: transparent; }
.site-rail[data-open] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.site-rail[data-open] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* 导航 */
.rail-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 var(--pad);
  transition: max-height .36s var(--ease), opacity .24s var(--ease);
}

.site-rail[data-open] .rail-nav {
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  opacity: 1;
  padding-bottom: 12px;
}

.rail-nav-title {
  display: none;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .24em;
  color: var(--lime);
}

.rail-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.rail-num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .42);
  transition: color .18s var(--ease);
}

.rail-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-left-color: var(--sunset);
}

.rail-link:hover .rail-num { color: var(--sunset); }

.rail-link[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  border-left-color: var(--sunset);
}

.rail-link[aria-current="page"] .rail-num { color: var(--deep); }

/* 轨道底部 */
.rail-foot {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px var(--pad) 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .12);
}

.site-rail[data-open] .rail-foot {
  display: flex;
  padding-inline: var(--pad);
}

.rail-note {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .55);
}

.rail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--sunset);
  color: var(--ink);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background .18s var(--ease), transform .18s var(--ease);
}

.rail-cta::after { content: "→"; font-family: var(--font-mono); }

.rail-cta:hover {
  background: var(--lime);
  transform: translateX(2px);
}

/* 桌面端：轨道常驻 */
@media (min-width: 1024px) {
  body { padding-inline-start: var(--rail-w); }

  .site-rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 0;
    border-inline-end: 1px solid rgba(255, 255, 255, .14);
    padding-block-start: 20px;
    overflow: hidden;
  }

  .rail-top {
    flex-wrap: wrap;
    padding: 14px 20px 18px;
  }

  .nav-toggle { display: none; }

  .rail-nav {
    flex: 1 1 auto;
    max-height: none;
    opacity: 1;
    overflow-y: auto;
    padding: 8px 16px 20px;
  }

  .rail-nav-title { display: block; }

  .rail-nav-list { gap: 4px; }

  .rail-link {
    padding: 11px 12px 11px 14px;
    font-size: .93rem;
  }

  .rail-foot { display: flex; }
}

/* 6. 页脚
   -------------------------------------------------------------------------- */
.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: rgba(255, 255, 255, .74);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(520px, 62%);
  height: 100%;
  background: linear-gradient(155deg, rgba(242, 107, 43, .22), rgba(11, 110, 153, 0) 68%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.site-foot .wrap { position: relative; z-index: 1; }

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 42px);
  padding-block: clamp(42px, 6vw, 76px) clamp(28px, 4vw, 44px);
}

.foot-brand { display: flex; flex-direction: column; gap: 10px; }

.foot-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  background: var(--sunset);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 64% 100%, 0 100%);
}

.foot-brandline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.3;
  color: #fff;
  letter-spacing: .01em;
}

.foot-meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

.foot-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .24em;
  color: var(--lime);
}

.foot-list { display: flex; flex-direction: column; gap: 9px; }

.foot-list li { font-size: .93rem; line-height: 1.6; }

.foot-list a {
  display: inline-block;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.foot-list a:hover {
  color: #fff;
  border-bottom-color: var(--sunset);
}

.foot-list--plain li {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .78);
  word-break: break-word;
}

.foot-list--plain .foot-meta { font-family: var(--font-body); letter-spacing: 0; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
}

@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.35fr 1fr 1fr; }
  .foot-contact { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr .9fr 1.15fr; }
  .foot-contact { grid-column: auto; }
}

/* 7. 页面通用容器与章节
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(38px, 6vw, 84px); }

.section--alt { background: var(--warm); }

.section--deep {
  background: var(--deep);
  color: rgba(255, 255, 255, .8);
}

.section--deep h1,
.section--deep h2,
.section--deep h3 { color: #fff; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--lake);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--sunset);
  transform: skewX(-24deg);
}

.lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.75;
  color: #3a4650;
}

/* 8. 按钮与链接
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .94rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.btn--primary { background: var(--sunset); color: var(--ink); }
.btn--primary:hover { background: var(--lime); transform: translateY(-1px); }

.btn--solid { background: var(--lake); color: #fff; }
.btn--solid:hover { background: var(--deep); transform: translateY(-1px); }

.btn--ghost {
  border-color: rgba(29, 37, 44, .18);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--sunset);
  color: var(--sunset);
  background: var(--warm);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--lake);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease), gap .18s var(--ease);
}

.link-arrow::after { content: "→"; font-family: var(--font-mono); }

.link-arrow:hover {
  color: var(--sunset);
  border-bottom-color: var(--sunset);
  gap: 11px;
}

/* 9. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-block: 18px 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(29, 37, 44, .55);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--sunset);
  font-size: .95rem;
}

.breadcrumb a {
  color: var(--lake);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.breadcrumb a:hover {
  color: var(--sunset);
  border-bottom-color: var(--sunset);
}

/* 10. 正文排版
   -------------------------------------------------------------------------- */
.prose {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.78;
  color: #303b45;
}

.prose > * + * { margin-top: 1em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.prose h3 { margin-top: 1.6em; }

.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--lake);
  border-bottom: 1px solid var(--sky);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.prose a:hover { color: var(--sunset); border-bottom-color: var(--sunset); }

.prose blockquote {
  padding: 14px 18px;
  border-left: 3px solid var(--sunset);
  background: var(--warm);
  color: #35414b;
}

/* 11. 网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

/* 12. 卡片 / 标签
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 26px);
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.card:hover {
  border-color: var(--sunset);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
}

.card-meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--lake);
}

.card-text { font-size: .94rem; line-height: 1.7; color: #47525c; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.tag:hover { background: var(--lime); color: var(--ink); }

.tag--live { background: var(--lime); color: var(--ink); }
.tag--hot { background: var(--sunset); color: var(--ink); }

/* 13. 时间轴
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-inline-start: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 5px;
  width: 1px;
  background: var(--mist);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-block-end: 2px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 9px;
  inset-inline-start: -24px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--lake);
  background: var(--sand);
  transform: rotate(45deg);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.timeline-item:hover::before {
  background: var(--sunset);
  border-color: var(--sunset);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--lake);
}

.timeline-title { font-weight: 800; color: var(--ink); font-size: 1rem; }
.timeline-text { font-size: .92rem; line-height: 1.7; color: #47525c; }

/* 14. 折叠面板
   -------------------------------------------------------------------------- */
.fold { border-bottom: 1px solid var(--mist); }

.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 2px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  transition: color .18s var(--ease);
}

.fold > summary::-webkit-details-marker { display: none; }

.fold > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--lake);
  transition: color .18s var(--ease), transform .22s var(--ease);
}

.fold > summary:hover { color: var(--lake); }

.fold[open] > summary::after {
  content: "–";
  color: var(--sunset);
  transform: rotate(180deg);
}

.fold-body {
  padding: 0 2px 18px;
  font-size: .95rem;
  line-height: 1.75;
  color: #47525c;
}

/* 15. 标签页
   -------------------------------------------------------------------------- */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mist);
}

.tab {
  padding: 9px 17px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
  color: var(--char);
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.tab:hover { border-color: var(--sunset); color: var(--sunset); }

.tab[aria-selected="true"] {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.tab-panel[hidden] { display: none; }

.tab-panel > * + * { margin-top: 1em; }

/* 16. 数据表
   -------------------------------------------------------------------------- */
.data-table { font-size: .92rem; }

.data-table th,
.data-table td {
  padding: 11px 12px;
  text-align: start;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--lake);
  background: var(--sand);
  border-bottom: 1px solid var(--char);
}

.data-table tbody tr { transition: background .16s var(--ease); }
.data-table tbody tr:hover { background: var(--warm); }

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

/* 17. 图片容器
   -------------------------------------------------------------------------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--deep) 0%, var(--lake) 52%, var(--sunset) 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 59, 87, 0) 42%, rgba(7, 59, 87, .58) 100%);
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%);
}

/* 18. 工具类
   -------------------------------------------------------------------------- */
.rule {
  height: 1px;
  border: 0;
  background: var(--mist);
  margin-block: clamp(22px, 3vw, 38px);
}

.tilt {
  display: inline-block;
  transform: skewX(-5deg);
  transform-origin: left bottom;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 19. 响应式补充
   -------------------------------------------------------------------------- */
@media (max-width: 559px) {
  .brand-desc { display: none; }
  .rail-top { padding-inline: 16px; }
  .rail-nav { padding-inline: 16px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 560px) and (max-width: 1023px) {
  .rail-top { padding-inline: var(--pad); }
}

/* 20. 无障碍：降低动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .skip-link { transform: translateY(-180%); }
  .skip-link:focus { transform: translateY(0); }
}
