/* ===== 皮肤站教程页面专属样式 ===== */

/* 教程导语 */
.tutorial-intro {
  text-align: center;
  margin-bottom: 30px;
}

.tutorial-intro h2 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
}

.tutorial-intro p {
  color: #666;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 步骤导航栏 */
.step-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 15px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.step-nav a {
  text-decoration: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.step-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(102,126,234,0.5);
  background: linear-gradient(135deg, #7b8ff0, #855cb8);
}

/* 教程步骤板块 */
.tutorial-step {
  background: rgba(255,255,255,0.92) !important;
  border-radius: 16px !important;
  padding: 30px !important;
  margin-top: 25px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid #667eea;
}

.tutorial-step h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8e8f0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  padding-left: 8px;
}

/* 子步骤 */
.sub-step {
  margin-bottom: 24px;
}

.sub-step:last-child {
  margin-bottom: 0;
}

.sub-step h3 {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.sub-step p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* URL 展示框 */
.url-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.95rem;
  margin: 8px 0;
  word-break: break-all;
  flex-wrap: wrap;
}

.url-box a, .url-box code {
  color: #4a6cf7;
  text-decoration: none;
}

.url-box a:hover {
  text-decoration: underline;
}

.copy-btn {
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
  font-family: inherit;
}

.copy-btn:hover {
  background: #764ba2;
}

/* 信息表格 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
}

.info-table th {
  background: #667eea;
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
}

.info-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  color: #555;
  vertical-align: top;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:nth-child(even) td {
  background: #f8f9ff;
}

.info-table em {
  color: #999;
  font-size: 0.85rem;
}

/* 提示框 */
.tip-box {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tip-box.info {
  background: #e8f0ff;
  border: 1px solid #b3d4ff;
  border-left: 4px solid #4a6cf7;
  color: #2c5282;
}

.tip-box.warn {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-left: 4px solid #faad14;
  color: #8c6900;
}

.tip-box strong {
  display: block;
  margin-bottom: 4px;
}

/* 清单列表 */
.check-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.check-list li {
  padding: 6px 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  color: #52c41a;
  margin-right: 10px;
  font-weight: bold;
}

.check-list a {
  color: #4a6cf7;
  text-decoration: none;
}

.check-list a:hover {
  text-decoration: underline;
}

/* 编号列表 */
.number-list {
  padding-left: 20px;
  margin: 10px 0;
}

.number-list li {
  padding: 5px 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.number-list li::before {
  content: none;
}

.number-list code {
  background: #f0f0f5;
  color: #764ba2;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* 模型对比 */
.model-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 10px 0;
}

.model-item {
  background: #f8f9ff;
  border: 1px solid #e0e0f0;
  border-radius: 10px;
  padding: 14px;
}

.model-item strong {
  display: block;
  color: #4a6cf7;
  margin-bottom: 6px;
  font-size: 1rem;
}

.model-item p {
  color: #777;
  margin: 0;
  font-size: 0.9rem;
}

/* 命令展示 */
.cmd-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.cmd-item {
  background: #f8f9ff;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #e0e0f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cmd-item code {
  font-family: 'Consolas', 'Courier New', monospace;
  background: #e8e8f5;
  color: #4a6cf7;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.cmd-item span {
  color: #555;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cmd-item em {
  color: #999;
  font-size: 0.85rem;
  width: 100%;
  display: block;
  margin-top: 2px;
}

/* FAQ 列表 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: #f5f5ff;
  border-color: #d0d0f0;
}

.faq-item h3 {
  color: #555;
  font-size: 1rem;
  margin-bottom: 8px;
  cursor: default;
}

.faq-answer {
  color: #666;
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-answer ol {
  padding-left: 20px;
  margin: 5px 0;
}

.faq-answer ol li {
  padding: 2px 0;
}

.faq-answer code {
  background: #f0f0f5;
  color: #764ba2;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.88rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .tutorial-step {
    padding: 20px !important;
  }

  .step-nav {
    gap: 8px;
    padding: 10px;
  }

  .step-nav a {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .model-compare {
    grid-template-columns: 1fr;
  }

  .cmd-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .url-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
