/* ==========================================================================
   庚哥IT 用户端 · B端口（itpro）视觉适配层
   主视觉来自 static/bport/css；本文件仅补业务组件与中文排版
   ========================================================================== */

:root {
  --xsg-orange: #ff3c00;
  --xsg-orange-2: #f16722;
  --xsg-ink: #141323;
  --xsg-ink-2: #1c1a2e;
  --xsg-text: #2a2a2a;
  --xsg-muted: #6b6b76;
  --xsg-faint: #9a97a8;
  --xsg-line: #e6e8ef;
  --xsg-bg: #f4f5f7;
  --xsg-soft: #f7f7f9;
  --xsg-white: #fff;
  --xsg-success: #2f9e44;
  --xsg-warning: #f16722;
  --xsg-danger: #e03131;
  --xsg-info: #2f9ecf;
  --xsg-radius: 10px;
  --xsg-radius-lg: 14px;
  --xsg-radius-pill: 999px;
  --xsg-shadow: 0 10px 28px rgba(20, 19, 35, .06);
  --xsg-shadow-hover: 0 16px 36px rgba(20, 19, 35, .1);
  --xsg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --xsg-font: "Fira Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --xsg-font-display: "Rubik", "Fira Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--xsg-font) !important;
  color: var(--xsg-text);
  -webkit-font-smoothing: antialiased;
  /* clip 代替 hidden，避免 B端口 overflow-x:hidden 弄坏 sticky 侧栏 */
  overflow-x: clip !important;
}

/* 关闭 B端口整页加载动画，页面直接展示 */
.loader-wrapper,
.loader,
.loder-section {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

h1, h2, h3, h4, h5, h6,
.slider-content h1,
.slider-content h3,
.slider-content p,
.itpro-section-title h2,
.itpro-section-title h4,
.itpro-section-title h5,
.breadcumb-content h1,
.breadcumb-content ul li,
.breadcumb-content ul li a,
.em-blog-title h2,
.case-study-title h3,
.case-study-title h6,
.itpro_menu > ul > li > a,
.header-button a,
.itpro-button a,
.btn-common a,
.serivce-title h3,
.srvc-description p,
.feature-title h3,
.itpro-description p,
.contact_title h3,
.widget-title,
.footer-menu li a,
.blog-title h2,
.blog-button a,
.blg-btn a,
.quote_button button,
.form_box input,
.form_box textarea {
  font-family: var(--xsg-font-display) !important;
}

img { max-width: 100%; height: auto; }
a { transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }

/* 品牌字标 */
.xsg-brand { display: inline-flex; align-items: center; text-decoration: none !important; }
.xsg-brand img { max-height: 42px; width: auto; }
.xsg-brand-text {
  font-family: var(--xsg-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--xsg-ink);
  letter-spacing: -.02em;
  line-height: 1;
}
.xsg-brand-text span { color: var(--xsg-orange); }
.xsg-brand-text.is-light { color: #fff; }
.xsg-brand-text.is-light span { color: var(--xsg-orange); }

.itpro_menu > ul > li > a.current,
.itpro_menu > ul > li > a.current:hover { color: var(--xsg-orange) !important; }
.sticky .itpro_menu > ul > li > a.current { color: var(--xsg-orange) !important; }
/* 覆盖模板全局 a.active 白字，避免误用 */
.itpro_nav_manu a.active { color: inherit; }

/* 顶栏层级高于装饰图形 */
.itpro_nav_manu {
  position: relative;
  z-index: 99;
  background: #fff;
}
.itpro_nav_manu.sticky { z-index: 999; }

/* 未吸顶时强制隐藏浅色字标，避免白底上只剩橙色 IT */
.itpro_nav_manu .main_sticky { display: none !important; }
.itpro_nav_manu.sticky .main_sticky { display: inline-flex !important; }
.itpro_nav_manu.sticky .logo_img { display: none !important; }

/* 隐藏自定义光标，避免遮挡点击与截图像素 */
.curser, .curser2 { display: none !important; }

/* 触屏隐藏自定义光标 */
@media (hover: none), (pointer: coarse) {
  .curser, .curser2 { display: none !important; }
}

/* 首页 Hero：首屏一节，品牌 + 标题 + CTA 同屏可见 */
.slider-area {
  min-height: calc(100vh - 86px);
  height: auto;
  padding: 96px 0 72px;
  background:
    radial-gradient(1200px 480px at 12% 8%, rgba(255, 60, 0, .06), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--xsg-soft) 100%);
}
.slider-content h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; letter-spacing: -.02em; }
.slider-content h3 {
  color: var(--xsg-orange);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}
.slider-content p {
  width: 100%;
  max-width: 540px;
  word-break: break-word;
  color: var(--xsg-muted);
  line-height: 1.75;
  margin: 16px 0 22px;
}
.hero-thumb { position: relative; z-index: 2; }
.hero-thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow-hover);
}

/* 作品卡片在非 isotope 布局下保持高度 */
.case-study-single-box { margin-bottom: 10px; }
.case-study-thumb2 { overflow: hidden; border-radius: var(--xsg-radius); }
.case-study-thumb2 img {
  transition: transform .45s var(--xsg-ease);
}
.case-study-single-box:hover .case-study-thumb2 img {
  transform: scale(1.03);
}

/* 面包屑中文：略压缩高度，让首屏更快见到列表主角 */
.breadcumb-area {
  min-height: 220px !important;
  height: auto !important;
  padding: 96px 0 42px;
}
.breadcumb-content h1 { font-size: clamp(32px, 4vw, 48px); }
.breadcumb-content ul li,
.breadcumb-content ul li a { font-size: 15px; }

/* ------------------------------------------------------------------ 业务区 */
.xsg-page { padding: 70px 0 90px; background: var(--xsg-white); }
.xsg-page .container { position: relative; z-index: 1; }

.xsg-section-lead {
  color: var(--xsg-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 36px;
  max-width: 720px;
}

/* 筛选栏（与数据资料 / 乐域检索壳一致） */
.xsg-filter {
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  padding: 22px 22px 18px;
  margin-bottom: 28px;
  box-shadow: var(--xsg-shadow);
}
.xsg-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--xsg-ink);
  margin-bottom: 8px;
}
.xsg-filter .form-control,
.xsg-filter .form-select,
.form_box input,
.form_box textarea,
.xsg-panel .form-control,
.xsg-auth-main .form-control {
  height: 52px;
  border: 1px solid #e5e5e5;
  border-radius: var(--xsg-radius);
  background: #fff;
  color: var(--xsg-text);
  font-size: 15px;
  box-shadow: none;
}
.form_box textarea,
.xsg-panel textarea.form-control,
.xsg-auth-main textarea.form-control {
  height: auto;
  min-height: 140px;
  padding-top: 14px;
}
.xsg-filter .form-control:focus,
.xsg-filter .form-select:focus,
.form_box input:focus,
.form_box textarea:focus,
.xsg-panel .form-control:focus,
.xsg-auth-main .form-control:focus {
  border-color: var(--xsg-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 60, 0, .12);
}

.xsg-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.xsg-cats a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--xsg-radius-pill);
  background: var(--xsg-soft);
  color: var(--xsg-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}
.xsg-cats a:hover,
.xsg-cats a.is-active {
  background: var(--xsg-orange);
  color: #fff;
}

.xsg-count {
  color: var(--xsg-muted);
  font-size: 14px;
  font-weight: 500;
}
.xsg-count b { color: var(--xsg-orange); font-weight: 700; }

/* 作品卡片（复用 case-study 结构时的补充） */
.case-study-area.style-three {
  background: var(--xsg-bg);
}
.case-study-thumb2 img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.case-study-title h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xsg-card-meta-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 13px;
  color: #fff;
  opacity: .9;
}

/* 博客卡片封面 */
.single-blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.xsg-notice-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: linear-gradient(135deg, #141323, #ff3c00);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  font-family: var(--xsg-font-display);
}

/* 面板 / 表单卡片 */
.xsg-panel {
  background: #fff;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius);
  box-shadow: var(--xsg-shadow);
  padding: 28px 30px;
}
.xsg-panel h3 {
  font-size: 22px;
  color: var(--xsg-ink);
  margin-bottom: 8px;
}
.xsg-panel .hint,
.xsg-auth-main .hint {
  color: var(--xsg-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

/* 按钮对齐 B端口 */
.xsg-btn,
.quote_button .btn,
.quote_button button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 36px;
  border: 0;
  border-radius: var(--xsg-radius-pill);
  background: var(--xsg-orange);
  color: #fff !important;
  font-family: var(--xsg-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background .28s var(--xsg-ease), color .28s var(--xsg-ease), transform .28s var(--xsg-ease), box-shadow .28s var(--xsg-ease);
  box-shadow: 0 8px 18px rgba(255, 60, 0, .18);
}
.xsg-btn:hover,
.quote_button .btn:hover,
.quote_button button:hover {
  background: var(--xsg-ink);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 19, 35, .16);
}
.xsg-btn-block { width: 100%; }
.xsg-btn-ghost {
  background: transparent;
  border: 1px solid var(--xsg-orange);
  color: var(--xsg-orange) !important;
  box-shadow: none;
}
.xsg-btn-ghost:hover {
  background: var(--xsg-orange);
  color: #fff !important;
}
.xsg-btn-ghost-light {
  background: #fff;
  border: 1px solid var(--xsg-orange);
  color: var(--xsg-orange) !important;
}
.xsg-btn-ghost-light:hover {
  background: var(--xsg-orange);
  color: #fff !important;
}

/* 标签 */
.xsg-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--xsg-radius-pill);
  background: var(--xsg-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.xsg-tag.is-dark { background: var(--xsg-ink); }
.xsg-tag.is-plain {
  background: var(--xsg-soft);
  color: var(--xsg-muted);
}

/* 分页 */
.xsg-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}
.xsg-pager a,
.xsg-pager span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: var(--xsg-radius-pill);
  border: 1px solid var(--xsg-line);
  color: var(--xsg-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}
.xsg-pager a:hover {
  background: var(--xsg-orange);
  border-color: var(--xsg-orange);
  color: #fff;
}
.xsg-pager .current {
  background: var(--xsg-ink);
  border-color: var(--xsg-ink);
  color: #fff;
}
.xsg-pager .is-disabled {
  opacity: .45;
  pointer-events: none;
}

/* 空状态 */
.xsg-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--xsg-muted);
  background: linear-gradient(180deg, #fff 0%, var(--xsg-soft) 100%);
  border: 1px dashed var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  font-size: 15px;
  line-height: 1.7;
}
.xsg-empty i {
  display: block;
  font-size: 32px;
  color: var(--xsg-orange);
  margin-bottom: 12px;
}

/* 留言 / 评论 */
.xsg-msg {
  background: #fff;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius);
  padding: 20px 22px;
  margin-bottom: 16px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.xsg-msg:hover {
  box-shadow: 0 10px 28px rgba(20, 19, 35, .08);
  transform: translateY(-2px);
}
.xsg-msg .who {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--xsg-ink);
  margin-bottom: 8px;
}
.xsg-msg .who time {
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: var(--xsg-muted);
}
.wm-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--xsg-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.xsg-msg p { margin: 0; color: var(--xsg-text); line-height: 1.7; }
.xsg-reply {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff2ec;
  border-left: 3px solid var(--xsg-orange);
  border-radius: 0 var(--xsg-radius) var(--xsg-radius) 0;
  color: var(--xsg-text);
  font-size: 14px;
}

/* 详情 */
.xsg-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}
.xsg-detail-cover {
  border-radius: var(--xsg-radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.xsg-detail-cover img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}
.xsg-rich {
  font-size: 16px;
  line-height: 1.85;
  color: var(--xsg-text);
}
.xsg-rich img { border-radius: var(--xsg-radius); margin: 12px 0; }
.xsg-rich p { margin-bottom: 1em; }
.xsg-rich h2, .xsg-rich h3 { color: var(--xsg-ink); margin: 1.4em 0 .6em; }

.xsg-wechat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 28px;
  padding: 16px 18px;
  background: #fff2ec;
  border: 1px solid #ffd9c8;
  border-radius: var(--xsg-radius);
  color: var(--xsg-ink);
  font-weight: 600;
}
.xsg-wechat i { color: #07c160; font-size: 22px; }
.xsg-wechat-action {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.xsg-wechat-action:hover { color: #07c160; }
.xsg-wechat-hint { color: var(--xsg-muted); font-weight: 400; font-size: 13px; }
.xsg-promo { margin-top: 18px; }

.xsg-aside-sticky { position: sticky; top: 110px; }
.xsg-aside-form { display: grid; gap: 12px; margin: 14px 0 18px; }
.xsg-aside-list { max-height: 420px; overflow: auto; }
.xsg-aside-comments .cnt {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--xsg-soft);
  color: var(--xsg-orange);
  font-size: 13px;
}

.xsg-related { display: grid; gap: 12px; }
.xsg-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color .25s ease, transform .25s ease;
}
.xsg-mini:hover {
  border-color: var(--xsg-orange);
  transform: translateY(-2px);
}
.xsg-mini img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.xsg-mini h4 {
  font-size: 15px;
  margin: 4px 0 0;
  color: var(--xsg-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xsg-card-meta { font-size: 12px; color: var(--xsg-muted); }

/* 设计定制页：沿用 B端口区块，补充流程卡与准备清单 */
.xsg-custom-hero {
  padding: 70px 0 40px;
  background: #fff;
}
.xsg-custom-hero .xsg-custom-hint,
.xsg-custom-hint {
  margin-top: 18px;
  color: var(--xsg-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
}
.xsg-custom-capability .xsg-custom-note {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  margin: 8px 0 0;
}
.xsg-custom-capability .xsg-custom-note a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.xsg-custom-capability .srvc-description p + p {
  margin-top: 8px;
  color: #686868 !important;
}
.xsg-custom-process {
  padding: 80px 0 50px;
  background: #fff;
}
.xsg-process-card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius);
  background: #fff;
  box-shadow: var(--xsg-shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.xsg-process-card:hover {
  transform: translateY(-3px);
  border-color: var(--xsg-orange);
}
.xsg-process-num {
  font-family: var(--xsg-font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--xsg-orange);
  line-height: 1;
  margin-bottom: 14px;
}
.xsg-process-card h3 {
  font-size: 18px;
  color: var(--xsg-ink);
  margin-bottom: 10px;
}
.xsg-process-card p {
  margin: 0;
  color: var(--xsg-muted);
  font-size: 14px;
  line-height: 1.7;
}
.xsg-prep-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.xsg-prep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--xsg-text);
  font-size: 15px;
  line-height: 1.6;
}
.xsg-prep-list i {
  color: var(--xsg-orange);
  font-size: 18px;
  margin-top: 2px;
}
.quote_button a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--xsg-radius-pill);
  background: var(--xsg-orange);
  color: #fff !important;
  text-decoration: none !important;
  border: 0;
  font-weight: 500;
}
.quote_button a.btn:hover {
  background: var(--xsg-ink);
  color: #fff !important;
}

/* 技能页：浅色底 + 三列卡片，避免 B端口 style-two 深色背景 */
.xsg-skills-page {
  padding: 72px 0 88px !important;
  background-color: var(--xsg-bg) !important;
  background-image: linear-gradient(180deg, var(--xsg-bg) 0%, #fff 48%, var(--xsg-bg) 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}
.xsg-skills-page .xsg-skills-lead {
  color: var(--xsg-muted);
  font-size: 16px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
  line-height: 1.75;
}
.xsg-skills-grid {
  align-items: stretch;
}
.xsg-skills-page .xsg-skill-card,
.xsg-custom-capability .single-service-box {
  background: var(--xsg-white);
  color: var(--xsg-text);
  min-height: 100%;
  height: calc(100% - 24px);
  margin-bottom: 24px;
  padding: 28px 26px 26px;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow);
  transition: transform .28s var(--xsg-ease), box-shadow .28s var(--xsg-ease), border-color .28s var(--xsg-ease);
}
.xsg-skills-page .xsg-skill-card .service-icon {
  margin-bottom: 6px;
}
.xsg-skills-page .xsg-skill-card .slid_bar {
  padding: 18px 0 14px;
}
.xsg-skills-page .xsg-skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 60, 0, .28);
  box-shadow: var(--xsg-shadow-hover);
  background: var(--xsg-white);
}
.xsg-skills-page .xsg-skill-card:hover::before {
  width: 80px;
  height: 80px;
  opacity: 1;
}
.xsg-custom-capability .single-service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 60, 0, .28);
  box-shadow: 0 16px 36px rgba(20, 19, 35, .1);
}
.xsg-skills-page .serivce-title h3,
.xsg-custom-capability .serivce-title h3 {
  color: var(--xsg-ink) !important;
  display: block;
  clear: both;
  padding-top: 8px;
  font-size: 22px;
}
.xsg-skills-page .srvc-description p,
.xsg-custom-capability .srvc-description p {
  color: var(--xsg-muted) !important;
  margin: 10px 0 0;
  line-height: 1.75;
  min-height: 4.8em;
}
.xsg-skills-page .xsg-skill-card:hover .serivce-title h3,
.xsg-skills-page .xsg-skill-card:hover .srvc-description p {
  color: inherit !important;
}
.xsg-skills-page .xsg-skill-card:hover .serivce-title h3 {
  color: var(--xsg-ink) !important;
}
.xsg-skills-page .xsg-skill-card:hover .srvc-description p {
  color: var(--xsg-muted) !important;
}
.xsg-custom-capability .single-service-box:hover .serivce-title h3,
.xsg-custom-capability .single-service-box:hover .srvc-description p {
  color: #fff !important;
}
.single-service-box .xsg-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  clear: both;
}
.single-service-box .xsg-skill-tags li {
  padding: 4px 10px;
  background: rgba(255, 60, 0, .08);
  color: var(--xsg-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.xsg-skills-page .xsg-skill-card:hover .xsg-skill-tags li {
  background: rgba(255, 60, 0, .12);
  color: var(--xsg-orange);
}

/* 认证 / 个人中心 */
.xsg-auth-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow-hover);
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
}
@media (max-width: 991px) {
  .xsg-auth-split { grid-template-columns: 1fr; }
}
.xsg-auth-aside {
  background: var(--xsg-ink);
  color: #fff;
  padding: 42px 36px;
}
.xsg-auth-aside .aa-logo {
  font-family: var(--xsg-font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 22px;
}
.xsg-auth-aside .aa-logo span { color: var(--xsg-orange); }
.xsg-auth-aside h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.xsg-auth-aside p { color: rgba(255,255,255,.72); margin-bottom: 24px; }
.aa-list { display: grid; gap: 12px; }
.aa-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
}
.aa-list i { color: var(--xsg-orange); }
.xsg-auth-main { padding: 42px 36px; }
.xsg-auth-main h2 { font-size: 28px; color: var(--xsg-ink); margin-bottom: 8px; }
.xsg-auth-main a { color: var(--xsg-orange); font-weight: 600; }
.xsg-auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--xsg-soft);
  padding: 6px;
  border-radius: var(--xsg-radius-pill);
}
.xsg-auth-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: var(--xsg-radius-pill);
  font-weight: 600;
  color: var(--xsg-muted);
  cursor: pointer;
}
.xsg-auth-tabs button.is-active {
  background: var(--xsg-orange);
  color: #fff;
}
.xsg-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.xsg-captcha-row img {
  height: 52px;
  border-radius: var(--xsg-radius);
  border: 1px solid var(--xsg-line);
  cursor: pointer;
}
.btn-send {
  white-space: nowrap;
  border: 1px solid var(--xsg-orange);
  background: #fff;
  color: var(--xsg-orange);
  padding: 0 16px;
  height: 52px;
  border-radius: var(--xsg-radius);
  font-weight: 600;
  cursor: pointer;
}
.btn-send:hover { background: var(--xsg-orange); color: #fff; }
.xsg-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--xsg-muted);
}
#smsTip { font-size: 13px; color: var(--xsg-orange); min-height: 1.2em; }

.xsg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.xsg-tabs a {
  padding: 10px 18px;
  border-radius: var(--xsg-radius-pill);
  background: var(--xsg-soft);
  color: var(--xsg-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.xsg-tabs a.is-active,
.xsg-tabs a:hover {
  background: var(--xsg-orange);
  color: #fff;
}

.xsg-profile-head {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--xsg-ink);
  border-radius: var(--xsg-radius);
  color: #fff;
}
.xsg-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--xsg-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.xsg-profile-info h2 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.xsg-profile-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

/* 错误页数字 */
.xsg-error-code {
  font-family: var(--xsg-font-display);
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  color: var(--xsg-orange);
}

/* Toast */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  max-width: 360px;
}
.toast {
  background: var(--xsg-ink);
  color: #fff;
  border-radius: var(--xsg-radius);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  animation: xsg-toast-in .35s ease;
}
.toast.success { border-left: 4px solid var(--xsg-success); }
.toast.danger, .toast.error { border-left: 4px solid var(--xsg-danger); }
.toast.warning { border-left: 4px solid var(--xsg-warning); }
.toast.info { border-left: 4px solid var(--xsg-info); }
@keyframes xsg-toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 悬浮微信 */
.xsg-qr-float {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 50;
  width: 108px;
  background: #fff;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius);
  box-shadow: 0 12px 28px rgba(20,19,35,.14);
  padding: 10px;
  text-align: center;
}
.xsg-qr-float img { width: 100%; display: block; border-radius: 4px; }
.xsg-qr-float span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--xsg-muted);
  font-weight: 600;
}
@media (max-width: 767px) {
  .xsg-qr-float { display: none; }
  .slider-area { padding: 88px 0 48px; min-height: 0; }
  .hero-thumb img { box-shadow: var(--xsg-shadow); }
  .xsg-auth-main, .xsg-auth-aside { padding: 28px 22px; }
}

/* 首页作品区间距 */
.case-study-area .xsg-home-projects { margin-top: 10px; }
.blog-area .xsg-home-notes { margin-top: 10px; }

/* CTA 区块中文宽度 */
.call-do-action-content h2,
.call-do-action-content p { color: #fff; }
.call-do-action-content p { width: min(560px, 90%); }

/* 联系页信息块 */
.cda-content-inner h4 { font-size: 18px; }
.cda-content-inner p { margin: 0; color: rgba(255,255,255,.8); }

/* 详情面包屑在深色区 */
.xsg-detail-hero {
  background: linear-gradient(135deg, #141323 0%, #211e3b 55%, #3a1a14 100%);
  color: #fff;
  padding: 120px 0 70px;
}
.xsg-detail-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 10px;
}
.xsg-detail-hero .xsg-detail-sub {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  max-width: 640px;
}
.xsg-detail-hero .xsg-crumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.xsg-detail-hero .xsg-crumb-nav a { color: #fff; text-decoration: none; }
.xsg-detail-hero .xsg-crumb-nav a:hover { color: var(--xsg-orange); }

/* 外文翻译 */
.xsg-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.xsg-filter-row .xsg-tag {
  text-decoration: none;
}
.xsg-trans-fallback {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(20, 19, 35, .92), rgba(255, 60, 0, .78)),
    url("../bport/picture/blog-1.jpg") center/cover no-repeat;
  color: #fff;
}
.xsg-trans-fallback-cat {
  font-size: 13px;
  letter-spacing: .04em;
  opacity: .85;
  margin-bottom: 8px;
}
.xsg-trans-fallback strong {
  font-size: 22px;
  font-family: var(--xsg-font-display);
  font-weight: 600;
}
.xsg-trans-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}
.xsg-trans-block {
  margin: 0;
  min-height: 100%;
}
.xsg-trans-block.is-target {
  border-top: 3px solid var(--xsg-orange);
}
.xsg-trans-lang {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--xsg-soft);
  color: var(--xsg-orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.xsg-trans-body {
  white-space: pre-wrap;
  line-height: 1.85;
  color: var(--xsg-text);
  font-size: 15px;
}
.xsg-related-trans {
  margin-top: 40px;
}
.xsg-related-trans h3 {
  margin-bottom: 18px;
  color: var(--xsg-ink);
  font-family: var(--xsg-font-display);
}
@media (max-width: 991px) {
  .xsg-trans-pair { grid-template-columns: 1fr; }
}

/* 作品详情 · 商城式布局（参考 datavh shop） */
.xsg-shop-detail {
  padding: 28px 0 90px;
  background: #f5f6f8;
}
.xsg-shop-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--xsg-muted);
  font-size: 14px;
}
.xsg-shop-crumb a {
  color: var(--xsg-muted);
  text-decoration: none;
}
.xsg-shop-crumb a:hover { color: var(--xsg-orange); }
.xsg-shop-head,
.xsg-shop-section,
.xsg-shop-card,
.xsg-shop-toc {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 16px;
}
.xsg-shop-head h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--xsg-ink);
  font-family: var(--xsg-font-display);
  font-weight: 700;
}
.xsg-shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--xsg-muted);
  font-size: 13px;
}
.xsg-shop-meta i { margin-right: 4px; }
.xsg-shop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.xsg-shop-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f7;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}
.xsg-shop-tags.is-compact { margin-top: 12px; margin-bottom: 14px; }
.xsg-shop-h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--xsg-ink);
  font-weight: 700;
}
.xsg-shop-lead,
.xsg-shop-text {
  margin: 0;
  color: var(--xsg-muted);
  line-height: 1.8;
  font-size: 15px;
}
.xsg-shop-related-list {
  margin: 0;
  padding-left: 18px;
}
.xsg-shop-related-list a {
  color: var(--xsg-ink);
  text-decoration: none;
}
.xsg-shop-related-list a:hover { color: var(--xsg-orange); }
.xsg-shop-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.xsg-shop-stack span {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f7f8fb;
  border: 1px solid #e8eaef;
  color: var(--xsg-ink);
  font-size: 13px;
  font-weight: 600;
}
.xsg-gallery { margin-top: 4px; }
.xsg-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f7;
  border: 1px solid #e8eaef;
}
.xsg-gallery-stage {
  width: 100%;
  display: block;
  background: #f7f8fb;
  object-fit: contain;
}
/* 单图：按图片自身比例自适应，避免大块留白 */
.xsg-gallery.is-single .xsg-gallery-stage {
  height: auto;
  max-height: min(560px, 78vh);
  margin: 0 auto;
}
.xsg-gallery.is-single .xsg-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
}
/* 多图：固定舞台高度，切换时版面稳定 */
.xsg-gallery.is-multi .xsg-gallery-stage {
  height: min(420px, 58vw);
}
.xsg-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 19, 35, .62);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.xsg-gallery-nav:hover { background: rgba(255, 60, 0, .9); }
.xsg-gallery-nav.is-prev { left: 12px; }
.xsg-gallery-nav.is-next { right: 12px; }
.xsg-gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 19, 35, .7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.xsg-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.xsg-gallery-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f7;
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease;
}
.xsg-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xsg-gallery-thumb:hover { opacity: 1; }
.xsg-gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--xsg-orange);
}
.xsg-shop-faq details {
  border-bottom: 1px solid #eef0f4;
  padding: 12px 0;
}
.xsg-shop-faq details:last-child { border-bottom: 0; }
.xsg-shop-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--xsg-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.xsg-shop-faq summary::-webkit-details-marker { display: none; }
.xsg-shop-faq summary::after {
  content: "›";
  color: #9aa0ad;
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform .2s ease;
}
.xsg-shop-faq details[open] summary::after { transform: rotate(90deg); }
.xsg-shop-faq p {
  margin: 10px 0 4px;
  color: var(--xsg-muted);
  line-height: 1.7;
  font-size: 14px;
}
.xsg-shop-count {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--xsg-soft);
  color: var(--xsg-orange);
  font-size: 13px;
  vertical-align: middle;
}
.xsg-shop-comment-form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.xsg-pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.xsg-pkg-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 22px 20px 20px;
  box-shadow: 0 8px 24px rgba(20, 19, 35, .04);
}
.xsg-pkg-card.is-hot {
  border-color: rgba(255, 60, 0, .28);
  box-shadow: 0 12px 28px rgba(255, 60, 0, .08);
}
.xsg-pkg-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.xsg-pkg-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--xsg-ink);
  font-weight: 700;
}
.xsg-pkg-desc {
  margin: 0 0 14px;
  color: #c2410c;
  font-size: 13px;
  line-height: 1.65;
  min-height: 3.3em;
}
.xsg-pkg-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.xsg-pkg-price strong {
  color: #e11d48;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}
.xsg-pkg-price s {
  color: #9aa0ad;
  font-size: 14px;
}
.xsg-pkg-save {
  margin: 8px 0 14px;
  color: #e11d48;
  font-size: 13px;
  font-weight: 600;
}
.xsg-pkg-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.xsg-pkg-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted #e8eaef;
  font-size: 14px;
  color: var(--xsg-text);
}
.xsg-pkg-list li:last-child { border-bottom: 0; }
.xsg-pkg-list li i { font-size: 15px; }
.xsg-pkg-list li.is-on i { color: #16a34a; }
.xsg-pkg-list li.is-off {
  color: #9aa0ad;
}
.xsg-pkg-list li.is-off i { color: #c4c8d0; }
.xsg-pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--xsg-orange);
  background: #fff;
  color: var(--xsg-orange) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.xsg-pkg-btn:hover {
  background: #fff2ec;
}
.xsg-pkg-btn.is-primary {
  background: var(--xsg-orange);
  color: #fff !important;
  border-color: var(--xsg-orange);
}
.xsg-pkg-btn.is-primary:hover {
  background: #e63600;
  color: #fff !important;
}

.xsg-shop-side-col {
  align-self: stretch;
}
.xsg-shop-aside {
  position: sticky;
  top: 96px;
  z-index: 5;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.xsg-shop-aside.is-fixed {
  position: fixed;
  left: auto;
}
.xsg-shop-card-cover {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f3f4f7;
}
.xsg-shop-card-cover img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.xsg-shop-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--xsg-ink);
}
.xsg-shop-card > p {
  margin: 0;
  color: var(--xsg-muted);
  font-size: 13px;
  line-height: 1.7;
}
.xsg-shop-card-note {
  margin: 12px 0 0 !important;
  text-align: center;
  font-size: 12px !important;
}
.xsg-shop-toc {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.xsg-shop-toc h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--xsg-ink);
}
.xsg-shop-toc a {
  color: var(--xsg-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -2px;
  transition: color .2s ease, border-color .2s ease;
}
.xsg-shop-toc a:hover,
.xsg-shop-toc a.is-active {
  color: var(--xsg-orange);
  border-left-color: var(--xsg-orange);
}
.xsg-shop-detail .xsg-wechat {
  margin-top: 0;
  margin-bottom: 16px;
}

/* 微信二维码弹窗 */
.xsg-qr-modal[hidden] { display: none !important; }
.xsg-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.xsg-qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 28, .55);
}
.xsg-qr-modal-panel {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}
.xsg-qr-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #9aa0ad;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.xsg-qr-modal-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--xsg-ink);
  font-weight: 700;
}
.xsg-qr-modal-tip {
  margin: 0 0 16px;
  color: var(--xsg-muted);
  font-size: 13px;
  line-height: 1.6;
}
.xsg-qr-modal-img {
  width: min(220px, 70vw);
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--xsg-line);
  display: block;
  margin: 0 auto;
}
body.xsg-qr-open { overflow: hidden; }

@media (max-width: 991px) {
  .xsg-pkg-grid { grid-template-columns: 1fr; }
  .xsg-shop-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .xsg-gallery.is-multi .xsg-gallery-stage { height: min(300px, 70vw); }
  .xsg-gallery.is-single .xsg-gallery-stage { max-height: min(420px, 70vh); }
  .xsg-shop-head h1 { font-size: 24px; }
}

/* 数据资料 / 乐域 · 检索列表族 */
.xsg-resource-page {
  padding: 56px 0 90px;
  background: var(--xsg-bg);
}
.xsg-resource-search {
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--xsg-shadow);
}
.xsg-resource-search-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
}
.xsg-resource-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--xsg-ink);
  white-space: nowrap;
}
.xsg-resource-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.xsg-resource-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--xsg-radius-pill);
  border: 1px solid var(--xsg-line);
  background: var(--xsg-white);
  color: var(--xsg-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .22s var(--xsg-ease), color .22s var(--xsg-ease), border-color .22s var(--xsg-ease), transform .22s var(--xsg-ease);
}
.xsg-resource-tabs a:hover {
  color: var(--xsg-orange);
  border-color: rgba(255, 60, 0, .35);
  transform: translateY(-1px);
}
.xsg-resource-tabs a.is-active {
  color: #fff;
  background: var(--xsg-orange);
  border-color: var(--xsg-orange);
}
.xsg-resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.xsg-resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  padding: 20px 18px 16px;
  box-shadow: var(--xsg-shadow);
  transition: transform .28s var(--xsg-ease), box-shadow .28s var(--xsg-ease), border-color .28s var(--xsg-ease);
}
.xsg-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 60, 0, .28);
  box-shadow: var(--xsg-shadow-hover);
}
.xsg-resource-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.xsg-resource-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.xsg-resource-cat,
.xsg-resource-format {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.xsg-resource-cat {
  background: rgba(255, 60, 0, .1);
  color: var(--xsg-orange);
}
.xsg-resource-format {
  background: #f3f4f7;
  color: #555;
}
.xsg-resource-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
  min-height: 2.8em;
}
.xsg-resource-card h3 a {
  color: var(--xsg-ink);
  text-decoration: none;
}
.xsg-resource-card h3 a:hover { color: var(--xsg-orange); }
.xsg-resource-card p {
  margin: 0;
  color: var(--xsg-muted);
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xsg-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  color: #8a8f9c;
  font-size: 12px;
}
.xsg-resource-meta i { margin-right: 4px; }
.xsg-resource-card-action {
  flex: 0 0 auto;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef0f4;
  display: flex;
  justify-content: flex-end;
}
.xsg-resource-card-action .xsg-btn {
  min-width: 108px;
  height: 40px;
  font-size: 13px;
}
.xsg-resource-detail {
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  padding: 28px 26px;
  margin-bottom: 18px;
  box-shadow: var(--xsg-shadow);
}
.xsg-resource-detail h1 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.35;
  color: var(--xsg-ink);
  font-family: var(--xsg-font-display);
}
.xsg-resource-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eef0f4;
}
.xsg-resource-block h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--xsg-ink);
}
.xsg-resource-block p {
  margin: 0 0 12px;
  color: var(--xsg-text);
  line-height: 1.8;
  font-size: 15px;
}
.xsg-obtain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.xsg-obtain-actions-stack {
  flex-direction: column;
  align-items: stretch;
}
.xsg-obtain-actions-stack .xsg-pkg-btn {
  text-align: center;
}
.xsg-resource-fields {
  margin: 0;
  padding-left: 18px;
  color: var(--xsg-text);
  line-height: 1.9;
}
.xsg-resource-related { margin-top: 8px; }
.xsg-resource-related h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--xsg-ink);
}
.xsg-resource-list-side {
  grid-template-columns: 1fr;
}
.xsg-resource-side-card h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--xsg-ink);
}
.xsg-resource-side-card > p {
  margin: 0;
  color: var(--xsg-muted);
  font-size: 13px;
  line-height: 1.7;
}
.xsg-resource-page .xsg-shop-card {
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  padding: 20px 18px;
  margin-bottom: 14px;
  box-shadow: var(--xsg-shadow);
}
.xsg-resource-page .xsg-shop-toc {
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow);
}
@media (max-width: 991px) {
  .xsg-resource-search-row {
    grid-template-columns: 1fr 1fr;
  }
  .xsg-resource-label { grid-column: 1 / -1; }
  .xsg-resource-search-row .form-control { grid-column: 1 / -1; }
  .xsg-resource-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xsg-resource-card-action .xsg-btn { width: 100%; }
  .xsg-resource-detail h1 { font-size: 22px; }
}
@media (max-width: 767px) {
  .xsg-resource-list { grid-template-columns: 1fr; }
}

/* 乐域 */
.xsg-leyu-lead {
  margin: 10px 0 18px;
  color: var(--xsg-muted);
  line-height: 1.7;
}
.xsg-leyu-stage {
  background: #0b1020;
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  overflow: hidden;
  box-shadow: var(--xsg-shadow-hover);
}
.xsg-leyu-frame {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  border: 0;
  background: #0b1020;
}
.xsg-leyu-page .xsg-btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .xsg-leyu-frame { height: 520px; }
}

/* 全站精修：标题节奏 / 作品卡 / 动效降级 */
.itpro-section-title.upper h2 {
  letter-spacing: -.02em;
}
.itpro-section-title.upper h5 {
  letter-spacing: .14em;
}
.case-study-single-box,
.single-service-box {
  transition: transform .28s var(--xsg-ease), box-shadow .28s var(--xsg-ease);
}
.case-study-single-box:hover,
.single-service-box:hover {
  transform: translateY(-4px);
}
.xsg-resource-search .form-control {
  height: 46px;
  border-radius: var(--xsg-radius);
  border-color: var(--xsg-line);
}

/* 用户端统一焦点 / 顶栏 CTA / 文献列表底 */
.header-button a {
  border-radius: var(--xsg-radius-pill) !important;
  transition: background .28s var(--xsg-ease), transform .28s var(--xsg-ease), box-shadow .28s var(--xsg-ease) !important;
}
.header-button a:hover {
  transform: translateY(-1px);
}
a:focus-visible,
button:focus-visible,
.xsg-btn:focus-visible,
.form-control:focus-visible,
.form_box input:focus-visible,
.form_box textarea:focus-visible {
  outline: 2px solid rgba(255, 60, 0, .55);
  outline-offset: 2px;
}
.blog-area {
  background: var(--xsg-bg);
  padding: 70px 0 90px;
}
.xsg-page {
  background: var(--xsg-bg);
}
.xsg-qr-float {
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow-hover);
  border: 1px solid var(--xsg-line);
}
.xsg-wechat {
  border-radius: var(--xsg-radius-lg);
  border-color: var(--xsg-line);
}

/* 免责声明 / 使用说明 */
.xsg-legal-page {
  padding: 40px 0 90px;
}
.xsg-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin: 0 auto 28px;
  max-width: 720px;
}
.xsg-legal-toc a {
  color: var(--xsg-ink);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 60, 0, .35);
  padding-bottom: 2px;
}
.xsg-legal-toc a:hover {
  color: var(--xsg-orange);
  border-bottom-color: var(--xsg-orange);
}
.xsg-legal-card {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 22px 24px 18px;
  background: var(--xsg-white);
  border: 1px solid var(--xsg-line);
  border-radius: var(--xsg-radius-lg);
  box-shadow: var(--xsg-shadow);
}
.xsg-legal-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--xsg-ink);
  font-family: var(--xsg-font-display);
}
.xsg-legal-card ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--xsg-text);
  line-height: 1.85;
  font-size: 15px;
}
.xsg-legal-card li + li {
  margin-top: 8px;
}
.xsg-legal-more {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--xsg-muted);
}
.xsg-legal-more a {
  color: var(--xsg-orange);
}
.xsg-legal-updated {
  max-width: 820px;
  margin: 8px auto 0;
  font-size: 13px;
  color: var(--xsg-faint);
  text-align: center;
  line-height: 1.7;
}
.footer-bottom-content-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

