/* ========================================
   预编译 Tailwind CSS - Favicon Pro
   生成时间: 2024-11-24
   包含 289 个实际使用的类
   ======================================== */

/* === 1. CSS 重置和基础样式 === */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    line-height: inherit;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button {
    background-color: transparent;
    background-image: none;
    cursor: pointer;
}

img, svg {
    display: block;
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

/* === 2. Tailwind 工具类 === */

/* 定位 */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-\[-10\%\] { top: -10%; }
.left-\[-10\%\] { left: -10%; }
.bottom-\[-10\%\] { bottom: -10%; }
.right-\[-10\%\] { right: -10%; }
.top-\[20\%\] { top: 20%; }
.right-\[10\%\] { right: 10%; }
.top-0 { top: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }

/* Z-index */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.-z-10 { z-index: -10; }

/* 显示 */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.inline-grid { display: inline-grid; }
.grid { display: grid; }
.hidden { display: none; }

/* Flex布局 */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

/* Grid布局 */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* 宽度 */
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-3 { width: 0.75rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-12 { width: 3rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.w-\[20\%\] { width: 20%; }
.w-\[40\%\] { width: 40%; }

/* 高度 */
.h-1\.5 { height: 0.375rem; }
.h-3 { height: 0.75rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-\[20\%\] { height: 20%; }
.h-\[40\%\] { height: 40%; }

/* 最小/最大尺寸 */
.min-h-screen { min-height: 100vh; }
.min-h-\[32px\] { min-height: 32px; }
.min-w-0 { min-width: 0; }
.min-w-\[300px\] { min-width: 300px; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[70\%\] { max-width: 70%; }
.max-h-\[70\%\] { max-height: 70%; }

/* 外边距 */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }

/* 内边距 */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.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-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.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-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pr-3 { padding-right: 0.75rem; }

/* 空间 */
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-16 > :not([hidden]) ~ :not([hidden]) { margin-top: 4rem; }

/* 溢出 */
.overflow-hidden { overflow: hidden; }

/* 圆角 */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* 边框 */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t-transparent { border-top-color: transparent; }
.border-gray-100 { border-color: rgb(243 244 246); }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-gray-200\/50 { border-color: rgb(229 231 235 / 0.5); }
.border-gray-700 { border-color: rgb(55 65 81); }
.border-gray-800\/50 { border-color: rgb(31 41 55 / 0.5); }
.border-brand-100 { border-color: rgb(204 251 241); }
.border-brand-200 { border-color: rgb(153 246 228); }
.border-brand-500 { border-color: rgb(20 184 166); }
.border-red-200 { border-color: rgb(254 202 202); }
.border-red-800 { border-color: rgb(153 27 27); }

/* 背景颜色 */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: rgb(255 255 255); }
.bg-white\/50 { background-color: rgb(255 255 255 / 0.5); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-gray-800 { background-color: rgb(31 41 55); }
.bg-gray-900 { background-color: rgb(17 24 39); }
.bg-black { background-color: rgb(0 0 0); }
.bg-black\/50 { background-color: rgb(0 0 0 / 0.5); }
.bg-red-50 { background-color: rgb(254 242 242); }
.bg-red-100 { background-color: rgb(254 226 226); }
.bg-brand-50 { background-color: rgb(240 253 250); }
.bg-brand-500 { background-color: rgb(20 184 166); }
.bg-brand-600 { background-color: rgb(13 148 136); }
.bg-blue-500\/20 { background-color: rgb(59 130 246 / 0.2); }
.bg-brand-500\/20 { background-color: rgb(20 184 166 / 0.2); }
.bg-purple-500\/20 { background-color: rgb(168 85 247 / 0.2); }

/* 背景渐变 */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-brand-400 { --tw-gradient-from: rgb(45 212 191); --tw-gradient-to: rgb(45 212 191 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-brand-500 { --tw-gradient-from: rgb(20 184 166); --tw-gradient-to: rgb(20 184 166 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-blue-600 { --tw-gradient-to: rgb(37 99 235); }

/* 背景裁剪 */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* 文字颜色 */
.text-transparent { color: transparent; }
.text-white { color: rgb(255 255 255); }
.text-black { color: rgb(0 0 0); }
.text-gray-100 { color: rgb(243 244 246); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-gray-900 { color: rgb(17 24 39); }
.text-red-600 { color: rgb(220 38 38); }
.text-red-700 { color: rgb(185 28 28); }
.text-red-900 { color: rgb(127 29 29); }
.text-green-500 { color: rgb(34 197 94); }
.text-brand-400 { color: rgb(45 212 191); }
.text-brand-600 { color: rgb(13 148 136); }
.text-brand-700 { color: rgb(15 118 110); }

/* 字体大小 */
.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-5xl { font-size: 3rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }

/* 字体粗细 */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* 文本对齐 */
.text-center { text-align: center; }

/* 文本装饰 */
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.break-all { word-break: break-all; }
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 阴影 */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-brand-500\/20 { box-shadow: 0 10px 15px -3px rgb(20 184 166 / 0.2), 0 4px 6px -4px rgb(20 184 166 / 0.2); }

/* 透明度 */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }

/* 模糊 */
.blur { filter: blur(8px); }
.blur-\[80px\] { filter: blur(80px); }
.blur-\[120px\] { filter: blur(120px); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* 对象适配 */
.object-contain { object-fit: contain; }

/* 指针事件 */
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* 用户选择 */
.selection\:bg-brand-500::selection { background-color: rgb(20 184 166); }
.selection\:text-white::selection { color: rgb(255 255 255); }

/* 过渡 */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* 变换 */
.translate-y-24 { transform: translateY(6rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.scale-110 { transform: scale(1.1); }
.-inset-0\.5 { top: -0.125rem; right: -0.125rem; bottom: -0.125rem; left: -0.125rem; }

/* 动画 */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-slide-up { animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hover 状态 */
.hover\:bg-gray-50:hover { background-color: rgb(249 250 251); }
.hover\:bg-gray-100:hover { background-color: rgb(243 244 246); }
.hover\:bg-gray-200:hover { background-color: rgb(229 231 235); }
.hover\:bg-gray-700:hover { background-color: rgb(55 65 81); }
.hover\:bg-brand-100:hover { background-color: rgb(204 251 241); }
.hover\:bg-brand-700:hover { background-color: rgb(15 118 110); }
.hover\:text-brand-600:hover { color: rgb(13 148 136); }
.hover\:text-white:hover { color: rgb(255 255 255); }
.hover\:text-red-500:hover { color: rgb(239 68 68); }
.hover\:text-red-600:hover { color: rgb(220 38 38); }
.hover\:border-brand-300:hover { border-color: rgb(94 234 212); }
.hover\:border-brand-500:hover { border-color: rgb(20 184 166); }
.hover\:opacity-50:hover { opacity: 0.5; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Group hover */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-50 { opacity: 0.5; }

/* Focus 状态 */
.focus\:ring-0:focus { box-shadow: 0 0 0 0 transparent; }

/* 深色模式 */
.dark .dark\:bg-black { background-color: rgb(0 0 0); }
.dark .dark\:bg-black\/50 { background-color: rgb(0 0 0 / 0.5); }
.dark .dark\:bg-white { background-color: rgb(255 255 255); }
.dark .dark\:bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.dark .dark\:bg-gray-700 { background-color: rgb(55 65 81); }
.dark .dark\:bg-gray-800 { background-color: rgb(31 41 55); }
.dark .dark\:bg-gray-900 { background-color: rgb(17 24 39); }
.dark .dark\:bg-red-900\/20 { background-color: rgb(127 29 29 / 0.2); }
.dark .dark\:bg-brand-900\/20 { background-color: rgb(19 78 74 / 0.2); }
.dark .dark\:text-white { color: rgb(255 255 255); }
.dark .dark\:text-black { color: rgb(0 0 0); }
.dark .dark\:text-gray-100 { color: rgb(243 244 246); }
.dark .dark\:text-gray-300 { color: rgb(209 213 219); }
.dark .dark\:text-gray-400 { color: rgb(156 163 175); }
.dark .dark\:text-gray-500 { color: rgb(107 114 128); }
.dark .dark\:text-red-100 { color: rgb(254 226 226); }
.dark .dark\:text-red-300 { color: rgb(252 165 165); }
.dark .dark\:text-brand-300 { color: rgb(94 234 212); }
.dark .dark\:text-brand-400 { color: rgb(45 212 191); }
.dark .dark\:border-gray-700 { border-color: rgb(55 65 81); }
.dark .dark\:border-gray-800 { border-color: rgb(31 41 55); }
.dark .dark\:border-gray-800\/50 { border-color: rgb(31 41 55 / 0.5); }
.dark .dark\:border-red-800 { border-color: rgb(153 27 27); }
.dark .dark\:border-brand-800 { border-color: rgb(17 94 89); }
.dark .dark\:border-brand-800\/50 { border-color: rgb(17 94 89 / 0.5); }

.dark .dark\:hover\:bg-white\/10:hover { background-color: rgb(255 255 255 / 0.1); }
.dark .dark\:hover\:bg-gray-700:hover { background-color: rgb(55 65 81); }
.dark .dark\:hover\:text-white:hover { color: rgb(255 255 255); }
.dark .dark\:hover\:border-brand-500:hover { border-color: rgb(20 184 166); }

/* 隐藏/显示 */
.dark\:hidden { display: none; }
.dark .dark\:block { display: block; }

/* 响应式 */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-left { text-align: left; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:w-auto { width: auto; }
    .md\:p-8 { padding: 2rem; }
    .md\:block { display: block; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* === 3. 自定义组件 === */

/* 玻璃拟态效果 */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.dark .glass-panel {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* 棋盘格背景 */
.checkerboard {
    background-color: #ffffff;
    background-image: 
        linear-gradient(45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(-45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #f1f5f9 75%), 
        linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.dark .checkerboard {
    background-color: #18181b;
    background-image: 
        linear-gradient(45deg, #27272a 25%, transparent 25%), 
        linear-gradient(-45deg, #27272a 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #27272a 75%), 
        linear-gradient(-45deg, transparent 75%, #27272a 75%);
}

/* Dark 变体特殊类 */
.dark .dark\:bg-dark-800 { background-color: #18181b; }

/* Aspect ratio */
.aspect-square { aspect-ratio: 1 / 1; }

/* Ring */
.ring-2 { box-shadow: 0 0 0 2px; }
.ring-red-500 { --tw-ring-color: rgb(239 68 68); box-shadow: 0 0 0 2px var(--tw-ring-color); }

/* Scroll behavior */
.scroll-smooth { scroll-behavior: smooth; }
