/* utilities.css — 由 gen-utilities.mjs 生成，取代 Tailwind Play CDN。
   涵蓋 public/ 內實際用到的 utility class（掃描 scan-classes.mjs）。
   顏色沿用 Tailwind v3 預設調色盤；accent=品牌青 var(--primary)=#00AFEC。
   ⚠️ 修改 markup 新增 class 後，重跑 scan + gen 以補齊。 */

/* ── 基本 utilities ── */
.-translate-y-1\/2{transform:translateY(-50%)}
.\!mb-0{margin-bottom:0!important}
.absolute{position:absolute}
.accent-\[\#00AFEC\]{accent-color:#00AFEC}
.align-middle{vertical-align:middle}
.align-top{vertical-align:top}
.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.bg-accent\/10{background-color:rgba(0,175,236,0.1)}
.bg-accent\/5{background-color:rgba(0,175,236,0.05)}
.bg-accent{background-color:var(--primary)}
.bg-amber-100{background-color:#fef3c7}
.bg-amber-500{background-color:#f59e0b}
.bg-amber-50{background-color:#fffbeb}
.bg-black\/0{background-color:rgba(0,0,0,0)}
.bg-black\/60{background-color:rgba(0,0,0,0.6)}
.bg-blue-100{background-color:#dbeafe}
.bg-blue-500{background-color:#3b82f6}
.bg-blue-50{background-color:#eff6ff}
.bg-emerald-100{background-color:#d1fae5}
.bg-emerald-50{background-color:#ecfdf5}
.bg-gray-100{background-color:#f3f4f6}
.bg-gray-300{background-color:#d1d5db}
.bg-gray-400{background-color:#9ca3af}
.bg-gray-50\/70{background-color:rgba(249,250,251,0.7)}
.bg-gray-50{background-color:#f9fafb}
.bg-green-100{background-color:#dcfce7}
.bg-green-500{background-color:#22c55e}
.bg-green-50{background-color:#f0fdf4}
.bg-indigo-50\/30{background-color:rgba(238,242,255,0.3)}
.bg-orange-100{background-color:#ffedd5}
.bg-orange-50{background-color:#fff7ed}
.bg-purple-100{background-color:#f3e8ff}
.bg-purple-50{background-color:#faf5ff}
.bg-red-100{background-color:#fee2e2}
.bg-red-500{background-color:#ef4444}
.bg-red-50{background-color:#fef2f2}
.bg-violet-100{background-color:#ede9fe}
.bg-violet-400{background-color:#a78bfa}
.bg-violet-50{background-color:#f5f3ff}
.bg-white\/10{background-color:rgba(255,255,255,0.1)}
.bg-white\/20{background-color:rgba(255,255,255,0.2)}
.bg-white{background-color:#ffffff}
.bg-yellow-100{background-color:#fef9c3}
.bg-yellow-500{background-color:#eab308}
.bg-yellow-50{background-color:#fefce8}
.block{display:block}
.border-accent\/20{border-color:rgba(0,175,236,0.2)}
.border-accent{border-color:var(--primary)}
.border-amber-100{border-color:#fef3c7}
.border-amber-200{border-color:#fde68a}
.border-blue-100{border-color:#dbeafe}
.border-b{border-bottom-width:1px}
.border-dashed{border-style:dashed}
.border-gray-100{border-color:#f3f4f6}
.border-gray-200{border-color:#e5e7eb}
.border-gray-50{border-color:#f9fafb}
.border-indigo-200{border-color:#c7d2fe}
.border-red-200{border-color:#fecaca}
.border-t-0{border-top-width:0}
.border-t{border-top-width:1px}
.border-white\/10{border-color:rgba(255,255,255,0.1)}
.border-yellow-200{border-color:#fef08a}
.border{border-width:1px}
.break-all{word-break:break-all}
.col-span-2{grid-column:span 2/span 2}
.cursor-grab{cursor:grab}
.cursor-pointer{cursor:pointer}
.fixed{position:fixed}
.flex-1{flex:1 1 0%}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.flex{display:flex}
.font-bold{font-weight:700}
.font-medium{font-weight:500}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}
.font-normal{font-weight:400}
.font-sans{font-family:'Plus Jakarta Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
.font-semibold{font-weight:600}
.gap-0\.5{gap:0.125rem}
.gap-0{gap:0}
.gap-1\.5{gap:0.375rem}
.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-x-3{column-gap:0.75rem}
.gap-x-4{column-gap:1rem}
.gap-x-6{column-gap:1.5rem}
.gap-x-8{column-gap:2rem}
.gap-y-0\.5{row-gap:0.125rem}
.gap-y-1{row-gap:0.25rem}
.gap-y-2{row-gap:0.5rem}
.gap-y-3{row-gap:0.75rem}
.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{display:grid}
.h-10{height:2.5rem}
.h-12{height:3rem}
.h-16{height:4rem}
.h-1\.5{height:0.375rem}
.h-20{height:5rem}
.h-24{height:6rem}
.h-28{height:7rem}
.h-2\.5{height:0.625rem}
.h-3\.5{height:0.875rem}
.h-4{height:1rem}
.h-64{height:16rem}
.h-full{height:100%}
.hidden{display:none}
.inline-block{display:inline-block}
.inline-flex{display:inline-flex}
.inset-0{top:0;right:0;bottom:0;left:0}
.italic{font-style:italic}
.items-center{align-items:center}
.items-end{align-items:flex-end}
.items-start{align-items:flex-start}
.items-stretch{align-items:stretch}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.justify-end{justify-content:flex-end}
.leading-none{line-height:1}
.leading-relaxed{line-height:1.625}
.leading-snug{line-height:1.375}
.left-0{left:0}
.line-through{text-decoration-line:line-through}
.max-h-52{max-height:13rem}
.max-h-80{max-height:20rem}
.max-h-\[65vh\]{max-height:65vh}
.max-h-screen{max-height:100vh}
.max-w-sm{max-width:24rem}
.max-w-xl{max-width:36rem}
.max-w-xs{max-width:20rem}
.mb-1\.5{margin-bottom:0.375rem}
.mb-1{margin-bottom:0.25rem}
.mb-2{margin-bottom:0.5rem}
.mb-3{margin-bottom:0.75rem}
.mb-4{margin-bottom:1rem}
.mb-5{margin-bottom:1.25rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.min-h-screen{min-height:100vh}
.min-w-0{min-width:0}
.min-w-\[180px\]{min-width:180px}
.min-w-\[900px\]{min-width:900px}
.ml-0\.5{margin-left:0.125rem}
.ml-1{margin-left:0.25rem}
.ml-2{margin-left:0.5rem}
.ml-4{margin-left:1rem}
.ml-auto{margin-left:auto}
.mr-1{margin-right:0.25rem}
.mr-2{margin-right:0.5rem}
.mt-0\.5{margin-top:0.125rem}
.mt-1\.5{margin-top:0.375rem}
.mt-1{margin-top:0.25rem}
.mt-2{margin-top:0.5rem}
.mt-3{margin-top:0.75rem}
.mt-4{margin-top:1rem}
.mt-5{margin-top:1.25rem}
.mt-6{margin-top:1.5rem}
.mx-auto{margin-left:auto;margin-right:auto}
.normal-case{text-transform:none}
.object-cover{object-fit:cover}
.opacity-0{opacity:0}
.opacity-50{opacity:0.5}
.overflow-hidden{overflow:hidden}
.overflow-x-auto{overflow-x:auto}
.overflow-y-auto{overflow-y:auto}
.p-1{padding:0.25rem}
.p-2\.5{padding:0.625rem}
.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-7{padding:1.75rem}
.p-8{padding:2rem}
.pb-3{padding-bottom:0.75rem}
.pb-4{padding-bottom:1rem}
.pr-1{padding-right:0.25rem}
.pr-4{padding-right:1rem}
.pr-8{padding-right:2rem}
.pt-2{padding-top:0.5rem}
.pt-3{padding-top:0.75rem}
.pt-4{padding-top:1rem}
.px-1\.5{padding-left:0.375rem;padding-right:0.375rem}
.px-1{padding-left:0.25rem;padding-right:0.25rem}
.px-2\.5{padding-left:0.625rem;padding-right:0.625rem}
.px-2{padding-left:0.5rem;padding-right:0.5rem}
.px-3\.5{padding-left:0.875rem;padding-right:0.875rem}
.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-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-16{padding-top:4rem;padding-bottom:4rem}
.py-1\.5{padding-top:0.375rem;padding-bottom:0.375rem}
.py-1{padding-top:0.25rem;padding-bottom:0.25rem}
.py-20{padding-top:5rem;padding-bottom:5rem}
.py-2\.5{padding-top:0.625rem;padding-bottom:0.625rem}
.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-8{padding-top:2rem;padding-bottom:2rem}
.relative{position:relative}
.resize-none{resize:none}
.right-0{right:0}
.right-2{right:0.5rem}
.rounded-full{border-radius:9999px}
.rounded-lg{border-radius:0.5rem}
.rounded-md{border-radius:0.375rem}
.rounded-sm{border-radius:0.125rem}
.rounded-t-xl{border-top-left-radius:0.75rem;border-top-right-radius:0.75rem}
.rounded-tl-none{border-top-left-radius:0}
.rounded-tr-none{border-top-right-radius:0}
.rounded-xl{border-radius:0.75rem}
.rounded{border-radius:0.25rem}
.select-none{user-select:none}
.self-end{align-self:flex-end}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
.shrink-0{flex-shrink:0}
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-5xl{font-size:3rem;line-height:1}
.text-\[10px\]{font-size:10px}
.text-\[11px\]{font-size:11px}
.text-accent{color:var(--primary)}
.text-amber-500{color:#f59e0b}
.text-amber-600{color:#d97706}
.text-amber-700{color:#b45309}
.text-amber-800{color:#92400e}
.text-base{font-size:1rem;line-height:1.5rem}
.text-blue-600{color:#2563eb}
.text-blue-700{color:#1d4ed8}
.text-center{text-align:center}
.text-emerald-700{color:#047857}
.text-gray-300{color:#d1d5db}
.text-gray-400{color:#9ca3af}
.text-gray-500{color:#6b7280}
.text-gray-600{color:#4b5563}
.text-gray-700{color:#374151}
.text-gray-800{color:#1f2937}
.text-gray-900{color:#111827}
.text-green-600{color:#16a34a}
.text-green-700{color:#15803d}
.text-left{text-align:left}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-orange-700{color:#c2410c}
.text-purple-600{color:#9333ea}
.text-purple-700{color:#7e22ce}
.text-red-400{color:#f87171}
.text-red-500{color:#ef4444}
.text-red-600{color:#dc2626}
.text-red-700{color:#b91c1c}
.text-sm{font-size:0.875rem;line-height:1.25rem}
.text-violet-700{color:#6d28d9}
.text-white\/55{color:rgba(255,255,255,0.55)}
.text-white{color:#ffffff}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-xs{font-size:0.75rem;line-height:1rem}
.text-yellow-600{color:#ca8a04}
.text-yellow-700{color:#a16207}
.top-0{top:0}
.top-1\/2{top:50%}
.tracking-normal{letter-spacing:0}
.tracking-wider{letter-spacing:0.05em}
.transition-colors{transition-property:color,background-color,border-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.underline{text-decoration-line:underline}
.uppercase{text-transform:uppercase}
.w-10{width:2.5rem}
.w-1\.5{width:0.375rem}
.w-24{width:6rem}
.w-28{width:7rem}
.w-2\.5{width:0.625rem}
.w-32{width:8rem}
.w-3\.5{width:0.875rem}
.w-4{width:1rem}
.w-auto{width:auto}
.w-full{width:100%}
.whitespace-nowrap{white-space:nowrap}
.whitespace-pre-wrap{white-space:pre-wrap}
.z-20{z-index:20}
.z-50{z-index:50}

/* ── space / divide / line-clamp（子選擇器）── */
.divide-gray-100 > :not([hidden]) ~ :not([hidden]){border-color:#f3f4f6}
.divide-gray-50 > :not([hidden]) ~ :not([hidden]){border-color:#f9fafb}
.divide-y > :not([hidden]) ~ :not([hidden]){border-top-width:1px}
.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.space-x-2 > :not([hidden]) ~ :not([hidden]){margin-left:0.5rem}
.space-y-1 > :not([hidden]) ~ :not([hidden]){margin-top:0.25rem}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]){margin-top:0.375rem}
.space-y-2 > :not([hidden]) ~ :not([hidden]){margin-top:0.5rem}
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]){margin-top:0.625rem}
.space-y-3 > :not([hidden]) ~ :not([hidden]){margin-top:0.75rem}
.space-y-4 > :not([hidden]) ~ :not([hidden]){margin-top:1rem}
.space-y-5 > :not([hidden]) ~ :not([hidden]){margin-top:1.25rem}

/* ── hover: ── */
.hover\:bg-accent\/5:hover{background-color:rgba(0,175,236,0.05)}
.hover\:bg-black\/25:hover{background-color:rgba(0,0,0,0.25)}
.hover\:bg-blue-50:hover{background-color:#eff6ff}
.hover\:bg-gray-100:hover{background-color:#f3f4f6}
.hover\:bg-gray-50:hover{background-color:#f9fafb}
.hover\:bg-red-600:hover{background-color:#dc2626}
.hover\:bg-white\/30:hover{background-color:rgba(255,255,255,0.3)}
.hover\:border-accent:hover{border-color:var(--primary)}
.hover\:border-red-300:hover{border-color:#fca5a5}
.hover\:opacity-100:hover{opacity:1}
.hover\:opacity-90:hover{opacity:0.9}
.hover\:text-accent:hover{color:var(--primary)}
.hover\:text-gray-500:hover{color:#6b7280}
.hover\:text-gray-600:hover{color:#4b5563}
.hover\:text-gray-700:hover{color:#374151}
.hover\:text-red-500:hover{color:#ef4444}
.hover\:text-red-600:hover{color:#dc2626}
.hover\:underline:hover{text-decoration-line:underline}

/* ── focus: ── */
.focus\:border-accent:focus{border-color:var(--primary)}
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}

/* ── disabled: ── */
.disabled\:opacity-30:disabled{opacity:0.3}

/* ── last: ── */
.last\:border-0:last-child{border-width:0}
.last\:border-b-0:last-child{border-bottom-width:0}

@media (min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@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))}
}
