/* ==========================================================================
   云智企业官网 · 前台样式（重写版）
   结构：变量 → 基础 → 头部/导航 → 首页区块 → 列表页 → 详情页 → 会员 → 响应式
   原则：容器不限宽，各区块内部容器负责居中；不使用 calc(50% - 50vw) 之类的突破写法。
   ========================================================================== */

:root {
  --brand: #1677ff;
  --brand-2: #4f8cff;
  --brand-3: #8ab4ff;
  --ink: #0f1a2b;
  --ink-2: #2a3648;
  --sub: #5b6779;
  --line: #e8ecf3;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --dark-1: #0a1730;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 37, 74, .04), 0 4px 16px rgba(16, 37, 74, .05);
  --shadow-md: 0 8px 30px rgba(16, 37, 74, .09);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

body.ent-body,
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: color .18s; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; height: auto; }

/* ==========================================================================
   头部
   ========================================================================== */

/* 旧模板的固定宽高与浮动一律重置 */
.yzm-header-box {
  height: auto;
  line-height: normal;
  background: var(--dark-1);
  border-bottom: 0;
}
.yzm-header-top {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
.yzm-header {
  height: auto;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ent-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
}
.ent-topbar-left { color: rgba(255, 255, 255, .62); }
.yzm-member-status { display: flex; gap: 14px; flex-shrink: 0; }
.yzm-member-status a {
  color: rgba(255, 255, 255, .68);
  white-space: nowrap;
}
.yzm-member-status a:hover { color: #fff; }

.yzm-logo { flex-shrink: 0; }
.yzm-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.yzm-logo img { height: 36px; width: auto; }

.yzm-search { margin-left: auto; min-width: 0; }
.yzm-search form { display: flex; align-items: center; }
.yzm-search .searchtxt { position: relative; width: 280px; max-width: 100%; flex: none; }
.yzm-search .searchmenu { display: none; }
.yzm-search .searchtxt input[type=text] {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px;
  background: var(--soft);
  transition: border-color .2s, background .2s;
}
.yzm-search .searchtxt input[type=text]:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.yzm-search .searchbtn button {
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.yzm-search .searchbtn button:hover { background: var(--brand-2); }

.yzm-add-content a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
}
.yzm-add-content a:hover { border-color: var(--brand); color: var(--brand); }

/* ==========================================================================
   导航
   ========================================================================== */

.yzm-menu {
  position: sticky;
  top: 0;
  z-index: 900;
  height: auto;
  line-height: normal;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.yzm-menu .yzm-container-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.yzm-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: auto !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yzm-nav li {
  float: none;
  position: relative;
  z-index: auto;
  flex: 0 0 auto;
  background: transparent;
  list-style: none;
}
.yzm-nav li a {
  float: none;
  display: block;
  width: auto;
  min-width: 0;
  padding: 15px 22px;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: normal;
  background: transparent;
  transition: color .18s;
}
.yzm-nav li a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .22s ease;
}
.yzm-nav li a:hover { background: transparent; color: var(--brand); }
.yzm-nav li a:hover::after,
.yzm-nav li a.current::after { transform: scaleX(1); }
.yzm-nav li a.current { background: transparent; color: var(--brand); font-weight: 600; }

.yzm-nav li .sub_nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 8px;
  width: auto;
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 20;
}
.yzm-nav li:hover .sub_nav { display: block; }
.yzm-nav li .sub_nav li {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  clear: none;
  background: transparent;
}
.yzm-nav li .sub_nav li a {
  width: auto;
  height: auto;
  padding: 9px 12px;
  line-height: normal;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
}
.yzm-nav li .sub_nav li a:hover { background: var(--soft); color: var(--brand); }

/* ==========================================================================
   首页 · 首屏
   ========================================================================== */

.ent-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-1);
  color: #fff;
}
.ent-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 78% 18%, rgba(22, 119, 255, .42) 0%, transparent 62%),
    radial-gradient(50% 70% at 12% 92%, rgba(79, 140, 255, .28) 0%, transparent 60%),
    linear-gradient(140deg, #081226 0%, #0e2145 52%, #0a1a37 100%);
}
.ent-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.ent-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 104px;
}
.ent-hero-copy { flex: 1; min-width: 0; }
.ent-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  font-size: 12.5px;
  letter-spacing: .4px;
}
.ent-hero h1 {
  margin: 22px 0 20px;
  font-size: 52px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -1px;
}
.ent-hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #7fb2ff 0%, #cfe0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ent-hero-copy > p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .72);
  font-size: 16.5px;
  line-height: 1.85;
}
.ent-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.ent-btn.lg { height: 50px; padding: 0 32px; font-size: 15.5px; }
.ent-btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(22, 119, 255, .32); }
.ent-btn.primary:hover { background: var(--brand-2); color: #fff; }
.ent-btn.ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.ent-btn.ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.ent-btn.light { background: #fff; color: var(--brand); }
.ent-btn.light:hover { background: #f0f6ff; color: var(--brand); }
.ent-section .ent-btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}
.ent-section .ent-btn.ghost:hover { border-color: var(--brand); color: var(--brand); }

.ent-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.ent-hero-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.ent-hero-visual { width: 380px; flex-shrink: 0; max-width: 100%; }
.ent-glass {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}
.ent-glass-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}
.ent-glass-row .val { margin-left: auto; color: #7ee2a8; font-size: 13px; white-space: nowrap; }
.ent-glass-row .label { color: rgba(255, 255, 255, .55); }
.ent-glass-line { height: 1px; background: rgba(255, 255, 255, .1); margin: 6px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.ok { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .16); }

/* ==========================================================================
   首页 · 能力条 / 区块
   ========================================================================== */

.ent-strip { background: var(--soft); border-bottom: 1px solid var(--line); }
.ent-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}
.ent-strip-inner div { text-align: center; min-width: 0; }
.ent-strip-inner strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.ent-strip-inner span { font-size: 13px; color: var(--sub); }

.ent-section { padding: 96px 0; }
.ent-section.alt { background: var(--soft); }
.ent-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ent-section-head { max-width: 720px; margin-bottom: 48px; }
.ent-section .ent-eyebrow { border-color: var(--line); background: #fff; color: var(--brand); }
.ent-section h2 {
  margin: 16px 0 10px;
  font-size: 36px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -.6px;
}
.ent-section .lead { margin: 0; color: var(--sub); font-size: 16px; }

.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ent-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  min-width: 0;
}
.ent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.ent-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2ff 0%, #f4f8ff 100%);
  color: var(--brand);
}
.ent-card-icon svg { width: 23px; height: 23px; }
.ent-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.ent-card p { margin: 0; color: var(--sub); font-size: 14.5px; line-height: 1.8; }

.ent-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ent-step {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.ent-step .num {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ent-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.ent-step p { margin: 0; color: var(--sub); font-size: 14px; }

.ent-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.ent-about-copy h2 { margin: 16px 0 10px; }
.ent-about-copy > p { color: var(--sub); font-size: 15.5px; line-height: 1.9; margin: 0 0 26px; }
.ent-about-card {
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.ent-info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ent-info-table th,
.ent-info-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ent-info-table th { width: 42%; color: var(--sub); font-weight: 400; }
.ent-info-table tr:last-child th,
.ent-info-table tr:last-child td { border-bottom: 0; }

.ent-cta {
  background: linear-gradient(120deg, #0d2247 0%, #1b4b9e 55%, #1677ff 100%);
  color: #fff;
  text-align: center;
  padding: 88px 24px;
}
.ent-cta-inner { max-width: 720px; margin: 0 auto; }
.ent-cta h2 { margin: 0 0 12px; font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.ent-cta p { margin: 0 0 30px; color: rgba(255, 255, 255, .74); font-size: 16px; }

/* ==========================================================================
   页脚（多列）
   ========================================================================== */

.ent-footer {
  background: #0a1220;
  color: rgba(255, 255, 255, .58);
  font-size: 13.5px;
  line-height: 1.9;
}
.ent-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}
.ent-footer-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.ent-footer-brand p { margin: 0 0 6px; }
.ent-footer-credit { font-size: 12.5px; color: rgba(255, 255, 255, .42); }
.ent-footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .3px;
}
.ent-footer-col p,
.ent-footer-col a {
  display: block;
  margin: 0 0 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
}
.ent-footer-col a:hover { color: #fff; }
.ent-footer-filing { font-size: 12.5px; color: rgba(255, 255, 255, .42); }
.ent-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
}
.ent-footer-bottom a { color: rgba(255, 255, 255, .4); }
.ent-footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   列表页 / 频道页
   ========================================================================== */

.ent-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  align-items: start;
}
.ent-page-full { max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px; }
.ent-page-head { margin-bottom: 28px; }
.ent-page-head h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--ink);
}
.ent-page-desc { margin: 0; color: var(--sub); font-size: 15px; }

.ent-list { list-style: none; margin: 0; padding: 0; }
.ent-list li { border-bottom: 1px solid var(--line); }
.ent-list li:first-child { border-top: 1px solid var(--line); }
.ent-list li a { display: block; padding: 22px 4px; color: inherit; transition: background .18s; }
.ent-list li a:hover { background: var(--soft); }
.ent-list h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.ent-list li a:hover h2 { color: var(--brand); }
.ent-list p { margin: 0 0 8px; color: var(--sub); font-size: 14.5px; line-height: 1.75; }
.ent-list-meta { color: #98a2b3; font-size: 13px; }

.ent-page-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ent-side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  min-width: 0;
}
.ent-side-box h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ent-ranking { list-style: none; margin: 0; padding: 0; }
.ent-ranking li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
}
.ent-ranking em {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 6px;
  background: var(--soft);
  color: var(--sub);
  font-style: normal;
  font-size: 12px;
}
.ent-ranking li:nth-child(-n+3) em { background: var(--brand); color: #fff; }
.ent-ranking a { color: var(--ink-2); }
.ent-ranking a:hover { color: var(--brand); }

.ent-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ent-tags a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--sub);
  font-size: 13px;
}
.ent-tags a:hover { background: var(--brand); color: #fff; }

.ent-cat-block { margin-bottom: 48px; }
.ent-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.ent-cat-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.ent-cat-head a { font-size: 14px; color: var(--brand); white-space: nowrap; }
.ent-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ent-cat-grid li { min-width: 0; }
.ent-cat-grid li a {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.ent-cat-grid li a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ent-cat-thumb {
  height: 140px;
  background: linear-gradient(135deg, #f0f5fd 0%, #f7f9fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3ccda;
}
.ent-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ent-cat-noimg { font-size: 26px; color: #b7c3d6; }
.ent-cat-body { padding: 16px 18px 18px; }
.ent-cat-body h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.55; }
.ent-cat-body p {
  margin: 0 0 10px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ent-empty { padding: 80px 0; text-align: center; color: var(--sub); font-size: 15px; }

#page { margin-top: 28px; text-align: center; }
#page a, #page span {
  display: inline-block;
  min-width: 36px;
  padding: 0 10px;
  height: 36px;
  line-height: 36px;
  margin: 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
}
#page a:hover { border-color: var(--brand); color: var(--brand); }
#page span.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   文章详情
   ========================================================================== */

.ent-breadcrumb { margin-bottom: 18px; font-size: 13.5px; color: var(--sub); }
.ent-breadcrumb a { color: var(--sub); }
.ent-breadcrumb a:hover { color: var(--brand); }

.ent-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px 40px;
  min-width: 0;
}
.ent-article-title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--ink);
}
.ent-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: #98a2b3;
  font-size: 13.5px;
}
.ent-article-summary {
  padding: 16px 20px;
  margin-bottom: 26px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}
.ent-article-body { font-size: 16px; line-height: 1.95; color: var(--ink-2); overflow-wrap: break-word; }
.ent-article-body p { margin: 0 0 18px; }
.ent-article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.ent-article-body h2 { font-size: 22px; margin: 32px 0 14px; }
.ent-article-body h3 { font-size: 18px; margin: 26px 0 12px; }
.ent-article-body a { color: var(--brand); }
.ent-article-body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--line);
  background: var(--soft);
  color: var(--sub);
}
.ent-article-body pre,
.ent-article-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; }
.ent-article-body pre { padding: 16px 18px; border-radius: 10px; background: #0f172a; color: #e2e8f0; overflow: auto; }
.ent-pay-tips { padding: 20px; border-radius: 10px; background: #fff7e6; color: #8a5a00; }

.ent-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ent-article-tags a {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--sub);
  font-size: 13px;
}
.ent-article-tags a:hover { background: var(--brand); color: #fff; }

.ent-article-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.ent-article-actions a {
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--sub);
  font-size: 14px;
}
.ent-article-actions a:hover { border-color: var(--brand); color: var(--brand); }

.ent-article-nav {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--sub);
  line-height: 2;
}
.ent-article-nav a { color: var(--ink-2); }

.ent-comment { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.ent-comment-title { margin: 0 0 20px; font-size: 18px; font-weight: 600; }
.ent-comment-form textarea {
  width: 100%;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
}
.ent-comment-form textarea:focus { outline: none; border-color: var(--brand); }
.ent-comment-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--sub);
  flex-wrap: wrap;
}
.ent-comment-tools .emotion { cursor: pointer; }
.ent-comment-tools input[type=submit] {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  padding: 9px 24px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.ent-comment-code img { vertical-align: middle; height: 30px; }
.ent-comment-code input { width: 96px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }

.ent-comment-list { list-style: none; margin: 28px 0 0; padding: 0; }
.ent-comment-list > li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.ent-comment-avatar img { width: 38px; height: 38px; border-radius: 50%; }
.ent-comment-body { flex: 1; min-width: 0; }
.ent-comment-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.ent-comment-head a { color: var(--ink); font-weight: 500; }
.ent-comment-head em { font-style: normal; color: #98a2b3; font-size: 12.5px; }
.ent-comment-reply { margin-left: auto; color: var(--brand); font-size: 13px; }
.ent-comment-body > p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.ent-comment-empty { color: var(--sub); font-size: 14px; }

/* ==========================================================================
   会员中心基础（视觉由 member-dash.css 接管）
   ========================================================================== */

.yzm_member_container.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 13px;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .ent-hero-inner { gap: 36px; padding: 72px 24px 80px; }
  .ent-hero h1 { font-size: 42px; }
  .ent-hero-visual { width: 300px; }
  .ent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-about { grid-template-columns: 1fr; gap: 32px; }
  .ent-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-page { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  /* 头部：隐藏搜索与投稿入口，避免撑破视口 */
  .yzm-search,
  .yzm-add-content { display: none; }
  .yzm-header { padding: 14px 16px; gap: 12px; }
  .ent-topbar { padding: 8px 16px; }
  .ent-topbar-left { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .yzm-member-status { font-size: 12px; gap: 10px; }
  .yzm-logo a { font-size: 17px; }
  .yzm-logo img { height: 30px; }
  .yzm-menu .yzm-container-box { padding: 0 16px; }

  /* 导航横向滚动，避免换行成 6+1 */
  .yzm-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .yzm-nav::-webkit-scrollbar { display: none; }
  .yzm-nav li { flex: 0 0 auto; }
  .yzm-nav li a { padding: 13px 15px; font-size: 14.5px; white-space: nowrap; text-align: center; }
  .yzm-nav li a::after { left: 15px; right: 15px; bottom: 5px; }

  /* 首屏 */
  .ent-hero-inner { flex-direction: column; align-items: stretch; padding: 44px 16px 52px; gap: 30px; }
  .ent-hero h1 { font-size: 29px; line-height: 1.3; letter-spacing: -.4px; }
  .ent-hero-copy > p { font-size: 14.5px; line-height: 1.8; margin-bottom: 24px; }
  .ent-hero-actions { gap: 10px; }
  .ent-btn { height: 42px; padding: 0 20px; font-size: 14.5px; }
  .ent-btn.lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
  .ent-hero-tags { margin-top: 26px; gap: 8px; }
  .ent-hero-tags span { font-size: 12px; padding: 5px 11px; }
  .ent-hero-visual { width: 100%; }
  .ent-glass { transform: none; padding: 18px; }
  .ent-glass-row { font-size: 13px; padding: 10px 2px; }

  /* 能力条 */
  .ent-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    padding: 24px 16px;
  }
  .ent-strip-inner strong { font-size: 14px; }
  .ent-strip-inner span { font-size: 12px; }

  /* 区块 */
  .ent-section { padding: 52px 0; }
  .ent-section-inner { padding: 0 16px; }
  .ent-section-head { margin-bottom: 28px; }
  .ent-section h2 { font-size: 25px; }
  .ent-section .lead { font-size: 14.5px; }
  .ent-grid, .ent-steps { grid-template-columns: 1fr; gap: 14px; }
  .ent-card { padding: 22px 20px; }
  .ent-card h3 { font-size: 16px; }
  .ent-card p { font-size: 14px; }
  .ent-step { padding: 22px 18px; }
  .ent-about-card { padding: 22px 18px; }
  .ent-info-table th,
  .ent-info-table td { font-size: 13.5px; padding: 11px 0; }
  .ent-info-table th { width: 40%; }
  .ent-cta { padding: 52px 16px; }
  .ent-cta h2 { font-size: 24px; }
  .ent-cta p { font-size: 14.5px; }

  /* 列表 / 详情 */
  .ent-page, .ent-page-full { padding: 28px 16px 48px; }
  .ent-page-head h1 { font-size: 24px; }
  .ent-cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .ent-cat-thumb { height: 160px; }
  .ent-article { padding: 24px 18px; }
  .ent-article-title { font-size: 23px; }
  .ent-article-body { font-size: 15.5px; }
  .ent-article-body pre { font-size: 13px; }
  .ent-comment { padding: 20px 18px; }
  .ent-comment-tools input[type=submit] { margin-left: 0; width: 100%; }

  .ent-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 40px 16px 28px;
  }
  .ent-footer-brand { grid-column: 1 / -1; }
  .ent-footer-bottom {
    padding: 16px 16px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


/* ==========================================================================
   表单（留言 / 自定义表单）
   ========================================================================== */

.ent-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.ent-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.ent-form-row { margin-bottom: 20px; min-width: 0; }
.ent-form-grid .ent-form-row { margin-bottom: 0; }
.ent-form-row.full { grid-column: 1 / -1; }
.ent-form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.ent-form-row label i { color: #e5484d; font-style: normal; }
.ent-form-row input[type=text],
.ent-form-row input[type=email],
.ent-form-row input[type=password],
.ent-form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.ent-form-row input:focus,
.ent-form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .1);
}
.ent-form-row textarea { min-height: 120px; resize: vertical; }
.ent-form-code { display: flex; gap: 12px; align-items: center; }
.ent-form-code input[type=text] { width: 130px; flex: none; }
.ent-form-code img {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.ent-form-actions { margin-top: 8px; }
.ent-form-actions input[type=submit] {
  border: 0;
  border-radius: 10px;
  padding: 12px 32px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.ent-form-actions input[type=submit]:hover { background: var(--brand-2); }
.ent-reply {
  margin-top: 10px !important;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--sub) !important;
  font-size: 14px;
}
.ent-comment-topic { margin-left: auto; color: var(--sub); font-size: 13px; }
.ent-product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.ent-product-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
mark {
  background: #fff3c4;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .ent-form { padding: 22px 18px; }
  .ent-form-grid { grid-template-columns: 1fr; gap: 0; }
  .ent-form-grid .ent-form-row { margin-bottom: 18px; }
  .ent-product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* 登录按钮覆盖（yzm-common.css 里是红框红字） */
.yzm-member-status .login,
.yzm-header-top a.login {
  color: rgba(255, 255, 255, .82) !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  margin-left: 14px !important;
}
.yzm-member-status .login:hover,
.yzm-header-top a.login:hover {
  color: #fff !important;
  background: transparent !important;
}
/* 顶栏所有链接统一颜色，覆盖 yzm-common.css 的 .yzm-header-top a 规则 */
.yzm-header-top a {
  color: rgba(255, 255, 255, .68) !important;
  margin-left: 0 !important;
}
.yzm-header-top a:hover { color: #fff !important; }
