/* ============================================================
   知鱼圈 PC 前台 · 渐变紫视觉系统
   页面结构：公共头 / 公共尾 / 首页 / 百科 / 社区 / 评价 / 关于 / 联系
   ============================================================ */

:root {
  --zy-primary: #0995F7;
  --zy-primary-light: #4DB8FF;
  --zy-primary-deep: #0666A8;
  --zy-grad: linear-gradient(135deg, #0666A8 0%, #0995F7 100%);
  --zy-grad-hover: linear-gradient(135deg, #055C96 0%, #0889E3 100%);
  --zy-grad-deep: linear-gradient(135deg, #052A47 0%, #0A4C7C 58%, #0A5C93 100%);
  --zy-bg: #ffffff;
  --zy-bg-soft: #F2F8FD;
  --zy-bg-dark: #0B2537;
  --zy-text: #102A43;
  --zy-text-sub: #486581;
  --zy-text-mute: #5A7488;
  --zy-line: #DCE9F4;
  --zy-success: #00b894;
  --zy-warning: #ffb020;
  --zy-danger: #ff6b6b;
  --zy-info: #0A79C7;
  --zy-radius: 20px;
  --zy-radius-sm: 14px;
  --zy-radius-pill: 999px;
  --zy-shadow: 0 12px 34px rgba(10, 58, 102, 0.1);
  --zy-shadow-lg: 0 26px 60px rgba(10, 58, 102, 0.18);
  --zy-shadow-glow: 0 18px 46px rgba(9, 149, 247, 0.24);
  --zy-ease: cubic-bezier(0.4, 0.2, 0.2, 1);
  --zy-header-h: 76px;
  --zy-container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.zy-body {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--zy-text);
  background: var(--zy-bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.zy-body img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--zy-ease);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.32;
  color: var(--zy-text);
}

p {
  margin: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.zy-container {
  width: 100%;
  max-width: var(--zy-container);
  margin: 0 auto;
  padding: 0 24px;
}

.zy-container-wide {
  max-width: 1400px;
}

/* ---------- 通用按钮 ---------- */
.zy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 38px;
  border-radius: var(--zy-radius-pill);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--zy-grad);
  box-shadow: 0 10px 26px rgba(9, 149, 247, 0.32);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--zy-ease), box-shadow 0.35s var(--zy-ease), background 0.35s var(--zy-ease);
}

.zy-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--zy-shadow-glow);
  background: var(--zy-grad-hover);
  color: #fff;
}

.zy-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s var(--zy-ease);
}

.zy-btn:active::after {
  opacity: 1;
}

.zy-btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.zy-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 32px rgba(6, 30, 48, 0.28);
}

.zy-btn-outline {
  background: #fff;
  color: var(--zy-primary-deep);
  border: 1px solid rgba(9, 149, 247, 0.28);
  box-shadow: 0 8px 22px rgba(9, 149, 247, 0.1);
}

.zy-btn-outline:hover {
  color: var(--zy-primary-deep);
  border-color: rgba(9, 149, 247, 0.55);
  background: rgba(9, 149, 247, 0.06);
}

.zy-btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ---------- 公共头部 ---------- */
.zy-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--zy-header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--zy-ease), box-shadow 0.45s var(--zy-ease), height 0.45s var(--zy-ease), backdrop-filter 0.45s var(--zy-ease);
}

.zy-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 32, 0.55), rgba(4, 20, 32, 0));
  pointer-events: none;
  transition: opacity 0.45s var(--zy-ease);
}

.zy-header.is-scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 30px rgba(10, 58, 102, 0.1);
}

.zy-header.is-scrolled::before {
  opacity: 0;
}

.zy-header .zy-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.zy-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  transition: transform 0.35s var(--zy-ease), color 0.35s var(--zy-ease);
}

.zy-logo:hover {
  transform: translateY(-1px) scale(1.02);
}

/* 后台“网站设置 - 网站LOGO”上传的图片，优先于默认文字图标显示 */
.zy-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.zy-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--zy-grad);
  box-shadow: 0 10px 22px rgba(9, 149, 247, 0.4);
}

.zy-logo-mark svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.zy-header.is-scrolled .zy-logo {
  color: var(--zy-text);
}

.zy-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.zy-nav > li {
  position: relative;
}

.zy-nav > li > a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.zy-nav > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--zy-primary-light);
  transition: width 0.35s var(--zy-ease);
}

.zy-nav > li > a:hover,
.zy-nav > li.is-active > a {
  color: #fff;
}

.zy-nav > li > a:hover::after,
.zy-nav > li.is-active > a::after {
  width: 100%;
}

.zy-header.is-scrolled .zy-nav > li > a {
  color: var(--zy-text-sub);
}

.zy-header.is-scrolled .zy-nav > li > a:hover,
.zy-header.is-scrolled .zy-nav > li.is-active > a {
  color: var(--zy-primary-deep);
}

.zy-nav-sub {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 168px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--zy-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--zy-ease);
}

.zy-nav > li:hover .zy-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.zy-nav-sub a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--zy-text-sub);
}

.zy-nav-sub a:hover {
  background: var(--zy-bg-soft);
  color: var(--zy-primary-deep);
}

.zy-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zy-header-cta {
  padding: 10px 24px;
  border-radius: var(--zy-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  transition: all 0.35s var(--zy-ease);
}

.zy-header-cta:hover {
  background: var(--zy-grad);
  border-color: transparent;
  box-shadow: var(--zy-shadow-glow);
  color: #fff;
}

.zy-header.is-scrolled .zy-header-cta {
  color: #fff;
  background: var(--zy-grad);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(9, 149, 247, 0.28);
}

.zy-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.zy-header.is-scrolled .zy-burger {
  color: var(--zy-text);
  background: rgba(9, 149, 247, 0.08);
}

.zy-burger i,
.zy-burger i::before,
.zy-burger i::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--zy-ease);
}

.zy-burger i::before,
.zy-burger i::after {
  content: '';
  position: absolute;
  left: 0;
}

.zy-burger i::before {
  top: -6px;
}

.zy-burger i::after {
  top: 6px;
}

.zy-body.is-menu-open .zy-burger i {
  background: transparent;
}

.zy-body.is-menu-open .zy-burger i::before {
  transform: translateY(6px) rotate(45deg);
}

.zy-body.is-menu-open .zy-burger i::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 公共页头（内页 Banner） ---------- */
.zy-page-hero {
  position: relative;
  padding: calc(var(--zy-header-h) + 84px) 0 84px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--zy-grad-deep);
}

.zy-page-hero::before,
.zy-page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.zy-page-hero::before {
  width: 420px;
  height: 420px;
  background: rgba(77, 184, 255, 0.45);
  top: -160px;
  left: -80px;
}

.zy-page-hero::after {
  width: 360px;
  height: 360px;
  background: rgba(9, 149, 247, 0.32);
  bottom: -180px;
  right: -40px;
}

.zy-page-hero .zy-container {
  position: relative;
  z-index: 2;
}

.zy-page-hero h1 {
  font-size: 44px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.zy-page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 720px;
  margin: 0 auto;
}

.zy-page-hero-sm {
  padding: calc(var(--zy-header-h) + 40px) 0 40px;
  text-align: left;
}

.zy-crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.zy-page-hero-sm .zy-crumbs {
  justify-content: flex-start;
  margin-top: 0;
}

.zy-crumbs a:hover {
  color: #fff;
}

/* ---------- 区块标题 ---------- */
.zy-section {
  padding: 96px 0;
}

.zy-section-soft {
  background: var(--zy-bg-soft);
}

.zy-section-head {
  text-align: center;
  margin-bottom: 52px;
}

.zy-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--zy-radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--zy-primary-deep);
  background: rgba(9, 149, 247, 0.09);
  margin-bottom: 16px;
}

.zy-section-title {
  position: relative;
  display: inline-block;
  font-size: 36px;
  letter-spacing: 0.5px;
}

.zy-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 68px;
  height: 4px;
  border-radius: 3px;
  background: var(--zy-grad);
}

.zy-section-desc {
  margin-top: 34px;
  font-size: 16px;
  color: var(--zy-text-sub);
}

/* ---------- 卡片通用 ---------- */
.zy-card {
  background: #fff;
  border-radius: var(--zy-radius);
  box-shadow: var(--zy-shadow);
  border: 1px solid rgba(9, 149, 247, 0.06);
  transition: transform 0.45s var(--zy-ease), box-shadow 0.45s var(--zy-ease), border-color 0.45s var(--zy-ease);
}

.zy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--zy-shadow-lg);
  border-color: rgba(9, 149, 247, 0.22);
}

/* ---------- 胶囊筛选 ---------- */
.zy-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.zy-chip {
  padding: 9px 22px;
  border-radius: var(--zy-radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--zy-text-sub);
  background: #fff;
  border: 1px solid var(--zy-line);
  transition: all 0.3s var(--zy-ease);
}

.zy-chip:hover {
  color: var(--zy-primary-deep);
  border-color: rgba(9, 149, 247, 0.35);
  transform: translateY(-2px);
}

.zy-chip.is-active {
  color: #fff;
  background: var(--zy-grad);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(9, 149, 247, 0.28);
}

/* ---------- 搜索框 ---------- */
.zy-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px;
  border-radius: var(--zy-radius-pill);
  background: #fff;
  box-shadow: var(--zy-shadow);
}

.zy-search input {
  flex: 1;
  height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: var(--zy-radius-pill);
  color: var(--zy-text);
  font-size: 15px;
  background: transparent;
}

.zy-search input::placeholder {
  color: var(--zy-text-mute);
}

.zy-search button {
  height: 48px;
  padding: 0 30px;
  border-radius: var(--zy-radius-pill);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  background: var(--zy-grad);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* 窄屏下输入框会抢宽度，按钮被压到 87px 时「搜索」二字会竖排换行 */
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s var(--zy-ease);
}

.zy-search button:hover {
  box-shadow: var(--zy-shadow-glow);
  transform: translateY(-1px);
}

/* ---------- 分页 ---------- */
.zy-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
}

.zy-pager .pagination ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zy-pager a,
.zy-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--zy-text-sub);
  background: #fff;
  border: 1px solid var(--zy-line);
  transition: all 0.3s var(--zy-ease);
}

.zy-pager a:hover {
  color: var(--zy-primary-deep);
  border-color: rgba(9, 149, 247, 0.4);
  transform: translateY(-2px);
}

.zy-pager .is-active,
.zy-pager .active a,
.zy-pager li.active a {
  color: #fff;
  background: var(--zy-grad);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(9, 149, 247, 0.28);
}

.zy-pager em {
  font-style: normal;
}

/* ---------- 文章正文排版 ---------- */
.zy-article-body {
  font-size: 17px;
  line-height: 1.95;
  color: #102A43;
}

.zy-article-body h2 {
  position: relative;
  margin: 44px 0 18px;
  padding-left: 16px;
  font-size: 24px;
}

.zy-article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: var(--zy-grad);
}

.zy-article-body h3 {
  margin: 32px 0 14px;
  font-size: 20px;
  color: var(--zy-primary-deep);
}

.zy-article-body p {
  margin-bottom: 18px;
}

.zy-article-body img {
  width: 100%;
  border-radius: var(--zy-radius-sm);
  margin: 26px 0;
  box-shadow: var(--zy-shadow);
}

.zy-article-body ul,
.zy-article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
}

.zy-article-body ol {
  list-style: decimal;
}

.zy-article-body li {
  margin-bottom: 10px;
}

.zy-article-body blockquote {
  margin: 26px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--zy-primary-light);
  border-radius: 0 var(--zy-radius-sm) var(--zy-radius-sm) 0;
  background: var(--zy-bg-soft);
  color: var(--zy-text-sub);
}

.zy-article-body a {
  color: var(--zy-primary-deep);
  border-bottom: 1px dashed rgba(9, 149, 247, 0.5);
}

/* ---------- 公共页脚 ---------- */
.zy-footer {
  position: relative;
  overflow: hidden;
  padding: 84px 0 34px;
  color: rgba(255, 255, 255, 0.74);
  background-image: radial-gradient(circle at 12% 0%, rgba(9, 149, 247, 0.33), rgba(11, 37, 55, 0) 46%),
    radial-gradient(circle at 88% 18%, rgba(77, 184, 255, 0.22), rgba(11, 37, 55, 0) 42%);
  background-color: var(--zy-bg-dark);
}

.zy-footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 184, 255, 0.5), transparent);
}

.zy-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 54px;
}

.zy-footer .zy-logo {
  color: #fff;
  margin-bottom: 18px;
}

.zy-footer-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
  max-width: 420px;
}

.zy-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.zy-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s var(--zy-ease);
}

.zy-footer-social a:hover {
  color: #fff;
  background: var(--zy-grad);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--zy-shadow-glow);
}

.zy-footer h4 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
  font-size: 17px;
  color: #fff;
}

.zy-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--zy-grad);
}

.zy-footer-links li {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.zy-footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.zy-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.zy-footer-links i {
  width: 18px;
  text-align: center;
  color: var(--zy-primary-light);
}

.zy-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
}

.zy-footer-bottom p {
  margin: 0;
}

.zy-footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--zy-ease);
}

.zy-footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* 页脚联系信息：长地址换行时图标对齐首行 */
.zy-footer-links li > span {
  line-height: 1.6;
}

/* ---------- 滚动渐入 ---------- */
.zy-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--zy-ease), transform 0.85s var(--zy-ease);
  will-change: opacity, transform;
}

.zy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zy-reveal-d1 {
  transition-delay: 0.08s;
}

.zy-reveal-d2 {
  transition-delay: 0.16s;
}

.zy-reveal-d3 {
  transition-delay: 0.24s;
}

.zy-reveal-d4 {
  transition-delay: 0.32s;
}

.zy-reveal-d5 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .zy-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 空状态 ---------- */
.zy-empty {
  padding: 90px 20px;
  text-align: center;
  color: var(--zy-text-mute);
}

.zy-empty svg {
  width: 64px;
  height: 64px;
  fill: rgba(9, 149, 247, 0.28);
  margin-bottom: 18px;
}

.zy-empty h3 {
  font-size: 20px;
  color: var(--zy-text-sub);
  margin-bottom: 8px;
}

.zy-empty p {
  font-size: 15px;
}

/* ---------- 提示条 ---------- */
.zy-toast {
  position: fixed;
  left: 50%;
  top: 96px;
  z-index: 1200;
  transform: translate(-50%, -20px);
  padding: 13px 26px;
  border-radius: var(--zy-radius-pill);
  font-size: 15px;
  color: #fff;
  background: rgba(11, 37, 55, 0.94);
  box-shadow: var(--zy-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--zy-ease);
}

.zy-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.zy-toast.is-success {
  background: var(--zy-success);
}

.zy-toast.is-error {
  background: var(--zy-danger);
}

/* ---------- 图片灯箱 ---------- */
.zy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 14, 24, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--zy-ease);
}

.zy-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.zy-lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.zy-lightbox-close {
  position: absolute;
  top: 30px;
  right: 34px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.14);
}

.zy-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- 回到顶部 ---------- */
.zy-backtop {
  position: fixed;
  right: 26px;
  bottom: 34px;
  z-index: 880;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--zy-grad);
  box-shadow: var(--zy-shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s var(--zy-ease);
}

.zy-backtop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zy-backtop:hover {
  transform: translateY(-4px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .zy-nav {
    gap: 26px;
  }

  .zy-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  :root {
    --zy-header-h: 66px;
    --zy-radius: 16px;
  }

  .zy-burger {
    display: inline-flex;
  }

  .zy-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    padding: 96px 28px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: -20px 0 50px rgba(6, 30, 48, 0.18);
    transform: translateX(105%);
    transition: transform 0.42s var(--zy-ease);
    overflow-y: auto;
  }

  .zy-body.is-menu-open .zy-nav {
    transform: translateX(0);
  }

  .zy-nav > li {
    width: 100%;
  }

  .zy-nav > li > a,
  .zy-header.is-scrolled .zy-nav > li > a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--zy-text);
    border-bottom: 1px solid var(--zy-line);
  }

  .zy-nav > li > a::after {
    display: none;
  }

  .zy-nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 4px 0 8px 12px;
    min-width: 0;
  }

  .zy-header-cta {
    display: none;
  }

  .zy-section {
    padding: 68px 0;
  }

  .zy-page-hero {
    padding: calc(var(--zy-header-h) + 56px) 0 56px;
  }

  /* 详情页只有一行面包屑，桌面端的上下留白放到手机上会占掉近 1/4 屏，
     压缩到只保留呼吸感。 */
  .zy-page-hero-sm {
    padding: calc(var(--zy-header-h) + 16px) 0 18px;
  }

  .zy-page-hero h1 {
    font-size: 30px;
  }

  .zy-page-hero p {
    font-size: 15px;
  }

  .zy-section-title {
    font-size: 26px;
  }

  .zy-section-desc {
    margin-top: 28px;
    font-size: 15px;
  }

  .zy-footer {
    padding: 60px 0 28px;
  }

  .zy-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .zy-search button {
    padding: 0 20px;
  }

  /* iOS Safari 在输入框字号小于 16px 时，聚焦会自动放大整个页面。
     移动端把控件字号统一到 16px，避免用户一点输入框页面就跳大小。 */
  .zy-search input {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .zy-container {
    padding: 0 18px;
  }

  .zy-logo-img {
    height: 32px;
    max-width: 160px;
  }

  .zy-btn {
    width: 100%;
    padding: 14px 26px;
  }

  .zy-page-hero h1 {
    font-size: 26px;
  }
}

/* ---------- 语义化结构补充（2026-11-04 GEO） ---------- */
.zy-nav-wrap {
  display: flex;
  align-items: center;
}

.zy-crumbs ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zy-crumbs li {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 860px) {
  .zy-nav-wrap {
    display: block;
  }
}
