/*
 * Tailwind CSS Utilities (手动提取的常用类)
 */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; line-height: 1.5; }

/* Container */
.container { width: 100%; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing */
.p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Flex & Grid */
.flex { display: flex; } .inline-block { display: inline-block; } .block { display: block; } .grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Text */
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-bold { font-weight: 700; } .font-normal { font-weight: 400; } .font-mono { font-family: ui-monospace, monospace; }
.leading-relaxed { line-height: 1.625; }
.break-all { word-break: break-all; }

/* Colors */
.text-white { color: #fff; }
.text-slate-300 { color: #cbd5e1; } .text-slate-400 { color: #94a3b8; } .text-slate-500 { color: #64748b; }
.text-emerald-400 { color: #34d399; }
.text-yellow-400 { color: #facc15; }
.text-purple-400 { color: #c084fc; }
.text-pink-300 { color: #f9a8d4; } .text-pink-400 { color: #f472b6; }
.text-blue-400 { color: #60a5fa; }
.text-amber-400 { color: #fbbf24; }
.text-rose-400 { color: #fb7185; }
.bg-slate-700 { background-color: #334155; } .bg-slate-800 { background-color: #1e293b; }
.bg-emerald-600 { background-color: #059669; } .hover\:bg-emerald-500:hover { background-color: #10b981; }
.bg-blue-600 { background-color: #2563eb; } .hover\:bg-blue-500:hover { background-color: #3b82f6; }
.hover\:bg-slate-600:hover { background-color: #475569; }

/* Borders */
.border { border-width: 1px; }
.border-slate-600 { border-color: #475569; } .border-slate-700 { border-color: #334155; } .border-slate-800 { border-color: #1e293b; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); } .border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.border-pink-500\/30 { border-color: rgba(236, 72, 153, 0.3); }
.rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; } .rounded-2xl { border-radius: 1rem; }
.border-b { border-bottom-width: 1px; }

/* Background Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-emerald-600 { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-teal-600 { --tw-gradient-to: #0d9488; }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-purple-600 { --tw-gradient-to: #9333ea; }
.from-purple-900\/50 { --tw-gradient-from: rgba(88, 28, 135, 0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-pink-900\/50 { --tw-gradient-to: rgba(131, 24, 67, 0.5); }
.from-amber-900\/50, .from-amber-900\/60 { --tw-gradient-from: rgba(120, 53, 15, 0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-orange-900\/60 { --tw-gradient-stops: var(--tw-gradient-from), rgba(124, 45, 18, 0.6), var(--tw-gradient-to, transparent); }
.to-orange-900\/50, .to-red-900\/60 { --tw-gradient-to: rgba(127, 29, 29, 0.6); }
.from-emerald-900\/30 { --tw-gradient-from: rgba(6, 78, 59, 0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-emerald-900\/50 { --tw-gradient-from: rgba(6, 78, 59, 0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-pink-900\/50 { --tw-gradient-from: rgba(131, 24, 67, 0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-rose-900\/30 { --tw-gradient-from: rgba(136, 19, 55, 0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

/* Sizing */
.w-full { width: 100%; }

/* Effects */
.cursor-pointer { cursor: pointer; } .outline-none { outline: none; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:border-emerald-500\/50:hover { border-color: rgba(16, 185, 129, 0.5); }
.hover\:border-blue-500\/50:hover { border-color: rgba(59, 130, 246, 0.5); }
.hover\:border-purple-500\/50:hover { border-color: rgba(168, 85, 247, 0.5); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-rose-400:hover { color: #fb7185; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.overflow-x-auto { overflow-x: auto; }

/* Positioning */
.fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; }
.bottom-6 { bottom: 1.5rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.z-50 { z-index: 50; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }

/* Animations */
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Focus */
.focus\:border-emerald-500:focus { border-color: #10b981; }
.focus\:border-blue-500:focus { border-color: #3b82f6; }
