/* Tailwind CSS v3.3.0 - 精简版 */

/* 基础重置 */
*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}

/* 容器和布局 */
.container{width:100%}
.container-fluid{width:100%}

/* Flexbox */
.flex{display:flex}
.inline-flex{display:inline-flex}
.flex-col{flex-direction:column}
.flex-row{flex-direction:row}
.flex-wrap{flex-wrap:wrap}
.flex-nowrap{flex-wrap:nowrap}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.items-end{align-items:flex-end}
.justify-center{justify-content:center}
.justify-between{justify-content:space-between}
.justify-start{justify-content:flex-start}
.justify-end{justify-content:flex-end}
.flex-1{flex:1 1 0%}
.flex-auto{flex:1 1 auto}
.flex-none{flex:none}

/* Grid */
.grid{display:grid}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}
.gap-1{gap:0.25rem}
.gap-2{gap:0.5rem}
.gap-3{gap:0.75rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}

/* 间距 */
.p-0{padding:0}
.p-1{padding:0.25rem}
.p-2{padding:0.5rem}
.p-3{padding:0.75rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.px-2{padding-left:0.5rem;padding-right:0.5rem}
.px-3{padding-left:0.75rem;padding-right:0.75rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.py-1{padding-top:0.25rem;padding-bottom:0.25rem}
.py-2{padding-top:0.5rem;padding-bottom:0.5rem}
.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}

.m-0{margin:0}
.m-1{margin:0.25rem}
.m-2{margin:0.5rem}
.m-3{margin:0.75rem}
.m-4{margin:1rem}
.m-6{margin:1.5rem}
.m-8{margin:2rem}
.mx-auto{margin-left:auto;margin-right:auto}
.my-2{margin-top:0.5rem;margin-bottom:0.5rem}
.my-4{margin-top:1rem;margin-bottom:1rem}
.my-6{margin-top:1.5rem;margin-bottom:1.5rem}
.mt-2{margin-top:0.5rem}
.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}
.mb-2{margin-bottom:0.5rem}
.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}

/* 文本 */
.text-xs{font-size:0.75rem;line-height:1rem}
.text-sm{font-size:0.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}
.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}

.font-thin{font-weight:100}
.font-light{font-weight:300}
.font-normal{font-weight:400}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}

.text-left{text-align:left}
.text-center{text-align:center}
.text-right{text-align:right}

.text-white{color:rgb(255 255 255)}
.text-black{color:rgb(0 0 0)}
.text-gray-100{color:rgb(243 244 246)}
.text-gray-200{color:rgb(229 231 235)}
.text-gray-300{color:rgb(209 213 219)}
.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-blue-500{color:rgb(59 130 246)}
.text-blue-600{color:rgb(37 99 235)}
.text-blue-700{color:rgb(29 78 216)}
.text-blue-800{color:rgb(30 64 175)}

.text-red-500{color:rgb(239 68 68)}
.text-red-600{color:rgb(220 38 38)}
.text-green-500{color:rgb(34 197 94)}
.text-yellow-500{color:rgb(234 179 8)}

/* 背景 */
.bg-white{background-color:rgb(255 255 255)}
.bg-black{background-color:rgb(0 0 0)}
.bg-gray-50{background-color:rgb(249 250 251)}
.bg-gray-100{background-color:rgb(243 244 246)}
.bg-gray-200{background-color:rgb(229 231 235)}
.bg-gray-800{background-color:rgb(31 41 55)}
.bg-gray-900{background-color:rgb(17 24 39)}

.bg-blue-500{background-color:rgb(59 130 246)}
.bg-blue-600{background-color:rgb(37 99 235)}
.bg-blue-700{background-color:rgb(29 78 216)}
.bg-blue-800{background-color:rgb(30 64 175)}
.bg-blue-900{background-color:rgb(30 58 138)}

.bg-red-500{background-color:rgb(239 68 68)}
.bg-green-500{background-color:rgb(34 197 94)}
.bg-yellow-400{background-color:rgb(250 204 21)}
.bg-yellow-500{background-color:rgb(234 179 8)}

/* 边框 */
.border{border-width:1px}
.border-0{border-width:0px}
.border-2{border-width:2px}
.border-t{border-top-width:1px}
.border-b{border-bottom-width:1px}
.border-l{border-left-width:1px}
.border-r{border-right-width:1px}

.border-gray-200{border-color:rgb(229 231 235)}
.border-gray-300{border-color:rgb(209 213 219)}
.border-blue-500{border-color:rgb(59 130 246)}
.border-blue-600{border-color:rgb(37 99 235)}

.rounded{border-radius:0.25rem}
.rounded-sm{border-radius:0.125rem}
.rounded-md{border-radius:0.375rem}
.rounded-lg{border-radius:0.5rem}
.rounded-xl{border-radius:0.75rem}
.rounded-2xl{border-radius:1rem}
.rounded-full{border-radius:9999px}

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

/* 位置 */
.relative{position:relative}
.absolute{position:absolute}
.fixed{position:fixed}
.sticky{position:sticky}

.top-0{top:0px}
.right-0{right:0px}
.bottom-0{bottom:0px}
.left-0{left:0px}

/* 宽度和高度 */
.w-full{width:100%}
.w-auto{width:auto}
.w-1\/2{width:50%}
.w-1\/3{width:33.333333%}
.w-2\/3{width:66.666667%}
.w-1\/4{width:25%}
.w-3\/4{width:75%}

.h-full{height:100%}
.h-auto{height:auto}
.h-screen{height:100vh}
.min-h-screen{min-height:100vh}

/* 阴影 */
.shadow{box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)}
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05)}
.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}
.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)}

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

/* 变换 */
.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}

/* 悬停效果 */
.hover\:bg-blue-600:hover{background-color:rgb(37 99 235)}
.hover\:bg-blue-700:hover{background-color:rgb(29 78 216)}
.hover\:text-white:hover{color:rgb(255 255 255)}
.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}

/* 焦点效果 */
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}
.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}
.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246 / var(--tw-ring-opacity))}

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

@media (min-width: 768px) {
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .md\:px-8{padding-left:2rem;padding-right:2rem}
  .md\:py-12{padding-top:3rem;padding-bottom:3rem}
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
  .lg\:px-12{padding-left:3rem;padding-right:3rem}
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
}
