/* DQ Studio WordPress Theme - Complete Tailwind Styles */

/* ==================== 基础重置 ==================== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

body {
  background-color: #F9F8F6;
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ==================== 颜色类 - 背景 ==================== */
.bg-alabaster { background-color: #F9F8F6 !important; }
.bg-charcoal { background-color: #1A1A1A !important; }
.bg-taupe { background-color: #EBE5DE !important; }
.bg-warm-grey { background-color: #6C6863 !important; }
.bg-gold { background-color: #D4AF37 !important; }
.bg-white { background-color: #ffffff !important; }

.bg-charcoal\/5 { background-color: rgba(26, 26, 26, 0.05) !important; }
.bg-charcoal\/10 { background-color: rgba(26, 26, 26, 0.1) !important; }
.bg-charcoal\/30 { background-color: rgba(26, 26, 26, 0.3) !important; }
.bg-charcoal\/40 { background-color: rgba(26, 26, 26, 0.4) !important; }
.bg-charcoal\/90 { background-color: rgba(26, 26, 26, 0.9) !important; }

.bg-alabaster\/10 { background-color: rgba(249, 248, 246, 0.1) !important; }
.bg-alabaster\/20 { background-color: rgba(249, 248, 246, 0.2) !important; }

.bg-taupe\/60 { background-color: rgba(235, 229, 222, 0.6) !important; }

.text-alabaster\/20 { color: rgba(249, 248, 246, 0.2) !important; }
.text-alabaster\/60 { color: rgba(249, 248, 246, 0.6) !important; }

/* ==================== 颜色类 - 文字 ==================== */
.text-alabaster { color: #F9F8F6 !important; }
.text-charcoal { color: #1A1A1A !important; }
.text-taupe { color: #EBE5DE !important; }
.text-warm-grey { color: #6C6863 !important; }
.text-gold { color: #D4AF37 !important; }
.text-white { color: #ffffff !important; }

.text-charcoal\/5 { color: rgba(26, 26, 26, 0.05) !important; }
.text-charcoal\/10 { color: rgba(26, 26, 26, 0.1) !important; }
.text-charcoal\/40 { color: rgba(26, 26, 26, 0.4) !important; }
.text-charcoal\/60 { color: rgba(26, 26, 26, 0.6) !important; }
.text-charcoal\/80 { color: rgba(26, 26, 26, 0.8) !important; }
.text-charcoal\/90 { color: rgba(26, 26, 26, 0.9) !important; }

.text-warm-grey\/40 { color: rgba(108, 104, 99, 0.4) !important; }
.text-warm-grey\/60 { color: rgba(108, 104, 99, 0.6) !important; }
.text-warm-grey\/80 { color: rgba(108, 104, 99, 0.8) !important; }

.text-taupe\/60 { color: rgba(235, 229, 222, 0.6) !important; }

.text-alabaster\/70 { color: rgba(249, 248, 246, 0.7) !important; }
.text-alabaster\/90 { color: rgba(249, 248, 246, 0.9) !important; }

/* ==================== 边框颜色 ==================== */
.border-charcoal { border-color: #1A1A1A !important; }
.border-charcoal\/5 { border-color: rgba(26, 26, 26, 0.05) !important; }
.border-charcoal\/10 { border-color: rgba(26, 26, 26, 0.1) !important; }
.border-charcoal\/20 { border-color: rgba(26, 26, 26, 0.2) !important; }
.border-alabaster { border-color: #F9F8F6 !important; }
.border-alabaster\/20 { border-color: rgba(249, 248, 246, 0.2) !important; }
.border-alabaster\/70 { border-color: rgba(249, 248, 246, 0.7) !important; }
.border-gold { border-color: #D4AF37 !important; }

/* ==================== 字体类 ==================== */
.font-serif { font-family: "Playfair Display", serif !important; }
.font-sans { font-family: Inter, sans-serif !important; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }

.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* ==================== 文字大小 ==================== */
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }
.text-\[10px\] { font-size: 10px !important; }

/* 响应式文字大小 */
@media (min-width: 768px) {
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
}
@media (min-width: 1280px) {
  .xl\:text-9xl { font-size: 8rem; line-height: 1; }
  .xl\:p-12 { padding: 3rem !important; }
}

/* ==================== 字母间距 ==================== */
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-normal { letter-spacing: 0 !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.tracking-\[0\.1em\] { letter-spacing: 0.1em !important; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em !important; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em !important; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em !important; }
.tracking-widest-luxury { letter-spacing: 0.25em !important; }

/* ==================== 位置 ==================== */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }

/* 定位偏移 */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0 !important; }
.top-1\/2 { top: 50% !important; }
.-top-\[2px\] { top: -2px !important; }
.bottom-0 { bottom: 0 !important; }
.-bottom-2 { bottom: -0.5rem !important; }
.-bottom-8 { bottom: -2rem !important; }
.left-0 { left: 0 !important; }
.-left-4 { left: -1rem !important; }
.right-0 { right: 0 !important; }

/* 响应式定位 */
@media (min-width: 1024px) {
  .lg\:top-8 { top: 2rem !important; }
  .lg\:right-8 { right: 2rem !important; }
  .lg\:col-start-2 { grid-column-start: 2 !important; }
  .lg\:col-start-9 { grid-column-start: 9 !important; }
}

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

/* 响应式显示 */
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:block { display: block !important; }
  .md\:hidden { display: none !important; }
}
@media (min-width: 1024px) {
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:inline-flex { display: inline-flex !important; }
  .lg\:table { display: table !important; }
}

/* ==================== Flexbox ==================== */
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.items-center { align-items: center !important; }
.items-baseline { align-items: baseline !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-grow { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.shrink-0 { flex-shrink: 0 !important; }

/* 响应式Flexbox */
@media (min-width: 768px) {
  .md\:items-end { align-items: flex-end !important; }
  .md\:flex-row { flex-direction: row !important; }
}
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:items-end { align-items: flex-end !important; }
}

/* ==================== Grid ==================== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }

.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-4 { grid-column: span 4 / span 4 !important; }
.col-span-7 { grid-column: span 7 / span 7 !important; }
.col-span-8 { grid-column: span 8 / span 8 !important; }
.col-span-10 { grid-column: span 10 / span 10 !important; }

.col-start-1 { grid-column-start: 1 !important; }
.col-start-2 { grid-column-start: 2 !important; }
.col-start-8 { grid-column-start: 8 !important; }
.col-start-9 { group-column-start: 9 !important; }
.col-start-10 { grid-column-start: 10 !important; }

/* 响应式Grid */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .md\:col-span-3 { grid-column: span 3 / span 3 !important; }
  .md\:col-span-5 { grid-column: span 5 / span 5 !important; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .lg\:col-span-10 { grid-column: span 10 / span 10 !important; }
  .lg\:col-start-2 { grid-column-start: 2 !important; }
  .lg\:col-start-8 { grid-column-start: 8 !important; }
  .lg\:col-start-9 { grid-column-start: 9 !important; }
}

/* ==================== 间距 - Padding ==================== */
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }
.p-12 { padding: 3rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-10 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
.px-16 { padding-left: 4rem !important; padding-right: 4rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-32 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-16 { padding-top: 4rem !important; }
.pt-32 { padding-top: 8rem !important; }
.pt-40 { padding-top: 10rem !important; }
.pt-48 { padding-top: 12rem !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-8 { padding-bottom: 2rem !important; }
.pb-12 { padding-bottom: 3rem !important; }
.pb-20 { padding-bottom: 5rem !important; }
.pb-32 { padding-bottom: 8rem !important; }

/* 响应式Padding */
@media (min-width: 768px) {
  .md\:px-12 { padding-left: 3rem !important; padding-right: 3rem !important; }
  .md\:px-16 { padding-left: 4rem !important; padding-right: 4rem !important; }
  .md\:py-32 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
  .md\:py-40 { padding-top: 10rem !important; padding-bottom: 10rem !important; }
  .md\:py-48 { padding-top: 12rem !important; padding-bottom: 12rem !important; }
  .md\:pt-40 { padding-top: 10rem !important; }
  .md\:pt-48 { padding-top: 12rem !important; }
  .md\:p-10 { padding: 2.5rem !important; }
  .md\:p-12 { padding: 3rem !important; }
  .md\:min-h-\[320px\] { min-height: 320px !important; }
}
@media (min-width: 1024px) {
  .lg\:px-16 { padding-left: 4rem !important; padding-right: 4rem !important; }
  .lg\:py-48 { padding-top: 12rem !important; padding-bottom: 12rem !important; }
  .lg\:p-12 { padding: 3rem !important; }
}

/* ==================== 间距 - Margin ==================== */
.m-0 { margin: 0 !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mb-20 { margin-bottom: 5rem !important; }
.mb-24 { margin-bottom: 6rem !important; }
.mb-32 { margin-bottom: 8rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mt-20 { margin-top: 5rem !important; }
.mt-32 { margin-top: 8rem !important; }
.ml-4 { margin-left: 1rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-4 { margin-right: 1rem !important; }

/* 响应式Margin */
@media (min-width: 768px) {
  .md\:mb-12 { margin-bottom: 3rem !important; }
  .md\:mb-20 { margin-bottom: 5rem !important; }
  .md\:mb-24 { margin-bottom: 6rem !important; }
  .md\:mt-0 { margin-top: 0 !important; }
  .md\:gap-16 { gap: 4rem !important; }
  .md\:gap-y-16 { row-gap: 4rem !important; }
}
@media (min-width: 1024px) {
  .lg\:mb-12 { margin-bottom: 3rem !important; }
  .lg\:mb-24 { margin-bottom: 6rem !important; }
  .lg\:mb-32 { margin-bottom: 8rem !important; }
  .lg\:gap-12 { gap: 3rem !important; }
  .lg\:gap-24 { gap: 6rem !important; }
}

/* ==================== Gap ==================== */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-16 { gap: 4rem !important; }
.gap-24 { gap: 6rem !important; }
.gap-32 { gap: 8rem !important; }
.gap-px { gap: 1px !important; }

/* 响应式Gap */
@media (min-width: 768px) {
  .md\:gap-8 { gap: 2rem !important; }
  .md\:gap-16 { gap: 4rem !important; }
  .md\:gap-x-8 { column-gap: 2rem !important; }
  .md\:gap-y-16 { row-gap: 4rem !important; }
}
@media (min-width: 1024px) {
  .lg\:gap-12 { gap: 3rem !important; }
  .lg\:gap-24 { gap: 6rem !important; }
}

/* ==================== 尺寸 - 宽度 ==================== */
.w-full { width: 100% !important; }
.w-auto { width: auto !important; }
.w-px { width: 1px !important; }
.w-6 { width: 1.5rem !important; }
.w-8 { width: 2rem !important; }
.w-12 { width: 3rem !important; }
.w-24 { width: 6rem !important; }
.w-1\/2 { width: 50% !important; }
.max-w-\[1600px\] { max-width: 1600px !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-xl { max-width: 36rem !important; }

/* ==================== 尺寸 - 高度 ==================== */
.h-full { height: 100% !important; }
.h-px { height: 1px !important; }
.h-6 { height: 1.5rem !important; }
.h-12 { height: 3rem !important; }
.h-32 { height: 8rem !important; }
.h-48 { height: 12rem !important; }
.min-h-\[100vh\] { min-height: 100vh !important; }
.min-h-\[300px\] { min-height: 300px !important; }
.min-h-\[40px\] { min-height: 40px !important; }
.min-h-screen { min-height: 100vh !important; }

/* 响应式高度 */
@media (min-width: 768px) {
  .md\:min-h-\[320px\] { min-height: 320px !important; }
}

/* 宽高比 */
.aspect-\[16\/9\] { aspect-ratio: 16/9 !important; }
.aspect-\[16\/10\] { aspect-ratio: 16/10 !important; }
.aspect-\[21\/9\] { aspect-ratio: 21/9 !important; }
.aspect-\[4\/5\] { aspect-ratio: 4/5 !important; }

/* ==================== 变换 ==================== */
.transform { transform: translateZ(0) !important; }
.-translate-x-full { transform: translateX(-100%) !important; }
.translate-y-0 { transform: translateY(0) !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }
.-translate-y-2 { transform: translateY(-0.5rem) !important; }
.translate-x-2 { transform: translateX(0.5rem) !important; }
.scale-100 { transform: scale(1) !important; }
.scale-105 { transform: scale(1.05) !important; }
.scale-x-0 { transform: scaleX(0) !important; }
.scale-x-100 { transform: scaleX(1) !important; }
.origin-left { transform-origin: left !important; }
.origin-right { transform-origin: right !important; }

/* ==================== 过渡和动画 ==================== */
.transition { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1) !important; }
.transition-all { transition-property: all !important; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important; }
.transition-transform { transition-property: transform !important; }
.transition-opacity { transition-property: opacity !important; }
.duration-300 { transition-duration: 300ms !important; }
.duration-500 { transition-duration: 500ms !important; }
.duration-700 { transition-duration: 700ms !important; }
.ease-luxury { transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; }

.duration-\[1500ms\] { transition-duration: 1500ms !important; }
.duration-\[2000ms\] { transition-duration: 2000ms !important; }

/* Group Hover效果 */
.group { }
.group:hover .group-hover\:translate-x-0 { transform: translateX(0) !important; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem) !important; }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem) !important; }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0) !important; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05) !important; }
.group:hover .group-hover\:scale-x-100 { transform: scaleX(1) !important; }
.group:hover .group-hover\:w-full { width: 100% !important; }
.group:hover .group-hover\:opacity-100 { opacity: 1 !important; }
.group:hover .group-hover\:text-gold { color: #D4AF37 !important; }
.group:hover .group-hover\:text-charcoal { color: #1A1A1A !important; }
.group:hover .group-hover\:text-alabaster { color: #F9F8F6 !important; }
.group:hover .group-hover\:text-alabaster\/60 { color: rgba(249, 248, 246, 0.6) !important; }
.group:hover .group-hover\:text-alabaster\/70 { color: rgba(249, 248, 246, 0.7) !important; }
.group:hover .group-hover\:text-alabaster\/90 { color: rgba(249, 248, 246, 0.9) !important; }
.group:hover .group-hover\:text-white { color: #ffffff !important; }
.group:hover .group-hover\:border-gold { border-color: #D4AF37 !important; }
.group:hover .group-hover\:border-alabaster { border-color: #F9F8F6 !important; }
.group:hover .group-hover\:border-alabaster\/20 { border-color: rgba(249, 248, 246, 0.2) !important; }
.group:hover .group-hover\:border-alabaster\/70 { border-color: rgba(249, 248, 246, 0.7) !important; }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0) !important; }

/* Hover效果 */
.hover\:bg-charcoal:hover { background-color: #1A1A1A !important; }
.hover\:bg-white:hover { background-color: #ffffff !important; }
.hover\:text-gold:hover { color: #D4AF37 !important; }
.hover\:text-charcoal:hover { color: #1A1A1A !important; }
.hover\:text-white:hover { color: #ffffff !important; }
.hover\:text-alabaster:hover { color: #F9F8F6 !important; }
.hover\:text-alabaster\/60:hover { color: rgba(249, 248, 246, 0.6) !important; }
.hover\:text-alabaster\/70:hover { color: rgba(249, 248, 246, 0.7) !important; }
.hover\:border-gold:hover { border-color: #D4AF37 !important; }
.hover\:border-charcoal:hover { border-color: #1A1A1A !important; }
.hover\:border-alabaster:hover { border-color: #F9F8F6 !important; }
.hover\:shadow-\[0_8px_24px_rgba\(0\,0\,0\,0\.25\)\]:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

/* ==================== 不透明度 ==================== */
.opacity-0 { opacity: 0 !important; }
.opacity-40 { opacity: 0.4 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-80 { opacity: 0.8 !important; }
.opacity-100 { opacity: 1 !important; }

/* ==================== 溢出 ==================== */
.overflow-hidden { overflow: hidden !important; }
.overflow-x-hidden { overflow-x: hidden !important; }

/* ==================== Z-Index ==================== */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

/* ==================== 阴影 ==================== */
.shadow-\[0_4px_16px_rgba\(0\,0\,0\,0\.15\)\] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}
.shadow-\[0_8px_24px_rgba\(0\,0\,0\,0\.25\)\] {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}
.shadow-\[inset_0_0_0_1px_rgba\(26\,26\,26\,0\.1\)\] {
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.1) !important;
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* ==================== 滤镜 ==================== */
.grayscale { filter: grayscale(100%) !important; }
.grayscale-0 { filter: grayscale(0%) !important; }
.mix-blend-multiply { mix-blend-mode: multiply !important; }
.backdrop-blur-md { backdrop-filter: blur(12px) !important; }

/* ==================== 对齐 ==================== */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.leading-\[0\.8\] { line-height: 0.8 !important; }
.leading-\[1\.1\] { line-height: 1.1 !important; }

/* ==================== Float ==================== */
.float-left { float: left !important; }
.float-right { float: right !important; }

/* ==================== 文字转换 ==================== */
.uppercase { text-transform: uppercase !important; }
.italic { font-style: italic !important; }

/* ==================== 换行控制 ==================== */
.whitespace-nowrap { white-space: nowrap !important; }
.whitespace-normal { white-space: normal !important; }

/* 自动为小号大写文字添加不换行 */
.uppercase.text-\[10px\] {
  white-space: nowrap !important;
}

/* ==================== 光标 ==================== */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }

/* ==================== 表单元素 ==================== */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.resize-none { resize: none !important; }
.resize { resize: both !important; }

/* ==================== 其他工具类 ==================== */
.writing-vertical-rl {
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
}

.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }
.space-y-10 > * + * { margin-top: 2.5rem !important; }
.space-y-12 > * + * { margin-top: 3rem !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }
.space-x-2 > * + * { margin-left: 0.5rem !important; }

@media (min-width: 768px) {
  .md\:space-y-12 > * + * { margin-top: 3rem !important; }
}

.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }

.delay-75 { transition-delay: 75ms !important; }

/* ==================== 边框 ==================== */
.border { border: 1px solid currentColor !important; }
.border-t { border-top: 1px solid currentColor !important; }
.border-b { border-bottom: 1px solid currentColor !important; }

/* ==================== 背景纹理 ==================== */
.bg-noise {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJub2lzZUZpbHRlciI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbm9pc2VGaWx0ZXIpIiBvcGFjaXR5PSIwLjAyIi8+PC9zdmc+') !important;
}

/* ==================== 滚动条样式 ==================== */
/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F9F8F6;
}
::-webkit-scrollbar-thumb {
  background: #EBE5DE;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}
* { scrollbar-width: thin; scrollbar-color: #EBE5DE #F9F8F6; }

/* ==================== 选择文字样式 ==================== */
::selection { background-color: #D4AF37; color: #ffffff; }
::-moz-selection { background-color: #D4AF37; color: #ffffff; }

/* ==================== 其他基础样式 ==================== */
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
*:focus { outline: none; }
*:focus-visible { outline: 2px solid #D4AF37; outline-offset: 2px; }

#root { min-height: 100vh; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
