/* ==========================================================================
   相沁荣精密科仪 — 站点头部 / 站尾
   设计基准：1920px 宽截图（logo 左置，导航右对齐，末尾 En + 搜索）
   ========================================================================== */

:root {
  --ink: #333333;
  --ink-strong: #3a3a3a;
  --accent: #ef9a1f;
  --line: #e3e3e3;

  --maxw: 1680px;
  --gutter: clamp(24px, 6.7vw, 128px);  --header-h: clamp(68px, 6vw, 116px);
  --nav-gap: clamp(20px, 2.5vw, 48px);
  --nav-font: clamp(15px, 0.94vw, 18px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --footer-bg: #28292a;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* 防止窄屏下装饰层撑出横向滚动条；用 clip 避免破坏头部 sticky */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

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

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

.container {
  width: min(100% - var(--gutter) * 2, var(--maxw));
  margin-inline: auto;
}

/* ==========================================================================
   Header 外壳
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.header-inner {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 64px);
  height: var(--header-h);
}

/* ==========================================================================
   Logo：B + 橙色圆环 O + ZHON
   ========================================================================== */

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: clamp(24px, 2.05vw, 33px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  -webkit-tap-highlight-color: transparent;
}

.logo__letter {
  display: block;
}

.logo__ring {
  display: block;
  flex: none;
  width: 0.85em;
  height: 0.85em;
  margin: 0 0.04em;
  border: 0.2em solid var(--accent);
  border-radius: 50%;
}

/* ==========================================================================
   桌面导航
   ========================================================================== */

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: clamp(22px, 2.8vw, 56px);
  flex: 1;
  align-self: stretch;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: var(--nav-gap);
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: var(--nav-font);
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* 箭头只在小屏出现，桌面端靠悬停展开不需要提示 */
.nav-caret {
  display: none;
}

/* ==========================================================================
   二级菜单：悬停「公司产品」展开三栏大菜单
   左：设备图占位 ｜ 中：产品分类 ｜ 右：对应型号
   ========================================================================== */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
  background: #fff;
  border-top: 1px solid #f4f4f4;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.05);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    visibility 0s linear 0.24s;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1.93fr)
    minmax(244px, 1fr)
    minmax(0, 2.19fr);
  align-items: stretch;
  padding-top: clamp(28px, 2.5vw, 45px);
  padding-bottom: clamp(22px, 1.75vw, 31px);
}

/* ------------------------------ 左：设备图 ------------------------------ */

.mega-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(16px, 2.45vw, 44px);
}

/* 各分类的设备图叠在同一格，切换时淡入 */
.mega-media__figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 194;
}

.mega-media__img {
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s var(--ease), visibility 0s linear 0.24s;
}

.mega-media__img.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.24s var(--ease), visibility 0s;
}

/* ------------------------------ 中：分类 ------------------------------ */

.mega-cats {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0 clamp(14px, 2.3vw, 41px);
  min-width: 0;
}

/* 每一项都撑满整列，胶囊宽度才一致 */
.mega-cat {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  list-style: none;
}

.mega-cat > a {
  flex: 1 1 auto;
  min-width: 0;
}

/* 竖分隔线：只覆盖内容区高度，不撑满整列 */
.mega-cats::before,
.mega-cats::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e5e5;
}

.mega-cats::before {
  left: 0;
}

.mega-cats::after {
  right: 0;
}

.mega-cat a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 clamp(10px, 0.9vw, 16px) 0 clamp(12px, 1.1vw, 20px);
  border-radius: 4px;
  font-size: clamp(14px, 1.02vw, 17px);
  color: #58585a;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

/* 当前项：橙色胶囊 */
.mega-cat.is-active a {
  background: #fbb03f;
  color: #fff;
  font-weight: 500;
}

.mega-cat:not(.is-active) a:hover {
  background: #f7f7f7;
  color: var(--accent);
}

/* 右侧箭头 */
.mega-cat__chevron {
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

/* ------------------------------ 右：型号 ------------------------------ */

/* 各分类的型号面板叠在同一格，切换时淡入 */
.mega-models-wrap {
  position: relative;
  display: grid;
  align-content: start;
}

.mega-models-wrap > .mega-models {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.35vw, 24px);
  padding: clamp(10px, 0.9vw, 16px) clamp(16px, 2.3vw, 41px) 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s var(--ease), visibility 0s linear 0.2s;
}

.mega-models-wrap > .mega-models.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s var(--ease), visibility 0s;
}

.mega-models a {
  font-size: 16px;
  color: #929292;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.mega-models a:hover {
  color: var(--accent);
}

/* 展开条件：鼠标悬停或键盘焦点进入 */
.nav-item--has-menu:hover .mega-menu,
.nav-item--has-menu:focus-within .mega-menu,
.nav-item--has-menu.is-open .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    visibility 0s;
}

/* 展开时触发项变橙色，但不要下划线 */
.nav-item--has-menu:hover > .nav-link,
.nav-item--has-menu:focus-within > .nav-link,
.nav-item--has-menu.is-open > .nav-link {
  color: var(--accent);
}

.nav-item--has-menu:hover > .nav-link::after,
.nav-item--has-menu:focus-within > .nav-link::after,
.nav-item--has-menu.is-open > .nav-link::after {
  transform: scaleX(0);
}

/* En + 搜索 */
.nav-tools {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.4vw, 26px);
  flex: none;
}

.nav-divider {
  width: 1px;
  height: 15px;
  background: #d8d8d8;
}

.lang-switch {
  font-size: var(--nav-font);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.lang-switch:hover {
  color: var(--accent);
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: -4px;
  border-radius: 50%;
  transition: color 0.2s var(--ease);
}

.search-toggle:hover {
  color: var(--accent);
}

/* ==========================================================================
   左侧汉堡按钮（仅窄屏出现）
   ========================================================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink-strong);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   搜索面板
   ========================================================================== */

.search-panel {
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: #fff;
  border-top: 1px solid transparent;
  transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease),
    visibility 0s linear 0.32s, border-color 0.32s var(--ease);
}

.search-panel.is-open {
  visibility: visible;
  max-height: 104px;
  opacity: 1;
  border-top-color: #f0f0f0;
  transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease),
    visibility 0s, border-color 0.32s var(--ease);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dcdcdc;
  color: #8a8a8a;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.search-form:focus-within {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 16px;
  color: var(--ink-strong);
  outline: none;
}

.search-form input::placeholder {
  color: #a8a8a8;
}

.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #7a7a7a;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.search-close:hover {
  color: var(--ink-strong);
  background: #f4f4f4;
}

/* ==========================================================================
   演示用页面内容
   ========================================================================== */

.page-intro {
  padding: clamp(64px, 12vh, 140px) 0 clamp(80px, 16vh, 180px);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.page-intro__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.page-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

.page-intro__desc {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(14px, 1.05vw, 17px);
  color: #6b6b6b;
}

.page-filler {
  padding-bottom: 96px;
}

.filler-block {
  height: 240px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #f5f5f5;
}

/* ==========================================================================
   站尾
   背景与文字色取自设计稿：底色 #28292a，弧形装饰 #2f3032
   ========================================================================== */

.site-footer {
  position: relative;
  padding-top: clamp(72px, 7vw, 132px);
  padding-bottom: clamp(28px, 2.2vw, 38px);
  background: var(--footer-bg);
  color: #fff;
}

/* 站尾容器与头部同宽，左右边缘对齐 */
.site-footer .container {
  width: min(100% - var(--gutter) * 2, var(--maxw));
}

/* ------------------------------ 返回顶部 ------------------------------ */

.back-to-top {
  position: absolute;
  top: clamp(-16px, -1.1vw, -10px);
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 0 20px;
  transform: translateX(-50%);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top__icon {
  display: block;
  width: clamp(30px, 3.2vw, 44px);
  height: auto;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.back-to-top__label {
  font-size: clamp(10px, 0.66vw, 12px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  color: #cfcfcf;
  transition: color 0.22s var(--ease);
}

.back-to-top:hover .back-to-top__icon {
  transform: translateY(-4px);
}

.back-to-top:hover .back-to-top__label {
  color: #fff;
}

/* ------------------------------ 主体布局 ------------------------------ */

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 80px);
}

/* 品牌与联系方式 */
.footer-brand {
  display: flex;
  flex-direction: column;
  flex: none;
  width: clamp(240px, 21.5vw, 340px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: clamp(32px, 2.9vw, 47px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #fff;
}

.footer-logo__letter {
  display: block;
}

/* 站尾 Logo 的 O 是空心白色圆环，不是橙色 */
.footer-logo__ring {
  display: block;
  flex: none;
  width: 0.85em;
  height: 0.85em;
  margin: 0 0.04em;
  border: 0.2em solid #fff;
  border-radius: 50%;
}

.footer-hotline {
  margin: clamp(38px, 4.4vw, 58px) 0 0;
  font-size: clamp(22px, 1.75vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.footer-phone {
  display: inline-block;
  margin-top: clamp(4px, 0.5vw, 7px);
  font-size: clamp(26px, 2.35vw, 39px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s var(--ease);
}

.footer-phone:hover {
  color: var(--accent);
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: clamp(22px, 2.4vw, 34px) 0 0;
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.86);
}

.footer-address svg {
  flex: none;
  color: rgba(255, 255, 255, 0.86);
}

/* ------------------------------ 导航列 ------------------------------ */

/* 导航列整体靠右：品牌区在左，各列紧贴右边距，与友情链接对齐 */
.footer-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(22px, 3.78vw, 70px);
  min-width: 0;
}

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

.footer-col__title {
  margin: 0;
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.footer-col__title a {
  color: #fff;
  transition: color 0.2s var(--ease);
}

.footer-col__list {
  margin: clamp(24px, 2.4vw, 42px) 0 0;
}

.footer-col__list li + li {
  margin-top: clamp(10px, 0.95vw, 17px);
}

.footer-col__list a {
  font-size: clamp(14px, 0.94vw, 17px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
  transition: color 0.2s var(--ease);
}

.footer-col__title a:hover,
.footer-col__list a:hover {
  color: var(--accent);
}

/* ------------------------------ 友情链接 ------------------------------ */

.footer-aside {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(48px, 6vw, 92px);
  /* 与上方导航列右边缘对齐，不再额外内缩 */
  padding-right: 0;
}

.friend-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: clamp(13px, 0.94vw, 17px);
  color: #fff;
}

.friend-links__label {
  font-weight: 700;
}

.friend-links__current {
  color: #fff;
  transition: color 0.2s var(--ease);
}

.friend-links__current:hover {
  color: var(--accent);
}

.friend-links__caret {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   响应式：导航压缩
   ========================================================================== */

@media (max-width: 1440px) {
  :root {
    --nav-gap: clamp(18px, 2vw, 34px);
  }

  .main-nav {
    gap: 26px;
  }
}

@media (max-width: 1240px) {
  :root {
    --nav-gap: 20px;
    --nav-font: 15px;
  }
}

/* ==========================================================================
   响应式：切换为抽屉菜单（< 1100px）
   ========================================================================== */

@media (max-width: 1099px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    display: block;
    gap: 0;
    max-height: 0;
    padding: 0 var(--gutter);
    overflow: hidden auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.36s var(--ease), opacity 0.24s var(--ease),
      padding 0.36s var(--ease), visibility 0s linear 0.36s;
  }
  .main-nav.is-open {
    max-height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding-block: 8px 28px;
    visibility: visible;
    opacity: 1;
    transition: max-height 0.36s var(--ease), opacity 0.24s var(--ease),
      padding 0.36s var(--ease), visibility 0s;
  }

  .nav-list {
    display: block;
  }

  .nav-link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    border-bottom: 1px solid #f2f2f2;
  }

  .nav-link::after {
    display: none;
  }

  /* 抽屉内：二级菜单作为普通列表展开，不再浮层 */
  .nav-item {
    display: block;
  }

  .nav-item--has-menu {
    display: block;
  }

  /* 小屏：父项右侧显示箭头，点击展开子项 */
  .nav-caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 9px;
    vertical-align: middle;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s var(--ease);
  }

  .nav-item--has-menu.is-open .nav-caret {
    transform: translateY(1px) rotate(-135deg);
  }

  /* 抽屉内：大菜单改为普通列表展开，去掉图片与分隔线 */
  .mega-menu {
    position: static;
    display: none;
    background: none;
    border-top: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-item--has-menu.is-open .mega-menu {
    display: block;
  }

  .mega-menu__inner {
    display: block;
    width: 100%;
    padding: 4px 0 12px 16px;
  }

  .mega-cats::before,
  .mega-cats::after {
    display: none;
  }

  /* 图片在抽屉里占空间且无信息量，直接隐藏 */
  .mega-media {
    display: none;
  }

  .mega-cats {
    gap: 0;
    padding: 0;
  }

  .mega-cat a {
    height: auto;
    padding: 9px 0;
    font-size: 14px;
    color: #8a8a8a;
  }

  .mega-cat.is-active a {
    background: none;
    color: var(--accent);
    font-weight: 400;
  }

  .mega-cat__chevron {
    display: none;
  }

  /* 抽屉内只显示当前分类的型号，不做叠层 */
  .mega-models-wrap {
    display: block;
    margin-top: 2px;
    border-left: 1px solid #eeeeee;
    padding-left: 14px;
  }

  .mega-models-wrap > .mega-models {
    display: none;
    padding: 0;
    border-left: 0;
    margin-top: 0;
  }

  .mega-models-wrap > .mega-models.is-active {
    display: flex;
  }

  .mega-models a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
  }

  /* 顶栏：logo | En + 搜索 + 汉堡 */
  .nav-tools {
    gap: 14px;
    margin-left: auto;
  }

  .nav-divider {
    display: none;
  }

  .search-toggle {
    width: 36px;
    height: 36px;
    margin-right: 0;
  }

  .menu-toggle {
    margin-right: -8px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .logo {
    font-size: 25px;
  }

  .page-intro {
    padding-block: 56px 96px;
  }
}

/* ==========================================================================
   响应式：站尾
   ========================================================================== */

/* 品牌区与导航列改为上下排列 */
@media (max-width: 1023px) {
  .footer-main {
    flex-direction: column;
    gap: clamp(44px, 6vw, 64px);
  }

  .footer-brand {
    width: 100%;
  }

  .footer-nav {
    width: 100%;
    flex: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: clamp(32px, 5vw, 56px);
  }

  .footer-aside {
    justify-content: flex-start;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 88px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-col__title {
    font-size: 16px;
    white-space: normal;
  }

  .footer-col__list {
    margin-top: 16px;
  }

  .footer-col__list li + li {
    margin-top: 10px;
  }

  .footer-col__list a {
    font-size: 14px;
  }

  .back-to-top {
    top: -14px;
  }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}