/* ─────────────────────────────────────────────────────────────
   图片工具通用页面容器样式（裁剪 / 压缩 / 调整大小 共用）
   与站点主题一致：深色背景 #09090b、卡片 #111827、主色 #2563eb
   ───────────────────────────────────────────────────────────── */
.it-main {
  flex: 1;
  background: radial-gradient(1200px 500px at 50% -200px, rgba(37, 99, 235, .12), transparent 60%), #09090b;
  color: #e5e7eb;
}
.it-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 16px 72px;
}
.it-hero { text-align: center; margin-bottom: 22px; }
.it-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .25);
  margin-bottom: 14px;
}
.it-title {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.it-sub {
  max-width: 760px;
  margin: 14px auto 0;
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.7;
}

/* 隐私提示条 */
.it-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .08);
  border: 1px solid rgba(16, 185, 129, .22);
  color: #6ee7b7;
  font-size: 13px;
  line-height: 1.6;
}
.it-privacy svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.it-privacy strong { color: #34d399; }

/* 主卡片 */
.it-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
@media (max-width: 640px) { .it-card { padding: 14px; } }

.it-error {
  display: none;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #fca5a5;
  font-size: 13px;
}
.it-error.show { display: block; }

.it-panel {
  background: #0f1522;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}
.it-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.it-field:last-child { margin-bottom: 0; }
.it-label { font-size: 13px; font-weight: 500; color: #d1d5db; }
.it-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.it-hint { font-size: 12px; color: #6b7280; line-height: 1.5; }

/* 上传区 */
.it-drop {
  border: 2px dashed #374151;
  border-radius: 14px;
  padding: 44px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.it-drop:hover, .it-drop.dragover { border-color: #3b82f6; background: rgba(59, 130, 246, .05); }
.it-drop-icon {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 16px; background: #1a1d24;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #6b7280;
}
.it-drop-title { color: #d1d5db; font-size: 15px; font-weight: 500; }
.it-drop-title .it-link { color: #60a5fa; text-decoration: underline; }
.it-drop-sub { color: #6b7280; font-size: 13px; margin-top: 6px; }

/* 区块 */
.it-section { margin-top: 60px; }
.it-section-title { font-size: 24px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 28px; }
.it-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.it-step { text-align: center; }
.it-num {
  width: 40px; height: 40px; border-radius: 999px; margin: 0 auto 12px;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.it-step h3 { color: #fff; font-weight: 600; font-size: 15px; }
.it-step p { color: #6b7280; font-size: 13px; line-height: 1.65; margin-top: 6px; }

.it-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.it-faq-item { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 18px 20px; }
.it-faq-item h3 { color: #fff; font-weight: 600; font-size: 15px; }
.it-faq-item p { color: #9ca3af; font-size: 14px; line-height: 1.7; margin-top: 7px; }

.it-related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.it-related a {
  display: flex; gap: 14px; align-items: flex-start;
  background: #111827; border: 1px solid #1f2937; border-radius: 12px;
  padding: 18px; text-decoration: none; transition: border-color .15s;
}
.it-related a:hover { border-color: #3b82f6; }
.it-related .ico {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: rgba(59, 130, 246, .12); color: #60a5fa;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.it-related strong { display: block; color: #fff; font-size: 14px; }
.it-related span { display: block; color: #6b7280; font-size: 12px; line-height: 1.5; margin-top: 3px; }

@media (max-width: 768px) {
  .it-wrap { padding: 30px 14px 52px; }
  .it-steps { grid-template-columns: 1fr; }
  .it-related { grid-template-columns: 1fr; }
  .it-section { margin-top: 44px; }
}
