/* ============================================================
   威斯人主站 · 共享样式表 /assets/site.css
   午夜赌场档案室 × 数字赛季仪表盘
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ws-ink);
  color: var(--ws-text);
  font-family: var(--ws-font-body);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ws-ink: #070B0A;
  --ws-ink-2: #0E1A16;
  --ws-glass: rgba(18, 30, 26, 0.72);
  --ws-text: #F2F6F1;
  --ws-muted: #9AB0A6;
  --ws-gold: #C9A24B;
  --ws-magenta: #E43D8F;
  --ws-cyan: #39D0D8;
  --ws-lime: #C6FF3D;
  --ws-line: #2A4A40;
  --ws-red: #FF5C5C;
  --ws-edge: rgba(201, 162, 75, 0.24);

  --ws-font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ws-font-num: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas,
    "Liberation Mono", Menlo, monospace;
  --ws-font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;

  --ws-shell: 1360px;
  --ws-gutter: clamp(16px, 4vw, 44px);
  --ws-radius: 2px;
  --ws-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --ws-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 蓝图网格底纹 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(42, 74, 64, 0.30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 74, 64, 0.30) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
  opacity: 0.55;
}

/* ---------- 4. 基础排版 ---------- */
.ws-shell {
  width: min(calc(100% - 2 * var(--ws-gutter)), var(--ws-shell));
  margin-inline: auto;
}

.ws-section {
  padding-block: clamp(48px, 7vw, 104px);
  position: relative;
}

.ws-section--tight {
  padding-block: clamp(28px, 4vw, 56px);
}

.ws-section--tinted {
  background: linear-gradient(180deg, rgba(14, 26, 22, 0.94), rgba(7, 11, 10, 0.94));
  border-block: 1px solid var(--ws-line);
}

.ws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ws-font-num);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ws-gold);
  margin-bottom: 14px;
}

.ws-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ws-gold);
  display: block;
}

.ws-title {
  font-family: var(--ws-font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ws-text);
  margin-bottom: 16px;
}

.ws-lede {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--ws-muted);
  max-width: 62ch;
}

.ws-prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.82;
  color: var(--ws-text);
}

.ws-prose p + p {
  margin-top: 1.1em;
}

.ws-prose a {
  color: var(--ws-cyan);
  border-bottom: 1px solid rgba(57, 208, 216, 0.4);
}

.ws-prose a:hover {
  border-color: var(--ws-cyan);
}

.ws-prose strong {
  color: var(--ws-lime);
  font-weight: 600;
}

.ws-divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 56px) 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--ws-line) 0 12px,
    transparent 12px 20px
  );
}

/* ---------- 5. 网格系统 ---------- */
.ws-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

.ws-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-grid--split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.ws-grid--rail { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); }

/* ---------- 6. 按钮 ---------- */
.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ws-gold);
  border-radius: var(--ws-radius);
  color: var(--ws-text);
  background: transparent;
  font-family: var(--ws-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  transition: background 0.18s var(--ws-ease), color 0.18s var(--ws-ease),
    border-color 0.18s var(--ws-ease);
}

.ws-btn:hover,
.ws-btn:focus-visible {
  background: var(--ws-gold);
  color: var(--ws-ink);
}

.ws-btn--solid {
  background: var(--ws-gold);
  color: var(--ws-ink);
}

.ws-btn--solid:hover,
.ws-btn--solid:focus-visible {
  background: var(--ws-cyan);
  border-color: var(--ws-cyan);
  color: var(--ws-ink);
}

.ws-btn--ghost {
  border-color: var(--ws-edge);
  color: var(--ws-muted);
}

.ws-btn--ghost:hover,
.ws-btn--ghost:focus-visible {
  background: transparent;
  border-color: var(--ws-cyan);
  color: var(--ws-cyan);
}

.ws-btn--lime {
  border-color: var(--ws-lime);
  color: var(--ws-lime);
}

.ws-btn--lime:hover,
.ws-btn--lime:focus-visible {
  background: var(--ws-lime);
  color: var(--ws-ink);
}

.ws-btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* ---------- 7. 标签与状态 ---------- */
.ws-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  font-family: var(--ws-font-num);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ws-muted);
  white-space: nowrap;
}

.ws-tag--gold { color: var(--ws-gold); border-color: rgba(201, 162, 75, 0.5); }
.ws-tag--cyan { color: var(--ws-cyan); border-color: rgba(57, 208, 216, 0.45); }
.ws-tag--magenta { color: var(--ws-magenta); border-color: rgba(228, 61, 143, 0.45); }
.ws-tag--lime { color: var(--ws-lime); border-color: rgba(198, 255, 61, 0.45); }
.ws-tag--red { color: var(--ws-red); border-color: rgba(255, 92, 92, 0.45); }
.ws-tag--muted { color: var(--ws-muted); border-color: var(--ws-line); }

/* ---------- 8. 数据组件 ---------- */
.ws-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  background: var(--ws-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ws-stat__value {
  font-family: var(--ws-font-num);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  color: var(--ws-gold);
  letter-spacing: -0.02em;
}

.ws-stat__label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ws-muted);
}

.ws-score {
  font-family: var(--ws-font-num);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  color: var(--ws-lime);
  letter-spacing: -0.02em;
}

.ws-code {
  display: inline-block;
  padding: 8px 14px;
  border: 1px dashed rgba(198, 255, 61, 0.5);
  border-radius: var(--ws-radius);
  background: rgba(198, 255, 61, 0.08);
  color: var(--ws-lime);
  font-family: var(--ws-font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* ---------- 9. 卡片与面板 ---------- */
.ws-card {
  position: relative;
  display: block;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  background: var(--ws-ink-2);
  transition: border-color 0.2s var(--ws-ease), transform 0.2s var(--ws-ease);
}

.ws-card:hover {
  border-color: rgba(57, 208, 216, 0.55);
  transform: translateY(-2px);
}

.ws-panel {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  background: var(--ws-glass);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--ws-shadow);
}

/* ---------- 10. 图片容器基础规则 ---------- */
.ws-figure {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  background:
    linear-gradient(135deg, rgba(57, 208, 216, 0.12), rgba(228, 61, 143, 0.12) 58%, rgba(198, 255, 61, 0.07)),
    var(--ws-ink-2);
}

.ws-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.14);
}

.ws-figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ws-ease);
}

.ws-figure:hover > img {
  transform: scale(1.04);
}

.ws-figure--wide { aspect-ratio: 21 / 9; }
.ws-figure--square { aspect-ratio: 1 / 1; }
.ws-figure--portrait { aspect-ratio: 3 / 4; }

.ws-figure--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.ws-figure__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 14px;
  font-family: var(--ws-font-num);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ws-text);
  background: linear-gradient(180deg, rgba(7, 11, 10, 0), rgba(7, 11, 10, 0.9));
}

/* ---------- 11. 横向卡片带 ---------- */
.ws-rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-color: var(--ws-gold) transparent;
  scrollbar-width: thin;
}

.ws-rail > * {
  flex: 0 0 clamp(238px, 26vw, 320px);
  scroll-snap-align: start;
}

.ws-rail::-webkit-scrollbar { height: 6px; }
.ws-rail::-webkit-scrollbar-track { background: var(--ws-line); }
.ws-rail::-webkit-scrollbar-thumb { background: var(--ws-gold); }

/* ---------- 12. 可展开内容组 ---------- */
.ws-disclosure {
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  background: var(--ws-ink-2);
  overflow: hidden;
}

.ws-disclosure + .ws-disclosure {
  margin-top: 12px;
}

.ws-disclosure__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--ws-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ws-text);
  transition: color 0.18s var(--ws-ease), background 0.18s var(--ws-ease);
}

.ws-disclosure__btn:hover {
  color: var(--ws-cyan);
  background: rgba(57, 208, 216, 0.05);
}

.ws-disclosure__icon {
  flex: 0 0 auto;
  position: relative;
  width: 14px;
  height: 14px;
}

.ws-disclosure__icon::before,
.ws-disclosure__icon::after {
  content: "";
  position: absolute;
  background: var(--ws-gold);
}

.ws-disclosure__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.ws-disclosure__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transition: transform 0.2s var(--ws-ease);
}

.ws-disclosure__btn[aria-expanded="true"] .ws-disclosure__icon::after {
  transform: scaleY(0);
}

.ws-disclosure__panel {
  padding: 0 18px 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ws-muted);
}

/* ---------- 13. 面包屑 ---------- */
.ws-breadcrumb {
  font-family: var(--ws-font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ws-muted);
}

.ws-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

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

.ws-breadcrumb a:hover {
  color: var(--ws-cyan);
}

.ws-breadcrumb [aria-current="page"] {
  color: var(--ws-gold);
}

/* ---------- 14. Skip link ---------- */
.ws-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ws-gold);
  color: var(--ws-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--ws-radius);
  transition: top 0.18s var(--ws-ease);
}

.ws-skip:focus {
  top: 16px;
}

/* ---------- 15. 头部 ---------- */
.ws-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ws-glass);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--ws-edge);
}

.ws-header__scale {
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    var(--ws-gold) 0 1px,
    transparent 1px 24px
  );
  opacity: 0.34;
}

.ws-header__inner {
  width: min(calc(100% - 2 * var(--ws-gutter)), var(--ws-shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  min-height: 64px;
  padding-block: 10px;
}

.ws-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.ws-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ws-gold);
  border-radius: var(--ws-radius);
  color: var(--ws-gold);
  background: linear-gradient(145deg, rgba(201, 162, 75, 0.18), rgba(57, 208, 216, 0.06));
  font-family: var(--ws-font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.ws-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.ws-brand__name {
  font-family: var(--ws-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ws-text);
}

.ws-brand__sub {
  font-family: var(--ws-font-num);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ws-muted);
}

/* ---------- 16. 导航 ---------- */
.ws-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.ws-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
}

.ws-nav__item {
  display: block;
}

.ws-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: var(--ws-radius);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ws-muted);
  transition: color 0.16s var(--ws-ease), background 0.16s var(--ws-ease),
    border-color 0.16s var(--ws-ease);
}

.ws-nav__idx {
  font-family: var(--ws-font-num);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ws-line);
  transition: color 0.16s var(--ws-ease);
}

.ws-nav__link:hover {
  color: var(--ws-text);
  border-color: var(--ws-edge);
  background: rgba(57, 208, 216, 0.07);
}

.ws-nav__link:hover .ws-nav__idx {
  color: var(--ws-cyan);
}

.ws-nav__link[aria-current="page"] {
  color: var(--ws-gold);
  border-color: var(--ws-edge);
}

.ws-nav__link[aria-current="page"] .ws-nav__idx {
  color: var(--ws-magenta);
}

.ws-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 1px;
  background: var(--ws-magenta);
}

/* ---------- 17. 汉堡与 CTA ---------- */
.ws-burger {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--ws-edge);
  border-radius: var(--ws-radius);
  color: var(--ws-text);
  font-family: var(--ws-font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.ws-burger__icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 10px;
}

.ws-burger__icon::before,
.ws-burger__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ws-gold);
  transition: transform 0.2s var(--ws-ease), opacity 0.2s var(--ws-ease);
}

.ws-burger__icon::before { top: 0; }
.ws-burger__icon::after { bottom: 0; }

.ws-header__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid var(--ws-gold);
  border-radius: var(--ws-radius);
  background: var(--ws-gold);
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.18s var(--ws-ease), border-color 0.18s var(--ws-ease);
}

.ws-header__cta:hover {
  background: var(--ws-cyan);
  border-color: var(--ws-cyan);
}

/* ---------- 18. 滚动进度 ---------- */
.ws-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.ws-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--ws-progress, 0));
  background: linear-gradient(90deg, var(--ws-gold), var(--ws-magenta) 55%, var(--ws-cyan));
}

/* ---------- 19. 页脚 ---------- */
.ws-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 130px);
  border-top: 1px solid var(--ws-edge);
  background: linear-gradient(180deg, rgba(14, 26, 22, 0.6), #050807 70%);
  color: var(--ws-muted);
  font-size: 14px;
}

.ws-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    var(--ws-gold) 0 1px,
    transparent 1px 24px
  );
  opacity: 0.26;
}

.ws-footer__grid {
  width: min(calc(100% - 2 * var(--ws-gutter)), var(--ws-shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.25fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 68px);
}

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

.ws-footer__brand {
  display: inline-block;
  font-family: var(--ws-font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ws-text);
}

.ws-footer__brand:hover {
  color: var(--ws-gold);
}

.ws-footer__tag {
  margin: 10px 0 16px;
  font-family: var(--ws-font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ws-gold);
}

.ws-footer__note {
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 42ch;
}

.ws-footer__title {
  margin-bottom: 16px;
  font-family: var(--ws-font-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ws-cyan);
}

.ws-footer__list li + li {
  margin-top: 11px;
}

.ws-footer__list a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  transition: color 0.16s var(--ws-ease), border-color 0.16s var(--ws-ease);
}

.ws-footer__list a:hover {
  color: var(--ws-text);
  border-color: var(--ws-gold);
}

.ws-footer__data {
  font-size: 13.5px;
}

.ws-footer__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--ws-line);
  word-break: break-word;
}

.ws-footer__row dt {
  font-family: var(--ws-font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6C8B80;
}

.ws-footer__row dd {
  color: var(--ws-text);
}

.ws-footer__base {
  width: min(calc(100% - 2 * var(--ws-gutter)), var(--ws-shell));
  margin-inline: auto;
  padding-block: 18px 28px;
  border-top: 1px solid var(--ws-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--ws-font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ws-footer__legal {
  color: var(--ws-muted);
}

.ws-footer__copy {
  color: var(--ws-muted);
}

/* ---------- 20. 显现动效 ---------- */
[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ws-ease), transform 0.55s var(--ws-ease);
}

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

/* ---------- 21. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--ws-cyan);
  outline-offset: 3px;
  border-radius: var(--ws-radius);
}

/* ---------- 22. 平板 ---------- */
@media (max-width: 1080px) {
  .ws-burger {
    display: inline-flex;
  }

  .ws-header__cta {
    display: none;
  }

  .ws-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    display: block;
    margin-left: 0;
    padding: 10px var(--ws-gutter) 20px;
    background: rgba(9, 17, 14, 0.97);
    border-bottom: 1px solid var(--ws-edge);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ws-ease), transform 0.22s var(--ws-ease),
      visibility 0.22s var(--ws-ease);
  }

  .ws-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .ws-nav__link {
    width: 100%;
    padding: 15px 4px;
    justify-content: flex-start;
    font-size: 15px;
    border-bottom: 1px solid var(--ws-line);
    border-radius: 0;
  }

  .ws-nav__link[aria-current="page"]::after {
    left: 4px;
    right: auto;
    width: 26px;
    bottom: 10px;
  }

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

  .ws-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-footer__col:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- 23. 手机 ---------- */
@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .ws-header__inner {
    min-height: 58px;
  }

  .ws-brand__sub {
    letter-spacing: 0.14em;
  }

  .ws-grid--2,
  .ws-grid--3,
  .ws-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .ws-footer__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .ws-footer__base {
    justify-content: flex-start;
  }

  .ws-rail > * {
    flex: 0 0 82%;
  }
}

/* ---------- 24. 减少动态效果 ---------- */
@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;
  }

  [data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ws-figure:hover > img,
  .ws-card:hover {
    transform: none;
  }
}
