/* ==========================================================================
   星力电玩棋牌 · 共享 Site Kit  (/assets/site.css)
   1. 变量  2. Reset  3. 中文排版  4. 布局  5. 通用组件
   6. 页头  7. 页脚  8. 图片容器  9. 响应式  10. 降低动效
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --xl-lake-deep: #0B3345;
  --xl-lake: #116E8C;
  --xl-dusk-deep: #241A3D;
  --xl-dusk: #4B3672;
  --xl-neon: #2FE0B0;
  --xl-gold: #F3B75B;
  --xl-paper: #F5F1E8;
  --xl-ink: #111820;
  --xl-mist: #9FBEC8;
  --xl-coral: #E4674B;

  --xl-cut: 12px;
  --xl-cut-sm: 8px;
  --xl-max: 1220px;
  --xl-gutter: clamp(18px, 4vw, 44px);
  --xl-ease: cubic-bezier(.22, .68, .28, 1);

  --xl-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --xl-font-editorial: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --xl-font-body: var(--xl-font-display);
  --xl-font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Courier New", monospace;
}

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, dt,
ul, ol, li, hr {
  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;
}

summary { cursor: pointer; }

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

address { font-style: normal; }

hr { border: 0; }

#main-content { scroll-margin-top: clamp(96px, 15vw, 180px); }

/* ---------- 3. 中文排版 ---------- */
body {
  min-height: 100vh;
  background: var(--xl-paper);
  color: var(--xl-ink);
  font-family: var(--xl-font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.xl-mono {
  font-family: var(--xl-font-mono);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.xl-display {
  font-family: var(--xl-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.xl-h1 { font-size: clamp(28px, 4.6vw, 52px); }
.xl-h2 { font-size: clamp(23px, 3.2vw, 36px); }
.xl-h3 { font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -0.01em; }
.xl-h4 { font-size: clamp(17px, 1.6vw, 19px); letter-spacing: 0; }

.xl-editorial {
  font-family: var(--xl-font-editorial);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.xl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--xl-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--xl-lake);
}

.xl-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--xl-neon);
  transform: skewX(-24deg);
}

.xl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xl-lake-deep);
  background: rgba(17, 110, 140, 0.14);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* 焦点环 */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--xl-neon);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 4. 布局 ---------- */
.xl-shell {
  width: 100%;
  max-width: var(--xl-max);
  margin-inline: auto;
  padding-inline: var(--xl-gutter);
}

.xl-section { padding-block: clamp(40px, 6vw, 80px); }
.xl-section--tight { padding-block: clamp(26px, 4vw, 48px); }

.xl-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.xl-col-4 { grid-column: span 4; }
.xl-col-5 { grid-column: span 5; }
.xl-col-6 { grid-column: span 6; }
.xl-col-7 { grid-column: span 7; }
.xl-col-8 { grid-column: span 8; }
.xl-col-12 { grid-column: span 12; }

.xl-split {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.xl-split__aside { min-width: 0; }
.xl-split__main { min-width: 0; }

.xl-prose {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.8;
}

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

.xl-prose h2 {
  font-family: var(--xl-font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.xl-prose h3 {
  font-family: var(--xl-font-editorial);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.xl-prose ul[class],
.xl-prose ul {
  list-style: none;
  padding: 0;
}

.xl-prose ul > li {
  position: relative;
  padding-left: 20px;
}

.xl-prose ul > li + li { margin-top: 0.4em; }

.xl-prose ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--xl-lake);
  transform: skewX(-24deg);
}

/* ---------- 5. 通用组件 ---------- */
/* 面板：右上 / 左下 12px 切角 */
.xl-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--xl-paper);
  color: var(--xl-ink);
  border: 1px solid rgba(11, 51, 69, 0.14);
  clip-path: polygon(0 0, calc(100% - var(--xl-cut)) 0, 100% var(--xl-cut), 100% 100%, var(--xl-cut) 100%, 0 calc(100% - var(--xl-cut)));
}

.xl-panel--lake {
  background: var(--xl-lake);
  color: var(--xl-paper);
  border-color: transparent;
}

.xl-panel--deep {
  background: var(--xl-lake-deep);
  color: var(--xl-paper);
  border-color: transparent;
}

.xl-panel--dusk {
  background: var(--xl-dusk);
  color: var(--xl-paper);
  border-color: transparent;
}

.xl-panel--link {
  display: block;
  transition: transform 180ms var(--xl-ease), box-shadow 180ms var(--xl-ease), background-color 180ms var(--xl-ease);
}

.xl-panel--link:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 2px var(--xl-neon);
}

.xl-panel--link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--xl-neon);
}

/* 按钮 */
.xl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 11px 20px;
  font-family: var(--xl-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--xl-paper);
  background: transparent;
  border: 1px solid rgba(245, 241, 232, 0.45);
  clip-path: polygon(0 0, calc(100% - var(--xl-cut-sm)) 0, 100% var(--xl-cut-sm), 100% 100%, var(--xl-cut-sm) 100%, 0 calc(100% - var(--xl-cut-sm)));
  transition: transform 160ms var(--xl-ease), filter 160ms var(--xl-ease), box-shadow 160ms var(--xl-ease);
}

.xl-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }

.xl-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(11, 51, 69, 0.9);
}

.xl-btn--neon {
  background: var(--xl-neon);
  color: var(--xl-lake-deep);
  border-color: transparent;
}

.xl-btn--gold {
  background: var(--xl-gold);
  color: #2A1A05;
  border-color: transparent;
}

.xl-btn--ghost {
  background: transparent;
  color: var(--xl-paper);
  border-color: rgba(245, 241, 232, 0.45);
}

.xl-btn--ghost:focus-visible { box-shadow: inset 0 0 0 3px var(--xl-neon); }

/* 行内链接 */
.xl-link {
  color: var(--xl-lake);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17, 110, 140, 0.42);
  transition: text-decoration-color 160ms var(--xl-ease), text-underline-offset 160ms var(--xl-ease);
}

.xl-link:hover {
  text-decoration-color: var(--xl-neon);
  text-underline-offset: 5px;
}

.xl-panel--lake .xl-link,
.xl-panel--deep .xl-link,
.xl-panel--dusk .xl-link {
  color: var(--xl-paper);
  text-decoration-color: rgba(47, 224, 176, 0.55);
}

/* 面包屑 */
.xl-crumbs {
  font-family: var(--xl-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--xl-lake);
}

.xl-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.xl-crumbs__list > li {
  display: inline-flex;
  align-items: center;
}

.xl-crumbs__list > li:not(:last-child)::after {
  content: "／";
  margin-inline: 8px;
  color: rgba(11, 51, 69, 0.32);
}

.xl-crumbs__list a:hover {
  color: var(--xl-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 步骤路径（技能树式） */
.xl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: xlstep;
}

.xl-steps__item {
  position: relative;
  counter-increment: xlstep;
  padding: 0 0 20px 48px;
  min-height: 36px;
}

.xl-steps__item:last-child { padding-bottom: 0; }

.xl-steps__item::before {
  content: counter(xlstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--xl-lake);
  background: rgba(17, 110, 140, 0.13);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.xl-steps__item::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(17, 110, 140, 0.5) 0 5px, transparent 5px 11px);
}

.xl-steps__item:last-child::after { display: none; }

.xl-steps__link {
  display: inline-block;
  font-family: var(--xl-font-editorial);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--xl-ink);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--xl-ease);
}

.xl-steps__link:hover { border-bottom-color: var(--xl-neon); }

.xl-steps__note {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(17, 24, 32, 0.6);
}

.xl-steps--dark .xl-steps__item::before {
  color: var(--xl-paper);
  background: rgba(159, 190, 200, 0.18);
}

.xl-steps--dark .xl-steps__item::after {
  background: repeating-linear-gradient(to bottom, rgba(159, 190, 200, 0.5) 0 5px, transparent 5px 11px);
}

.xl-steps--dark .xl-steps__link { color: var(--xl-paper); }

.xl-steps--dark .xl-steps__note { color: var(--xl-mist); }

/* 表格（窄屏转纵向定义列表） */
.xl-table {
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
}

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

.xl-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--xl-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--xl-paper);
  background: var(--xl-dusk);
  white-space: nowrap;
}

.xl-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(36, 26, 61, 0.16);
  font-variant-numeric: tabular-nums;
}

.xl-table tbody tr:hover td { background: rgba(17, 110, 140, 0.06); }

/* 折叠面板 */
.xl-collapse {
  border-top: 1px solid rgba(11, 51, 69, 0.16);
}

.xl-collapse:last-of-type {
  border-bottom: 1px solid rgba(11, 51, 69, 0.16);
}

.xl-collapse > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  list-style: none;
  font-family: var(--xl-font-editorial);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
}

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

.xl-collapse > summary::after {
  content: "＋";
  flex: none;
  font-family: var(--xl-font-mono);
  font-size: 15px;
  color: var(--xl-lake);
  transition: transform 220ms var(--xl-ease);
}

.xl-collapse[open] > summary::after { transform: rotate(45deg); }

.xl-collapse__body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(17, 24, 32, 0.78);
}

.xl-panel--lake .xl-collapse,
.xl-panel--deep .xl-collapse,
.xl-panel--dusk .xl-collapse {
  border-color: rgba(159, 190, 200, 0.3);
}

.xl-panel--lake .xl-collapse > summary,
.xl-panel--deep .xl-collapse > summary,
.xl-panel--dusk .xl-collapse > summary { color: var(--xl-paper); }

.xl-panel--lake .xl-collapse__body,
.xl-panel--deep .xl-collapse__body,
.xl-panel--dusk .xl-collapse__body { color: rgba(245, 241, 232, 0.82); }

/* ---------- 6. 页头 ---------- */
.xl-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--xl-paper);
  background: var(--xl-lake-deep);
  border-bottom: 1px solid rgba(159, 190, 200, 0.26);
  isolation: isolate;
}

/* 牌桌网格纹理 4% */
.xl-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(159, 190, 200, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(159, 190, 200, 0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(130% 120% at 50% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(130% 120% at 50% 0%, #000 25%, transparent 100%);
}

.xl-skip {
  position: absolute;
  left: 14px;
  top: -72px;
  z-index: 99;
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--xl-lake-deep);
  background: var(--xl-neon);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: top 180ms var(--xl-ease);
}

.xl-skip:focus,
.xl-skip:focus-visible {
  top: 12px;
  outline: 2px solid var(--xl-paper);
  outline-offset: 2px;
}

.xl-header__inner {
  position: relative;
  width: 100%;
  max-width: var(--xl-max);
  margin-inline: auto;
  padding: clamp(10px, 1.6vw, 20px) var(--xl-gutter) 0;
  display: grid;
  gap: clamp(6px, 1vw, 12px);
}

.xl-masthead {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.xl-masthead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--xl-mist);
}

.xl-masthead__brand-line { white-space: nowrap; }

.xl-masthead__rule {
  width: 28px;
  height: 1px;
  background: rgba(159, 190, 200, 0.55);
  transform: skewX(-30deg);
}

.xl-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--xl-paper);
  background: rgba(17, 110, 140, 0.42);
  border: 1px solid rgba(159, 190, 200, 0.45);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.xl-masthead__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  font-family: var(--xl-font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--xl-paper);
  transition: color 180ms var(--xl-ease);
}

.xl-masthead__brand:hover { color: #ffffff; }

.xl-masthead__mark {
  width: 10px;
  height: 10px;
  flex: none;
  border: 1px solid var(--xl-mist);
  transform: rotate(45deg);
}

.xl-masthead__word { display: inline-block; }

.xl-header__navrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 2px;
  border-top: 1px solid rgba(159, 190, 200, 0.22);
  border-bottom: 1px solid rgba(159, 190, 200, 0.22);
}

.xl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.xl-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px clamp(10px, 1.8vw, 24px);
}

.xl-nav__item { display: block; }

.xl-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 2px 11px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 241, 232, 0.82);
  transition: color 180ms var(--xl-ease);
}

.xl-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--xl-neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--xl-ease);
}

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

.xl-nav__link[aria-current="page"] {
  color: var(--xl-paper);
  font-weight: 700;
}

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

.xl-header__cta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 16px;
  font-size: 14px;
}

.xl-header__cta:hover { transform: translateY(calc(-50% - 2px)); }

.xl-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--xl-paper);
  border: 1px solid rgba(159, 190, 200, 0.45);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color 180ms var(--xl-ease), color 180ms var(--xl-ease);
}

.xl-navtoggle:hover,
.xl-navtoggle[aria-expanded="true"] {
  color: var(--xl-neon);
  border-color: rgba(47, 224, 176, 0.75);
}

.xl-navtoggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--xl-neon);
}

.xl-navtoggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.xl-navtoggle__bars::before,
.xl-navtoggle__bars::after {
  content: "";
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 200ms var(--xl-ease);
}

.xl-navtoggle[aria-expanded="true"] .xl-navtoggle__bars::before {
  transform: translateY(3px) rotate(45deg);
}

.xl-navtoggle[aria-expanded="true"] .xl-navtoggle__bars::after {
  transform: translateY(-3px) rotate(-45deg);
}

.xl-navtoggle__text { white-space: nowrap; }

.xl-progress {
  position: relative;
  height: 2px;
  margin-top: 6px;
  background: rgba(159, 190, 200, 0.18);
}

.xl-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--xl-lake), var(--xl-neon));
  transition: width 120ms linear;
}

/* 滚动收窄状态 */
.xl-header[data-condensed="true"] .xl-masthead__meta,
.xl-header[data-condensed="true"] .xl-header__quick { display: none; }

.xl-header[data-condensed="true"] .xl-header__inner {
  padding-top: 8px;
  gap: 4px;
}

.xl-header[data-condensed="true"] .xl-masthead__brand {
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.01em;
}

.xl-header[data-condensed="true"] .xl-masthead__mark {
  width: 8px;
  height: 8px;
}

.xl-header[data-condensed="true"] .xl-nav__link {
  padding: 7px 2px 9px;
  font-size: 14px;
}

/* ---------- 7. 页脚 ---------- */
.xl-footer {
  position: relative;
  color: var(--xl-paper);
  background: var(--xl-dusk-deep);
  isolation: isolate;
}

.xl-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(159, 190, 200, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(159, 190, 200, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.4;
}

.xl-footer__inner {
  width: 100%;
  max-width: var(--xl-max);
  margin-inline: auto;
  padding-inline: var(--xl-gutter);
}

.xl-footer__top {
  background: linear-gradient(100deg, var(--xl-lake-deep) 0%, var(--xl-dusk-deep) 72%);
  border-bottom: 1px solid rgba(159, 190, 200, 0.22);
}

.xl-footer__topinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(24px, 4vw, 44px);
}

.xl-footer__tagline {
  max-width: 34ch;
  font-family: var(--xl-font-editorial);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--xl-paper);
}

.xl-footer__body { padding-block: clamp(32px, 5vw, 64px) 0; }

.xl-footer__split {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.xl-footer__aside { min-width: 0; }

.xl-footer__brand {
  display: inline-block;
  font-family: var(--xl-font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  color: var(--xl-paper);
  transition: color 180ms var(--xl-ease);
}

.xl-footer__brand:hover { color: var(--xl-neon); }

.xl-footer__brandsub {
  margin-top: 4px;
  margin-bottom: clamp(18px, 2.6vw, 28px);
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--xl-mist);
}

.xl-footer__main {
  min-width: 0;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.xl-footer__navlist {
  display: grid;
  gap: 2px;
}

.xl-footer__navlist a {
  display: inline-block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 241, 232, 0.86);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--xl-ease), border-color 180ms var(--xl-ease);
}

.xl-footer__navlist a:hover {
  color: var(--xl-paper);
  border-bottom-color: var(--xl-neon);
}

.xl-footer__contact {
  display: grid;
  gap: 8px;
  padding-left: clamp(0px, 2vw, 22px);
  border-left: 1px solid rgba(159, 190, 200, 0.24);
}

.xl-footer__contactrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.xl-footer__label {
  flex: none;
  min-width: 34px;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--xl-mist);
}

.xl-footer__value {
  color: var(--xl-paper);
  overflow-wrap: anywhere;
}

.xl-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(159, 190, 200, 0.22);
}

.xl-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 13px;
}

.xl-footer__legal a {
  color: rgba(245, 241, 232, 0.78);
  transition: color 180ms var(--xl-ease);
}

.xl-footer__legal a:hover {
  color: var(--xl-neon);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.xl-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--xl-mist);
}

.xl-footer__dot { opacity: 0.6; }

/* ---------- 8. 图片容器 ---------- */
.xl-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--xl-lake-deep);
  clip-path: polygon(0 0, calc(100% - var(--xl-cut)) 0, 100% var(--xl-cut), 100% 100%, var(--xl-cut) 100%, 0 calc(100% - var(--xl-cut)));
}

.xl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.xl-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(47, 224, 176, 0.16) 0%, rgba(17, 110, 140, 0) 46%, rgba(36, 26, 61, 0.55) 100%);
}

.xl-media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 5px 12px;
  font-family: var(--xl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--xl-paper);
  background: rgba(11, 51, 69, 0.86);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .xl-header__cta { display: none; }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .xl-header[data-condensed="true"] .xl-nav__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: center;
    column-gap: clamp(14px, 3vw, 32px);
  }
}

@media (max-width: 900px) {
  .xl-header__navrow {
    justify-content: center;
    padding-block: 8px;
  }

  .xl-navtoggle { display: inline-flex; }

  .xl-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 72vh;
    overflow-y: auto;
    padding: 4px var(--xl-gutter) 18px;
    background: var(--xl-lake-deep);
    border-bottom: 1px solid rgba(159, 190, 200, 0.32);
    box-shadow: 0 28px 44px -26px rgba(0, 0, 0, 0.7);
  }

  .xl-nav[data-open="true"] { display: flex; }

  .xl-nav__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 0;
  }

  .xl-nav__item { border-bottom: 1px solid rgba(159, 190, 200, 0.16); }

  .xl-nav__link {
    display: block;
    padding: 14px 0 14px 14px;
    font-size: 16px;
  }

  .xl-nav__link::after { display: none; }

  .xl-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(47, 224, 176, 0.16), transparent 72%);
    box-shadow: inset 3px 0 0 0 var(--xl-neon);
  }

  .xl-header__cta {
    position: static;
    display: inline-flex;
    transform: none;
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .xl-header__cta:hover { transform: none; }

  .xl-split,
  .xl-footer__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .xl-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .xl-col-4, .xl-col-5, .xl-col-6, .xl-col-7, .xl-col-8 {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .xl-header__inner { padding-top: 10px; }

  .xl-masthead__meta {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .xl-masthead__rule { width: 18px; }

  .xl-masthead__brand { gap: 0.36em; }

  .xl-prose { font-size: 16px; }

  .xl-footer__topinner {
    flex-direction: column;
    align-items: flex-start;
  }

  .xl-footer__main { grid-template-columns: minmax(0, 1fr); }

  .xl-footer__contact {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(159, 190, 200, 0.24);
  }

  .xl-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 表格转纵向定义列表 */
  .xl-table--stack thead { display: none; }

  .xl-table--stack,
  .xl-table--stack tbody,
  .xl-table--stack tr,
  .xl-table--stack td {
    display: block;
    width: 100%;
  }

  .xl-table--stack tr {
    padding: 10px 0;
    border-bottom: 1px solid rgba(36, 26, 61, 0.18);
  }

  .xl-table--stack td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
    border-bottom: 0;
    text-align: right;
  }

  .xl-table--stack td::before {
    content: attr(data-label);
    flex: none;
    font-family: var(--xl-font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(17, 24, 32, 0.55);
    text-align: left;
  }
}

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

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

  .xl-panel--link:hover,
  .xl-btn:hover,
  .xl-header__cta:hover {
    transform: none;
  }

  .xl-panel--link:hover {
    transform: none;
    box-shadow: inset 0 0 0 2px var(--xl-neon);
  }

  .xl-btn:hover { filter: none; }
}
