*,::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:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;-webkit-tap-highlight-color:transparent}
body{margin:0;line-height:inherit;background-color:#f9fafb;color:#1f2937;min-height:100vh;overscroll-behavior:none;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif}
h1,h2,h3,h4,h5,h6,p{margin:0}
a{color:inherit;text-decoration:inherit}
button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;background:transparent;cursor:pointer}
img{display:block;vertical-align:middle;max-width:100%;height:auto}

.flex{display:flex}.grid{display:grid}.block{display:block}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}
.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}
.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:40rem){.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:block{display:block}}
@media(min-width:48rem){.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:block{display:block}}

.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}
.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}
.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}
.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}
.pt-4{padding-top:1rem}.pr-12{padding-right:3rem}.pb-16{padding-bottom:4rem}.pl-4{padding-left:1rem}
.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}
.mr-3{margin-right:.75rem}.ml-2{margin-left:.5rem}
.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}

.w-full{width:100%}.w-6{width:1.5rem}.w-8{width:2rem}.w-10{width:2.5rem}.w-16{width:4rem}
.h-full{height:100%}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}
.min-h-screen{min-height:100vh}
.aspect-video{aspect-ratio:16/9}

.bg-white{background-color:#fff}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-gray-200{background-color:#e5e7eb}
.bg-pink-50{background-color:#fdf2f8}.bg-pink-500{background-color:#ec4899}.bg-pink-600{background-color:#db2777}
.bg-black{background-color:#000}.bg-black\/70{background-color:rgba(0,0,0,.7)}.bg-black\/80{background-color:rgba(0,0,0,.8)}
.bg-white\/20{background-color:rgba(255,255,255,.2)}.bg-white\/95{background-color:rgba(255,255,255,.95)}

.text-white{color:#fff}.text-white\/80{color:rgba(255,255,255,.8)}
.text-gray-300{color:#d1d5db}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}
.text-pink-500{color:#ec4899}.text-pink-600{color:#db2777}.text-pink-700{color:#be185d}
.text-blue-600{color:#2563eb}.text-green-500{color:#22c55e}.text-green-600{color:#16a34a}.text-yellow-600{color:#ca8a04}.text-red-500{color:#ef4444}.text-red-600{color:#dc2626}

.border{border-width:1px}.border-0{border-width:0}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}
.border-gray-100{border-color:#f3f4f6}.border-gray-200{border-color:#e5e7eb}.border-pink-500{border-color:#ec4899}
.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}

.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.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}
.font-medium{font-weight:500}.font-bold{font-weight:700}
.leading-tight{line-height:1.25}
.text-center{text-align:center}
.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}

.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}

.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}
.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.right-0{right:0}.right-1{right:.25rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}
.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}

.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}

.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.backdrop-blur-sm{backdrop-filter:blur(4px)}
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition-colors{transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.duration-300{transition-duration:.3s}

@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}

.cursor-default{cursor:default}.select-none{user-select:none}
.hover\:bg-gray-50:hover{background-color:#f9fafb}.hover\:bg-gray-200:hover{background-color:#e5e7eb}.hover\:bg-pink-50:hover{background-color:#fdf2f8}.hover\:bg-pink-500:hover{background-color:#ec4899}.hover\:bg-pink-600:hover{background-color:#db2777}
.hover\:text-pink-500:hover{color:#ec4899}.hover\:text-white:hover{color:#fff}
.hover\:underline:hover{text-decoration:underline}
.group:hover .group-hover\:scale-105{transform:scale(1.05)}
.group:hover .group-hover\:text-pink-500{color:#ec4899}

.safe-top{padding-top:env(safe-area-inset-top)}.safe-bottom{padding-bottom:env(safe-area-inset-bottom)}

img{background:#f3f4f6}
.object-cover{object-fit:cover}

.video-container{position:relative;width:100%;padding-bottom:56.25%;background:#000;overflow:hidden}
@media(min-width:1024px){.video-container{padding-bottom:0;height:70vh;max-height:600px}}
.video-container video{position:absolute;top:0;left:0;width:100%;height:100%}

.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}
.from-pink-500{--tw-gradient-from:#ec4899;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(236,72,153,0))}
.via-purple-500{--tw-gradient-via:#a855f7;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-via),var(--tw-gradient-to,rgba(168,85,247,0))}
.to-indigo-600{--tw-gradient-to:#4f46e5}

/* 性能优化 */
.content-visibility-auto{content-visibility:auto;contain-intrinsic-size:0 500px}
.will-change-transform{will-change:transform}

/* 触摸优化 - 减少300ms延迟 */
a,button{-ms-touch-action:manipulation;touch-action:manipulation}

/* 减少动画 + 移动端精简 */
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 图片占位防CLS */
img{aspect-ratio:16/9;background:#f3f4f6}
img[src='/favicon.png']{aspect-ratio:auto}
