:root {
  --vkf-sidebar: clamp(80px, 8vw, 125px);
  --vkf-content: clamp(240px, 26vw, 280px);
}
body {
  font-family: 
    "Helvetica Neue", 
    Arial, 
    "PingFang SC", 
    "Microsoft YaHei", 
    sans-serif;
}
#vkf-wrapper {
    position: fixed;
    left: 0;
    top: 25%;
    z-index: 9999;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    pointer-events: none;   /* ⭐ 核心：彻底放行点击 */
}
/* 初始按钮 */
#vkf-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: #009ead;
  color: #fff;
  padding: 12px;
  writing-mode: vertical-rl;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
}
/* 主体容器 */
#vkf-container {
  position: fixed !important;
  left: 0;
  top: 50% !important;
  opacity: 0;
  pointer-events: none;
  transform: translate(-100%, -50%);  /* ⭐ 核心：彻底移出屏幕 */
  display: flex;
  z-index: 999999 !important;
  transition: transform 0.35s ease, opacity 0.2s ease;
}
#vkf-container.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);  /* ⭐ 回到屏幕 */
}
/* 左侧 */
.vkf-sidebar {
  /*width: 125px;*/
  width: var(--vkf-sidebar);
  background: #e6e6e6;
}
/* header */
.vkf-header {
  background: #009ead;
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
  font-size: clamp(18px, 1.8vw, 24px);           /* ⭐ 控制大小 */
  font-weight: 700;          /* ⭐ 不要太粗 */
  color: #f5f5f5;            /* ⭐ 和 company 一致 */
  letter-spacing: 0.2px;     /* ⭐ 更精致 */
  line-height: 1em;
}
/* 菜单 */
.vkf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 6px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  color: #555;
}
.vkf-item svg {
  /* width: 28px;
  height: 28px;*/
  width: clamp(22px, 2vw, 28px);
  height: clamp(22px, 2vw, 28px);
  stroke: #666;
  stroke-width: 1.8;
  fill: none;
}
.vkf-item.active svg {
  stroke: #009ead;
}
.vkf-item.active svg {
  fill: #009ead;
}
.vkf-item:hover {
  background: #f5f5f5;
}
.vkf-item:hover svg {
  transform: scale(1.05);
}
.vkf-content {
  position: absolute;
  top: 0;
  /*left: 125px;
  width: 280px;*/
  width: var(--vkf-content);
  left: var(--vkf-sidebar);  /* ⭐ 很关键！ */
  height: 100%;
  background: #f2f2f2;
  transform: translateX(100%);
  opacity: 0;
  overflow-y: auto;
  /* ❗ 默认不动画 */
  transition: none;
  pointer-events: none;   /* ⭐ 关键 */
}
/* 👉 允许动画（打开时才加） */
.vkf-content.animate {
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* 👉 打开 */
.vkf-content.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;   /* ⭐ 只在打开时可点 */
}
/* 内容头 */
.vkf-content-header {
  height: 48px;                /* ⭐ 和左侧完全一致 */
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f2;
  border-bottom: 1px solid #e0e0e0;
  gap: 10px;
}
.vkf-content-body {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* ⭐ 垂直居中核心 */
  padding: 25px 24px 30px;
  min-height: 240px; /* ⭐ 防止内容太少贴顶部 */
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  padding: 20px 22px;
}
.vkf-content-body p {
  margin-bottom: 12px;
}
.vkf-title {
  flex: 1;
  font-size: 15px;      /* ⭐ 从18降到15 */
  font-weight: 600;
  padding: 16px 24px 10px;
  color: #2c2c2c;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vkf-close {
  width: 24px;
  height: 24px;
  font-size: 14px;
  background: #e6e6e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;  /* ⭐ 防止贴太近 */
}
/* hover更细腻 */
.vkf-close:hover {
  background: #d0d0d0;
  color: #000;
}
/* hover效果 */
.vkf-close:hover {
  background: #ccc;
}
/* 按钮 */
.vkf-btn {
  display: inline-block;   /* ⭐ 关键 */
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 12px;
  background: #009ead;
  color: #fff;
  white-space: nowrap; /* ⭐ 不换行 */
  align-self: flex-start; /* 左对齐 */
}
.vkf-btn:hover {
  background: #09676d;
}
/* ===== Hotline ===== */
.vkf-phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #009ead;
  margin-bottom: 14px;
}
.vkf-time {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}
.vkf-time span {
  color: #444;
}
.vkf-link {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
.vkf-link:hover {
  color: #007a83;
}
/* ===== Email ===== */
.vkf-email p {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}
.vkf-email-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #444;
}
.vkf-email-line svg {
  width: 16px;
  height: 16px;
  stroke: #777;
}
/* ===== 通用链接（像原站） ===== */
.vkf-link {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
.vkf-link:hover {
  color: #007a83;
}
.vkf-item.active {
  color: #007a83;
}
/* WeChat */
.vkf-wechat {
  text-align: center;
}
.vkf-wechat-title {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}
.vkf-qr {
  width: 160px;
  margin: 10px 0;
}
.vkf-wechat-tip {
  font-size: 13px;
  color: #666;
}
#vkf-toggle {
  display: none;
}
.vkf-coming {
  text-align: center;
  padding: 30px 10px;
}
.vkf-coming-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 10px;
}
.vkf-coming-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .vkf-content {
    width: calc(100vw - var(--vkf-sidebar));
  }
}