/* ============================================================
   eyhtml 风格 · 迅睿CMS 前台皮肤
   适用：/public/static/pc/eyhtml/style.css
   类名前缀 ey- ，避免与迅睿默认主题 ep- 冲突
   ============================================================ */

:root {
  --ey-primary: #1678ff;
  --ey-primary-dark: #0b5cd7;
  --ey-primary-light: #eaf3ff;
  --ey-orange: #ff6b1a;
  --ey-green: #22b573;
  --ey-purple: #7b61ff;
  --ey-text: #1f2d3d;
  --ey-text2: #4a5a6a;
  --ey-muted: #8a97a8;
  --ey-border: #e8edf4;
  --ey-bg: #f5f7fb;
  --ey-white: #fff;
  --ey-radius: 12px;
  --ey-shadow: 0 12px 30px rgba(18, 45, 85, .08);
  --ey-shadow-hover: 0 18px 40px rgba(18, 45, 85, .14);
  --ey-container: 1280px;
  --ey-head-h: 74px;
}

* { box-sizing: border-box; }

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

body.ey-body {
  background: var(--ey-bg);
  color: var(--ey-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.ey-body a { color: inherit; text-decoration: none; transition: color .2s; }
body.ey-body img { max-width: 100%; }
body.ey-body ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- 通用按钮 ---------- */
.ey-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.ey-btn--primary {
  color: #fff;
  background: linear-gradient(-125deg, #0295f9 0, #2f49fd 100%);
  box-shadow: 0 8px 18px rgba(47, 73, 253, .22);
}
.ey-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(47, 73, 253, .3); color: #fff; }
.ey-btn--ghost {
  color: var(--ey-primary);
  background: #fff;
  border: 1px solid #d6e6ff;
}
.ey-btn--ghost:hover { background: var(--ey-primary-light); color: var(--ey-primary); }
.ey-btn--white {
  color: #0b3fae;
  background: #fff;
  box-shadow: 0 10px 24px rgba(3, 24, 64, .18);
}
.ey-btn--white:hover { transform: translateY(-2px); color: #0b3fae; }
.ey-btn--line {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}
.ey-btn--line:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* 覆盖 body a{color:inherit} 对按钮文字的干扰 */
body.ey-body a.ey-btn { color: #fff; }
body.ey-body a.ey-btn--white { color: #0b3fae; }
body.ey-body a.ey-btn--ghost { color: var(--ey-primary); }
body.ey-body a.ey-btn--line { color: #fff; }

/* 没有内容时自动隐藏对应区块，后台发布内容后自动出现 */
.ey-notice:not(:has(.ey-notice__item)) { display: none; }
.ey-section:has(> .ey-grid):not(:has(.ey-card)):not(:has(.ey-plug)) { display: none; }
.ey-section:has(> .ey-docs):not(:has(.ey-doc-row)) { display: none; }

/* ============================================================
   顶部导航
   ============================================================ */
.ey-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--ey-border);
  transition: box-shadow .25s;
}
.ey-header.is-scrolled { box-shadow: 0 8px 24px rgba(16, 42, 80, .08); }

.ey-header__inner {
  max-width: var(--ey-container);
  margin: 0 auto;
  height: var(--ey-head-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ey-logo { flex: 0 0 auto; display: flex; align-items: center; }
.ey-logo img { height: 42px; width: auto; display: block; }
.ey-logo__text { font-size: 22px; font-weight: 800; letter-spacing: .5px; color: var(--ey-text); }

.ey-nav { flex: 1 1 auto; display: flex; align-items: center; gap: 2px; height: 100%; }
.ey-nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.ey-nav > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ey-text2);
  white-space: nowrap;
}
.ey-nav > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0295f9, #2f49fd);
  transform: translateX(-50%);
  transition: width .25s;
}
.ey-nav > li:hover > a,
.ey-nav > li.is-active > a { color: var(--ey-primary); }
.ey-nav > li:hover > a::after,
.ey-nav > li.is-active > a::after { width: 22px; }

.ey-nav__arrow { font-size: 9px; color: #b7c2d0; transition: transform .2s; }
.ey-nav > li:hover .ey-nav__arrow { transform: rotate(180deg); color: var(--ey-primary); }

.ey-subnav {
  position: absolute;
  left: 50%;
  top: calc(var(--ey-head-h) - 10px);
  min-width: 176px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16, 42, 80, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all .22s ease;
  z-index: 10;
}
.ey-nav > li:hover > .ey-subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ey-subnav a {
  display: block;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ey-text2);
  white-space: nowrap;
}
.ey-subnav a:hover { background: var(--ey-primary-light); color: var(--ey-primary); }

.ey-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }

.ey-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ey-border);
  background: #fff;
  color: var(--ey-text2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.ey-search-btn:hover { color: var(--ey-primary); border-color: #cfe2ff; background: var(--ey-primary-light); }

.ey-vip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, #ff9a3c 0%, #ff5c00 100%);
  box-shadow: 0 8px 18px rgba(255, 92, 0, .24);
  transition: transform .2s, box-shadow .2s;
}
.ey-vip-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 22px rgba(255, 92, 0, .3); }

.ey-search-panel {
  position: absolute;
  right: 20px;
  top: calc(var(--ey-head-h) + 10px);
  width: 360px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16, 42, 80, .14);
  display: none;
}
.ey-search-panel.is-open { display: block; }
.ey-search-panel form { display: flex; gap: 8px; }
.ey-search-panel input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ey-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.ey-search-panel input:focus { border-color: var(--ey-primary); }
.ey-search-panel button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(-125deg, #0295f9 0, #2f49fd 100%);
}

.ey-user { position: relative; }
.ey-user__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #eef4ff;
  display: block;
  cursor: pointer;
  object-fit: cover;
}
.ey-user__menu {
  position: absolute;
  right: 0;
  top: 48px;
  min-width: 150px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16, 42, 80, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
}
.ey-user:hover .ey-user__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ey-user__menu a { display: block; padding: 8px 12px; border-radius: 7px; font-size: 14px; color: var(--ey-text2); }
.ey-user__menu a:hover { background: var(--ey-primary-light); color: var(--ey-primary); }

.ey-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ey-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ey-text);
  font-size: 18px;
  cursor: pointer;
}

/* ============================================================
   主区域容器
   ============================================================ */
.ey-main { min-height: 60vh; }

/* ============================================================
   首页 · 首屏轮播
   ============================================================ */
.ey-hero {
  position: relative;
  height: 468px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(120deg, #072a6b 0%, #0f56d6 45%, #2f9bf5 100%);
}
.ey-hero__bg { position: absolute; inset: 0; z-index: 1; }
.ey-hero__bg .swiper-slide { overflow: hidden; }
.ey-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 22, 55, .38) 0%, rgba(4, 22, 55, .58) 100%);
}
.ey-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .18;
  background-image:
    radial-gradient(circle at 18% 22%, #fff 0, transparent 26%),
    radial-gradient(circle at 82% 18%, #fff 0, transparent 22%),
    radial-gradient(circle at 65% 82%, #fff 0, transparent 30%);
}
.ey-hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.ey-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  margin-bottom: 22px;
}
.ey-hero__title {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 6px 24px rgba(0, 20, 60, .3);
}
.ey-hero__sub {
  margin: 0 0 34px;
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
}
.ey-hero__search {
  display: flex;
  width: 100%;
  max-width: 640px;
  height: 56px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px rgba(2, 18, 50, .25);
}
.ey-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 18px 0 22px;
  font-size: 15px;
  color: var(--ey-text);
}
.ey-hero__search button {
  flex: 0 0 auto;
  width: 132px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(-125deg, #0295f9 0, #2f49fd 100%);
  transition: filter .2s;
}
.ey-hero__search button:hover { filter: brightness(1.06); }

.ey-hero__swiper .swiper-pagination-bullet { background: #fff; opacity: .5; width: 8px; height: 8px; }
.ey-hero__swiper .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 4px; }

/* ============================================================
   公告条
   ============================================================ */
.ey-notice {
  position: relative;
  z-index: 20;
  max-width: var(--ey-container);
  margin: -36px auto 0;
  padding: 0 20px;
}
.ey-notice__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
  padding: 0 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--ey-shadow);
}
.ey-notice__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--ey-orange);
  padding-right: 18px;
  border-right: 1px dashed #e6ecf5;
}
.ey-notice__label i { font-size: 16px; }
.ey-notice__list { flex: 1 1 auto; overflow: hidden; height: 24px; position: relative; }
.ey-notice__item {
  display: none;
  align-items: center;
  gap: 12px;
  height: 24px;
  overflow: hidden;
}
.ey-notice__item.is-show { display: flex; animation: eyNoticeIn .5s ease both; }
.ey-notice__item a {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: var(--ey-text2);
}
.ey-notice__item a:hover { color: var(--ey-primary); }
.ey-notice__item span { flex: 0 0 auto; font-size: 13px; color: var(--ey-muted); }
.ey-notice__more { flex: 0 0 auto; font-size: 13px; color: var(--ey-muted); }
.ey-notice__more:hover { color: var(--ey-primary); }
@keyframes eyNoticeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   四大权益卡
   ============================================================ */
.ey-benefits {
  max-width: var(--ey-container);
  margin: 34px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ey-benefit {
  position: relative;
  background: #fff;
  border: 1px solid var(--ey-border);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ey-benefit::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ey-grad, linear-gradient(90deg, #0295f9, #2f49fd));
}
.ey-benefit:hover { transform: translateY(-5px); box-shadow: var(--ey-shadow-hover); }
.ey-benefit__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: var(--ey-grad, linear-gradient(135deg, #0295f9, #2f49fd));
  box-shadow: 0 12px 22px rgba(22, 120, 255, .2);
}
.ey-benefit h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ey-text); }
.ey-benefit p { margin: 0; font-size: 13px; color: var(--ey-muted); line-height: 1.7; }

.ey-benefit--1 { --ey-grad: linear-gradient(135deg, #43a047, #77cf77); }
.ey-benefit--2 { --ey-grad: linear-gradient(135deg, #2f9af5, #22c2ff); }
.ey-benefit--3 { --ey-grad: linear-gradient(135deg, #f5812f, #ffc522); }
.ey-benefit--4 { --ey-grad: linear-gradient(135deg, #7b61ff, #b06bff); }

/* ============================================================
   通用区块
   ============================================================ */
.ey-section {
  max-width: var(--ey-container);
  margin: 58px auto 0;
  padding: 0 20px;
}
.ey-section--tight { margin-top: 42px; }

.ey-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.ey-section__title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--ey-text);
}
.ey-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0295f9, #2f49fd);
}
.ey-section__sub {
  margin: 10px 0 0;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ey-muted);
}
.ey-more {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--ey-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ey-more:hover { color: var(--ey-primary); }

/* ============================================================
   模板卡片
   ============================================================ */
.ey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ey-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ey-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ey-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ey-border);
  border-radius: var(--ey-radius);
  overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.ey-card__thumb,
.ey-card__body { display: block; }
.ey-card__meta { display: flex; }
.ey-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ey-shadow-hover);
  border-color: transparent;
}
.ey-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8f1ff, #f3f7ff);
  overflow: hidden;
}
.ey-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.ey-card:hover .ey-card__thumb img { transform: scale(1.07); }
.ey-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(22, 120, 255, .92);
  backdrop-filter: blur(4px);
}
.ey-card__tag--orange { background: rgba(255, 107, 26, .92); }
.ey-card__tag--green { background: rgba(34, 181, 115, .92); }
.ey-card__body { padding: 15px 16px 17px; }
.ey-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  height: 46px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ey-text);
}
.ey-card:hover .ey-card__title { color: var(--ey-primary); }
.ey-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eef2f8;
  font-size: 12px;
  color: var(--ey-muted);
}
.ey-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ey-card__price { color: var(--ey-orange); font-size: 14px; font-weight: 700; }

/* 插件横卡 */
.ey-plug {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ey-border);
  border-radius: var(--ey-radius);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.ey-plug:hover { transform: translateY(-4px); box-shadow: var(--ey-shadow-hover); border-color: transparent; }
.ey-plug__thumb {
  display: block;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f1ff, #f3f7ff);
}
.ey-plug__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-plug__body { display: block; flex: 1 1 auto; min-width: 0; }
.ey-plug__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ey-text);
}
.ey-plug:hover .ey-plug__title { color: var(--ey-primary); }
.ey-plug__desc {
  margin: 0;
  font-size: 13px;
  color: var(--ey-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}
.ey-plug__meta {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #a8b3c2;
}

/* ============================================================
   帮助文档（双栏）
   ============================================================ */
.ey-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ey-doc-card {
  background: #fff;
  border: 1px solid var(--ey-border);
  border-radius: var(--ey-radius);
  padding: 22px 24px 12px;
}
.ey-doc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4fa;
}
.ey-doc-card__title {
  position: relative;
  margin: 0;
  padding-left: 13px;
  font-size: 18px;
  font-weight: 700;
}
.ey-doc-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--ey-primary);
}
.ey-doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f4fa;
  font-size: 14px;
}
.ey-doc-row:last-child { border-bottom: 0; }
.ey-doc-row__dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfe0f7;
}
.ey-doc-row__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ey-text2);
}
.ey-doc-row:hover .ey-doc-row__dot { background: var(--ey-primary); }
.ey-doc-row:hover .ey-doc-row__title { color: var(--ey-primary); }
.ey-doc-row__date { flex: 0 0 auto; font-size: 13px; color: #a8b3c2; }

/* ============================================================
   CTA
   ============================================================ */
.ey-cta {
  position: relative;
  max-width: var(--ey-container);
  margin: 62px auto;
  padding: 46px 48px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #0b3fae 0%, #1678ff 52%, #38a6ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 24px 50px rgba(15, 70, 190, .22);
}
.ey-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.ey-cta__title { margin: 0 0 12px; font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.ey-cta__sub { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ey-cta__actions { position: relative; z-index: 2; display: flex; gap: 14px; flex: 0 0 auto; }

/* ============================================================
   页脚
   ============================================================ */
.ey-footer {
  background: #0d1b2f;
  color: #a9b7c9;
  padding-top: 56px;
  margin-top: 70px;
}
.ey-footer__main {
  max-width: var(--ey-container);
  margin: 0 auto;
  padding: 0 20px 42px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.ey-footer__brand img { height: 40px; margin-bottom: 18px; }
.ey-footer__brand p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: #8695a8;
  max-width: 320px;
}
.ey-footer__copy { font-size: 12px; color: #66758a; line-height: 1.9; }
.ey-footer__copy a { color: #8695a8; }
.ey-footer__copy a:hover { color: #fff; }

.ey-footer__col h4 {
  margin: 4px 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.ey-footer__col li { margin-bottom: 11px; }
.ey-footer__col a { font-size: 13px; color: #8695a8; }
.ey-footer__col a:hover { color: #fff; }

.ey-footer__qr { text-align: center; }
.ey-footer__qr-box {
  width: 112px;
  height: 112px;
  margin: 0 auto 10px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ey-footer__qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ey-footer__qr-ph {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background:
    repeating-conic-gradient(#0d1b2f 0 25%, #fff 0 50%) 0 0 / 16px 16px;
  opacity: .85;
}
.ey-footer__qr span { font-size: 12px; color: #8695a8; }

.ey-footer__links {
  max-width: var(--ey-container);
  margin: 0 auto;
  padding: 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  color: #66758a;
}
.ey-footer__links a { color: #8695a8; }
.ey-footer__links a:hover { color: #fff; }

.ey-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 18px 20px;
  text-align: center;
  font-size: 12px;
  color: #5f6e83;
  line-height: 1.8;
}

/* ============================================================
   浮动工具条
   ============================================================ */
.ey-float {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ey-float a,
.ey-backtop {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ey-border);
  box-shadow: 0 10px 24px rgba(16, 42, 80, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ey-text2);
  font-size: 18px;
  cursor: pointer;
  transition: all .22s;
}
.ey-float a:hover,
.ey-backtop:hover { color: #fff; background: var(--ey-primary); border-color: var(--ey-primary); }
.ey-float a::after {
  content: attr(data-tip);
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(13, 27, 47, .92);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
}
.ey-float a:hover::after { opacity: 1; visibility: visible; }
.ey-backtop {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.ey-backtop.is-show { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   列表页 / 详情页（兼容默认主题内容）
   ============================================================ */
.ey-page-head {
  padding: 26px 0 8px;
  font-size: 13px;
  color: var(--ey-muted);
}
.ey-page-head a { color: var(--ey-muted); }
.ey-page-head a:hover { color: var(--ey-primary); }
.ey-page-head span { margin: 0 8px; color: #cbd5e1; }

.ey-panel {
  background: #fff;
  border: 1px solid var(--ey-border);
  border-radius: var(--ey-radius);
  padding: 22px 24px;
  margin-bottom: 24px;
}
.ey-panel__title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4fa;
  font-size: 18px;
  font-weight: 700;
}
.ey-news-row {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed #eef2f8;
}
.ey-news-row:last-child { border-bottom: 0; }
.ey-news-row__thumb {
  flex: 0 0 180px;
  width: 180px;
  height: 116px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f8;
}
.ey-news-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ey-news-row__body { flex: 1 1 auto; min-width: 0; }
.ey-news-row__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.ey-news-row__title:hover { color: var(--ey-primary); }
.ey-news-row__desc { margin: 0 0 10px; font-size: 13px; color: var(--ey-muted); line-height: 1.7; }
.ey-news-row__meta { display: flex; gap: 16px; font-size: 12px; color: #a8b3c2; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .ey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ey-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .ey-footer__col--hide { display: none; }
}

@media (max-width: 992px) {
  .ey-header__inner { gap: 16px; }
  .ey-nav { display: none; }
  .ey-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--ey-head-h);
    height: auto;
    padding: 10px;
    background: #fff;
    box-shadow: 0 20px 30px rgba(16, 42, 80, .12);
    gap: 2px;
  }
  .ey-nav.is-open > li { display: block; height: auto; }
  .ey-nav.is-open > li > a { height: 44px; justify-content: space-between; padding: 0 14px; border-radius: 8px; }
  .ey-nav.is-open > li > a::after { display: none; }
  .ey-nav.is-open .ey-subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f7faff;
    display: none;
    min-width: 0;
    margin: 4px 0 6px;
  }
  .ey-nav.is-open li.is-open > .ey-subnav { display: block; }
  .ey-header__actions { margin-left: auto; }
  .ey-mobile-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .ey-hero { height: 400px; }
  .ey-hero__title { font-size: 34px; }
  .ey-hero__sub { font-size: 15px; }
  .ey-benefits { grid-template-columns: repeat(2, 1fr); }
  .ey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ey-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ey-cta { flex-direction: column; align-items: flex-start; padding: 34px; }
  .ey-footer__main { grid-template-columns: 1fr 1fr; }
  .ey-footer__qr { text-align: left; }
  .ey-footer__qr-box { margin: 0 0 10px; }
}

@media (max-width: 768px) {
  .ey-header__actions .ey-search-btn,
  .ey-header__actions .ey-vip-btn { display: none; }
  .ey-hero { height: 380px; margin-top: 0; }
  .ey-hero__title { font-size: 27px; line-height: 1.35; }
  .ey-hero__sub { font-size: 14px; margin-bottom: 24px; }
  .ey-hero__search { height: 50px; }
  .ey-hero__search button { width: 92px; font-size: 14px; }
  .ey-notice { margin-top: -26px; }
  .ey-notice__inner { height: auto; padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
  .ey-notice__label { border-right: 0; padding-right: 0; }
  .ey-notice__list { flex: 1 0 100%; }
  .ey-section__title { font-size: 21px; }
  .ey-section__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ey-docs { grid-template-columns: 1fr; }
  .ey-cta { margin: 42px 20px; }
  .ey-cta__title { font-size: 22px; }
  .ey-cta__actions { flex-wrap: wrap; }
  .ey-news-row { flex-direction: column; }
  .ey-news-row__thumb { width: 100%; height: 180px; flex: none; }
  .ey-footer__main { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ey-footer__brand { grid-column: 1 / -1; }
  .ey-float { display: none; }
}

@media (max-width: 480px) {
  .ey-grid,
  .ey-grid--3,
  .ey-grid--2,
  .ey-benefits { grid-template-columns: 1fr; }
  .ey-hero { height: 340px; }
  .ey-hero__tag { display: none; }
  .ey-footer__main { grid-template-columns: 1fr; }
}
