/* 华悦棋牌 共享样式 /assets/site.css */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --walnut: #5A3A2A;
  --walnut-deep: #3B2418;
  --walnut-ink: #2A190F;
  --gold: #D6A756;
  --gold-soft: #F1D9A8;
  --tianshan: #2E6F8E;
  --tianshan-deep: #245D78;
  --snow: #A9C3D6;
  --pine: #6E8B74;
  --amber: #D9822B;
  --paper: #F7F3EC;
  --paper-2: #EFE8DC;
  --ink: #1E1A17;
  --ink-soft: #5C544C;
  --line: rgba(30, 26, 23, 0.14);
  --line-light: rgba(247, 243, 236, 0.16);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --cut: 18px;
  --bar-h: 56px;
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--walnut-deep);
}

h1 { font-size: clamp(2.5rem, 6.4vw, 6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.32; }

p { margin: 0; }

a {
  color: var(--tianshan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--walnut-deep); }

strong { font-weight: 700; color: var(--walnut-deep); }

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

button { font: inherit; color: inherit; }

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

[hidden] { display: none !important; }

::selection {
  background-color: var(--gold-soft);
  color: var(--walnut-deep);
}

:focus-visible {
  outline: 3px solid var(--tianshan);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-soft);
}

/* ---------- 通用容器与节奏 ---------- */

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

.section { padding-block: clamp(40px, 7vw, 96px); }

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(26px, 4vw, 46px);
  background-color: var(--line);
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.grid--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

/* ---------- 文字元件 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tianshan);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--snow);
}

.dot--amber {
  background-color: var(--amber);
  animation: hy-pulse 1.6s ease-in-out infinite;
}

.dot--pine { background-color: var(--pine); }

@keyframes hy-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 130, 43, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(217, 130, 43, 0); }
}

/* ---------- 切角面板与斜线 ---------- */

.cut-panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background-color: var(--paper-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.35s ease;
}

.cut-panel--walnut {
  background-color: var(--walnut);
  color: var(--paper);
}

.cut-panel--walnut h2,
.cut-panel--walnut h3 { color: var(--gold-soft); }

.cut-panel--walnut .eyebrow { color: var(--gold); }

.cut-panel--cool {
  background-color: var(--tianshan);
  color: #F2F6F8;
}

.cut-panel--cool h2,
.cut-panel--cool h3 { color: #F4F8FA; }

.cut-panel--cool .eyebrow { color: var(--gold-soft); }

.slash-band {
  position: relative;
  overflow: hidden;
}

.slash-band::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(214, 167, 86, 0.22) 0 2px, transparent 2px 16px);
  transition: transform 0.55s ease;
}

.slash-band:hover::before { transform: translateX(10px); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.82em 1.3em;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--gold {
  background-color: var(--gold);
  color: var(--walnut-deep);
}

.btn--gold:hover {
  background-color: var(--gold-soft);
  color: var(--walnut-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: currentColor;
  color: var(--walnut-deep);
}

.btn--ghost:hover {
  background-color: var(--walnut-deep);
  color: var(--paper);
}

.btn--cool {
  background-color: var(--tianshan);
  color: #FFFFFF;
}

.btn--cool:hover {
  background-color: var(--tianshan-deep);
  color: #FFFFFF;
}

/* ---------- 面包屑 ---------- */

.crumbs {
  padding-block: 14px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.crumbs a:hover {
  color: var(--walnut-deep);
  border-bottom-color: var(--gold);
}

.crumbs li + li::before {
  content: "／";
  margin-right: 6px;
  color: var(--snow);
}

.crumbs [aria-current="page"] {
  color: var(--walnut-deep);
  font-weight: 700;
}

/* ---------- 图片容器基础规则 ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--walnut);
  background-image: repeating-linear-gradient(90deg, rgba(247, 243, 236, 0.07) 0 1px, transparent 1px 7px);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(247, 243, 236, 0.06) 0 1px, transparent 1px 13px);
}

.media--wide { aspect-ratio: 24 / 9; }
.media--micro { aspect-ratio: 4 / 3; }
.media--tall { aspect-ratio: 3 / 4; }

.media-caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* ---------- 顶部命令栏 ---------- */

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--walnut-deep);
  background-color: var(--gold);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus-visible { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--paper);
  background-color: var(--walnut-deep);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 6px);
  border-bottom: 1px solid rgba(214, 167, 86, 0.3);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--bar-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover { color: var(--paper); }

.brand-mark {
  flex: none;
  width: 13px;
  height: 13px;
  background-color: var(--gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 3px var(--walnut-deep);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.brand-sub {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 236, 0.6);
}

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 236, 0.78);
  text-decoration: none;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-list a:hover {
  color: var(--gold-soft);
  background-color: rgba(214, 167, 86, 0.14);
}

.nav-list a[aria-current="page"] {
  color: var(--walnut-deep);
  background-color: var(--gold);
  font-weight: 700;
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--snow);
  opacity: 0.85;
}

.nav-list a:hover .nav-idx { color: var(--gold-soft); }

.nav-list a[aria-current="page"] .nav-idx {
  color: rgba(59, 36, 24, 0.72);
  opacity: 1;
}

.header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(214, 167, 86, 0.55);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background-color: var(--gold);
  color: var(--walnut-deep);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  background-color: transparent;
  border: 1px solid rgba(214, 167, 86, 0.45);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.nav-toggle:hover {
  background-color: rgba(214, 167, 86, 0.16);
  color: var(--gold-soft);
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.22s ease, top 0.22s ease, bottom 0.22s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.site-header[data-open="true"] .nav-toggle-bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-bars::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

.nav-toggle-label { line-height: 1; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: rgba(247, 243, 236, 0.1);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, var(--gold), var(--amber));
  transition: width 0.12s linear;
}

/* ---------- 页脚账本 ---------- */

.site-footer {
  background-color: var(--walnut-deep);
  color: rgba(247, 243, 236, 0.78);
  font-size: 14.5px;
}

.footer-rule {
  height: 4px;
  background-image: linear-gradient(90deg, var(--gold) 0%, var(--amber) 38%, var(--tianshan) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 5.5vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--paper);
}

.footer-tagline {
  margin-top: 12px;
  max-width: 34ch;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.66);
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 236, 0.55);
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(247, 243, 236, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-list a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.footer-contact { min-width: 0; }

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.footer-label {
  min-width: 4.6em;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.48);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  word-break: break-word;
}

.copy-btn {
  padding: 3px 9px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background-color: transparent;
  border: 1px solid rgba(214, 167, 86, 0.45);
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.copy-btn:hover {
  background-color: var(--gold);
  color: var(--walnut-deep);
}

.copy-btn.is-copied {
  background-color: var(--pine);
  border-color: var(--pine);
  color: #F7F3EC;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(247, 243, 236, 0.52);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: rgba(247, 243, 236, 0.68);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--gold-soft); }

.footer-icp {
  margin-left: auto;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-copyright { font-family: var(--font-mono); }

/* ---------- 侧边悬浮索引 ---------- */

.rail {
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  font-size: 13px;
}

.rail-title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.rail-list {
  display: grid;
  gap: 2px;
}

.rail-list a {
  display: block;
  padding: 7px 10px;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.rail-list a:hover {
  color: var(--walnut-deep);
  border-left-color: var(--gold);
}

.rail-list a[aria-current="true"] {
  color: var(--walnut-deep);
  font-weight: 700;
  background-color: var(--gold-soft);
  border-left-color: var(--walnut);
}

/* ---------- 筛选组 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background-color: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover {
  color: var(--walnut-deep);
  border-color: var(--walnut);
}

.filter-btn.is-active {
  color: var(--paper);
  background-color: var(--walnut);
  border-color: var(--walnut);
}

.filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---------- 时间轴 ---------- */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-image: linear-gradient(180deg, var(--gold), rgba(214, 167, 86, 0.15));
}

.timeline-item {
  position: relative;
  padding-left: 38px;
  padding-bottom: 26px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--paper);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- 适配清单 ---------- */

.checklist {
  display: grid;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--paper-2);
  border-left: 3px solid var(--snow);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checklist-item input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--pine);
  cursor: pointer;
}

.checklist-item.is-done {
  border-left-color: var(--pine);
  background-color: rgba(110, 139, 116, 0.14);
}

.checklist-item.is-done > span { color: var(--ink-soft); }

.checklist-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.checklist-meter-fill {
  flex: 1;
  height: 6px;
  background-color: rgba(30, 26, 23, 0.12);
}

.checklist-meter[data-done="true"] .checklist-meter-count { color: var(--pine); }

/* ---------- 显现 ---------- */

html[data-reveal="on"] .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---------- 响应式 ---------- */

@media (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 6px var(--gutter) 22px;
    max-height: min(70vh, 460px);
    overflow-y: auto;
    background-color: var(--walnut-deep);
    border-bottom: 1px solid rgba(214, 167, 86, 0.3);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.6);
  }

  .site-header[data-open="true"] .site-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li + li { border-top: 1px dashed rgba(247, 243, 236, 0.14); }

  .nav-list a {
    padding: 14px 4px;
    font-size: 15px;
    clip-path: none;
  }

  .nav-list a[aria-current="page"] {
    background-color: transparent;
    color: var(--gold);
  }

  .nav-list a[aria-current="page"] .nav-idx { color: var(--gold); }

  .brand-sub { display: none; }

  .header-cta {
    font-size: 12px;
    padding: 7px 10px;
  }

  .grid--split { grid-template-columns: 1fr; }

  .rail { position: static; }

  .rail-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .rail-list a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid var(--line);
  }

  .rail-list a[aria-current="true"] { border-left: 0; }

  .filter-status { margin-left: 0; width: 100%; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .nav-list a {
    font-size: 12.5px;
    padding: 7px 7px;
  }
  .nav-idx { display: none; }
  .brand-sub { display: none; }
  .header-cta {
    font-size: 12px;
    padding: 7px 10px;
  }
}

@media (max-width: 720px) {
  .footer-icp { margin-left: 0; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand-name { font-size: 22px; }
}

@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;
  }

  .dot--amber { animation: none; }

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

  .slash-band:hover::before { transform: none; }
}
