html {
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
  font-family: var(--font-serif);
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

/* ========== 滚动条样式 ========== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: var(--scrollbar-radius);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--scrollbar-radius);
  min-height: 0.48rem;
  transition: background 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* 视口容器：占满内容区，隐藏溢出 */
.viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* 设计稿画布：1920×1080 → 19.2rem × 10.8rem，仅 PC 端（由 js/scale.js 设置 html font-size） */
.dual-pc .page-scale {
  width: 19.2rem;
}

.dual-pc .page {
  position: relative;
  width: 19.2rem;
  height: 10.8rem;
  min-height: 10.8rem;
  overflow: hidden;
  background: transparent;
}

.dual-pc .page--screen,
.dual-pc .page--flow {
  height: 10.8rem;
  min-height: 10.8rem;
}

/* ========== 通用 hover 放大 ========== */
.hover-scale {
  display: inline-block;
  transition: transform var(--transition);
}

.hover-scale:hover {
  transform: scale(var(--hover-scale));
}

/* ========== 导航栏（PC） ========== */
.dual-pc .site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  overflow: visible;
}

.dual-pc .site-header--transparent,
.dual-pc .site-header--solid {
  background: var(--header-bg);
}

.dual-pc .header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.4rem 0 2.5rem;
}

.dual-pc .header-logo {
  flex-shrink: 0;
  margin-right: 0.2rem;
  margin-top: 0.8rem;
}

.dual-pc .header-logo img {
  width: 2.54rem;
  height: 1.65rem;
  object-fit: contain;
}

.dual-pc .header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
}

.dual-pc .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition);
  cursor: pointer;
}

.dual-pc .nav-item:hover {
  transform: scale(var(--hover-scale));
}

.dual-pc .nav-item .nav-cn {
  font-weight: normal;
  font-size: 0.24rem;
  color: var(--color-nav-cn);
  line-height: 1.2;
  transition: color var(--transition);
}

.dual-pc .nav-item .nav-en {
  font-weight: normal;
  font-size: 0.16rem;
  color: var(--color-nav-en);
  line-height: 1.2;
  margin-top: 0.02rem;
  transition: color var(--transition);
}

.dual-pc .nav-item:hover .nav-cn,
.dual-pc .nav-item.active .nav-cn,
.dual-pc .nav-item:hover .nav-en,
.dual-pc .nav-item.active .nav-en {
  color: var(--color-nav-en-active);
}

/* ========== 页面标题（居中，PC） ========== */
.dual-pc .page-title {
  display: block;
  margin: var(--page-title-gap) auto 0;
}

.dual-pc .page-title img {
  display: block;
  margin: 0 auto;
}

/* ========== 轮播指示器（星形，PC） ========== */
.dual-pc .carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.dual-pc .carousel-dots .dot {
  width: 0.3rem;
  height: 0.32rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}

.dual-pc .carousel-dots .dot img {
  width: 0.3rem;
  height: 0.32rem;
  object-fit: contain;
}

.dual-pc .carousel-dots .dot:hover {
  transform: scale(var(--hover-scale));
}
