/* 防止页面加载时的图标闪烁 */
.header, .header *, .header-icon, .header-svg, .header .actions {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 通用移动端覆盖（统一到 demo.html 视觉思路：内容自适应宽度，图片等比例缩放） */
@media (max-width: 768px) {
  html, body { width: 100%; overflow-x: hidden; }
  img, video { max-width: 100%; height: auto; }
  .container { padding: 0; }
  .main { margin: 0 !important; padding: 0 16px; }
  .content { padding: 16px 16px 80px 16px !important; }
  .header { justify-content: flex-end !important; }
  .header { margin-bottom: 20px !important; }
  .header .actions { gap: 8px; }
  .menu-trigger { display: inline-flex !important; }
  .wechat-icon { display: none !important; }
  .index-left-panel, .index-right-panel { width: 100% !important; margin: 0 !important; }
  .project-showcase { flex-direction: column; gap: 16px; }
  .project-left, .project-right { width: 100% !important; }
  .project-image-container { width: 100%; }
  .project-main-image { width: 100%; height: auto; display: block; }
  .project-navigation-buttons { justify-content: space-between; }
  .member-sidebar-wrapper { display: none !important; }
  .cooperation-content-wrapper,
  .prompt-manage-content,
  .member-center-content,
  .profile-content { padding-left: 16px !important; padding-right: 16px !important; }

  /* 移动端：下滑菜单改为水平展示，可横向滚动 */
  .slide-menu { display: none !important; flex-direction: row; align-items: center; gap: 13px; padding: 8px 10px; left: 16px; right: 16px; top: 56px; width: auto; min-width: calc(100vw - 32px); overflow-x: auto; white-space: nowrap; z-index: 9999; }
  .menu-trigger.open .slide-menu { display: flex !important; }
  .slide-menu a { display: inline-block; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 9999px; background: #fff; }

  /* 移动端：项目页强制铺满与自适应高度（覆盖底部桌面样式） */
  .project-showcase { width: 100% !important; min-height: auto !important; gap: 0 !important; }
  .project-left, .project-right { width: 100% !important; }
  .project-image-container { height: auto !important; }
  .project-main-image { height: auto !important; }
}

@media (max-width: 480px) {
  .register-btn { padding: 8px 12px; font-size: 12px; }
  .header-login { font-size: 12px !important; }
}

/* 菜单触发器与下滑菜单样式 */
.menu-trigger { position: relative; display: none; align-items: center; margin-right: auto; }
.wechat-icon { display: inline-block; }
.hamburger { width: 28px; height: 20px; display: inline-flex; flex-direction: column; justify-content: space-between; cursor: pointer; margin-right: 12px; }
.hamburger span { display: block; height: 2px; background: #666; border-radius: 2px; }
.slide-menu { position: absolute; top: 46px; left: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; width: auto; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 9999; font-size: 14px; }
.menu-trigger .hamburger{ -webkit-tap-highlight-color: transparent; }
.slide-menu a{ cursor: pointer; display: inline; padding: 0; color: #666; text-decoration: none; border: 0; background: transparent; border-radius: 0; pointer-events: auto; }
.slide-menu a:visited, .slide-menu a:hover, .slide-menu a:active { color: #666 !important; text-decoration: none !important; }
.slide-menu .menu-divider { display:none; }
.menu-trigger.open .slide-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* 确保SVG元素稳定渲染 */
svg {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* 防止浏览器默认的图标占位符 */
.header-icon img, .header-icon svg {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* 通用卡片与列表样式抽象 */
:root {
  --card-radius: 12px;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --card-hover-shadow: 0 6px 24px rgba(108,99,255,0.13);
  --card-bg: #fff;
  --card-title-color: #222;
  --card-meta-color: #888;
  --card-desc-color: #444;
  --main-gap: 32px 28px;
  --main-gap-mobile: 18px 0;
}

/* 字体设计提示词页面样式 */
.psbat-card-download.disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.psbat-grid {
  display: grid;
  grid-template-columns: repeat(3, 335px);
  gap: 50px;
  padding: 20px 0;
  justify-content: flex-start;
}

.psbat-grid-item {
  position: relative;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 335px;
  height: 180px;
}

.psbat-grid-item:hover {
  transform: translateY(-5px);
}

.psbat-grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.psbat-grid-item:hover .psbat-grid-image {
  transform: scale(1.05);
}

.psbat-item-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95));
  color: white;
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.psbat-grid-item:hover .psbat-item-desc {
  transform: translateY(0);
}

.psbat-item-desc h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.psbat-item-desc p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 1200px) {
  .psbat-grid {
    grid-template-columns: repeat(3, 335px);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .psbat-grid {
    grid-template-columns: repeat(2, 335px);
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .psbat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .psbat-grid-item {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .psbat-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .psbat-grid-item {
    width: 100%;
    height: 180px;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.card:hover {
  box-shadow: var(--card-hover-shadow);
  transition: box-shadow 0.25s, border 0.25s;
}
.card-img {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img img {
  width: 100%;
  display: block;
  border-radius: var(--card-radius);
}
.card-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--card-title-color);
}
.card-meta {
  font-size: 14px;
  color: var(--card-meta-color);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 15px;
  color: var(--card-desc-color);
  margin-bottom: 18px;
}
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--main-gap);
}

/* 响应式合并 */
@media (max-width: 1200px) {
  .card-list {
    flex-direction: column;
    gap: var(--main-gap-mobile);
  }
  .card, .card-img {
    width: 98vw;
    max-width: 400px;
  }
}

/* 继承通用类的业务卡片样式（只保留个性化部分） */
.coze-card, .project-card, .psbat-card, .aitools-card, .coop-card {
  composes: card;
  /* 业务独有的宽度、padding、border等可单独覆盖 */
}
.coze-card-list, .project-card-list, .psbat-card-list, .aitools-card-list, .software-list {
  composes: card-list;
  /* 业务独有的margin、max-width等可单独覆盖 */
}
.coze-card-img, .project-card-img, .psbat-card-img, .aitools-card-icon, .software-icon {
  composes: card-img;
  /* 业务独有的宽高、object-fit等可单独覆盖 */
}
.coze-card-title, .project-card-title, .aitools-card-title, .psbat-card-title {
  composes: card-title;
  /* 业务独有的font-size等可单独覆盖 */
}
.coze-card-meta, .project-card-meta, .aitools-card-meta {
  composes: card-meta;
}
.coze-card-desc, .project-card-desc, .aitools-card-desc {
  composes: card-desc;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #f5f6fa;
  color: #222;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 200px;
  height: 100vh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.sidebar .logo {
  display: flex;
  align-items: center;
  justify-content: center; /* 居中LOGO与站名 */
  gap: 8px;
  padding: 20px 16px 16px 16px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: none;
}
.sidebar .logo img {
  width: 64px;
  height: 64px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.sidebar nav {
  flex: 1;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 居中栏目块 */
}
.sidebar nav,
.sidebar nav ul,
.sidebar nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* 图标与文字整体水平居中 */
  width: 160px; /* 固定宽度，整体居中 */
  margin: 0 auto; /* 居中锚点块 */
  padding: 20px 0; /* 菜单项上下间距 20px */
  gap: 12px;
  font-size: 14px;
  background: none !important;
  border: none !important;
  color: #fff !important; /* 未选中时文字白色 */
  font-weight: normal !important;
  border-radius: 12px !important; /* 悬停时显示圆角底色 */
  box-shadow: none !important;
  border-left: none !important;
  transition: background 0.15s ease !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.sidebar nav a .menu-icon,
.sidebar nav a span, .sidebar nav a svg, .sidebar nav a {
  position: relative;
  z-index: 1;
}
/* 撤销针对<img>菜单图标的滤镜，恢复默认样式 */
.sidebar nav a.active,
.sidebar nav a.active span,
.sidebar nav a.active svg {
  color: #fff !important; /* 选中时文字白色 */
  fill: #fff !important;  /* 选中时图标白色 */
  stroke: #fff !important; /* 选中时图标白色 */
  position: relative;
  z-index: 1;
}
.sidebar nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: transparent; /* 移除默认紫色条背景 */
  opacity: 0.47;
  z-index: 0;
  transition: width 0.35s cubic-bezier(.4,0,.2,1);
}
.sidebar nav a:hover::before {
  width: 0 !important; /* 去除悬停时紫色条效果 */
}
.sidebar nav a.active::before {
  width: 0 !important; /* 移除选中项紫色条 */
  transition: none;
  display: block !important;
  z-index: 0;
}
.sidebar nav a:hover,
.sidebar nav a:hover span {
  background: rgba(255,255,255,0.12) !important; /* 稍微更亮 */
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
.sidebar .footer {
  padding: 16px 24px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #2b2b2b;
  text-align: center;
}

.main {
  margin-left: 280px;
  min-height: 100vh;
  margin-top: 35px;
}
.header {
  height: 60px;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e5e6eb;
  justify-content: flex-end;
  padding: 0 32px;
  opacity: 1;
  visibility: visible;
}
.header .actions {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
  visibility: visible;
}
.header .user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #444;
  cursor: pointer;
}
.header .user .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eee;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
}
.header .register-btn {
  background: #5a4bb7;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 10px;
  box-shadow: 0 2px 12px 0 #6c63ff22;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.header .register-btn:hover {
  background: #4f43a6;
  box-shadow: 0 4px 24px 0 #6c63ff44;
  transform: translateY(-2px) scale(1.04);
}
.header .register-btn:active {
  background: #433a8e;
  box-shadow: 0 1px 4px 0 #6c63ff22;
  transform: scale(0.98);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 32px 200px 300px;
  min-height: calc(100vh - 60px);
}

.content.flex-row {
  flex-direction: row;
  padding: 35px 32px 200px 300px;
}

.content.white-bg {
  background: #fff;
}
.generator-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 32px 32px 24px 32px;
  margin-left: 60px;
  width: 540px;
  min-height: 480px;
}
.generator-box h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
}
.generator-box label {
  font-size: 15px;
  color: #444;
  margin-top: 18px;
  display: block;
  margin-bottom: 6px;
}
.generator-box input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.2s;
}
.generator-box input[type="text"]:focus {
  border: 1.5px solid #6c63ff;
}
.generator-box button {
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 18px;
}
.generator-box textarea {
  width: 100%;
  height: 140px;
  font-family: "Fira Mono", "Consolas", monospace;
  font-size: 13px;
  background: #f7f7fa;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  padding: 10px;
  resize: none;
  margin-top: 10px;
  color: #222;
  /* 隐藏滚动条 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.generator-box textarea::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Webkit */
}
.generator-box .copy-btn {
  float: right;
  margin-top: 4px;
  background: none;
  color: #6c63ff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.preview-box {
  margin-left: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 24px 24px 18px 24px;
  width: 400px;
  min-height: 320px;
}
.preview-box img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
  object-fit: cover;
  height: 180px;
  background: #eee;
}
.preview-info {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}
.preview-info span {
  margin-right: 18px;
}
.checkbox-group {
  margin-top: 6px;
  font-size: 15px;
  color: #444;
}
.checkbox-group label {
  margin-right: 18px;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 4px;
  vertical-align: middle;
}
.menu-icon {
  width: 18px;
  height: 18px;
  fill: none; /* 以描边为主，保持白色 */
  stroke: #fff; /* 未选中时图标白色 */
  margin: 0; /* 去除右外边距，改为gap控制 */
  vertical-align: middle;
  color: #fff; /* 兼容部分SVG作为字体渲染 */
  flex-shrink: 0;
}
/* 防止页面加载时的动画闪烁 */
.page-loading *,
.page-loading *::before,
.page-loading *::after {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* 隐藏浏览器默认的加载指示器 */
::-webkit-progress-bar,
::-webkit-progress-value,
::-moz-progress-bar {
  display: none !important;
}

/* 隐藏可能的加载动画 */
.loading,
.spinner,
.loader {
  display: none !important;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: transform 0.2s ease;
}
.header-icon:hover {
  transform: translateY(-1px);
}
.header-icon:hover .header-svg {
  stroke: #6c63ff;
  fill: #6c63ff22;
  transition: stroke 0.2s, fill 0.2s;
}
.header-icon:hover .wechat-svg path {
  fill: #6c63ff;
  transition: fill 0.2s ease;
}

/* 移除通知图标的悬停效果 */
.notification-dropdown:hover {
  transform: none !important;
}
.notification-dropdown:hover .header-svg {
  stroke: #444 !important;
  fill: none !important;
}
.header-svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: #444;
  fill: none;
  transition: stroke 0.2s, fill 0.2s;
  opacity: 1;
  visibility: visible;
}

/* 防止头部图标加载时闪烁 */
.header .actions {
  opacity: 1;
  visibility: visible;
}

.header .actions > * {
  opacity: 1;
  visibility: visible;
}
/* header-badge 样式已移除，不再需要通知计数器 */

/* 登录按钮悬停效果 */
.header-login {
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
}
.header-login:hover {
  color: #6c63ff !important;
  transform: translateY(-1px);
}
.header-login::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #6c63ff;
  transition: width 0.3s ease, left 0.3s ease;
}
.header-login:hover::after {
  width: 100%;
  left: 0;
}

/* 首页分类按钮容器 */
.category-selector {
  margin-bottom: 32px;
  text-align: left;
}
.category-buttons {
  display: inline-flex;
  gap: 4px;
  background: #f1f1f1;
  padding: 4px;
  border-radius: 25px;
}
.category-btn {
  background: transparent;
  color: #666;
  border: none;
  padding: 10px 0;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 70px;
  text-align: center;
  flex-shrink: 0;
}
.category-buttons .category-btn:hover,
.category-buttons .category-btn:focus-visible {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff !important;
}
.category-buttons .category-btn.active {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff !important;
}

/* 统一下拉菜单显示规则 */
.custom-dropdown:hover .custom-dropdown-menu,
.custom-dropdown:focus-within .custom-dropdown-menu,
.custom-dropdown .custom-dropdown-menu:hover {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 微信菜单内容样式 */
.wechat-qr-container {
  min-width: 140px;
}

/* 通知菜单内容样式 */
.notification-loading,
.notification-empty {
  display: block;
  padding: 14px 32px 14px 32px;
  color: #999;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  margin: 0 8px;
  text-align: center;
}

/* 通知列表容器 */
#notificationList {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 通知列表滚动条样式 */
#notificationList::-webkit-scrollbar {
  width: 6px;
}

#notificationList::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#notificationList::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

#notificationList::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

@media (max-width: 1100px) {
  .content {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px 100px 16px;
    min-height: auto !important;
  }
  .content.flex-row {
    flex-direction: column;
    padding: 20px 16px 100px 16px;
  }
  .main-content {
    margin-left: 0;
    max-width: 100vw;
  }
  .generator-box, .preview-box {
    margin: 0 0 24px 0;
    width: 90vw;
  }
  .main { margin-left: 0 !important; }
  .main { min-height: auto !important; }
  .sidebar { display: none !important; }
  .header { padding-left: max(16px, env(safe-area-inset-left)) !important; padding-right: max(16px, env(safe-area-inset-right)) !important; }
  html, body { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; }
}

.software-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
.oversea-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
.coze-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
.aitools-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
.project-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
.psbat-desc {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 32px;
}
/* coze卡片区样式与aitools完全一致 */
.coze-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.coze-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  width: 340px;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 18px;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
}
.coze-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transition: box-shadow 0.25s, border 0.25s;
}
.coze-card-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 18px;
  object-fit: contain;
  background: #f7f7fa;
}
.coze-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coze-card-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}
.coze-card-url {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1200px) {
  .coze-card-list {
    flex-direction: column;
    gap: 18px 0;
    margin-left: 8px;
  }
  .coze-card {
    width: 98vw;
    max-width: 400px;
  }
}

.project-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: flex-start;
}
.project-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  width: 300px;
  padding: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}
.project-card:hover {
  box-shadow: 0 3px 12px rgba(108,99,255,0.08);
  transition: box-shadow 0.25s, border 0.25s;
}
.project-card-img {
  width: 100%;
  height: 169px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
  transition: filter 0.3s ease;
}

.project-card-img:hover {
  filter: grayscale(100%);
}
.project-card-info {
  padding: 20px 20px 0 20px;
}
.project-card-title {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin-bottom: 9px;
}
.project-card-link {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
}
.project-card-link .detail-link {
  display: inline;
  color: #22c55e;
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 9px;
  margin-left: 0;
}
.project-card-link .detail-link:hover {
  color: #16a34a;
}
.project-card-link .detail-link .icon {
  font-size: 18px;
  line-height: 1;
}
.project-card-url {
  font-size: 13px;
  color: #444;
  word-break: break-all;
}
@media (max-width: 1200px) {
  .project-card-list {
    flex-direction: column;
    gap: 18px 0;
  }
  .project-card {
    width: 98vw;
    max-width: 400px;
  }
}

.psbat-panel {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-left: 60px;
  margin-right: 60px;
  margin-bottom: 32px;
  padding: 28px 28px 28px 28px;
  max-width: calc(100vw - 120px);
}
.psbat-title {
  font-size: 18px;
  font-weight: 500;
  color: #444;
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
}
.psbat-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.psbat-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  width: 340px;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 18px;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
}
.psbat-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transition: box-shadow 0.25s, border 0.25s;
}
.psbat-card-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 18px;
  object-fit: contain;
  background: #f7f7fa;
}
.psbat-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.psbat-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psbat-card-desc {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psbat-card-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #409eff;
  margin-left: 18px;
  transition: background 0.2s;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.psbat-card-download:hover {
  background: #337ecc;
}
.psbat-card-download svg {
  display: block;
}
@media (max-width: 1200px) {
  .psbat-panel {
    margin-left: 8px;
    margin-right: 8px;
    padding: 18px 6px 18px 6px;
  }
  .psbat-card-list {
    flex-direction: column;
    gap: 18px 0;
    margin-left: 8px;
  }
  .psbat-card {
    width: 98vw;
    max-width: 400px;
  }
}

/* 新的单张大图展示样式 */
.psbat-showcase {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.psbat-main-showcase {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 32px;
}

.psbat-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.psbat-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.psbat-main-showcase:hover .psbat-main-image {
  transform: scale(1.02);
}

.psbat-info-panel {
  padding: 24px 32px 32px 32px;
  text-align: center;
}

.psbat-main-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.psbat-main-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.psbat-main-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.psbat-main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
  color: #fff;
}

.psbat-main-button.disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.psbat-main-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .psbat-showcase {
    margin: 0 16px;
  }
  
  .psbat-image-container {
    height: 250px;
  }
  
  .psbat-info-panel {
    padding: 20px 24px 24px 24px;
  }
  
  .psbat-main-title {
    font-size: 20px;
  }
  
  .psbat-main-desc {
    font-size: 14px;
  }
  
  .psbat-main-button {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* 悬停下滑效果样式 */
.psbat-hover-showcase {
  width: 335px;
  height: 180px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.psbat-hover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.psbat-hover-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff !important;
  border-top: 1px solid #eee;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding: 16px;
}

.psbat-hover-showcase:hover .psbat-hover-desc {
  transform: translateY(0);
}

.psbat-hover-showcase:hover .psbat-hover-image {
  transform: scale(1.05);
}

.psbat-desc-content h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.psbat-desc-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .psbat-hover-showcase {
    width: 300px;
    height: 150px;
    margin: 20px auto;
  }
  
  .psbat-desc-content h4 {
    font-size: 14px;
  }
  
  .psbat-desc-content p {
    font-size: 12px;
  }
  
  .psbat-hover-desc {
    padding: 12px;
  }
}

.aitools-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.aitools-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  width: 340px;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 18px;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
}
.aitools-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transition: box-shadow 0.25s, border 0.25s;
}
.aitools-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 18px;
  object-fit: contain;
  background: #f7f7fa;
}
.aitools-card-info {
  flex: 1;
  min-width: 0;
}
.aitools-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aitools-card-desc {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1200px) {
  .aitools-card-list {
    flex-direction: column;
    gap: 18px 0;
    margin-left: 8px;
  }
  .aitools-card {
    width: 98vw;
    max-width: 400px;
  }
}

.software-panel {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-left: 60px;
  margin-right: 60px;
  margin-bottom: 32px;
  padding: 28px 28px 28px 28px;
  max-width: calc(100vw - 120px);
}
.software-title {
  font-size: 18px;
  font-weight: 500;
  color: #444;
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
}
.software-arrow {
  color: #6c63ff;
  font-size: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
.software-list {
  display: flex;
  align-items: flex-start;
  gap: 52px;
  flex-wrap: wrap;
}
.software-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  margin-right: 24px;
  background: #f7f7fa;
}
.software-items {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  align-items: center;
  min-width: 0;
}
.software-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s;
}
.software-item:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  color: #6c63ff;
  text-decoration: none;
}
.software-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 12px;
  margin-right: 0;
  background: #f7f7fa;
}
.software-title {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
}
.software-card-desc {
  font-size: 15px;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.7;
}
@media (max-width: 1200px) {
  .software-panel {
    margin-left: 8px;
    margin-right: 8px;
    padding: 18px 6px 18px 6px;
  }
  .software-list {
    flex-direction: column;
    gap: 38px 0;
  }
  .software-icon {
    margin-bottom: 12px;
    margin-right: 0;
  }
  .software-items {
    gap: 12px 18px;
  }
}

.sidebar nav a.active {
  border-left: none !important;
}
.sidebar nav a.active .menu-icon {
  fill: none !important;
  stroke: #fff !important;
}

/* signup页面样式 */
.signup-bg {
  background: #282844 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.signup-container {
  width: 1000px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 32px 0 rgba(40,40,68,0.10) !important;
  padding: 48px 40px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  margin: 0 auto !important;
  gap: 64px !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  margin-top: -50px !important;
}
.signup-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 260px !important;
  padding-left: 12px !important;
}
.signup-logo {
  width: 56px !important;
  margin-bottom: 18px !important;
  margin-top: 0 !important;
}
.signup-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 12px !important;
}
.signup-subtitle {
  font-size: 15px !important;
  color: #b0b0c0 !important;
  margin-bottom: 0 !important;
}
.signup-right {
  flex: 2 !important;
  min-width: 340px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0 !important;
}
.signup-form-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 22px !important;
  flex-wrap: nowrap !important;
}
.signup-input {
  font-size: 16px !important;
  padding: 0 16px !important;
  height: 44px !important;
  border: 1.5px solid #e0e0e8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s !important;
  width: 360px !important;
  max-width: 100%;
}
.signup-input:focus {
  border: 1.5px solid #7B6FF0 !important;
}
.signup-input-short {
  width: 258px !important;
  max-width: 100%;
}
.signup-input::placeholder {
  color: #bbb !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
}
.signup-form-label {
  width: 90px !important;
  margin-right: 12px !important;
  color: #888 !important;
  font-size: 16px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.signup-form-actions {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin-top: 18px !important;
  justify-content: flex-start !important;
}
.signup-btn-main {
  background: linear-gradient(90deg, #7B6FF0 0%, #8f7cff 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 22px !important;
  height: 44px !important;
  padding: 0 40px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px 0 #7b6ff033 !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.signup-btn-main:hover {
  background: linear-gradient(90deg, #8f7cff 0%, #7B6FF0 100%) !important;
}
.signup-btn-send {
  width: 90px;
  height: 38px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  margin-right: 10px;
  transition: background 0.2s, color 0.2s;
}
.signup-btn-send:disabled {
  background: #eee !important;
  color: #aaa !important;
  cursor: not-allowed !important;
}
.signup-btn-send:not(:disabled) {
  background: #6c63ff !important;
  color: #fff !important;
  cursor: pointer !important;
}
.signup-btn-link {
  background: none !important;
  color: #7B6FF0 !important;
  border: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 0 10px !important;
  outline: none !important;
}
.qrcode-hover-container {
  display: inline-block !important;
  position: relative !important;
}
.qrcode-img {
  position: absolute !important;
  left: 110% !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(20px) !important;
  width: 120px !important;
  height: 120px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(40,40,68,0.18) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s, transform 0.3s !important;
  z-index: 10 !important;
}
.qrcode-hover-container:hover .qrcode-img {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(-50%) translateX(0) !important;
}
@media (max-width: 1100px) {
  .signup-container {
    flex-direction: column !important;
    padding: 24px 8px 18px 8px !important;
    gap: 18px !important;
    margin-top: 40px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .signup-left, .signup-right {
    min-width: 0 !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .signup-logo { margin-bottom: 12px !important; }
  .signup-title { font-size: 28px !important; }
  /* 移动端：表单行纵向排列，标签显示在上方，输入框不溢出 */
  .signup-form-row { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .signup-form-label { width: auto !important; text-align: left !important; margin-right: 0 !important; }
  .signup-input, .signup-input-short { width: 100% !important; max-width: 100% !important; }
  .signup-btn-send { width: 100% !important; }

  /* 移动端：二维码定位到“获取邀请码”位置中央并以点击方式显示 */
  .qrcode-hover-container { position: relative !important; }
  .qrcode-hover-container .qrcode-img {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 46px !important; /* 覆盖在按钮/文字区域上方 */
    transform: translate(-50%, 12px) !important;
    z-index: 9999 !important;
  }
  .qrcode-hover-container.open .qrcode-img {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important; /* 轻微上滑显示 */
  }
}

.signup-left, .signup-right {
  padding-top: 45px !important;
} 

/* login页面样式（由signup-样式复制并独立） */
.login-bg {
  background: #282844 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.login-container {
  width: 1000px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 32px 0 rgba(40,40,68,0.10) !important;
  padding: 48px 40px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  margin: 0 auto !important;
  gap: 64px !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  margin-top: -50px !important;
}
.login-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 260px !important;
  padding-left: 12px !important;
}
.login-logo {
  width: 56px !important;
  margin-bottom: 18px !important;
  margin-top: 0 !important;
}
.login-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 12px !important;
}
.login-subtitle {
  font-size: 15px !important;
  color: #b0b0c0 !important;
  margin-bottom: 0 !important;
}
.login-right {
  flex: 2 !important;
  min-width: 340px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0 !important;
}
.login-form-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 22px !important;
  flex-wrap: nowrap !important;
}
.login-input {
  font-size: 16px !important;
  padding: 0 16px !important;
  height: 44px !important;
  border: 1.5px solid #e0e0e8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s !important;
  width: 360px !important;
  max-width: 100%;
}
.login-input:focus {
  border: 1.5px solid #7B6FF0 !important;
}
.login-input-short {
  width: 258px !important;
  max-width: 100%;
}
.login-input::placeholder {
  color: #bbb !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
}
.login-form-label {
  width: 90px !important;
  margin-right: 12px !important;
  color: #888 !important;
  font-size: 16px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.login-form-actions {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin-top: 18px !important;
  justify-content: flex-start !important;
}
.login-btn-main {
  background: linear-gradient(90deg, #7B6FF0 0%, #8f7cff 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 22px !important;
  height: 44px !important;
  padding: 0 40px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px 0 #7b6ff033 !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.login-btn-main:hover {
  background: linear-gradient(90deg, #8f7cff 0%, #7B6FF0 100%) !important;
}
.login-btn-link {
  background: none !important;
  color: #7B6FF0 !important;
  border: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 0 10px !important;
  outline: none !important;
}
@media (max-width: 1100px) {
  .login-container {
    flex-direction: column !important;
    padding: 24px 8px 18px 8px !important;
    gap: 18px !important;
    margin-top: 40px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .login-left, .login-right {
    min-width: 0 !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .login-logo { margin-bottom: 12px !important; }
  .login-title { font-size: 28px !important; }
  .login-input-short { width: 90vw !important; max-width: 340px !important; }
}
.login-left, .login-right {
  padding-top: 45px !important;
} 

.user-dropdown:hover .dropdown-menu,
.user-dropdown:focus-within .dropdown-menu,
.user-dropdown .dropdown-menu:hover {
  display: block;
} 

.user-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 41px !important;
  min-width: 120px;
  background: #fff;
  box-shadow: 0 2px 12px #eee;
  border-radius: 8px;
  z-index: 9999;
  padding: 8px 0;
} 

/* 通用悬停规则已移至具体的会员菜单规则 */
.custom-dropdown .custom-dropdown-menu {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1), visibility 0.25s;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  z-index: 9999;
  padding: 18px 0 12px 0;
  margin-top: 13px;
}

/* 微信菜单特殊宽度 */
.wechat-icon .custom-dropdown-menu {
  min-width: 140px;
  padding: 8px 0;
}

/* 通知菜单特殊宽度和高度 */
.notification-dropdown .custom-dropdown-menu {
  width: 395px;
  min-width: 395px;
  max-height: none;
  height: auto;
}

/* 添加连接区域，防止鼠标移动时菜单消失 */
.custom-dropdown .custom-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -13px;
  right: 0;
  width: 100%;
  height: 13px;
  background: transparent;
}
/* 通用悬停规则已移至具体的会员菜单规则 */
.custom-dropdown .custom-dropdown-menu a {
  display: block;
  padding: 14px 32px 14px 32px;
  color: #222;
  text-decoration: none;
  font-size: 14px; /* 小一号 */
  transition: background 0.15s ease, color 0.15s ease;
  border-radius: 8px;
  margin: 0 8px;
  cursor: pointer;
}
.custom-dropdown .custom-dropdown-menu a:hover {
  background: #f5f6fa;
  color: #6c63ff;
}
.custom-dropdown .custom-dropdown-menu .logout {
  color: #222; /* 与“我的账户”一致 */
} 

/* 首页专用样式 */
.index-left-panel {
  width: 750px;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.index-left-panel h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
  background: transparent;
}

.index-left-panel label {
  font-size: 1.1em;
  margin-right: 12px;
  background: transparent;
}

.index-left-panel select {
  width: 220px;
  min-width: 120px;
  box-sizing: border-box;
  font-weight: normal;
  outline: none;
  box-shadow: none;
  border: 1px solid #ccc;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background: #fff;
}

.index-left-panel iframe {
  width: 750px !important;
  height: 400px;
  min-height: 400px !important;
  max-height: none !important;
  border: none !important;
  margin-top: 24px !important;
  border-radius: 4px !important;
  background: #f5f6fa !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  transition: height 0.3s ease !important;
}

.index-left-panel iframe::-webkit-scrollbar {
  display: none !important;
}

.index-left-panel iframe body {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.index-right-panel {
  background: transparent;
  color: #000;
  padding: 0;
  margin-left: 35px;
  margin-top: 24px;
  width: 400px;
  flex-shrink: 0;
  height: auto;
  align-self: flex-start;
}

.index-right-panel .card-container {
  background: white !important;
}

.index-right-panel .generator-card {
  background: white !important;
  border-radius: 8px !important;
  margin-bottom: 20px;
}

/* 后台主色调与按钮 */
.btn, .btn-primary {
  background: linear-gradient(90deg, #6c63ff 0%, #a084ee 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #6c63ff22;
  transition: background 0.3s, box-shadow 0.2s;
}
.btn:hover, .btn-primary:hover {
  background: linear-gradient(90deg, #a084ee 0%, #6c63ff 100%);
  box-shadow: 0 4px 24px 0 #6c63ff44;
}

/* 表单输入框 */
.form-input, input[type="text"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
}

/* 隐藏所有textarea的滚动条 */
textarea {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

textarea::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Webkit */
}
.form-input:focus, input:focus, select:focus, textarea:focus {
  border: 2px solid #7B6FF0;
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
th, td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-size: 15px;
}
th {
  background: #f5f6fa;
  color: #666;
}

/* 内容区与卡片 */
.main-box, .content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(108,99,255,0.08);
  padding: 36px 32px 28px 32px;
  margin: 60px auto;
  max-width: 900px;
}
.title {
  font-size: 24px;
  font-weight: bold;
  color: #444;
  margin-bottom: 18px;
  text-align: center;
}
.main-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  text-align: left;
  margin-top: 0;
  margin-bottom: 24px;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.2;
}
.main-content {
  width: 100%;
  max-width: 900px;
  margin-left: 300px;
  margin-top: 24px;
}

/* 错误与提示 */
.msg, .error-msg {
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

/* 顶部导航与侧边栏 */
.admin-header {
  background: #fff;
  box-shadow: 0 2px 8px #6c63ff11;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 60px;
  border-bottom: 1px solid #f0f0f0;
}

/* 首页分类按钮：悬停即选中同款效果 */
.category-buttons .category-btn:hover,
.category-buttons .category-btn:focus-visible {
  background: #333 !important;
  background-color: #333 !important; /* 显式覆盖行内 background-color */
  color: #fff !important;
}
.category-buttons .category-btn:focus { outline: none; }
.category-buttons .category-btn.active {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff !important;
}
.admin-logo {
  font-size: 22px;
  font-weight: bold;
  color: #6c63ff;
  margin-right: 32px;
}
.admin-topnav {
  flex: 1;
  display: flex;
  gap: 18px;
}
.subnav-item, .admin-topnav a {
  color: #444;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.subnav-item.active, .admin-topnav a.active, .subnav-item:hover {
  background: #f5f6fa;
  color: #6c63ff;
}
.admin-user {
  color: #888;
  font-size: 15px;
}
.admin-sidebar {
  background: #fff;
  width: 200px;
  min-height: 100vh;
  box-shadow: 2px 0 8px #6c63ff11;
  padding-top: 24px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu li {
  margin-bottom: 8px;
}
.sidebar-menu a {
  display: block;
  color: #444;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 18px 0 0 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sidebar-menu a.active, .sidebar-menu a:hover {
  background: linear-gradient(90deg, #f5f6fa 60%, #eae6ff 100%);
  color: #6c63ff;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .main-box, .content-card { padding: 18px 8px; }
  .admin-header { padding: 0 8px; }
  .admin-sidebar { width: 140px; }
  .sidebar-menu a { font-size: 14px; padding: 8px 12px; }
} 

.software-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.software-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  width: 340px;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 18px;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
}
.software-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transition: box-shadow 0.25s, border 0.25s;
}
.software-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 18px;
  object-fit: contain;
  background: #f7f7fa;
}
.software-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.software-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.software-card-desc {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1200px) {
  .software-card-list {
    flex-direction: column;
    gap: 18px 0;
    margin-left: 8px;
  }
  .software-card {
    width: 98vw;
    max-width: 400px;
  }
} 

.software-group {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  margin: 0 32px 0 0;
  padding: 32px 32px 36px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.software-group:not(:first-child) {
  margin-top: 44px;
}
@media (max-width: 1200px) {
  .software-group {
    max-width: 98vw;
    padding: 18px 6px 18px 6px;
    margin: 24px 0;
  }
}
.software-group-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.software-group-title .triangle {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
}

.software-group-title .triangle::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  top: 0;
  left: 12px;
  opacity: 0.6;
}

.software-group-title .triangle::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  top: 0;
  left: 24px;
  opacity: 0.3;
}
.software-group-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* 软件列表样式 */
.software-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 16px 20px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.software-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #e0e0e0;
}

.software-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.software-item:hover::before {
  opacity: 1;
}

.software-item .software-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 0 16px 0;
  object-fit: contain;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 8px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.software-item:hover .software-icon {
  transform: scale(1.05);
}

.software-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.software-info .software-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 12px 0;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.software-info .software-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.software-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.download-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 60px;
  text-align: center;
  border: none;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

.download-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 卡片操作按钮：图标圆形黑底 */
.action-btn.icon-only {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.action-btn.icon-only svg { width: 14px; height: 14px; display: block; fill: currentColor; }
.action-btn.icon-only:hover { background: #111; }
.action-btn.icon-only.locked {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}
.software-group-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #f7f7fa;
  margin-right: 32px;
  flex-shrink: 0;
}
.software-version-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  align-items: center;
  min-width: 0;
}
.software-version-item {
  font-size: 16px;
  color: #888;
  margin-bottom: 8px;
  min-width: 120px;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .software-item {
    flex: 1;
    min-width: 130px;
    max-width: 180px;
  }
}

@media (max-width: 900px) {
  .software-group {
    padding: 18px 8px 18px 8px;
  }
  .software-group-content {
    flex-direction: column;
    gap: 18px 0;
  }
  .software-group-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .software-version-list {
    gap: 12px 18px;
  }
  .software-item {
    flex: 1;
    min-width: 110px;
    max-width: 160px;
  }
}

@media (max-width: 600px) {
  .software-item {
    flex: 1;
    min-width: 100px;
    max-width: 200px;
  }
  .software-item .software-icon {
    width: 48px;
    height: 48px;
  }
  .software-info .software-title {
    font-size: 12px;
  }
  .download-btn {
    padding: 5px 12px;
    font-size: 11px;
    min-width: 45px;
  }
}

.user.user-dropdown.custom-dropdown {
  padding: 10px 20px 10px 10px !important;
  min-width: 160px;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, transform 0.15s ease;
}
.user.user-dropdown.custom-dropdown:hover,
.user.user-dropdown.custom-dropdown:focus-within {
  background: #f5f6fa;
}
.user.user-dropdown.custom-dropdown .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f0f0f0;
  display: inline-block;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  margin-right: 6px;
}
.user.user-dropdown.custom-dropdown .nickname {
  font-size: 16px;
  vertical-align: middle;
  margin-left: 8px;
  user-select: none;
} 

/* oversea卡片区样式与aitools完全一致（唯一生效定义） */
.oversea-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}
.oversea-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e6eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  width: 340px;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  padding: 18px 18px 18px 18px;
  text-decoration: none;
  color: #222;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.oversea-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transition: box-shadow 0.25s, border 0.25s;
}
.oversea-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-right: 18px;
  object-fit: contain;
  background: #f7f7fa;
}
.oversea-card-info {
  flex: 1;
  min-width: 0;
}
.oversea-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.oversea-card-desc {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
  line-height: 1.6;
}

/* 展开/收起图标样式 */
.expand-icon {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(10px);
}

.expand-icon:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(10px) scale(1.1);
}

.expand-icon.disabled {
  background: rgba(153, 153, 153, 0.1);
  color: #999;
  cursor: not-allowed;
}

.expand-icon.disabled:hover {
  background: rgba(153, 153, 153, 0.1);
  transform: translateY(10px);
}

.expand-icon svg {
  transition: transform 0.3s ease;
}

/* 卡片悬停时显示图标 */
.oversea-card:hover .expand-icon {
  opacity: 1;
  transform: translateY(0);
}

/* 展开状态样式 */
.oversea-card.expanded {
  min-height: 120px;
  align-items: flex-start;
}

.oversea-card.expanded .oversea-card-desc {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  line-height: 1.7;
  max-height: none;
}

.oversea-card.expanded .expand-icon {
  opacity: 1;
  transform: translateY(0);
}

.oversea-card.expanded .expand-icon svg {
  transform: rotate(180deg);
}

/* 图标动画效果 */
@keyframes iconPulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(2px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

.expand-icon:not(.disabled) {
  animation: iconPulse 2s ease-in-out infinite;
}

.oversea-card:hover .expand-icon:not(.disabled) {
  animation: none;
}
@media (max-width: 1200px) {
  .oversea-card-list {
    flex-direction: column;
    gap: 18px 0;
    margin-left: 8px;
  }
  .oversea-card {
    width: 98vw;
    max-width: 400px;
  }

  .expand-icon {
    opacity: 1;
    transform: translateY(0);
  }

  .oversea-card.expanded {
    min-height: 100px;
  }
}

/* Project页面新样式 */
.project-showcase {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  min-height: 800px;
  width: 100%;
  max-width: 1150px;
}

.project-left {
  width: 555px;
  flex-shrink: 0;
  position: relative;
}

.project-image-container {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
}

.project-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fff;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}



.project-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

.project-title::after {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #00d4aa;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}





.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-prompt-area {
  position: relative;
  flex: 1;
  min-height: 400px;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.project-prompt-text {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 0;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  background: transparent;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

.project-prompt-text:focus {
  outline: none;
  border: none;
}

.project-prompt-text:focus-visible {
  outline: none;
  border: none;
}

.project-prompt-area:focus-within {
  border: 1px solid #e5e7eb;
}

.project-copy-btn {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  box-shadow: none;
}

.project-copy-btn:hover {
  background: transparent;
  color: #374151;
  box-shadow: none;
}



@media (max-width: 1200px) {
  .project-showcase {
    flex-direction: column;
    gap: 0;
    min-height: auto;
    width: 100%;
  }
  
  .project-left {
    width: 100%;
  }
  
  .project-image-container {
    height: 400px;
  }
  
  .project-right {
    padding: 24px;
  }
  
  .project-title {
    font-size: 24px;
  }
  
  .project-prompt-area {
    min-height: 300px;
  }
  
  .project-prompt-text {
    min-height: 300px;
    padding: 16px;
    font-size: 14px;
  }
}

/* 项目列表区域样式 */
.project-list-section {
  padding: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 4px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.project-stats {
  font-size: 14px;
  color: #6b7280;
  padding: 6px 12px;
  background: transparent;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* 项目网格布局 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* 项目卡片样式 */
.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: #e2e8f0;
}

.project-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.project-card-preview {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-actions {
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}

.view-btn {
  background: #6366f1;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.view-btn:hover {
  background: #5855e6;
  transform: translateY(-1px);
}

/* 项目详情区域样式更新 */
.project-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.project-back-btn {
  background: transparent;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-back-btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.project-copy-btn {
  background: transparent;
  color: #6b7280;
  border: none;
  border-radius: 0;
  padding: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.project-copy-btn:hover {
  background: transparent;
  color: #374151;
  transform: none;
  box-shadow: none;
}

/* 分页容器样式 */
.pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
}

/* 分页导航样式 */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
  background: transparent;
  border-color: #d1d5db;
  color: #1f2937;
}

.pagination-btn:disabled {
  background: #f9fafb;
  border-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 16px;
}

.page-number {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
}

.page-number:hover {
  background: transparent;
  border-color: #d1d5db;
  color: #1f2937;
}

.page-number.active {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
}

.page-number.active:hover {
  background: #5855e6;
  border-color: #5855e6;
}

.page-ellipsis {
  color: #9ca3af;
  font-size: 14px;
  padding: 8px 4px;
}

.pagination-info {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

/* 加载状态样式 */
.loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #6366f1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-placeholder p {
  color: #6b7280;
  font-size: 16px;
  margin: 0;
}

.no-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.no-projects p {
  color: #9ca3af;
  font-size: 16px;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .project-card-content {
    padding: 16px;
  }
  
  .project-card-actions {
    padding: 12px 16px;
  }
  
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination-numbers {
    margin: 0 8px;
  }
  
  .pagination-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .page-number {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 36px;
  }
}

@media (max-width: 480px) {
  .project-grid {
    gap: 12px;
  }
  
  .project-card-image {
    height: 160px;
  }
  
  .project-card-content {
    padding: 12px;
  }
  
  .project-card-title {
    font-size: 16px;
  }
  
  .project-card-preview {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  
  .project-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .pagination-container {
    margin-top: 24px;
    padding: 16px 0;
  }
  
  .pagination-numbers {
    display: none;
  }
}

/* 项目导航按钮样式 - 移动到右侧区域 */
.project-navigation-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 20px 0;
}

.nav-btn {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-btn:hover:not(:disabled) {
  background: transparent;
  border-color: #d1d5db;
  color: #1f2937;
  transform: translateY(-1px);
}

.nav-btn:disabled {
  background: #f9fafb;
  border-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}



/* 响应式设计更新 */
@media (max-width: 768px) {
  .project-navigation-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 0;
  }
  
  .nav-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .project-navigation-buttons {
    gap: 8px;
    margin-top: 16px;
    padding: 12px 0;
  }
  
  .nav-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
}

/* 会员页面布局样式 */
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.main {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 60px);
  margin-left: 0;
  width: 100%;
}

.member-sidebar-wrapper {
  width: 200px;
  flex-shrink: 0;
}

.member-content {
  flex: 1;
  padding: 24px 32px;
  background: transparent;
  overflow-y: auto;
}

.member-center-content {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.prompt-manage-content {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.profile-content {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.invitation-content-wrapper {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.cooperation-content-wrapper {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.invite-history-content-wrapper {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

.invite-manage-content {
  flex: 1;
  padding: 24px 32px 24px 220px;
  background: transparent;
  overflow-y: auto;
}

/* 会员页面布局统一 - 强制对齐左间距为 220px (200px 侧栏 + 20px 间距) */
.container .main { margin-left: 0 !important; width: 100% !important; }
.container .main > .member-sidebar-wrapper { width: 200px !important; flex-shrink: 0; }
.container .main > .member-center-content,
.container .main > .prompt-manage-content,
.container .main > .profile-content,
.container .main > .cooperation-content-wrapper,
.container .main > .invitation-content-wrapper,
.container .main > .invite-history-content-wrapper,
.container .main > .invite-manage-content { padding-left: 220px !important; }

/* 邀请页面专属样式 - 按参考图设计 */
.invite-main-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
  overflow: hidden;
}

.invite-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}

.invite-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.invite-status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: #dbeafe;
  color: #1e40af;
}

.invite-status-success {
  background: #10b981;
  color: white;
}

.invite-card-content {
  padding: 32px;
}

.invite-info-item {
  margin-bottom: 24px;
}

.invite-info-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.invite-info-value {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invite-code-display {
  font-size: 20px;
  font-weight: 700;
  color: #3b82f6;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.invite-link-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  box-shadow: none;
  outline: none;
}

.invite-link-input:focus {
  border-color: #3b82f6;
  background: white;
}

.invite-copy-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.invite-copy-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.invite-stats-container {
  margin: 32px 0;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* 统一的统计网格系统 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stats-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  text-align: left;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.invite-card-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.invite-reward-tip {
  padding: 16px 24px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  font-size: 14px;
  color: #92400e;
  text-align: center;
  line-height: 1.5;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .invite-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
  }
  
  .invite-card-content {
    padding: 24px;
  }
  
  .invite-info-value {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-value {
    font-size: 24px;
  }
}

/* 邀请记录页面专属样式 */

.invite-history-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
  background: #f8f9fa;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.table-content {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.data-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #374151;
}

.commission-amount {
  color: #059669;
  font-weight: 600;
}

.empty-state {
  text-align: left;
  padding: 60px 20px;
  color: #6b7280;
}

.loading {
  text-align: left;
  padding: 40px;
  color: #6b7280;
}

/* 通用显示状态类 */
.hidden {
  display: none;
}

.visible-block {
  display: block;
}

.visible-table {
  display: table;
}

/* 邀请页面特定样式 */
.table-title {
  margin: 0;
  font-size: 18px;
}

.invite-link {
  margin-top: 10px;
}

/* 未登录用户提示样式 */
.member-login-prompt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-message {
  text-align: center;
  color: #bdc3c7;
}

.login-message svg {
  margin-bottom: 16px;
  opacity: 0.6;
}

.login-message h3 {
  font-size: 18px;
  color: #ecf0f1;
  margin: 0 0 8px 0;
}

.login-message p {
  font-size: 14px;
  margin: 0 0 20px 0;
  opacity: 0.8;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-actions .btn-primary,
.login-actions .btn-secondary {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.login-actions .btn-primary {
  background: #3b82f6;
  color: white;
}

.login-actions .btn-primary:hover {
  background: #2563eb;
}

.login-actions .btn-secondary {
  background: transparent;
  color: #bdc3c7;
  border: 1px solid #34495e;
}

.login-actions .btn-secondary:hover {
  background: #34495e;
  color: #ecf0f1;
}

/* 全局输入框样式重置 */
input[type="text"],
input[type="email"], 
input[type="password"],
input[type="search"],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* 提示词管理页面样式 */
.prompt-manage-header,
.invite-manage-header,
.invite-history-header,
.cooperation-header,
.member-center-header,
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 4px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

/* 提示词管理页面专用按钮样式 */
.btn-primary.prompt-btn {
  background: #000000;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary.prompt-btn:hover {
  background: #333333;
}

.btn-primary.prompt-btn:disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.btn-primary.prompt-btn:disabled:hover {
  background: #e5e7eb !important;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

/* 筛选区域 */
.prompt-filters {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.filter-group select,
.filter-group input {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  transition: border-color 0.2s ease;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #000000;
}

.filter-group input[type="text"] {
  width: 200px;
}

/* 提示词列表 */
.prompt-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.prompt-card {
  background: white;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.prompt-card:hover {
  border-color: #e5e7eb;
}

.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.prompt-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  margin-right: 12px;
}

.prompt-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-edit,
.btn-delete {
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-edit {
  color: #3b82f6;
  border-color: #3b82f6;
}

.btn-edit:hover {
  background: #3b82f6;
  color: white;
}

.btn-delete {
  color: #ef4444;
  border-color: #ef4444;
}

.btn-delete:hover {
  background: #ef4444;
  color: white;
}

.prompt-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.prompt-type {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.prompt-type.text-to-image {
  background: #10b981;
}

.prompt-type.text-to-video {
  background: #8b5cf6;
}

.prompt-type.text-to-audio {
  background: #f59e0b;
}

.prompt-type.text-to-text {
  background: #3b82f6;
}

.prompt-type.image-to-image {
  background: #06b6d4;
}

.prompt-type.other {
  background: #6b7280;
}

.prompt-date {
  font-size: 12px;
  color: #6b7280;
}

.prompt-content {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 14px;
}

.prompt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #f3f4f6;
  color: #374151;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid #e5e7eb;
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 6px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #374151;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0 0 12px 12px;
}

/* 表单样式 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000000;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-help {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-left: auto;
}

/* 状态样式 */
.loading-placeholder,
.no-data,
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.no-data p,
.error-message p {
  color: #6b7280;
  font-size: 16px;
  margin: 0;
}

.error-message p {
  color: #ef4444;
}

/* 消息提示 */
.message-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.message-toast.show {
  transform: translateX(0);
}

.message-toast.success {
  background: #10b981;
}

.message-toast.error {
  background: #ef4444;
}

.message-toast.info {
  background: #3b82f6;
}

/* 分页控制样式 */
.pagination-controls {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.pagination-btn {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 20px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.pagination-btn:disabled {
  background: #f9fafb;
  border-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  text-align: center;
}

.pagination-info span {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .main {
    flex-direction: column;
  }
  
  .member-sidebar-wrapper {
    width: 100%;
    position: relative;
  }
  
  .member-sidebar {
    height: auto;
  }
  
  .member-nav {
    padding: 10px 0;
  }
  
  .nav-section {
    margin-bottom: 16px;
  }
  
  .member-content {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .member-header {
    padding: 16px 20px;
  }
  
  .member-avatar {
    width: 40px;
    height: 40px;
  }
  
  .member-name {
    font-size: 14px;
  }
  
  .nav-section-title {
    padding: 6px 20px;
    font-size: 11px;
  }
  
  .nav-link {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .prompt-manage-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .page-title {
    font-size: 24px;
  }
  
  .prompt-filters {
    flex-direction: column;
    gap: 16px;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .filter-group input[type="text"] {
    width: 100%;
  }
  
  .prompt-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .modal-content {
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .pagination-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

/* 邀请页面样式 */
.invitation-header,
.cooperation-header,
.profile-header,
.member-center-header {
  margin-bottom: 32px;
}

.page-subtitle {
  color: #6b7280;
  font-size: 16px;
  margin: 8px 0 0 0;
}

.invitation-card,
.cooperation-card,
.profile-card {
  background: white;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.invite-history-card {
  background: transparent;
  border: none;
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.card-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.status-badge {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* 邀请内容样式 */
.invitation-content,
.cooperation-content {
  padding: 24px;
}

.invite-item {
  margin-bottom: 20px;
}

.invite-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.invite-value {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invite-code {
  font-size: 18px;
  font-weight: 600;
  color: #3b82f6;
  font-family: 'Courier New', monospace;
}

.invite-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
}

.copy-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.invite-actions {
  margin-top: 24px;
}

/* 合作页面样式 */
.coop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coop-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: none;
  border-radius: 0;
  border: none;
}

.coop-card-indicator {
  width: 5px;
  height: 48px;
  border-radius: 3px;
  margin-right: 18px;
  margin-top: 2px;
}

.coop-card-content {
  flex: 1;
}

.coop-card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.coop-card-list {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: disc;
}

.coop-card-list li {
  margin-bottom: 8px;
  color: #374151;
  line-height: 1.5;
}

/* 个人设置页面样式 */
.profile-form {
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.disabled {
  background: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.form-help {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-left: auto;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 会员中心页面样式 */
.member-status-card {
  background: #ffffff; /* 白色背景 */
  color: #111827; /* 深灰文字以增强对比 */
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.status-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 会员中心：邀请奖励提示条 */
.invite-reward-banner {
  background: #fff7e6; /* 浅黄背景 */
  border: 1.5px solid #f6c16b; /* 橙色描边 */
  color: #6b7280;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.invite-reward-banner .invite-highlight {
  color: #10b981; /* 30% 绿色高亮 */
  font-weight: 700;
}
.invite-reward-banner .invite-subtext {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.member-level {
  flex: 1;
}

.level-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.level-progress {
  max-width: 300px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #d1d5db; /* 略深一档，保证与卡片对比 */
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  opacity: 0.9;
}

.member-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

/* 快捷功能 */
.quick-actions {
  margin-bottom: 32px;
}

.quick-actions h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.action-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #e5e7eb;
}

.action-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.action-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.action-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}



/* 会员权益 */
.member-benefits h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.benefit-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  margin: 0 auto 12px auto;
}

.benefit-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.benefit-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .status-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .member-stats {
    gap: 20px;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .action-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* 视频提示词生成器页面样式 */
.content.video-prompt-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video-prompt-container {
  width: 1050px;
  background: var(--card-bg);
  padding: 32px;
  border-radius: 0;
}



.video-prompt-card {
  background: transparent;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: none;
}

.video-prompt-label {
  font-weight: 600;
  display: block;
  margin-top: 15px;
  margin-bottom: 8px;
  color: var(--card-title-color);
  font-size: 14px;
}

.video-prompt-label:first-child {
  margin-top: 0;
}

.video-prompt-input,
.video-prompt-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: none !important;
  box-sizing: border-box;
}

.video-prompt-input:focus,
.video-prompt-select:focus {
  outline: none !important;
  border-color: #dee2e6 !important;
  box-shadow: none !important;
  transform: none !important;
}

.video-prompt-input:hover,
.video-prompt-select:hover {
  transition: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.video-prompt-input::placeholder {
  color: #868e96;
}

.video-prompt-generate-btn {
  width: 100%;
  padding: 16px 24px;
  background: #f8f9fa;
  color: #333333;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: none;
  margin-bottom: 15px;
}

.video-prompt-generate-btn:hover {
  background: #e9ecef;
}

.video-prompt-generate-btn:active {
  background: #dee2e6;
}

.video-prompt-output-block {
  margin-bottom: 15px;
  padding: 20px;
  background: transparent;
  border-radius: 12px;
  border: none;
}

.video-prompt-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.video-prompt-output-header strong {
  color: var(--card-title-color);
  font-size: 16px;
  font-weight: 600;
}

.video-prompt-copy-btn {
  padding: 8px 16px;
  background: transparent;
  color: #666666;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-prompt-copy-btn:hover {
  background: #f5f5f5;
  color: #333333;
}

.video-prompt-copy-btn:active {
  background: #eeeeee;
}

.video-prompt-output-content {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  font-size: 14px;
  line-height: 1.6;
  color: var(--card-desc-color);
  min-height: 60px;
  word-wrap: break-word;
}

/* 响应式布局 */
@media (max-width: 1100px) {
  
  .video-prompt-container {
    padding: 24px;
  }
  
  .video-prompt-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .video-prompt-card {
    padding: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  
  .video-prompt-container {
    padding: 20px;
  }
  
  .video-prompt-title {
    font-size: 22px;
  }
  
  .video-prompt-card {
    padding: 16px;
  }
  
  .video-prompt-output-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .video-prompt-copy-btn {
    align-self: stretch;
  }
}