/* CAF 2026 — Tailwind Utilities (static build) */
/* Auto-generated to replace cdn.tailwindcss.com runtime compiler */

/* ========== Reset & Base ========== */
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}
body{margin:0;line-height:inherit}
h1,h2,h3,h4{font-size:inherit;font-weight:inherit;margin:0}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em}
small{font-size:80%}
button,input,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings: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;background-image:none}
:-moz-focusring{outline:auto}
textarea{resize:vertical}
input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}
p{margin:0}
img,svg,video{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
[hidden]{display:none}
table{text-indent:0;border-color:inherit;border-collapse:collapse}

/* ========== Layout ========== */
.fixed{position:fixed}
.inset-0{inset:0}
.z-50{z-index:50}
.z-\[60\]{z-index:60}
.block{display:block}
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}
.inline{display:inline}
.table-cell{display:table-cell}
.overflow-hidden{overflow:hidden}
.overflow-x-auto{overflow-x:auto}
.overflow-y-auto{overflow-y:auto}

/* ========== Flex ========== */
.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}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-2{gap:0.5rem}
.gap-3{gap:0.75rem}
.gap-4{gap:1rem}
.gap-x-4{column-gap:1rem}
.gap-y-2{row-gap:0.5rem}

/* ========== 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))}
.col-span-2{grid-column:span 2/span 2}

/* ========== Sizing ========== */
.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-16{width:4rem}.w-20{width:5rem}.w-24{width:6rem}.w-full{width:100%}
.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-24{height:6rem}
.min-h-screen{min-height:100vh}
.min-w-0{min-width:0}
.max-w-md{max-width:28rem}
.max-w-xl{max-width:36rem}
.max-w-2xl{max-width:42rem}
.max-w-3xl{max-width:48rem}
.max-w-5xl{max-width:64rem}
.max-w-7xl{max-width:80rem}

/* ========== Spacing ========== */
.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-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-2\.5{padding-top:0.625rem;padding-bottom:0.625rem}.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}.py-8{padding-top:2rem;padding-bottom:2rem}.py-16{padding-top:4rem;padding-bottom:4rem}
.pb-2{padding-bottom:0.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top: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-8{margin-top:2rem}.mt-12{margin-top:3rem}
.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}
.ml-2{margin-left:0.5rem}.ml-auto{margin-left:auto}
.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}
.my-8{margin-top:2rem;margin-bottom:2rem}

/* ========== Space ========== */
.space-y-2>:not([hidden])~:not([hidden]){margin-top:0.5rem}
.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}
.space-y-6>:not([hidden])~:not([hidden]){margin-top:1.5rem}
.space-y-8>:not([hidden])~:not([hidden]){margin-top:2rem}

/* ========== Divide ========== */
.divide-y>:not([hidden])~:not([hidden]){border-top-width:1px}
.divide-gray-100>:not([hidden])~:not([hidden]){border-color:#f3f4f6}

/* ========== Typography ========== */
.text-xs{font-size:0.75rem;line-height:1rem}
.text-sm{font-size:0.875rem;line-height:1.25rem}
.text-md{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}
.font-bold{font-weight:700}
.font-semibold{font-weight:600}
.font-medium{font-weight:500}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
.text-left{text-align:left}
.text-center{text-align:center}
.underline{text-decoration-line:underline}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.opacity-90{opacity:0.9}

/* ========== Colors (Text) ========== */
.text-white{color:#fff}
.text-white\/40{color:rgba(255,255,255,0.4)}
.text-white\/70{color:rgba(255,255,255,0.7)}
.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-red-400{color:#f87171}.text-red-500{color:#ef4444}.text-red-600{color:#dc2626}.text-red-700{color:#b91c1c}
.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}.text-blue-800{color:#1e40af}
.text-green-600{color:#16a34a}.text-green-700{color:#15803d}
.text-yellow-600{color:#ca8a04}.text-yellow-700{color:#a16207}
.text-amber-700{color:#b45309}.text-amber-800{color:#92400e}
.text-orange-600{color:#ea580c}

/* ========== Colors (Background) ========== */
.bg-white{background-color:#fff}
.bg-white\/20{background-color:rgba(255,255,255,0.2)}
.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-gray-200{background-color:#e5e7eb}.bg-gray-800{background-color:#1f2937}
.bg-red-50{background-color:#fef2f2}.bg-red-600{background-color:#dc2626}
.bg-blue-50{background-color:#eff6ff}.bg-blue-50\/50{background-color:rgba(239,246,255,0.5)}.bg-blue-100{background-color:#dbeafe}.bg-blue-600{background-color:#2563eb}
.bg-green-50{background-color:#f0fdf4}.bg-green-100{background-color:#dcfce7}.bg-green-600{background-color:#16a34a}
.bg-yellow-50{background-color:#fefce8}.bg-yellow-500{background-color:#eab308}
.bg-amber-50{background-color:#fffbeb}
.bg-purple-50{background-color:#faf5ff}
.bg-gray-400{background-color:#9ca3af}

/* ========== Border ========== */
.border{border-width:1px}
.border-2{border-width:2px}
.border-b{border-bottom-width:1px}
.border-gray-300{border-color:#d1d5db}
.border-red-200{border-color:#fecaca}
.border-blue-100{border-color:#dbeafe}
.border-blue-200{border-color:#bfdbfe}
.border-amber-200{border-color:#fde68a}
.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}

/* ========== Shadows ========== */
.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,0.05)}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -4px rgba(0,0,0,0.1)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,0.25)}
.drop-shadow-lg{filter:drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1))}

/* ========== Interactivity ========== */
.cursor-pointer{cursor:pointer}
.pointer-events-none{pointer-events:none}
.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}
.object-cover{object-fit:cover}

/* ========== Focus ========== */
.focus\:ring-2:focus{box-shadow:0 0 0 2px var(--tw-ring-color,#2563eb)}
.focus\:ring-blue-500:focus{--tw-ring-color:#3b82f6}
.focus\:border-blue-500:focus{border-color:#3b82f6}

/* ========== Hover ========== */
.hover\:underline:hover{text-decoration-line:underline}
.hover\:bg-blue-700:hover{background-color:#1d4ed8}
.hover\:bg-gray-200:hover{background-color:#e5e7eb}
.hover\:bg-gray-300:hover{background-color:#d1d5db}
.hover\:bg-gray-50:hover{background-color:#f9fafb}
.hover\:bg-gray-500:hover{background-color:#6b7280}
.hover\:bg-green-700:hover{background-color:#15803d}
.hover\:bg-red-700:hover{background-color:#b91c1c}
.hover\:bg-white\/30:hover{background-color:rgba(255,255,255,0.3)}
.hover\:bg-yellow-600:hover{background-color:#ca8a04}
.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\:text-blue-800:hover{color:#1e40af}
.hover\:text-gray-600:hover{color:#4b5563}
.hover\:text-red-600:hover{color:#dc2626}
.hover\:text-white:hover{color:#fff}
.hover\:opacity-80:hover{opacity:0.8}

/* ========== Disabled ========== */
.disabled\:opacity-50:disabled{opacity:0.5}
.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}

/* ========== Responsive: md (768px) ========== */
@media(min-width:768px){
  .md\:flex{display:flex}
  .md\:hidden{display:none}
  .md\:inline{display:inline}
  .md\:table-cell{display:table-cell}
  .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\:h-12{height:3rem}
  .md\:h-14{height:3.5rem}
  .md\:text-xl{font-size:1.25rem;line-height:1.75rem}
  .md\:text-2xl{font-size:1.5rem;line-height:2rem}
}

/* ========== Responsive: sm (640px) ========== */
@media(min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ========== Missing bg colors ========== */
.bg-amber-100{background-color:#fef3c7}
.bg-blue-700{background-color:#1d4ed8}
.bg-gray-300{background-color:#d1d5db}
.bg-gray-500{background-color:#6b7280}
.bg-green-700{background-color:#15803d}
.bg-orange-50{background-color:#fff7ed}
.bg-purple-600{background-color:#9333ea}
.bg-purple-700{background-color:#7e22ce}
.bg-red-500{background-color:#ef4444}
.bg-red-700{background-color:#b91c1c}
.bg-yellow-600{background-color:#ca8a04}

/* ========== Missing text colors ========== */
.text-gray-300{color:#d1d5db}
.text-orange-500{color:#f97316}
.text-orange-800{color:#9a3412}
.text-purple-600{color:#9333ea}
.text-yellow-800{color:#854d0e}
.text-yellow-900{color:#713f12}

/* ========== Missing border colors ========== */
.border-blue-300{border-color:#93c5fd}
.border-blue-400{border-color:#60a5fa}
.border-blue-500{border-color:#3b82f6}
.border-gray-200{border-color:#e5e7eb}
.border-l-4{border-left-width:4px}
.border-orange-200{border-color:#fed7aa}
.border-orange-300{border-color:#fdba74}
.border-yellow-400{border-color:#facc15}
.border-yellow-500{border-color:#eab308}

/* ========== Responsive: lg (1024px) ========== */
@media(min-width:1024px){
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:table-cell{display:table-cell}
}

/* === Mobile Header Fix === */
@media (max-width: 640px) {
  .brick-header > div > div {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .brick-header > div > div > a {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .brick-header > div > div > a > div {
    min-width: unset !important;
  }
  .brick-header h1 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
  .brick-header p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}

/* === Mobile Hamburger Menu === */
.mobile-menu-btn {
  display: none;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.mobile-close-btn { display: none; }

@media (max-width: 640px) {
  .mobile-menu-btn { display: flex !important; }

  .nav-links { display: none !important; }
  .nav-links.open {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    min-width: 200px;
    max-width: 300px;
    z-index: 201;
    background: #0f172a;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 24px 40px;
    overflow-y: auto;
    animation: menuSlideIn 0.25s ease-out;
  }
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.4);
    animation: menuFadeIn 0.2s ease-out;
  }
  @keyframes menuSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
  @keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }

  .nav-links.open > a,
  .nav-links.open > div:not(.mobile-close-btn) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    font-size: 1.15rem !important;
    opacity: 1 !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-decoration: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
  }
  .nav-links.open > a:last-of-type,
  .nav-links.open > div:last-child { border-bottom: none; }

  /* Language switcher inside mobile menu: horizontal button row */
  .nav-links.open .lang-dd {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0 !important;
    padding: 4px 0 !important;
  }
  .nav-links.open .lang-dd a {
    display: inline-block !important;
    color: #fff !important;
    background: rgba(255,255,255,0.18) !important;
    border-radius: 6px !important;
    padding: 5px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    min-height: auto !important;
    width: auto !important;
    border-bottom: none !important;
    white-space: nowrap !important;
  }
  .nav-links.open .lang-dd a:hover {
    background: rgba(255,255,255,0.3) !important;
  }
  /* Hide the dropdown trigger "中文 ▾" in mobile menu — options are already visible */
  .nav-links.open > div:not(.mobile-close-btn) > div > span {
    display: none !important;
  }

  .nav-links.open .mobile-close-btn {
    display: flex !important;
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  /* B: Hero CTA full-width on mobile */
  .hero-cta {
    display: block !important;
    width: 100% !important;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    text-align: center;
  }
  .timeline-cta-btn {
    display: block !important;
    width: 100% !important;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1rem 2rem !important;
    font-size: 1.05rem !important;
    text-align: center;
  }

  /* C: FAQ accordion touch targets */
  .faq-q { min-height: 48px; }
  .phase-card { padding: 1.2rem !important; }

  /* C: About page CTA full-width on mobile */
  .abt-cta a {
    display: block !important;
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto !important;
    padding: 0.85rem 2rem !important;
    text-align: center;
  }

  /* ================================================
     D: 全站移动端深度优化（375px 手机 + 小程序 web-view）
     ================================================ */

  /* --- 头部紧凑化 --- */
  .brick-header > div {
    padding: 0.4rem 0.6rem !important;
  }
  .brick-header h1 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  .brick-header p {
    font-size: 0.7rem !important;
    white-space: normal !important;
  }
  .brick-header img[alt="CAF Logo"] {
    height: 2.2rem !important;
  }

  /* --- 全局 padding 缩减 --- */
  .p-6 { padding: 1rem !important; }
  .p-8 { padding: 1.25rem !important; }
  .px-6 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .py-8 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .py-16 { padding-top: 2rem !important; padding-bottom: 2rem !important; }

  /* --- FAQ 页面 --- */
  .faq-content { padding: 1rem 0.75rem 3rem !important; }
  .faq-section-title h3 { font-size: 1rem !important; }
  .faq-nav { top: 0; }
  .faq-nav-inner a,
  .faq-nav-inner button {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .faq-q { padding: 0.7rem 0.75rem !important; font-size: 0.88rem !important; }
  .faq-a { padding: 0.6rem 0.75rem 1rem !important; font-size: 0.85rem !important; }

  /* --- Guide 攻略页 --- */
  .gd-section { padding: 1.5rem 0.6rem !important; }
  .gd-sh { font-size: 1.15rem !important; }
  .gd-sub { font-size: 0.82rem !important; }
  .tk-card { padding: 1rem !important; }
  .hl-card { padding: 0.8rem !important; }
  .setup-card { padding: 0.8rem !important; }
  .hotel-card { padding: 0.8rem !important; }
  .gallery-grid { gap: 0.5rem !important; }

  /* --- News 动态页 --- */
  .news-card { padding: 0 !important; }
  .news-card-body { padding: 0.8rem !important; }
  .art-quote { padding: 1rem !important; }
  .art-quote p { font-size: 0.92rem !important; }
  .art-lead { padding: 0.8rem !important; font-size: 0.9rem !important; }
  .focus-card { padding: 0.8rem !important; }
  .article-body { padding: 0 0.5rem !important; }

  /* --- About 关于页 --- */
  .abt-content { padding: 1.2rem 0.6rem 3rem !important; }
  .abt-what-card { padding: 0.8rem !important; }
  .abt-org-card { padding: 0.8rem !important; }
  .abt-timeline { padding-left: 1.8rem !important; }
  .abt-cta { padding: 1.2rem 0.8rem !important; }
  .abt-cta h3 { font-size: 1.05rem !important; }
  .abt-nav-inner a,
  .abt-nav-inner button {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.72rem !important;
  }

  /* --- Register 报名页 --- */
  .reg-section { padding: 1rem 0.6rem !important; }
  .reg-hero { padding: 1.5rem 0.6rem !important; }
  .reg-hero h2 { font-size: 1.25rem !important; }

  /* --- 通用卡片、间距 --- */
  .max-w-5xl { padding-left: 0.5rem; padding-right: 0.5rem; }
  .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
  .space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem !important; }
}

/* ========== WeChat Mini Program web-view 专用 ========== */
/* 在小程序 web-view 中隐藏网站头部导航（小程序自带导航栏） */
body.in-miniprogram .brick-header {
  display: none !important;
}
body.in-miniprogram .faq-nav {
  top: 0 !important;
}
body.in-miniprogram .abt-nav {
  top: 0 !important;
}
