/* ==========================================================================
   /assets/site.css — 澳门财运网 · 共享外壳与基础组件
   夜报馆体系：夜墨底 / 暖白纸 / 葡红 / 鎏金 / 墨绿 / 陶土
   ========================================================================== */

/* ---------- 0. 设计变量 ---------- */
:root {
  /* 色板 */
  --cy-ink: #0B0F12;
  --cy-ink-2: #151C21;
  --cy-paper: #F4EFE6;
  --cy-red: #C41E3A;
  --cy-red-soft: #F0637C;
  --cy-gold: #E3B563;
  --cy-green: #2F5D4B;
  --cy-moss: #8FBF9F;
  --cy-clay: #B4653F;
  --cy-stone: #8C9299;

  /* 由色板派生的边界与浅底文字 */
  --cy-hair: rgba(227, 181, 99, 0.30);
  --cy-hair-soft: rgba(227, 181, 99, 0.16);
  --cy-ink-hair: rgba(11, 15, 18, 0.16);
  --cy-ink-soft: rgba(11, 15, 18, 0.70);
  --cy-paper-soft: rgba(244, 239, 230, 0.80);

  /* 字体 */
  --cy-font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --cy-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --cy-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --cy-shell: 1280px;
  --cy-gutter: clamp(18px, 4vw, 56px);
  --cy-r-lg: 26px;
  --cy-r-md: 20px;
  --cy-r-sm: 14px;
  --cy-ticker-h: 34px;
  --cy-bar-h: 72px;

  /* 运动 */
  --cy-ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

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

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

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

table { border-collapse: collapse; }

/* ---------- 2. 中文排版基线 ---------- */
body {
  background: var(--cy-ink);
  color: var(--cy-paper);
  font-family: var(--cy-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--cy-font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(34px, 5.4vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }

small { font-size: 13px; }

::selection {
  background: var(--cy-red);
  color: var(--cy-paper);
}

/* 数字与字母两侧留白，时间戳整段不换行 */
.cy-mono {
  font-family: var(--cy-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- 3. 无障碍工具 ---------- */
.cy-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cy-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cy-gold);
  color: var(--cy-ink);
  font-family: var(--cy-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.2s var(--cy-ease);
}

.cy-skip:focus,
.cy-skip:focus-visible {
  transform: translateY(0);
}

:where(a, button, [tabindex], input, select, textarea):focus-visible {
  outline: 2px solid var(--cy-gold);
  outline-offset: 3px;
}

#main-content {
  scroll-margin-top: calc(var(--cy-ticker-h) + var(--cy-bar-h) + 12px);
}

/* ---------- 4. 容器与章节 ---------- */
.cy-shell {
  width: 100%;
  max-width: var(--cy-shell);
  margin-inline: auto;
  padding-inline: var(--cy-gutter);
}

.cy-offset {
  padding-top: calc(var(--cy-ticker-h) + var(--cy-bar-h) + clamp(28px, 6vw, 72px));
}

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

.cy-section--ink { background: var(--cy-ink); color: var(--cy-paper); }
.cy-section--paper { background: var(--cy-paper); color: var(--cy-ink); }
.cy-section--green { background: var(--cy-green); color: var(--cy-paper); }

.cy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cy-gold);
  text-transform: uppercase;
}

.cy-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.cy-title { color: inherit; }

.cy-lede {
  max-width: 34em;
  font-size: 18px;
  line-height: 1.75;
  color: var(--cy-paper-soft);
  margin-top: 1em;
}

.cy-flow { max-width: 36em; }
.cy-flow p + p { margin-top: 1em; }

.cy-section--paper .cy-eyebrow { color: var(--cy-red); }
.cy-section--paper .cy-lede { color: var(--cy-ink-soft); }
.cy-section--green .cy-eyebrow { color: var(--cy-moss); }
.cy-section--green .cy-lede { color: rgba(244, 239, 230, 0.86); }

/* ---------- 5. 顶部外壳 ---------- */
.cy-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--cy-paper);
  font-family: var(--cy-font-body);
}

.cy-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 150% at 10% -30%, rgba(196, 30, 58, 0.38), transparent 60%),
    radial-gradient(60% 140% at 92% -40%, rgba(227, 181, 99, 0.28), transparent 58%);
  transition: opacity 0.24s var(--cy-ease);
}

/* 5.1 双时区报头带 */
.cy-ticker {
  position: relative;
  background: rgba(11, 15, 18, 0.88);
  border-bottom: 1px solid var(--cy-hair-soft);
  backdrop-filter: blur(8px);
}

.cy-ticker__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 26px);
  min-height: var(--cy-ticker-h);
  flex-wrap: nowrap;
}

.cy-ticker__group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cy-ticker__zone { color: var(--cy-stone); }

.cy-ticker__clock {
  color: var(--cy-gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cy-ticker__spacer { flex: 1 1 auto; min-width: 0; }

.cy-ticker__link {
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cy-red-soft);
  border-bottom: 1px dashed rgba(240, 99, 124, 0.5);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s var(--cy-ease), border-color 0.2s var(--cy-ease);
}

.cy-ticker__link:hover,
.cy-ticker__link:focus-visible {
  color: var(--cy-paper);
  border-bottom-color: var(--cy-gold);
}

/* 状态点 */
.cy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--cy-moss);
  box-shadow: 0 0 0 3px rgba(143, 191, 159, 0.18);
}

.cy-dot--gold {
  background: var(--cy-gold);
  box-shadow: 0 0 0 3px rgba(227, 181, 99, 0.18);
}

/* 5.2 主导航条 */
.cy-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 15, 18, 0.55), rgba(11, 15, 18, 0));
  transition: background-color 0.24s var(--cy-ease), box-shadow 0.24s var(--cy-ease);
}

.cy-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 34px);
  min-height: var(--cy-bar-h);
  transition: min-height 0.24s var(--cy-ease);
}

.cy-header[data-stuck] .cy-bar {
  background: var(--cy-ink);
  box-shadow: 0 1px 0 var(--cy-hair), 0 22px 44px -34px rgba(0, 0, 0, 0.95);
}

.cy-header[data-stuck] .cy-bar__inner { min-height: 58px; }
.cy-header[data-stuck]::before { opacity: 0.34; }
.cy-header[data-open] .cy-bar { background: var(--cy-ink); }

/* 招牌字 */
.cy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cy-brand__seal {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cy-red);
  color: var(--cy-paper);
  font-family: var(--cy-font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.34), 0 10px 22px -12px rgba(196, 30, 58, 0.95);
  transition: transform 0.24s var(--cy-ease), box-shadow 0.24s var(--cy-ease);
}

.cy-brand:hover .cy-brand__seal {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(227, 181, 99, 0.8), 0 14px 26px -12px rgba(196, 30, 58, 0.95);
}

.cy-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cy-brand__name {
  font-family: var(--cy-font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--cy-paper);
}

.cy-brand__sub {
  margin-top: 4px;
  font-family: var(--cy-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cy-stone);
  white-space: nowrap;
}

/* 导航链接 */
.cy-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.cy-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 14px);
  flex-wrap: wrap;
}

.cy-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.82);
  white-space: nowrap;
  transition: color 0.2s var(--cy-ease), background-color 0.2s var(--cy-ease), box-shadow 0.2s var(--cy-ease);
}

.cy-nav__link:hover {
  color: var(--cy-paper);
  background: rgba(244, 239, 230, 0.07);
}

.cy-nav__link[aria-current="page"] {
  color: var(--cy-paper);
  background: rgba(196, 30, 58, 0.24);
  box-shadow: inset 0 0 0 1px rgba(240, 99, 124, 0.45);
}

.cy-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--cy-gold);
  transform: translateX(-50%);
}

/* 右侧固定位 */
.cy-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.cy-ghost {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--cy-hair-soft);
  color: rgba(244, 239, 230, 0.9);
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s var(--cy-ease), border-color 0.2s var(--cy-ease), background-color 0.2s var(--cy-ease);
}

.cy-ghost:hover,
.cy-ghost:focus-visible {
  color: var(--cy-gold);
  border-color: var(--cy-gold);
  background: rgba(227, 181, 99, 0.08);
}

/* 移动端菜单按钮 */
.cy-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--cy-hair);
  place-items: center;
  color: var(--cy-paper);
  transition: border-color 0.2s var(--cy-ease), background-color 0.2s var(--cy-ease);
}

.cy-nav-toggle:hover { border-color: var(--cy-gold); }

.cy-nav-toggle__box {
  display: block;
  width: 18px;
}

.cy-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--cy-ease), opacity 0.16s var(--cy-ease);
}

.cy-nav-toggle__bar + .cy-nav-toggle__bar { margin-top: 4px; }

.cy-nav-toggle[aria-expanded="true"] .cy-nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cy-nav-toggle[aria-expanded="true"] .cy-nav-toggle__bar:nth-child(2) { opacity: 0; }
.cy-nav-toggle[aria-expanded="true"] .cy-nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 5.3 阅读进度刻度 */
.cy-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cy-red), var(--cy-gold));
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- 6. 通用按钮与面包屑 ---------- */
.cy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s var(--cy-ease), background-color 0.2s var(--cy-ease),
              color 0.2s var(--cy-ease), border-color 0.2s var(--cy-ease), box-shadow 0.2s var(--cy-ease);
}

.cy-btn:hover { transform: translateY(-2px); }

.cy-btn--red {
  background: var(--cy-red);
  color: var(--cy-paper);
  box-shadow: 0 14px 30px -18px rgba(196, 30, 58, 0.95);
}

.cy-btn--red:hover { background: #D22641; }

.cy-btn--gold {
  background: var(--cy-gold);
  color: var(--cy-ink);
  box-shadow: 0 14px 30px -18px rgba(227, 181, 99, 0.9);
}

.cy-btn--ghost {
  border-color: rgba(244, 239, 230, 0.34);
  color: var(--cy-paper);
}

.cy-btn--ghost:hover {
  border-color: var(--cy-gold);
  color: var(--cy-gold);
}

.cy-btn--ink {
  border-color: rgba(11, 15, 18, 0.26);
  color: var(--cy-ink);
}

.cy-btn--ink:hover {
  border-color: var(--cy-red);
  color: var(--cy-red);
}

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

.cy-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cy-stone);
}

.cy-crumbs__link {
  border-bottom: 1px dashed rgba(140, 146, 153, 0.55);
  transition: color 0.2s var(--cy-ease), border-color 0.2s var(--cy-ease);
}

.cy-crumbs__link:hover,
.cy-crumbs__link:focus-visible {
  color: var(--cy-gold);
  border-bottom-color: var(--cy-gold);
}

.cy-crumbs__sep { color: rgba(140, 146, 153, 0.6); }

.cy-crumbs__current { color: var(--cy-paper); }

.cy-crumbs--ink { color: var(--cy-ink-soft); }
.cy-crumbs--ink .cy-crumbs__link { border-bottom-color: rgba(11, 15, 18, 0.3); }
.cy-crumbs--ink .cy-crumbs__link:hover { color: var(--cy-red); border-bottom-color: var(--cy-red); }
.cy-crumbs--ink .cy-crumbs__current { color: var(--cy-ink); }
.cy-crumbs--ink .cy-crumbs__sep { color: rgba(11, 15, 18, 0.32); }

/* ---------- 7. 网格与卡片（M2 三栏动线） ---------- */
.cy-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.cy-grid--2 { grid-template-columns: 1fr; }
.cy-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .cy-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .cy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cy-card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--cy-r-lg);
  border: 1px solid var(--cy-hair-soft);
  background: var(--cy-ink-2);
  color: var(--cy-paper);
  box-shadow: 0 28px 60px -50px rgba(0, 0, 0, 0.95);
  transition: border-color 0.24s var(--cy-ease), box-shadow 0.24s var(--cy-ease), transform 0.24s var(--cy-ease);
}

.cy-card:hover,
.cy-card:focus-within {
  border-color: rgba(227, 181, 99, 0.55);
  transform: translateY(-2px);
}

/* 展览说明牌 */
.cy-card__label {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--cy-hair);
  background: var(--cy-ink);
  color: var(--cy-gold);
  font-family: var(--cy-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: transform 0.24s var(--cy-ease), border-color 0.24s var(--cy-ease);
}

.cy-card:hover .cy-card__label,
.cy-card:focus-within .cy-card__label {
  transform: translateY(-4px);
  border-color: var(--cy-gold);
}

/* ---------- 8. 标签与状态 ---------- */
.cy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--cy-hair-soft);
  background: rgba(227, 181, 99, 0.08);
  color: var(--cy-gold);
  font-family: var(--cy-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.cy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cy-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cy-moss);
}

/* ---------- 9. 图片容器（页面阶段放入占位） ---------- */
.cy-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--cy-r-lg);
  border: 1px solid var(--cy-hair-soft);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(196, 30, 58, 0.35), transparent 62%),
    radial-gradient(110% 90% at 92% 100%, rgba(227, 181, 99, 0.22), transparent 60%),
    linear-gradient(135deg, var(--cy-ink-2), #0E2A22 62%, #2A1118);
}

.cy-media img,
.cy-media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cy-media--band { aspect-ratio: 16 / 6; }
.cy-media--wide { aspect-ratio: 21 / 9; }
.cy-media--cine { aspect-ratio: 16 / 9; }
.cy-media--detail { aspect-ratio: 4 / 5; }

.cy-media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 18, 0.18), rgba(11, 15, 18, 0.62));
  pointer-events: none;
}

/* 半调网点纹理，压住大块留白 */
.cy-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(227, 181, 99, 0.5) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: 0.12;
}

.cy-section--paper .cy-texture { background-image: radial-gradient(rgba(11, 15, 18, 0.6) 1px, transparent 1px); }

/* ---------- 10. 显现动效 ---------- */
.cy-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.52s var(--cy-ease), transform 0.52s var(--cy-ease);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}

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

/* ---------- 11. 页脚 ---------- */
.cy-footer {
  position: relative;
  background: var(--cy-paper);
  color: var(--cy-ink);
  font-family: var(--cy-font-body);
  overflow: hidden;
}

.cy-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 15, 18, 0.55) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: 0.10;
}

.cy-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cy-red), var(--cy-gold) 55%, var(--cy-green));
  opacity: 0.85;
}

.cy-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 76px) clamp(28px, 4vw, 44px);
}

@media (min-width: 640px) {
  .cy-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .cy-footer__inner { grid-template-columns: 1.5fr 1fr 1.35fr 1fr; }
}

.cy-footer__col { display: flex; flex-direction: column; gap: 12px; }

.cy-footer__col--brand { gap: 14px; }

.cy-footer__brand {
  display: inline-block;
  font-family: var(--cy-font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--cy-ink);
}

.cy-footer__brand:hover { color: var(--cy-red); }

.cy-footer__lead {
  max-width: 26em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cy-ink-soft);
}

.cy-footer__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 15, 18, 0.16);
  background: rgba(47, 93, 75, 0.10);
  color: var(--cy-green);
  font-family: var(--cy-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cy-footer__title {
  font-family: var(--cy-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--cy-red);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cy-ink-hair);
}

.cy-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cy-footer__list--contact { gap: 6px; }

.cy-footer__link {
  display: inline-block;
  font-size: 15px;
  color: var(--cy-ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--cy-ease), border-color 0.2s var(--cy-ease);
  word-break: break-word;
}

.cy-footer__link:hover,
.cy-footer__link:focus-visible {
  color: var(--cy-red);
  border-bottom-color: var(--cy-red);
}

.cy-footer__meta {
  display: inline-block;
  font-size: 15px;
  color: var(--cy-ink-soft);
}

.cy-footer__small {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cy-ink-soft);
  max-width: 30em;
}

.cy-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px 24px;
  border-top: 1px solid var(--cy-ink-hair);
}

.cy-footer__legal {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cy-ink-soft);
}

/* ---------- 12. 断点：移动端外壳 ---------- */
@media (max-width: 1099px) {
  .cy-brand__sub { display: none; }
  .cy-nav__link { font-size: 14px; padding: 8px 9px; }
}

@media (max-width: 899px) {
  .cy-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    padding-inline: var(--cy-gutter);
    background: var(--cy-ink);
    border-bottom: 1px solid var(--cy-hair);
    box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.30s var(--cy-ease), opacity 0.24s var(--cy-ease),
                visibility 0.24s var(--cy-ease), padding 0.24s var(--cy-ease);
  }

  .cy-header[data-open] .cy-nav {
    max-height: 74vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-block: 12px 20px;
  }

  .cy-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .cy-nav__link {
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: var(--cy-r-sm);
    font-size: 16px;
    color: var(--cy-paper-soft);
  }

  .cy-nav__link[aria-current="page"]::after {
    left: auto;
    right: 14px;
    bottom: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(50%);
  }

  .cy-nav-toggle { display: grid; }

  .cy-ghost--hide-sm { display: none; }

  .cy-bar__inner { min-height: 64px; }
  .cy-header[data-stuck] .cy-bar__inner { min-height: 56px; }
}

@media (max-width: 520px) {
  .cy-ticker__group { font-size: 11px; gap: 6px; }
  .cy-ticker__clock { font-size: 11px; }
  .cy-ticker__link { font-size: 11px; }
  .cy-ticker__inner { gap: 10px; }
  .cy-brand__name { font-size: 17px; }
  .cy-brand__seal { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .cy-ghost { padding: 7px 10px; font-size: 11px; }
  .cy-lede { font-size: 16px; }
  .cy-btn { padding: 12px 18px; font-size: 15px; }
}

/* 触摸设备：不做悬浮位移 */
@media (hover: none) {
  .cy-card:hover { transform: none; }
  .cy-card:hover .cy-card__label { transform: none; border-color: var(--cy-hair); }
  .cy-btn:hover { transform: none; }
}

/* ---------- 13. 降低动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .cy-js [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .cy-btn:hover,
  .cy-card:hover,
  .cy-card:focus-within,
  .cy-brand:hover .cy-brand__seal {
    transform: none;
  }

  .cy-card:hover .cy-card__label,
  .cy-card:focus-within .cy-card__label {
    transform: none;
  }
}
