/* ============================================
   EixOpen 弹窗样式（独立文件）
   ============================================ */

.eixopen-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.eixopen-modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* 遮罩：覆盖整个网站 */
.eixopen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.55);
  backdrop-filter: blur(6px);
}

/* 弹窗面板 */
.eixopen-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;

  background: #faf9f7;
  border: 1px solid #e3e1dc;
  border-radius: 14px;
  padding: 40px 36px 36px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);

  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.eixopen-modal.open .eixopen-panel {
  transform: translateY(0) scale(1);
}

/* 关闭按钮 */
.eixopen-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #8a8780;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.eixopen-close:hover {
  background: #f3f2ef;
  color: #1a1a1a;
}

/* 头部 */
.eixopen-head {
  margin-bottom: 28px;
}

.eixopen-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f3f2ef;
  border: 1px solid #e3e1dc;
  color: #8a8780;
  margin-bottom: 14px;
}

.eixopen-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.eixopen-head p {
  font-size: 14px;
  color: #8a8780;
  margin: 0;
}

/* 区块 */
.eixopen-block {
  padding: 20px 0;
  border-top: 1px solid #e3e1dc;
}

.eixopen-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.eixopen-block p {
  font-size: 14px;
  color: #8a8780;
  margin: 0 0 14px;
}

/* 红色警告文字 */
.eixopen-warn {
  color: #c0392b !important;
  font-size: 13px !important;
  margin-top: -6px !important;
  margin-bottom: 0 !important;
}

.eixopen-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eixopen-links a {
  display: inline-block;
  font-size: 14px;
  color: #3d3d3d;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid #e3e1dc;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.eixopen-links a:hover {
  border-color: #cfccc5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* 打开弹窗时锁滚动 */
body.eixopen-locked {
  overflow: hidden;
}

/* 移动端 */
@media (max-width: 640px) {
  .eixopen-panel {
    padding: 32px 22px 26px;
    max-height: 88vh;
  }
  .eixopen-head h2 { font-size: 24px; }
}