/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.7_@babel+core@7.28.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/.pnpm/next@15.5.7_@babel+core@7.28.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./components/Prism.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Prism_prism-container__p0HtJ {
  position: relative;
  width: 100%;
  height: 100%;
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.7_@babel+core@7.28.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/.pnpm/next@15.5.7_@babel+core@7.28.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./components/CardNav.module.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.CardNav_card-nav-container__npFyz {
  position: absolute;
  top: calc(2em + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1100px;
  z-index: 99;
  box-sizing: border-box;
}

/* 新增：左对齐变体 */
.CardNav_leftAligned__NRVuO {
  left: 1rem;
  transform: none;
  width: calc(100% - 2rem);
  max-width: 1280px;
}

.CardNav_leftAligned__NRVuO .CardNav_logo-container__Vhb48 {
  position: static;
  transform: none;
  left: auto;
  top: auto;
}

.CardNav_leftAligned__NRVuO .CardNav_card-nav-top__611Js {
  padding: 0.5rem 1rem;
}

.CardNav_card-nav__JxsbJ {
  display: block;
  height: 60px;
  padding: 0;
  background-color: white;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  will-change: height;
  backdrop-filter: saturate(150%) blur(6px);
}

.CardNav_card-nav-top__611Js {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.45rem 0.55rem 1.1rem;
  z-index: 2;
}

/* 新增：品牌左置（顶栏内） */
.CardNav_brandLeft__eRfvg .CardNav_logo-container__Vhb48 {
  position: static;
  transform: none;
}

.CardNav_brandLeftLogo__Iuy_i {
  gap: 10px;
}

.CardNav_brandText__cnCuJ {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.CardNav_hamburger-menu__CxyHk {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 6px;
}

.CardNav_hamburger-menu__CxyHk:hover .CardNav_hamburger-line__uBLLt {
  opacity: 0.75;
}

.CardNav_hamburger-line__uBLLt {
  width: 30px;
  height: 2px;
  background-color: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    margin 0.3s ease;
  transform-origin: 50% 50%;
}

.CardNav_hamburger-menu__CxyHk.CardNav_open__UU5sR .CardNav_hamburger-line__uBLLt:first-child {
  transform: translateY(4px) rotate(45deg);
}

.CardNav_hamburger-menu__CxyHk.CardNav_open__UU5sR .CardNav_hamburger-line__uBLLt:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.CardNav_logo-container__Vhb48 {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.CardNav_logo__vM9b9 {
  height: 28px;
}

/* 新增：顶栏链接样式 */
.CardNav_topLinks__1Wm6a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.CardNav_topLink__BI75R {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.CardNav_topLink__BI75R:hover {
  opacity: 1;
}

.CardNav_card-nav-cta-button__1bcUn {
  background-color: #111;
  color: white;
  border: none;
  border-radius: calc(0.75rem - 0.35rem);
  padding: 0 1rem;
  height: 100%;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.CardNav_card-nav-cta-button__1bcUn:hover {
  background-color: #333;
}

.CardNav_card-nav-content__f81_r {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 0;
  padding: 0.5rem;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.CardNav_card-nav__JxsbJ.CardNav_open__UU5sR .CardNav_card-nav-content__f81_r {
  visibility: visible;
  pointer-events: auto;
}

.CardNav_nav-card__INygj {
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
  border-radius: calc(0.75rem - 0.2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 8px;
  user-select: none;
}

.CardNav_nav-card-label__AYxM4 {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.CardNav_nav-card-links__PcGWi {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.CardNav_nav-card-link__MUIbe {
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.CardNav_nav-card-link__MUIbe:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .CardNav_card-nav-container__npFyz {
    width: 90%;
    top: calc(1.2em + env(safe-area-inset-top));
  }

  .CardNav_card-nav-top__611Js {
    padding: 0.5rem 1rem;
    justify-content: space-between;
  }

  .CardNav_hamburger-menu__CxyHk {
    order: 2;
  }

  .CardNav_logo-container__Vhb48 {
    position: static;
    transform: none;
    order: 1;
  }

  .CardNav_card-nav-cta-button__1bcUn {
    display: none;
  }

  .CardNav_topLinks__1Wm6a {
    gap: 12px;
  }

  .CardNav_card-nav-content__f81_r {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0.5rem;
    bottom: 0;
    justify-content: flex-start;
  }

  .CardNav_nav-card__INygj {
    height: auto;
    min-height: 60px;
    flex: 1 1 auto;
    max-height: none;
  }

  .CardNav_nav-card-label__AYxM4 {
    font-size: 18px;
  }

  .CardNav_nav-card-link__MUIbe {
    font-size: 15px;
  }
}

