/*
 * Tailwind CSS - 精简构建 for 金尊网
 * Tailwind v3.x CDN Equivalent
 */
*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}
::before,::after{--tw-content:''}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:'Inter',system-ui,sans-serif;font-feature-settings:normal}
body{margin:0;line-height:inherit}
hr{height:0;color:inherit;border-top-width:1px}
abbr:where([title]){text-decoration:underline dotted}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1em}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-0.5em}
sub{bottom:-0.25em}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}
button,select{text-transform:none}
button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent}
img,svg{display:block;vertical-align:middle}
img{max-width:100%;height:auto}

/* Preflight */
*,*::before,*::after{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}
.dark{--tw-bg-opacity:1;--tw-text-opacity:1;color-scheme:dark}

/* ====== Layout ====== */
.min-h-screen{min-height:100vh}
.min-w-0{min-width:0}
.mx-auto{margin-left:auto;margin-right:auto}

/* ====== Sizing ====== */
.w-3{width:0.75rem}.w-3\.5{width:0.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-10{width:2.5rem}
.h-3{height:0.75rem}.h-3\.5{height:0.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}
.h-48{height:12rem}.h-64{height:16rem}.h-full{height:100%}

/* ====== Spacing ====== */
.m-0{margin:0}
.p-2{padding:0.5rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.px-1{padding-left:0.25rem;padding-right:0.25rem}.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}
.px-8{padding-left:2rem;padding-right:2rem}
.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{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-5{padding-top:1.25rem;padding-bottom:1.25rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}
.py-12{padding-top:3rem;padding-bottom:3rem}.py-20{padding-top:5rem;padding-bottom:5rem}
.pb-20{padding-bottom:5rem}.pt-4{padding-top:1rem}
.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}.mb-8{margin-bottom:2rem}
.mt-0\.5{margin-top:0.125rem}.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-3{margin-top:0.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}

/* ====== Gap ====== */
.gap-0\.5{gap:0.125rem}.gap-1{gap:0.25rem}.gap-1\.5{gap:0.375rem}.gap-2{gap:0.5rem}
.gap-3{gap:0.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}

/* ====== Flex ====== */
.flex{display:flex}.inline-flex{display:inline-flex}
.flex-col{flex-direction:column}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}
.items-baseline{align-items:baseline}
.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.justify-end{justify-content:flex-end}.justify-around{justify-content:space-around}

/* ====== 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))}

/* ====== Display ====== */
.hidden{display:none}.block{display:block}
.inline-block{display:inline-block}
.group{}

/* ====== Position ====== */
.fixed{position:fixed}.sticky{position:sticky}.absolute{position:absolute}.relative{position:relative}
.inset-0{top:0;right:0;bottom:0;left:0}
.top-0{top:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}
.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}

/* ====== Overflow ====== */
.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}

/* ====== Typography ====== */
.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-sans{font-family:'Inter',system-ui,sans-serif}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}
.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-relaxed{line-height:1.625}
.text-center{text-align:center}.text-right{text-align:right}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ====== Background ====== */
.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}
.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}
.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}
.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}
.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}
.bg-white\/95{background-color:rgba(255,255,255,0.95)}
.bg-amber-50{background-color:rgb(255 251 235)}
.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}
.bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity))}
.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity))}
.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}
.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}
.bg-green-500{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}
.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}
.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}
.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}
.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}
.bg-gray-950{--tw-bg-opacity:1;background-color:rgb(3 7 18/var(--tw-bg-opacity))}
.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}
.bg-black\/50{background-color:rgba(0,0,0,0.5)}

/* ====== Gradients ====== */
.bg-gradient-to-br{--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-amber-400{--tw-gradient-from:#fbbf24;--tw-gradient-to:rgb(251 191 36/0)}
.to-amber-600{--tw-gradient-to:#d97706}

/* ====== Border ====== */
.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}
.border-x{border-left-width:1px;border-right-width:1px}
.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}
.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}
.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}
.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}
.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}
.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}
.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}
.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity))}

/* ====== Rounded ====== */
.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}

/* ====== Shadow ====== */
.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)}

/* ====== Backdrop ====== */
.backdrop-blur-lg{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur);backdrop-filter:var(--tw-backdrop-blur)}

/* ====== Divide ====== */
.divide-x>*+*{border-left-width:1px}
.divide-gray-100>*+*{border-color:rgb(243 244 246)}

/* ====== Transition ====== */
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-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}
.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-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}

/* ====== Cursor / Opacity ====== */
.cursor-pointer{cursor:pointer}
.opacity-0{opacity:0}.opacity-50{opacity:0.5}.opacity-60{opacity:0.6}

/* ====== Max Width ====== */
.max-w-5xl{max-width:64rem}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}

/* ====== Space ====== */
.space-y-1>*+*{margin-top:0.25rem}.space-y-2>*+*{margin-top:0.5rem}
.space-y-3>*+*{margin-top:0.75rem}.space-x-1>*+*{margin-left:0.25rem}

/* ====== Scale ====== */
.scale-0\.98{transform:scale(0.98)}
.active\:scale-90:active{transform:scale(0.9)}
.active\:scale-95:active{transform:scale(0.95)}

/* ====== Other ====== */
.-webkit-tap-highlight-color-transparent{-webkit-tap-highlight-color:transparent}
.ring-0{--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(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.placeholder-gray-400::placeholder{color:rgb(156 163 175)}
.outline-none{outline:2px solid transparent;outline-offset:2px}

/* ================================================
   RESPONSIVE
   ================================================ */
@media(min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:flex-col{flex-direction:column}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:hidden{display:none}
  .sm\:flex{display:flex}
  .sm\:inline-flex{display:inline-flex}
}
@media(min-width:768px){
  .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\:flex-row{flex-direction:row}
  .md\:hidden{display:none}
  .md\:inline-flex{display:inline-flex}
  .md\:p-5{padding:1.25rem}
  .md\:p-6{padding:1.5rem}
  .md\:h-64{height:16rem}
  .md\:text-3xl{font-size:1.875rem;line-height:2.25rem}
}
@media(min-width:1024px){
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ================================================
   TEXT COLORS (light mode)
   ================================================ */
.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}
.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}
.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}
.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}
.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}
.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}
.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}
.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity))}
.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}
.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}
.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity))}
.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}
.text-green-500{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}
.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}
.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}
.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}
.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}

/* ================================================
   HOVER STATES
   ================================================ */
.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-700:hover{background-color:rgb(55 65 81)}
.hover\:bg-amber-50:hover{background-color:rgb(255 251 235)}
.hover\:bg-amber-100:hover{background-color:rgb(254 243 199)}
.hover\:bg-amber-200:hover{background-color:rgb(253 230 138)}
.hover\:bg-amber-500:hover{background-color:rgb(217 119 6)}
.hover\:bg-amber-600:hover{background-color:rgb(217 119 6)}
.hover\:bg-green-50:hover{background-color:rgb(240 253 244)}
.hover\:shadow:hover{box-shadow:0 1px 3px 0 rgba(0,0,0/0.1),0 1px 2px -1px rgba(0,0,0/0.1)}
.hover\:shadow-md:hover{box-shadow:0 4px 6px -1px rgba(0,0,0/0.1),0 2px 4px -2px rgba(0,0,0/0.1)}
.hover\:border-amber-200:hover{border-color:rgb(253 230 138)}
.hover\:border-green-200:hover{border-color:rgb(187 247 208)}
.hover\:border-red-200:hover{border-color:rgb(254 202 202)}
.hover\:text-gray-900:hover{color:rgb(17 24 39)}
.hover\:text-white:hover{color:rgb(255 255 255)}
.hover\:text-gray-300:hover{color:rgb(209 213 219)}
.hover\:text-amber-400:hover{color:rgb(251 191 36)}
.hover\:text-amber-600:hover{color:rgb(217 119 6)}
.hover\:text-amber-700:hover{color:rgb(180 83 9)}

/* group-hover */
.group:hover .group-hover\:shadow{box-shadow:0 1px 3px 0 rgba(0,0,0/0.1),0 1px 2px -1px rgba(0,0,0/0.1)}

/* focus */
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}

/* ================================================
   DARK MODE - 使用正确的类名匹配 (dark:xxx)
   类名 dark:bg-gray-900 在HTML中是一个含冒号的完整类
   CSS选择器必须写为 .dark .dark\:bg-gray-900
   ================================================ */

/* Dark backgrounds */
.dark .dark\:bg-gray-50{background-color:rgb(17 24 39)}
.dark .dark\:bg-gray-100{background-color:rgb(55 65 81)}
.dark .dark\:bg-gray-200{background-color:rgb(75 85 99)}
.dark .dark\:bg-gray-300{background-color:rgb(107 114 128)}
.dark .dark\:bg-gray-600{background-color:rgb(75 85 99)}
.dark .dark\:bg-gray-700{background-color:rgb(55 65 81)}
.dark .dark\:bg-gray-700\/50{background-color:rgba(55,65,81,0.5)}
.dark .dark\:bg-gray-800{background-color:rgb(31 41 55)}
.dark .dark\:bg-gray-800\/95{background-color:rgba(31,41,55,0.95)}
.dark .dark\:bg-gray-900{background-color:rgb(17 24 39)}
.dark .dark\:bg-gray-950{background-color:rgb(3 7 18)}
.dark .dark\:bg-white{background-color:rgb(31 41 55)}
.dark .dark\:bg-amber-900\/30{background-color:rgba(120,53,15,0.3)}
.dark .dark\:bg-green-900\/20{background-color:rgba(20,83,45,0.2)}
.dark .dark\:bg-red-900\/20{background-color:rgba(127,29,29,0.2)}

/* Dark borders */
.dark .dark\:border-gray-100{border-color:rgb(55 65 81)}
.dark .dark\:border-gray-600{border-color:rgb(75 85 99)}
.dark .dark\:border-gray-700{border-color:rgb(55 65 81)}
.dark .dark\:border-gray-800{border-color:rgb(17 24 39)}

/* Dark divide */
.dark .dark\:divide-gray-100>*+*{border-color:rgb(55 65 81)}
.dark .dark\:divide-gray-700>*+*{border-color:rgb(55 65 81)}

/* Dark text colors */
.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-gray-600{color:rgb(209 213 219)}
.dark .dark\:text-gray-700{color:rgb(209 213 219)}
.dark .dark\:text-gray-900{color:rgb(243 244 246)}
.dark .dark\:text-white{color:rgb(255 255 255)}
.dark .dark\:text-amber-400{color:rgb(251 191 36)}
.dark .dark\:text-amber-600{color:rgb(251 191 36)}
.dark .dark\:text-amber-700{color:rgb(251 191 36)}
.dark .dark\:text-green-400{color:rgb(74 222 128)}
.dark .dark\:text-red-400{color:rgb(248 113 113)}

/* Dark display overrides */
.dark .dark\:block{display:block}
.dark .dark\:hidden{display:none}
.dark .dark\:shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,0.3)}

/* Dark hover states (dark:hover:xxx) */
.dark .dark\:hover\:bg-gray-700:hover{background-color:rgb(55 65 81)}
.dark .dark\:hover\:bg-gray-900:hover{background-color:rgb(17 24 39)}
.dark .dark\:hover\:text-white:hover{color:rgb(255 255 255)}
.dark .dark\:hover\:text-amber-400:hover{color:rgb(251 191 36)}
.dark .dark\:hover\:text-gray-900:hover{color:rgb(243 244 246)}
.dark .dark\:hover\:border-green-500\/30:hover{border-color:rgba(34,197,94,0.3)}
.dark .dark\:hover\:border-red-500\/30:hover{border-color:rgba(239,68,68,0.3)}
.dark .dark\:hover\:border-amber-500\/30:hover{border-color:rgba(245,158,11,0.3)}
