
.confirm-backdrop[data-v-3cbeb71a] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Segoe UI", "Microsoft YaHei", "Arial", sans-serif;
}
.confirm-dialog[data-v-3cbeb71a] {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 400px;
  text-align: center;
}
.confirm-title[data-v-3cbeb71a] {
  margin-top: 0;
  color: #0F172A;
  text-align: left;
}
.confirm-message[data-v-3cbeb71a] {
  color: #64748B;
  margin-bottom: 15px;
  text-align: left;
}

/* 新增：输入框容器样式 */
.confirm-input-wrapper[data-v-3cbeb71a] {
  margin-bottom: 20px;
}
.confirm-input[data-v-3cbeb71a] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.confirm-input[data-v-3cbeb71a]:focus {
  border-color: #1E3A8A;
}
.confirm-buttons[data-v-3cbeb71a] {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.btn[data-v-3cbeb71a] {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.btn-cancel[data-v-3cbeb71a] {
  background-color: #F1F5F9;
  color: #0F172A;
}
.btn-confirm[data-v-3cbeb71a] {
  background-color: #1E3A8A;
  color: white;
}

/* --- 预览窗口核心样式 --- */
.preview-overlay[data-v-e7ad9be2] {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 1000; cursor: pointer;
}
.preview-container[data-v-e7ad9be2] {
  position: relative;
  background: #000;
  border-radius: 8px;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  cursor: default;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* 标题栏 */
.preview-header[data-v-e7ad9be2] {
  padding: 12px 15px;
  background: #1a1a1a;
  border-bottom: 1px solid #0F172A;
  color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-title[data-v-e7ad9be2] {
  font-weight: bold;
  font-size: 16px;
}
.close-btn[data-v-e7ad9be2] {
  margin-left: auto;
  background: transparent; border: none; color: #fff;
  cursor: pointer; border-radius: 5%;
  transition: background-color 0.2s ease; z-index: 20;
  font-family: "Segoe UI", "Microsoft YaHei", "Arial", sans-serif;
}
.close-btn[data-v-e7ad9be2]:hover { background-color: rgba(255, 255, 255, 0.8); color: #0F172A;}

/* 图片查看区 */
.image-viewer[data-v-e7ad9be2] {
  flex: 1;
  background-color: #000;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.preview-image[data-v-e7ad9be2] {
  max-width: 90vw;
  max-height: calc(92vh - 60px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

/* 底部操作区 */
.preview-actions[data-v-e7ad9be2] {
  padding: 10px 15px;
  background: #1a1a1a;
  border-top: 1px solid #0F172A;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

/* 使用模板按钮 */
.use-template-btn[data-v-e7ad9be2] {
  padding: 10px 24px;
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
  transition: all 0.2s ease;
}
.use-template-btn[data-v-e7ad9be2]:hover {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px);
}
.use-template-btn[data-v-e7ad9be2]:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}


/* 毛玻璃背景 */
.glass-bg[data-v-1a1fd4f0] {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  filter: blur(50px);
  z-index: -1;
}
html[data-v-1a1fd4f0], body[data-v-1a1fd4f0] {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow-y: hidden;
}

/* 内容区域 */
.main-container[data-v-1a1fd4f0] {
  margin: 10px auto; 
  color: #0F172A;
  font-size: 14px;
  width: 85%;
  padding: 20px;
  height: 100vh;
}

/** 页面通用样式 */
.app-container[data-v-1a1fd4f0] {
  padding-top: 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
  /* height: 100vh; */
  background-color: transparent;
  font-family: "Segoe UI", "Microsoft YaHei", "Arial", sans-serif;
}

/* 内容区域 */
.content-container[data-v-1a1fd4f0] {
  margin: 10px auto; 
  color: #0F172A;
  font-size: 14px;
  padding: 20px;
  margin-bottom: 30px;
}
.iframe-modal-overlay[data-v-1a1fd4f0] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200; /* 确保在 MenuBar 和主内容之上 */
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn-1a1fd4f0 0.3s ease-out;
}
@keyframes fadeIn-1a1fd4f0 {
from {
    opacity: 0;
}
to {
    opacity: 1;
}
}

/* 遮罩背景（点击 可关闭） */
.iframe-modal-backdrop[data-v-1a1fd4f0] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* iframe 模态框容器 */
.iframe-modal[data-v-1a1fd4f0] {
  position: relative;
  width: 98vw;
  height: 95vh;
  max-width: 100%; 
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 1);
  overflow: hidden; /* 改为 hidden，避免滚动条闪现 */
  animation: smoothPopIn-1a1fd4f0 0.35s cubic-bezier(0.0, 0.0, 0.2, 1) forwards;
  padding-bottom: 20px;
}
@keyframes smoothPopIn-1a1fd4f0 {
from {
    transform: scale(0.96);
    opacity: 0;
}
to {
    transform: scale(1);
    opacity: 1;
}
}
.iframe-close-btn[data-v-1a1fd4f0] {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iframe-close-btn[data-v-1a1fd4f0]:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* iframe 内容 */
.modal-iframe[data-v-1a1fd4f0] {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/******************************** 分类栏的样式 ********************************/
/* 分类筛选栏 */
.filter-bar[data-v-1a1fd4f0] {
  margin: 10px auto; /* 水平居中 */
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #0F172A;
  font-size: 14px;
  padding: 20px;
  border-radius: 12px; /* 可选：加圆角更美观 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); /* 可选：轻微阴影 */
}

/* 分类行：标题 + 标签在同一行 */
.category-row[data-v-1a1fd4f0] {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.category-title[data-v-1a1fd4f0] {
  color: #1E3A8A;
  font-weight: bold;
  font-size: 14px;
  background: rgba(30, 58, 138, 0.1);
  border: 1px solid #1E3A8A;
  border-radius: 12px;
  padding: 4px 10px;
  flex-shrink: 0;
  min-width: 40px; 
  text-align: center;
}

/* 标签列表：允许换行，占据剩余空间 */
.tags-list[data-v-1a1fd4f0] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  align-content: flex-start;
}
.tag[data-v-1a1fd4f0] {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tag[data-v-1a1fd4f0]:hover {
  background: rgba(30, 58, 138, 1);
  color: white;
}
.tag.active[data-v-1a1fd4f0] {
  background: #1E3A8A;
  color: white;
}
.category-title[data-v-1a1fd4f0] {
  color: #1E3A8A;
  font-weight: bold;
  font-size: 14px;
  background: rgba(30, 58, 138, 0.1);
  border: 1px solid #1E3A8A;
  border-radius: 12px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 8px;
}
.loading[data-v-1a1fd4f0] {
  text-align: center;
  color: #475569;
  padding: 20px;
}
.results h3[data-v-1a1fd4f0] {
  margin-bottom: 16px;
  color: #1E3A8A;
}
.results ul[data-v-1a1fd4f0] {
  list-style: none;
  padding: 0;
}
.results li[data-v-1a1fd4f0] {
  margin: 8px 0;
  padding: 8px;
  background: #F1F5F9;
  border-radius: 6px;
}
.no-results[data-v-1a1fd4f0] {
  text-align: center;
  color: #94A3B8;
  padding: 40px;
}


/******************************** 卡片样式 ********************************/
.items-container[data-v-1a1fd4f0] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* 整体分组容器 */
.grouped-results[data-v-1a1fd4f0] {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  justify-content: center;
  overflow-y: hidden;
}
.grouped-items-container[data-v-1a1fd4f0] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* 单个分类区块 */
.category-section[data-v-1a1fd4f0] {
  position: relative;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 区块头部：标题 + 更多按钮 */
.section-header[data-v-1a1fd4f0] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-title[data-v-1a1fd4f0] {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0F172A;
}

/* “更多”按钮 - 右上角 */
.more-btn[data-v-1a1fd4f0] {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0f5ff;
  color: #1E3A8A;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}
.more-btn[data-v-1a1fd4f0]:hover {
  background: #e0ecff;
  border-color: #a0c4ff;
}
.item[data-v-1a1fd4f0] {
  display: flex;
  flex-direction: column;
  width: 300px;
  /* height: 200px; */
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.item[data-v-1a1fd4f0]:hover {
  transform: translateY(-5px);
}
.image-container[data-v-1a1fd4f0] {
  position: relative; /* 给预览按钮提供定位基准 */
  aspect-ratio: 16 / 9; 
  width: 100%;
  height: 100%;
  min-height: 50%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 2px 3px 8px 2px rgba(0, 0, 0, 0.35);
}

/* 预览按钮: 右上角, hover 卡片时显现 */
.preview-btn[data-v-1a1fd4f0] {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  color: white;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
  z-index: 2;
  line-height: 1;
}
.item:hover .preview-btn[data-v-1a1fd4f0] {
  opacity: 1;
  transform: scale(1);
}
.preview-btn[data-v-1a1fd4f0]:hover {
  background: rgba(30, 58, 138, 0.9);
}
.item-image[data-v-1a1fd4f0] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.item:hover .item-image[data-v-1a1fd4f0] {
  transform: scale(1.05);
}
.item-text[data-v-1a1fd4f0] {
  margin-top: 12px;
  text-align: center;
  color: #0F172A;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.item-text[data-v-1a1fd4f0]:hover {
  color: #1E3A8A;
}

/* 响应式设计 */
@media (max-width: 768px) {
.item[data-v-1a1fd4f0] {
    width: calc(50% - 20px);
}
}
@media (max-width: 480px) {
.item[data-v-1a1fd4f0] {
    width: 100%;
}
}
a[data-v-1a1fd4f0] {
  text-decoration: none;
}
a[data-v-1a1fd4f0]:link, a[data-v-1a1fd4f0]:visited, a[data-v-1a1fd4f0]:hover, a[data-v-1a1fd4f0]:active {
  color: inherit;
}

/** 页面加载完毕后信息框弹窗 */
.instructions-modal-overlay[data-v-1a1fd4f0] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}
.instructions-modal[data-v-1a1fd4f0] {
  background: #ffffff;
  border-radius: 16px;
  padding: 0; /* 外层不再设 padding */
  max-width: 50%;
  max-height: 80vh;
  overflow: hidden; /* 关键：隐藏溢出，保留圆角 */
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #0F172A;
}
.instructions-content[data-v-1a1fd4f0] {
  padding: 30px; /* 原来的 padding 移到内层 */
  max-height: calc(80vh - 2 * 30px); /* 保证不超过外层高度 */
  overflow-y: auto; /* 滚动只在内层发生 */
}
.instructions-modal[data-v-1a1fd4f0] p{
  line-height: 1.6;
  margin-bottom: 12px;
}
.instructions-modal[data-v-1a1fd4f0] h1 {
  line-height: 1.6;
  margin: 16px 0 12px;
  color: #1E3A8A;
  font-size: 30px;
}
.instructions-modal[data-v-1a1fd4f0] h2 {
  line-height: 1.6;
  margin: 16px 0 12px;
  /* color: #1E3A8A; */
  font-size: 28px;
}
.instructions-modal[data-v-1a1fd4f0] h3 {
  line-height: 1.6;
  margin: 16px 0 12px;
  /* color: #1E3A8A; */
  font-size: 24px;
}
.instructions-modal[data-v-1a1fd4f0] h4 {
  line-height: 1.6;
  margin-bottom: 12px;
  /* color: #1E3A8A; */
  font-size: 18px;
}
.close-btn[data-v-1a1fd4f0] {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #94A3B8;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.close-btn[data-v-1a1fd4f0]:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0F172A;
}




/* 浮动触发按钮 */
.add-ai-prompt-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #15803D;
  color: white;
  border: none;
  border-radius: 9999px; /* 圆形 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 1000;
}
.add-ai-prompt-trigger:hover {
  background-color: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.add-ai-prompt-trigger.connected {
  background-color: #15803D; /* Bootstrap 的 success 绿色 */
}
.add-ai-prompt-trigger.connected:hover {
  background-color: #15803D;
}
