/* ═══════════════════════════════════════════════════
 * 我的模板页面样式 - V21 CSS变量体系
 * ═══════════════════════════════════════════════════ */
@import "../../styles/global.css";

.mt-page {
  padding: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.mt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.mt-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.mt-content {
  min-height: 400px;
}

/* 卡片样式 */
.mt-card {
  height: 100%;
  border-radius: var(--radius-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.mt-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.mt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.mt-card-meta {
  margin-bottom: 8px;
}

.mt-card-tags {
  margin-bottom: 8px;
}

.mt-card-config {
  margin-top: 4px;
}

/* 响应式 */
@media (max-width: 768px) {
  .mt-head {
    flex-direction: column;
    gap: 12px;
  }

  .mt-filters {
    flex-direction: column;
  }
}
