@charset "UTF-8";
/* ==========================================================================
   GK About —— v.geekfei.cn「关于我」动态高亮
   1) 菜单项（桌面左侧栏 + 手机抽屉共用 #mainnavmenu）
   2) 手机头部品牌栏：搜索按钮左侧的胶囊入口
   配色沿用站点暖橙：#fdc7a0 → #f4996a → #e3703d
   ========================================================================== */

/* ======================================================================
   1. 菜单里的「关于我」（由 gk-menu-about.php 打上 .gk-mi-about）
   ====================================================================== */
#mainnavmenu > li.gk-mi-about {
  position: relative;
  margin: 9px 0 7px;
  border-bottom: 0 !important;
}

#mainnavmenu > li.gk-mi-about > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 26px 11px 13px !important;
  border-radius: 11px;
  color: #241407 !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  background-image: linear-gradient(118deg, #fdc7a0 0%, #f4996a 48%, #e3703d 100%);
  background-size: 190% 100%;
  background-position: 0% 50%;
  box-shadow: 0 6px 18px rgba(226, 113, 63, .26), inset 0 1px 0 rgba(255, 255, 255, .38);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  animation: gkAboutBreath 3.8s ease-in-out infinite,
             gkAboutShift 9s ease-in-out infinite;
  transition: transform .2s ease;
}

/* 右侧小箭头 */
#mainnavmenu > li.gk-mi-about > a::before {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: .5;
  transition: transform .22s ease, opacity .22s ease;
}

/* 流光扫过 */
#mainnavmenu > li.gk-mi-about > a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .58) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: translateX(-180%) skewX(-18deg);
  animation: gkAboutShine 4.4s ease-in-out infinite;
  pointer-events: none;
}

#mainnavmenu > li.gk-mi-about > a:hover,
#mainnavmenu > li.gk-mi-about > a:focus {
  color: #1a0e04 !important;
  padding-left: 13px !important;
  transform: translateY(-1px);
}

#mainnavmenu > li.gk-mi-about > a:hover::before {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

/* 抽屉里这一项略窄，内边距收一点，别顶到描边 */
@media only screen and (max-width: 991.98px) {
  #mainnavmenu > li.gk-mi-about {
    margin: 8px 0 6px;
  }
  #mainnavmenu > li.gk-mi-about > a {
    padding: 10px 24px 10px 12px !important;
    font-size: 13.5px;
    letter-spacing: .10em;
  }
}

/* ======================================================================
   2. 手机头部：搜索按钮左边的「关于我」胶囊
   ====================================================================== */
@media only screen and (max-width: 991.98px) {
  .gk-mh-about {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 27px;
    padding: 0 11px 0 9px;
    margin-right: 2px;
    border-radius: 999px;
    color: #25150a;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    white-space: nowrap;
    text-decoration: none;
    background-image: linear-gradient(118deg, #fdc7a0 0%, #f4996a 48%, #e3703d 100%);
    background-size: 190% 100%;
    background-position: 0% 50%;
    box-shadow: 0 3px 12px rgba(226, 113, 63, .30), inset 0 1px 0 rgba(255, 255, 255, .38);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    animation: gkAboutBreath 3.4s ease-in-out infinite,
               gkAboutShift 8s ease-in-out infinite;
    transition: transform .18s ease;
  }
  .gk-mh-about:active {
    transform: scale(.95);
  }
  /* 呼吸小圆点 */
  .gk-ab-dot {
    position: relative;
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6d2a0e;
    box-shadow: 0 0 0 0 rgba(109, 42, 14, .55);
    animation: gkAboutDot 2.4s ease-out infinite;
  }
  /* 胶囊上的流光 */
  .gk-mh-about::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .62) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-190%) skewX(-18deg);
    animation: gkAboutShine 4.2s ease-in-out infinite;
    pointer-events: none;
  }
}

/* 超窄屏：只留文字，给品牌名让位 */
@media only screen and (max-width: 360.98px) {
  .gk-mh-about {
    padding: 0 9px 0 8px;
    font-size: 11px;
    letter-spacing: .04em;
  }
  .gk-ab-dot { display: none; }
}

/* ======================================================================
   动画
   ====================================================================== */
@keyframes gkAboutBreath {
  0%, 100% {
    box-shadow: 0 5px 15px rgba(226, 113, 63, .24),
                0 0 0 0 rgba(239, 139, 100, .38),
                inset 0 1px 0 rgba(255, 255, 255, .36);
  }
  50% {
    box-shadow: 0 9px 24px rgba(226, 113, 63, .44),
                0 0 0 6px rgba(239, 139, 100, 0),
                inset 0 1px 0 rgba(255, 255, 255, .48);
  }
}

@keyframes gkAboutShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes gkAboutShine {
  0%, 58%   { transform: translateX(-190%) skewX(-18deg); }
  88%, 100% { transform: translateX(330%) skewX(-18deg); }
}

@keyframes gkAboutDot {
  0%   { box-shadow: 0 0 0 0 rgba(109, 42, 14, .5); }
  70%  { box-shadow: 0 0 0 5px rgba(109, 42, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 42, 14, 0); }
}

@media (prefers-reduced-motion: reduce) {
  #mainnavmenu > li.gk-mi-about > a,
  .gk-mh-about,
  .gk-mh-about::after,
  .gk-ab-dot {
    animation: none !important;
  }
}
