/* 根元素变量定义，用于全局样式控制 */
:root {
  /* 默认背景色 */
  --backColor: #fff;
  --borderline: #00283a;
  /* 卡片相关颜色 */
  --headerCOlor: #00283A;
  --headerhover: rgb(0, 40, 58, .8);

  /* 字体颜色 */
  --headerFont: #fff;
  --fontColor: #00283A;
  --mainColor: #ff8181;
  --bagColor: #02162b;

  /* Header sizing (used by borderafter + mobile dropdown) */
  --header-h: 70px;
  --header-border-h: 8px;
}

/* Make percentage widths predictable (prevents mobile left/right "uneven blank" from padding overflow) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*点赞动画*/
#like-btn.liked {
  transform: scale(1.2);
  transition: transform 0.2s;
}

/* SVG元素的样式，设置路径填充颜色为白色 */
.content-li svg path,
.buttom svg path {
  fill: #fff;
}

/*粒子效果*/
#my_canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/*字体*/
@font-face {
  /*字体名*/
  font-family: PlayballRegular;
  /*字体路径*/
  src: url("../Font/Playball-Regular.ttf");

}

/*打字机字体大小*/
#typed-text {
  font-size: 35px;
}

/*开始设置字体*/
.Font1 {
  font-family: 'PlayballRegular';
  font-size: 40px;
}

.Font2 {
  font-family: 'PlayballRegular';
  font-size: 20px;
}

/* SVG元素垂直对齐方式 */
svg {
  vertical-align: middle;
}

/* SVG路径填充颜色，使用根元素变量 */
svg path {
  fill: var(--headerFont);
}

/* 遮罩层样式，用于弹出视频播放等 */
.zhezhao {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  background-color: rgba(0, 0, 0, .7);
  z-index: 9;
  display: none;
  /* 默认不显示 */
}

/* 遮罩层激活状态，显示遮罩 */
.zhezhao.active {
  display: block;
}

/* 遮罩层中的关闭按钮样式 */
.zhezhao .close {
  position: absolute;
  right: 20%;
  top: 10%;
}

/* 关闭按钮的SVG路径填充颜色 */
.close path {
  fill: #FCFCFE;
}

/* 视频播放器的样式，居中显示 */
#videoResume {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 视频播放器的宽度设置为100% */
#videoResumeC {
  width: 100%;
}

/* 页面基本样式设置 */
body,
html {
  position: relative;
  margin: 0px;
  width: 100%;
  padding: 0px;
  font-size: 13px;
  letter-spacing: 2px;
  transition: .4s ease-in-out;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--headerFont);
  background-color: var(--bagColor);
  z-index: -2;
}

/* 链接样式，继承父级颜色，无下划线 */
a {
  transition: color .6s ease-in-out;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* 链接悬停时的颜色变化 */
a:hover {
  color: var(--mainColor);
}

/* 左边的卡片样式，圆角和模糊效果 */
.carbox {
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* 列表样式，移除默认样式 */
ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

/* 列表项内联块显示 */
ul>li {
  display: inline-block;
}

/* 图片样式，宽度和高度自适应 */
img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

/* 版权信息样式 */
.copybottm {
  padding: 30px 20px;
  color: #7B7B7D;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: .4s ease-in-out;
  text-transform: uppercase;
}

/* 顶部栏目样式，固定定位，圆角和阴影效果 */
.header {
  position: fixed;
  z-index: 2;
  top: 0px;
  width: 100%;
  height: var(--header-h);
  line-height: var(--header-h);
  border-radius: 0% 0% 10px 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 15%);
  backdrop-filter: blur(10px);
}

/* 顶部栏下方的装饰线条 */
.borderafter::after {
  content: '';
  position: absolute;
  top: var(--header-h);
  left: 0px;
  right: 0px;
  height: var(--header-border-h);
  background-color: var(--borderline);
  border-radius: 0% 0% 5px 5px;
  opacity: .3;
  pointer-events: none;
}

/* Back button: unified positioning */
.back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* Hamburger icon (mobile header menu) */
.min_menu-wrap {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.min_menu {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--headerFont);
  border-radius: 2px;
  transition: background .2s ease;
}

.min_menu::before,
.min_menu::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--headerFont);
  border-radius: 2px;
  transition: transform .2s ease;
}

.min_menu::before {
  transform: translateY(-6px);
}

.min_menu::after {
  transform: translateY(6px);
}

#minmenu.active .min_menu {
  background: transparent;
}

#minmenu.active .min_menu::before {
  transform: rotate(45deg);
}

#minmenu.active .min_menu::after {
  transform: rotate(-45deg);
}

/* 顶部栏中间内容的容器 */
.col {
  width: 75%;
  margin: 0 auto;
}

/* 顶部栏内容布局，左右对齐 */
.header>div {
  display: flex;
  justify-content: space-between;
}

/* 导航栏响应式：小屏下的汉堡菜单展开动画与布局 */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --header-border-h: 6px;
  }

  .back-btn {
    left: 12px;
  }

  .col {
    width: 92%;
  }

  .header>div {
    align-items: center;
  }

  .min_menu-wrap {
    display: block !important;
    cursor: pointer;
  }

  .menu_list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--header-h) + var(--header-border-h));
    background: var(--headerhover);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: .15s ease;
    z-index: 3;
  }

  .menu_list.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-right .header-nav {
    display: block;
    padding: 10px 0;
  }

  .header-right .header-nav>li {
    display: block;
    padding: 10px 0;
    text-align: center;
  }
}


/* 开灯按钮的样式 */
/* 开关按钮的滑块样式 */
.kaig-bottm .my-radio>i {
  position: absolute;
  /* 定位方式为绝对定位 */
  left: 0px;
  /* 初始位置在左侧 */
  top: 0px;
  /* 顶部对齐 */
  bottom: 0px;
  /* 底部对齐，确保高度自适应 */
  display: inline-block;
  /* 内联块显示，允许设置宽高 */
  width: 35%;
  /* 宽度为父元素的35% */
  border: solid 3px #AFB42B;
  /* 边框样式，颜色为#AFB42B */
  border-radius: 50%;
  /* 圆角，使其呈圆形 */
  background: #FCFCFE;
  /* 背景颜色 */
  transition: all .2s ease;
  /* 动画过渡效果，持续0.2秒 */
}

/* 顶部导航栏 */
.header-nav {
  display: inline-block;
  /* 内联块显示，允许与其他元素在同一行 */
  font-size: 14px;
  /*字体大小*/
}

/* 激活状态的导航项下划线效果 */
.header-nav>li.active::after {
  content: '';
  /* 伪元素内容为空 */
  display: inline-block;
  /* 内联块显示 */
  position: absolute;
  /* 绝对定位 */
  bottom: 0;
  /* 底部对齐 */
  left: 0px;
  /* 左边距为0 */
  right: 0px;
  /* 右边距为0，宽度自适应 */
  border-radius: 10px;
  /* 圆角 */
  height: 3px;
  /* 高度为3px */
  background-color: var(--mainColor);
  /* 背景颜色使用变量 */
  transition: .4s ease-in-out;
  /* 动画过渡效果，持续0.4秒 */
}

/* 导航栏列表项 */
.header-nav>li {
  padding: 0 30px;
  /* 左右内边距为30px */
  position: relative;
  /* 相对定位 */
  transition: color .6s ease-in-out;
  /* 颜色变化动画过渡效果 */
  box-sizing: border-box;
  /* 盒模型包含边框和内边距 */
}

/* 导航栏列表项悬停效果 */
.header-nav>li:hover {
  color: var(--mainColor);
  /* 悬停时字体颜色变化 */
}



/* 默认主题 */
.navigation {
  margin: 0px auto 0;
  /* 上下外边距为0，左右外边距自动 */
  width: 95%;
  /* 宽度为95% */
  background-color: transparent;
  /* 背景颜色透明 */
  height: 720px;
  /* 高度为720px */
  border-radius: 20px;
  /* 圆角 */
  background-image: url("../img/back/background.avif");
  /* 默认背景图片 */
  background-attachment: fixed;
  /* 背景图片固定 */
  background-size: 100%;
  /* 背景图片宽度 */
  background-repeat: no-repeat;
  /* 背景图片不重复 */
  overflow: hidden;
  /* 隐藏溢出内容 */
  color: #fff;
  /* 字体颜色为白色 */
}

/* 导航栏标题样式 */
.navigation .titleBox-tag {
  text-transform: uppercase;
  /* 文本大写 */
}

/* 导航栏标题字体样式 */
.navigation h1 {
  margin: 10px 0;
  /* 上下外边距为10px */
  font-size: 3.8rem;
  /* 字体大小 */
  color: #fcfcfe;
  /* 字体颜色 */
  text-shadow: 0 1px 10px rgb(0 0 0 / 30%);
  /* 文本阴影 */
}

/* 按钮悬停效果 */
.navigation .buttom:hover {
  transform: scale(1.1);
  /* 放大1.1倍 */
  color: #fff;
  /* 字体颜色 */
}

/* 导航栏标题容器 */
.navigation>.nav-titleBox {
  margin-top: 18rem;
  /* 上外边距 */
}

/* 按钮样式 */
.nav-titleBox .buttom {
  display: inline-block;
  /* 内联块显示 */
  height: 28px;
  /* 高度 */
  line-height: 28px;
  /* 行高 */
  padding: 0px 35px 0 20px;
  /* 内边距 */
  border: 2px solid white;
  /* 边框样式 */
  border-radius: 15px;
  /* 圆角 */
  cursor: pointer;
  /* 鼠标样式为指针 */
  transition: transform .3s ease;
  /* 动画过渡效果 */
  color: #fcfcfe;
  /* 字体颜色 */
  position: relative;
  /* 相对定位 */
}

/* 按钮的箭头动画 */
.nav-titleBox .buttom::after {
  position: absolute;
  /* 绝对定位 */
  right: 10px;
  /* 右边距 */
  top: 50%;
  /* 顶部对齐 */
  content: '';
  /* 伪元素内容为空 */
  width: 0px;
  /* 宽度为0 */
  height: 0px;
  /* 高度为0 */
  border-top: 4px solid transparent;
  /* 上边框透明 */
  border-left: 8px solid #fff;
  /* 左边框为白色 */
  border-bottom: 4px solid transparent;
  /* 下边框透明 */
  animation: bmove 1s infinite;
  /* 动画效果 */
}

/* 按钮箭头动画关键帧 */
@keyframes bmove {
  0% {
    opacity: 1;
    /* 初始透明度为1 */
    transform: translateX(-8px) translateY(-50%);
    /* 初始位置 */
  }

  100% {
    opacity: 0;
    /* 最终透明度为0 */
    transform: translateX(5px) translateY(-50%);
    /* 最终位置 */
  }
}

/* 内容区域 */
.co-left {
  width: 35%;
  /* 宽度为35% */
  display: inline-block;
  /* 内联块显示 */
  height: 50px;
  /* 高度为50px */
}

.co-right {
  width: 64%;
  /* 宽度为64% */
  display: inline-block;
  /* 内联块显示 */
  min-height: 50px;
  /* 最小高度为50px */
}

.co {
  width: 70%;
  /* 宽度为70% */
  margin: 0 auto;
  /* 上下外边距为0，左右外边距自动 */
}

.content {
  position: relative;
  /* 相对定位 */
  top: -90px;
  /* 向上偏移90px */
  min-height: 1000px;
  /* 最小高度为1000px */
  width: 70%;
  /* 宽度为70% */
  margin: 0 auto;
  /* 上下外边距为0，左右外边距自动 */
  display: flex;
  /* 弹性布局 */
}

.pictureparent {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

/*跟随滚动*/
.scroll {

  position: fixed !important;
  top: 49%;
}

/* 左半部分卡片样式 */
.content .me-card {
  margin-top: 50px;
  width: clamp(320px, 30vw, 420px);
  /* 桌面端稍微加宽，且随视口平滑变化 */
  min-width: 320px;
  /* 最小宽度为285px */
  transform: translateY(-50%);
  /* 向上偏移351px */
  height: 780px;
  /* 高度为780px */
  border-radius: 10px;
  /* 圆角 */
  text-align: center;
  /* 文本居中 */
  border: 1px solid var(--headerCOlor);
  /* 边框样式 */
  padding: 0px 30px;
  /* 内边距 */
  transition: all 0.3s ease;
  /* 吸盘放大动画过渡效果 */
  max-width: 420px;
}

/* 鼠标悬停时的吸盘效果：仅在支持 hover 的设备启用，避免移动端“点一下就上弹” */
@media (hover: hover) and (pointer: fine) {
  .content .me-card:hover {
    transform: translateY(-50%) scale(1.01);
    /* 稍微放大 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* 更强的阴影效果 */
  }
}

/* 左边吸盘标题样式 */
.mecar-title {
  margin-top: 40px;
  /* 上外边距 */
}

/* 光标效果 */
.me-hover span {
  margin: 0 auto;
  /* 上下外边距为0，左右外边距自动 */
  display: block;
  /* 块级显示 */
  font: 14px;
  /* 字体大小 */
  border-right: .08em solid;
  /* 右边框 */
  width: 18ch;
  /* 宽度为18个字符 */
  white-space: nowrap;
  /* 不换行 */
  overflow: hidden;
  /* 隐藏溢出内容 */
  animation: typing 3s steps(15, end), blink-caret .3s step-end infinite alternate;
  /* 动画效果 */
}

/* 打字机动画关键帧 */
@keyframes typing {
  from {
    width: 0;
    /* 初始宽度为0 */
  }
}

/* 光标闪烁动画关键帧 */
@keyframes blink-caret {
  50% {
    border-color: transparent;
    /* 50%时边框透明 */
  }
}

/* 虚线样式 */
.content .borderbotm {
  border-bottom: 1px dashed rgb(187, 185, 185);
  /* 底边框为虚线 */
  height: 0px;
  /* 高度为0 */
  margin: 35px 0;
  /* 上下外边距为35px */
}

/* 图片样式 */
.me-image>img {
  width: 100px;
  /* 宽度为100px */
  height: 100px;
  /* 高度为100px */
  border: solid 3px #FCFCFE;
  /* 边框样式 */
  border-radius: 50%;
  /* 圆角 */
  box-shadow: 0 2px 4px -2px rgb(0 0 0 / 15%);
  /* 阴影效果 */
}

/* 联系列表样式 */
.me-card .lianxi-list svg {
  margin: 0 5px;
  /* 左右外边距为5px */
}

/* 联系列表图标悬停效果 */
.me-card .lianxi-list a svg path {
  transition: .2s ease-in-out;
  /* 动画过渡效果 */
}

/* 联系列表图标悬停颜色变化 */
.me-card .lianxi-list a:hover svg path {
  fill: var(--mainColor);
  /* 悬停时填充颜色 */
}

/* 按钮样式 */
.me-card .buttom-box .button {
  display: block;
  /* 块级显示 */
  margin: 0 auto;
  /* 上下外边距为0，左右外边距自动 */
  border: none;
  /* 无边框 */
  height: 40px;
  /* 高度为40px */
  line-height: 40px;
  /* 行高 */
  width: 200px;
  /* 宽度为200px */
  color: var(--headerFont);
  /* 字体颜色 */
  border-radius: 50px;
  /* 圆角 */
  background: linear-gradient(-45deg, var(--mainColor) 50%, #fff 60%, var(--mainColor) 70%);
  /* 背景渐变 */
  background-size: 600% 100%;
  /* 背景大小 */
  animation: shine 5s infinite;
  /* 动画效果 */
}

/* 按钮闪烁动画关键帧 */
@keyframes shine {
  0% {
    background-position-x: 100%;
    /* 初始位置 */
  }

  50% {
    background-position-x: 0%;
    /* 中间位置 */
  }

  100% {
    background-position-x: -100%;
    /* 最终位置 */
  }
}

/* 公共样式 */
.content-li>h3 {
  display: flex;
  /* 弹性布局 */
  align-items: center;
  /* 垂直居中 */
  color: var(--headerFont);
  /* 字体颜色 */
}

.content-li .borderbotm {
  flex: 1;
  /* 占据剩余空间 */
  margin-left: 20px;
  /* 左外边距 */
  margin-right: 20px;
  /* 右外边距 */
}

/* 加载动画背景 */
.lodding-wrap {
  position: fixed;
  /* 固定定位 */
  left: 0px;
  /* 左边距为0 */
  right: 0px;
  /* 右边距为0 */
  bottom: 0px;
  /* 底边距为0 */
  top: 0px;
  /* 顶边距为0 */
  background-color: rgba(0, 0, 0, 0.95);
  /* 背景颜色 */
  z-index: 9;
  /* 层级 */
  opacity: 1;
  /* 不透明度 */
}

/* 加载小蝴蝶 */
.loadding-div {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%) rotateZ(-13deg);
  animation: insect-fly 0.333333s infinite alternate cubic-bezier(.45, -0.43, .63, 1.94);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
}

.loadding-div::before,
.loadding-div::after {
  content: '';
  position: absolute;
  top: 18px;
  width: 36px;
  height: 54px;
  border-radius: 60% 60% 50% 50% / 70% 70% 40% 40%;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, .1) 60%),
    linear-gradient(135deg, #ff9ab3, #ffd1e0);
  backface-visibility: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}

/* 左翼 */
.loadding-div::before {
  left: 18px;
  transform-origin: 30px 50%;
  animation: wings-left .2s ease-in-out infinite alternate;
}

/* 右翼 */
.loadding-div::after {
  right: 18px;
  transform-origin: 6px 50%;
  animation: wings-right .2s ease-in-out infinite alternate;
}

@keyframes insect-fly {
  from {
    transform: translate(-50%, -52%) rotateZ(-13deg);
  }

  to {
    transform: translate(-50%, -48%) rotateZ(-13deg);
  }
}

@keyframes wings-left {
  from {
    transform: rotateX(60deg) rotateY(-30deg);
  }

  to {
    transform: rotateX(60deg) rotateY(30deg);
  }
}

@keyframes wings-right {
  from {
    transform: rotateX(60deg) rotateY(30deg);
  }

  to {
    transform: rotateX(60deg) rotateY(-30deg);
  }
}


/* dotlottie-wc 组件样式（已不再使用，移除） */







/* 置顶层样式 */
.zz {
  width: 1200px;
  /* 宽度为1200px */
  max-width: 1200px;
  position: relative;
  /* 相对定位 */
  left: 0;
  z-index: 1;
  /* 层级 */
  margin: 0 auto;
}

/* 公共按钮样式 */
.buttonsty {
  cursor: pointer;
  /* 鼠标样式为指针 */
  transition: .4s ease-in-out;
  /* 动画过渡效果 */
}

.buttonsty:hover {
  transform: scale(1.03);
  /* 悬停时放大1.03倍 */
}

/* 手机适配 */
@media screen and (max-width: 950px) {
  .zz {
    width: 92%;
  }

  .col>span {
    visibility: hidden;
    /* 隐藏元素 */
  }

  .content .me-card {
    min-width: auto;
    /* 最小宽度自动 */
  }

  .co-left {
    position: relative;
    /* 相对定位 */
    width: auto;
    /* 宽度自动 */
    display: block;
    /* 块级显示 */
    height: auto;
    /* 高度自动 */
  }

  .co-right {
    width: 100%;
    /* 宽度为100% */
  }

  .content {
    display: block;
    /* 块级显示 */
  }

  .pictureparent {
    width: 100%;
    display: block;
  }

  .content .me-card {
    width: auto;
    /* 宽度自动 */
    transform: translateY(-20px);
    /* 向上偏移20px */
  }

  .scroll {
    position: relative !important;
    /* 相对定位 */
  }

  .min_menu {
    display: inline-block;
    /* 内联块显示 */
  }

  .header-right .min_menu-wrap {
    text-align: center;
    /* 文本居中 */
  }

  .header-right .header-nav>li {
    display: block;
    /* 块级显示 */
  }

  .header-right .kaig-bottm {
    display: block;
    /* 块级显示 */
  }

  .menu_list {
    pointer-events: none;
    /* 禁用鼠标事件 */
    position: absolute;
    /* 绝对定位 */
    left: 0;
    /* 左边距为0 */
    right: 0;
    /* 右边距为0 */
    text-align: center;
    /* 文本居中 */
    opacity: 0;
    /* 不透明度为0 */
    background-color: var(--headerhover);
    /* 背景颜色 */
    transform: translateY(10px);
    /* 向下偏移10px */
    transition: .1s ease-in-out;
    /* 动画过渡效果 */
  }

  .menu_list.active {
    opacity: 1;
    /* 激活时不透明度为1 */
    pointer-events: all;
    /* 启用鼠标事件 */
    transform: translateY(0px);
    /* 恢复位置 */
  }

  .navigation>.nav-titleBox {
    margin-top: 10rem;
    /* 上外边距 */
  }
}

/* 平板适配 */
@media screen and (max-width: 1200px) {
  .zz {
    width: 95%;
  }

  .navigation {
    text-align: center;
    /* 文本居中 */
    background-size: cover;
    /* 背景大小：避免拉伸变形 */
    background-position: center;
    background-attachment: scroll;
  }

  .co-left {
    position: relative;
    /* 相对定位 */
    width: auto;
    /* 宽度自动 */
    display: block;
    /* 块级显示 */
    height: auto;
    /* 高度自动 */
  }

  .co-right {
    width: 100%;
    /* 宽度为100% */
  }

  .content {
    display: block;
    /* 块级显示 */
  }

  .content .me-card {
    width: auto;
    /* 宽度自动 */
    transform: translateY(-20px);
    /* 向上偏移20px */
  }

  .scroll {
    position: relative !important;
    /* 相对定位 */
  }
}

/* 移动端整体适配 */
@media (max-width: 768px) {

  html,
  body {
    letter-spacing: 1px;
    overflow-x: hidden;
  }

  .zz {
    width: 92%;
  }

  .Font1 {
    font-size: 30px;
  }

  #typed-text {
    font-size: 26px;
  }

  .co {
    width: 92%;
  }

  .content {
    width: 92%;
    top: -60px;
  }

  .co-left,
  .co-right {
    width: 100%;
    display: block;
  }

  .content .me-card {
    width: auto;
    min-width: auto;
    height: auto;
    transform: translateY(0);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }

  .pictureparent {
    width: 100%;
  }

  .shell {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    margin: 0 auto;
  }

  .navigation {
    width: 92%;
    height: 520px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}


/*砖块布局*/

/* 天气卡片外层：用于在网格块内自适应布局 */
.weather-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 天气显示容器样式 */
.weather-container {
  backdrop-filter: blur(10px) !important;
}

.weather-container {
  position: relative;
  width: min(360px, 100%);
  height: 100%;
  max-height: 100%;
  padding: 14px 12px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  justify-content: center;
  align-items: center;
}

.weather-spacer {
  height: 0;
  flex: 0 0 auto;
  display: none;
}

/* 城市名称样式 */
.weather-city {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center !important;

  display: flex;
  align-items: center;
  justify-content: center;

}

.city-name {
  position: relative;
  width: 100%;
  height: auto;
  padding: 4px 0;
  line-height: 1.2;
  font-size: 27px !important;
  font-weight: bold !important;
  color: #fff !important;

}

/* 主要天气信息样式 */
.weather-main {
  position: relative;
  width: 100%;
  height: auto;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 15px !important;
}

.weather-text {
  position: relative !important;
  width: 30px;
  height: auto;
  font-size: 18px !important;
  color: #fff !important;

}

.weather-temp {
  position: relative !important;
  width: 55px;
  height: auto;
  font-size: 18px !important;
  color: #fff !important;

}

/* 详细天气信息样式 */


.weather-wind,
.weather-humidity {
  position: relative !important;
  width: 90px;
  height: auto;
  font-size: 20px !important;
  color: #fff !important;

}

@media (max-width: 768px) {
  .weather-wrapper {
    height: auto;
    align-items: center;
    justify-content: center;
  }

  .weather-container {
    width: min(360px, 100%);
    height: auto;
    padding: 8px 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .weather-spacer {
    height: 0;
    display: none;
  }

  .weather-city {
    height: auto;
  }

  .city-name {
    height: auto;
    font-size: 22px !important;
  }

  .weather-main {
    height: auto;
    flex-wrap: wrap;
    gap: 10px !important;
    transform: translateX(-18px);
  }

  .weather-text,
  .weather-temp,
  .weather-wind,
  .weather-humidity {
    width: auto;
    font-size: 16px !important;
  }
}



.shell {
  position: relative;
  z-index: 1;
  /* 先设置网格布局 */
  width: min(750px, 100%);
  /*width: 64%;*/
  justify-content: end;
  display: grid;
  padding: 20px;
  /* 定义网格布局中行与列之间间隙的尺寸 */
  grid-gap: 20px;
  /* 该属性规定网格布局中的列数和宽度 */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* 设置网格中行的默认尺寸 */
  grid-auto-rows: 230px;
  /* 属性控制自动放置项目在网格中的插入方式为填充 */
  grid-auto-flow: dense;
  /*将网格推向右侧*/
  margin-left: auto;
}

/* 兜底：放在文件靠后位置，确保移动端覆盖不被后续规则反杀 */
@media (max-width: 768px) {
  .shell {
    width: 100%;
    padding: 16px;
    grid-gap: 14px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    margin: 0 auto;
  }
}

.shell>div {
  backdrop-filter: blur(50px);

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px !important;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.5);
  /* 半透明黑色描边 */
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  /* 添加阴影效果 */
  transition: all 0.3s ease;
  /* 吸盘放大动画过渡效果 */
  overflow: hidden;
}

/* 鼠标悬停时的吸盘效果 */
.shell>div:hover {
  transform: scale(1.01);
  /* 稍微放大 */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* 更强的阴影效果 */

}



.shell span {
  color: #fff;
  font: 100 100px;
  position: absolute;
  top: -10px;
  left: 20px;

}

.shell .wide {
  grid-column: span 2;
}

.shell .tall {
  grid-row: span 2;
}

.shell .big {
  grid-column: span 2;
  grid-row: span 2;
}

/*左边介绍卡的网页图标*/

.webimge {
  margin: 0 8px 0 8px;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  object-fit: cover;
  border: 1px solid #FCFCFE;
  transition: all 0.3s ease;
  /* 添加过渡效果 */
}

.webimge:hover {
  transform: scale(1.1);
  /* 悬停时放大 */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* 悬停时增强阴影 */
}

/* 访问统计样式 */
.visit-stats {
  margin: 20px 0;
  padding: 0 10px;
}

.visit-stats .section-title {
  color: #ff8181;
  font-size: 20px;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.stat-item {
  border: 1px solid var(--headerCOlor);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-value {
  font-size: 18px;
  color: var(--mainColor);
  font-weight: 700;
  margin-left: auto;
}

.stat-label {
  font-size: 12px;
  color: var(--headerFont);
  opacity: .8;
}

.stat-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  display: inline-block;
}

.like-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

#like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 129, 129, .5);
  background: rgba(255, 129, 129, .08);
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}

#like-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
}

#like-btn.liked {
  background: rgba(255, 129, 129, .2);
  border-color: #ff8181;
}

#like-count {
  font-weight: 700;
  color: #ff8181;
}



/* 保持外部卡片尺寸不变，仅调整内部排版 */

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  transition: all 0.3s ease;
}



.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 24px;
  color: var(--mainColor);
}

.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--mainColor);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dropdown-menu li a:hover::before {
  transform: scaleY(1);
}

.menu-divider {
  height: 1px;
  margin: 8px 0;
  padding: 0;
  background: repeating-linear-gradient(to right,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3) 4px,
      transparent 4px,
      transparent 8px);
  list-style: none;
}

@media screen and (max-width: 768px) {
  .dropdown-menu {
    min-width: 200px;
    left: 0;
    transform: translateY(-10px);
  }

  .dropdown:hover .dropdown-menu {
    transform: translateY(0);
  }
}