*,::after,::before{box-sizing:border-box;border:0 solid #e2e8f0}
html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif}
body{margin:0;line-height:inherit}
h1,h2,h3{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
img{max-width:100%;height:auto;display:block}
button{cursor:pointer;background:none}
.bg-white{background-color:#fff}.bg-slate-50{background-color:#f8fafc}.bg-slate-100{background-color:#f1f5f9}
.bg-slate-900{background-color:#0f172a}.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}
.bg-blue-600{background-color:#2563eb}.bg-blue-700{background-color:#1d4ed8}.bg-blue-500{background-color:#3b82f6}
.text-white{color:#fff}.text-slate-300{color:#cbd5e1}.text-slate-400{color:#94a3b8}.text-slate-500{color:#64748b}.text-slate-600{color:#475569}
.text-slate-700{color:#334155}.text-slate-800{color:#1e293b}.text-blue-500{color:#3b82f6}.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}
.text-blue-100{color:#dbeafe}.text-blue-200{color:#bfdbfe}
.text-amber-700{color:#b45309}.bg-amber-50{background-color:#fffbeb}
.font-bold{font-weight:700}.font-black{font-weight:900}.font-semibold{font-weight:600}.font-medium{font-weight:500}
.tracking-tight{letter-spacing:-.025em}
.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}
.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.25rem}
.text-7xl{font-size:4.5rem}
.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}
.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}
.border-slate-100{border-color:#f1f5f9}.border-slate-200{border-color:#e2e8f0}.border-blue-200{border-color:#bfdbfe}
.p-2{padding:.5rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.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-6{padding-left:1.5rem;padding-right:1.5rem}
.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-8{padding-top:2rem;padding-bottom:2rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}
.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.mb-1{margin-bottom:.25rem}.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}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mx-0.5{margin-left:.125rem;margin-right:.125rem}.mx-auto{margin-left:auto;margin-right:auto}
.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-3xl{max-width:48rem}.max-w-2xl{max-width:42rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}
.flex{display:flex}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.grid{display:grid}.overflow-x-auto{overflow-x:auto}
.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-shrink-0{flex-shrink:0}
.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}
.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))}
.text-center{text-align:center}.text-left{text-align:left}
.leading-relaxed{line-height:1.625}
.tracking-wider{letter-spacing:.05em}.uppercase{text-transform:uppercase}
.sticky{position:sticky}.top-0{top:0}.z-50{z-index:50}
.w-5{width:1.25rem}.h-5{height:1.25rem}.w-6{width:1.5rem}.h-6{height:1.5rem}
.w-32{width:8rem}.w-48{width:12rem}.h-48{height:12rem}.w-full{width:100%}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,.1)}
/* ===== 语言切换器（与 main 页视觉统一）===== */
.relative{position:relative}.absolute{position:absolute}.right-0{right:0}.top-full{top:100%}
.opacity-0{opacity:0}.invisible{visibility:hidden}
.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:visible{visibility:visible}
.group:focus-within .group-focus-within\:opacity-100{opacity:1}.group:focus-within .group-focus-within\:visible{visibility:visible}
.w-36{width:9rem}.max-h-80{max-height:20rem}.overflow-y-auto{overflow-y:auto}
.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}
.mt-2{margin-top:.5rem}.gap-1{gap:.25rem}.pt-3{padding-top:.75rem}
.hover\:bg-slate-200:hover{background-color:#e2e8f0}
.rotate-180{transform:rotate(180deg)}
.w-44{width:11rem}.w-72{width:18rem}.max-h-96{max-height:24rem}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.border-l{border-left-width:1px}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.ml-2{margin-left:.5rem}
.cursor-pointer{cursor:pointer}
.transition{transition:all .15s}.transition-colors{transition:color .15s}.transition-all{transition:all .15s}
.transition-shadow{transition:box-shadow .15s}.transition-transform{transition:transform .15s}
.hover\:text-blue-600:hover{color:#2563eb}.hover\:text-blue-700:hover{color:#1d4ed8}.hover\:text-blue-800:hover{color:#1e40af}.hover\:text-white:hover{color:#fff}
.hover\:underline:hover{text-decoration-line:underline}
.hover\:shadow-md:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}
.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.1)}
.hover\:border-blue-300:hover{border-color:#93c5fd}
.hover\:bg-blue-50:hover{background-color:#eff6ff}.hover\:bg-blue-100:hover{background-color:#dbeafe}.hover\:bg-blue-400:hover{background-color:#60a5fa}
.hover\:bg-blue-700:hover{background-color:#1d4ed8}.hover\:bg-slate-800:hover{background-color:#1e293b}
.group:hover .group-hover\:text-blue-600{color:#2563eb}
.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}
.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}
.from-blue-50{--tw-gradient-from:#eff6ff;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(239,246,255,0))}
.to-white{--tw-gradient-to:#fff}
.from-blue-600{--tw-gradient-from:#2563eb;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(37,99,235,0))}
.to-blue-700{--tw-gradient-to:#1d4ed8}
.bg-white\/80{background-color:rgba(255,255,255,.8)}
.bg-white\/90{background-color:rgba(255,255,255,.9)}
.backdrop-blur-md{backdrop-filter:blur(12px)}
.space-y-6>*+*{margin-top:1.5rem}.space-x-8>*+*{margin-left:2rem}.space-x-6>*+*{margin-left:1.5rem}
.pl-4{padding-left:1rem}.pr-4{padding-right:1rem}.pb-4{padding-bottom:1rem}.pt-12{padding-top:3rem}.pb-8{padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}
.last\:border-0:last-child{border:0}
.first\:mt-0:first-child{margin-top:0}
.border-l-2{border-left-width:2px}
@media(min-width:640px){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.sm\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}}
@media(min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:flex-row{flex-direction:row}.md\:justify-start{justify-content:flex-start}.md\:text-left{text-align:left}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1024px){.lg\:text-4xl{font-size:2.25rem}.lg\:text-5xl{font-size:3rem}.lg\:text-8xl{font-size:6rem}.lg\:p-8{padding:2rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:pt-16{padding-top:4rem}}
/* ===== 字符显示字体（汉字、例句、相似字对比等共用）===== */
.char-display{font-family:'Noto Serif SC',serif}

/* ===== 字符链接矩阵卡片 ===== */
.char-card{display:block;background:#fff;border-radius:.75rem;border:1px solid #e2e8f0;padding:.75rem;text-align:center;transition:all .2s}
.char-card:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1);border-color:#93c5fd}
.char-card-glyph{font-size:1.5rem;font-weight:700;color:#1e293b;display:block;font-family:'Noto Serif SC',serif}
.char-card-pinyin{font-size:.75rem;color:#94a3b8;display:block;margin-top:.25rem}

/* ===== 导航下拉菜单子项 ===== */
.nav-desktop-item{display:block;padding:.625rem 1rem;font-size:.875rem;transition:color,background-color .15s;color:#334155}
.nav-desktop-item:hover{background-color:#eff6ff;color:#2563eb}
.nav-mobile-subitem{display:block;padding:.5rem 0 .5rem 1rem;font-size:.875rem;color:#64748b}
.nav-mobile-subitem:hover{color:#2563eb}

/* ===== 语言切换按钮 ===== */
.lang-btn{padding:.5rem .75rem;border-radius:.5rem;font-size:.875rem;font-weight:500;background:#f1f5f9;color:#334155}
.lang-btn:hover{background:#e2e8f0}
.lang-btn-active{background:#2563eb;color:#fff}

/* ===== 工具类 ===== */
.mt-7{margin-top:1.75rem}

/* ===== FAQ 组件 ===== */
.faq-item{border-bottom:1px solid #f1f5f9}
.faq-item:last-child{border-bottom:0}
.faq-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 0;text-align:left}
.faq-icon{width:1.25rem;height:1.25rem;color:#94a3b8;transition:transform .2s;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-icon{width:1.25rem;height:1.25rem;color:#3b82f6;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.menu-icon{width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.faq-answer{padding-bottom:1rem}

/* ===== 卡片容器（字符数据、常见词、相似字对比等）===== */
.card-box{background:#fff;border-radius:1rem;border:1px solid #e2e8f0;padding:1.5rem;margin-bottom:2rem}
@media(min-width:1024px){.card-box{padding:2rem}}

/* ===== 小节标题（uppercase 风格）===== */
.section-label{font-size:.875rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}

/* ===== 常见词标签 ===== */
.word-tag{background:#eff6ff;color:#1d4ed8;padding:.375rem .75rem;border-radius:.5rem;font-weight:600;font-size:1rem;font-family:'Noto Serif SC',serif}

/* ===== 字符矩阵小标题 ===== */
.matrix-title{font-size:1.125rem;font-weight:700;color:#334155;margin:2rem 0 1rem}
.matrix-title:first-child{margin-top:0}

/* ===== 表格行（字符数据表）===== */
.table-row{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #f1f5f9}
.table-row:last-child{border-bottom:0}
