/* gn06 全站：公共 reset + 顶栏（BuildGn06StaticHeader）+ 页脚（BuildGn06StaticFooter） */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #eef2ff 0%, #fae8ff 45%, #e0f2fe 100%);
  color: #1e1b4b;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
a:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
  border-radius: 12px;
}

/* 顶栏 */
.gn-shell.gn-static-head {
  position: relative;
  z-index: 50;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(199, 210, 254, 0.85);
  box-shadow: 0 8px 28px -12px rgba(99, 102, 241, 0.35);
}
.gn-shell.gn-static-head .gn-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;
}
.gn-shell.gn-static-head .gn-top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 12px 0 10px;
}
.gn-shell.gn-static-head .gn-logo-slot {
  flex: 0 0 auto;
  min-width: 0;
}
.gn-shell.gn-static-head .gn-logo-slot a {
  color: #312e81;
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
}
.gn-shell.gn-static-head .gn-top-nav {
  flex: 1 1 520px;
  min-width: 240px;
}
.gn-shell.gn-static-head .gn-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.gn-shell.gn-static-head .gn-nav > a {
  color: #4338ca;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.gn-shell.gn-static-head .gn-nav > a:hover {
  background: rgba(199, 210, 254, 0.45);
  transform: translateY(-1px);
}
.gn-shell.gn-static-head .gn-search {
  flex: 1 1 220px;
  max-width: 360px;
  min-width: 160px;
  display: flex;
  margin-left: auto;
}
.gn-shell.gn-static-head .gn-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
}

/* 顶栏内横幅（非首页子页） */
.gn06-banner-wrap {
  padding: 0 14px 10px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.gn06-banner-wrap .banner-carousel {
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
}
.gn06-banner-wrap .banner-slides {
  min-height: 220px;
  position: relative;
}
.gn06-banner-wrap .banner-slide {
  display: block;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
  color: #fff;
}
.gn06-banner-wrap .banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gn06-banner-wrap .banner-slide-tt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  font-size: 15px;
  font-weight: 700;
}
.gn06-banner-wrap .banner-slides .banner-slide ~ .banner-slide {
  display: none;
}

/* 页脚 */
.gn06-site-footer {
  margin-top: 36px;
  padding: 8px 0 28px;
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.9), rgba(250, 245, 255, 0.5));
  border-top: 1px solid rgba(199, 210, 254, 0.7);
}
.gn06-site-footer .gn-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
}
.gn06-foot-friends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.gn06-foot-friend {
  color: #4338ca;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.15s, box-shadow 0.15s;
}
.gn06-foot-friend:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}
.gn06-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  justify-content: center;
}
.gn06-foot-links a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}
.gn06-foot-copy {
  margin-top: 12px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}
