/* ==========================================================================
   导出阶段覆盖样式 (export.css)
   ========================================================================== */

/* 微信导出图片模态框 */
.wechat-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.wechat-image-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.wechat-image-overlay img {
  max-width: 85%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}
.wechat-image-overlay .hint-text {
  color: #fff;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  pointer-events: none;
}
.wechat-image-overlay .close-hint {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}

/* 导出结果1时的样式优化：强制横向排列，使图片更紧凑 */
html.exporting-results body {
  width: 1200px !important;
  min-width: 1200px !important;
  margin: 0 auto;
  overflow: visible !important;
}
html.exporting-results .container {
  width: 100% !important;
  max-width: none !important;
  padding: 20px !important;
  box-sizing: border-box;
}
html.exporting-results .results-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  padding: 20px 20px 20px 70px !important;
}
html.exporting-results .results-row-title {
  position: absolute !important;
  left: 20px !important;
  top: 20px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  flex-direction: column !important;
}
html.exporting-results .results-row-label {
  position: static !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  margin-bottom: 5px !important;
  font-size: 24px !important;
}
html.exporting-results .results-row-subtitle {
  display: none !important;
}
html.exporting-results .results-row-cards {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  width: auto !important;
  margin-left: 10px !important;
}
html.exporting-results .advantage-card {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
html.exporting-results .advantage-card-front-content {
  gap: 12px !important;
}
html.exporting-results .advantage-card-icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 32px !important;
}
html.exporting-results .advantage-card-name {
  font-size: 20px !important;
  font-weight: 700 !important;
}
html.exporting-results .advantage-card-score-tag {
  font-size: 14px !important;
}

/* 隐藏不必要的元素 */
html.exporting-results .skip-guide-btn,
html.exporting-results .export-btn,
html.exporting-results .reset-btn,
html.exporting-results .consult-btn-wrapper,
html.exporting-results #tooltipBackdrop,
html.exporting-results .validation-success,
html.exporting-results .chat-coach-container {
  display: none !important;
}

html.exporting-results .drop-areas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  overflow: visible !important;
}
html.exporting-results .drop-area {
  flex: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 200px !important;
}
html.exporting-results .card {
  width: auto !important;
  min-width: 60px !important;
  font-size: 12px !important;
  padding: 5px !important;
  margin: 3px !important;
}

html.exporting-results .advantage-card-inner {
  transform: none !important;
}
html.exporting-results .advantage-card-front {
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}
html.exporting-results .advantage-card-back {
  display: none !important;
}


/* 导出结果2时的样式优化 (v2 for full page export) */
html.exporting-results-2 body,
html.exporting-results-v2 body {
  width: 1200px !important;
  min-width: 1200px !important;
  margin: 0 auto;
  overflow: visible !important;
}
html.exporting-results-2 .container,
html.exporting-results-v2 .container {
  width: 100% !important;
  max-width: none !important;
  padding: 20px !important;
  box-sizing: border-box;
}
html.exporting-results-2 .results-row,
html.exporting-results-v2 .results-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  padding: 20px 20px 20px 70px !important;
}
html.exporting-results-2 .results-row-title,
html.exporting-results-v2 .results-row-title {
  position: absolute !important;
  left: 20px !important;
  top: 20px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  flex-direction: column !important;
}
html.exporting-results-2 .results-row-label,
html.exporting-results-v2 .results-row-label {
  position: static !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  margin-bottom: 5px !important;
  font-size: 24px !important;
}
html.exporting-results-2 .results-row-subtitle,
html.exporting-results-v2 .results-row-subtitle {
  display: none !important;
}
html.exporting-results-2 .results-row-cards,
html.exporting-results-v2 .results-row-cards {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  width: auto !important;
  margin-left: 10px !important;
}
html.exporting-results-2 .advantage-card,
html.exporting-results-v2 .advantage-card {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
html.exporting-results-2 .advantage-card-front-content,
html.exporting-results-v2 .advantage-card-front-content {
  gap: 12px !important;
}
html.exporting-results-2 .advantage-card-icon,
html.exporting-results-v2 .advantage-card-icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 32px !important;
}
html.exporting-results-2 .advantage-card-name,
html.exporting-results-v2 .advantage-card-name {
  font-size: 20px !important;
  font-weight: 700 !important;
}
html.exporting-results-2 .advantage-card-score-tag,
html.exporting-results-v2 .advantage-card-score-tag {
  font-size: 14px !important;
}

/* 隐藏不必要的元素 */
html.exporting-results-2 .skip-guide-btn,
html.exporting-results-2 .export-btn,
html.exporting-results-2 .reset-btn,
html.exporting-results-2 .consult-btn-wrapper,
html.exporting-results-2 #tooltipBackdrop,
html.exporting-results-2 .validation-success,
html.exporting-results-2 .chat-coach-container,
html.exporting-results-v2 .skip-guide-btn,
html.exporting-results-v2 .export-btn,
html.exporting-results-v2 .reset-btn,
html.exporting-results-v2 .consult-btn-wrapper,
html.exporting-results-v2 #tooltipBackdrop,
html.exporting-results-v2 .validation-success,
html.exporting-results-v2 .chat-coach-container {
  display: none !important;
}

html.exporting-results-2 .drop-areas,
html.exporting-results-v2 .drop-areas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  overflow: visible !important;
}
html.exporting-results-2 .drop-area,
html.exporting-results-v2 .drop-area {
  flex: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 200px !important;
}
html.exporting-results-2 .card,
html.exporting-results-v2 .card {
  width: auto !important;
  min-width: 60px !important;
  font-size: 12px !important;
  padding: 5px !important;
  margin: 3px !important;
}

html.exporting-results-2 .advantage-card-inner {
  transform: none !important;
}
html.exporting-results-2 .advantage-card-front {
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}
html.exporting-results-2 .advantage-card-back {
  display: none !important;
}