/* 基础重置 + 本页用到的工具类（替代 2.9MB 全量 Tailwind） */
*,
*::before,
*::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}
html {
    -webkit-text-size-adjust: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}
body {
    margin: 0;
    line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}
p, figure, blockquote {
    margin: 0;
}
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    color: inherit;
    text-decoration: inherit;
}
img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}
button {
    font: inherit;
    color: inherit;
    background: transparent;
    margin: 0;
    padding: 0;
}

/* 布局 */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

/* 间距 */
.p-5 { padding: 1.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-3 { margin-top: 0.75rem; }
.mr-1 { margin-right: 0.25rem; }

/* 文字颜色 / 字号 / 字重 */
.text-white { color: #ffffff; }
.text-gray-700 { color: #374151; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-semibold { font-weight: 600; }

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:mb-0 { margin-bottom: 0; }
}
