/* 配色・レイアウトはTH/EN共通CSSを使用。繁体字の可読性と固有機能のみ調整。 */
html[lang="zh-Hant"] {
 --font-body:"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
 --font-display:var(--font-body);
 scroll-padding-top:100px;
}
.zh-page .lang-switch__btn { white-space:nowrap; }
.zh-page .skip-link { position:fixed; top:-70px; left:16px; z-index:9999; background:white; padding:12px; }
.zh-page .skip-link:focus { top:8px; }
.zh-page .hero__title,.zh-page .article-hero__title { line-height:1.4; }
.zh-page .hero__desc { line-height:1.9; }
.zh-page .article-hero { min-height:520px; }
.zh-page .article-hero__info { line-height:1.8; }
.zh-toc { padding:24px; margin-bottom:36px; border:1px solid var(--color-border); border-radius:var(--radius-md); background:var(--color-white); }
.zh-toc ol { padding-left:24px; margin-top:12px; }
.zh-toc li { margin:8px 0; line-height:1.8; }
.zh-toc a { color:var(--color-text-secondary); }
.zh-body { min-width:0; overflow-wrap:anywhere; }
.zh-body h2,.zh-body h3 { line-height:1.6; }
.zh-body li { line-height:1.95; }
.zh-table { overflow-x:auto; margin:24px 0; }
.zh-body table { min-width:480px; }
.zh-body pre { white-space:pre-wrap; padding:24px; background:var(--color-border-light); border-radius:var(--radius-md); font-size:14px; line-height:1.8; }
.zh-body figure { margin:32px 0; }
.zh-body figure img { width:100%; height:auto; margin:0; }
.zh-body figcaption { font-size:12px; color:var(--color-text-secondary); padding-top:10px; }
.zh-stay { padding:28px; background:var(--color-cream); border-radius:var(--radius-lg); margin:36px 0; }
.zh-stay h2 { margin-top:0; }
.zh-button { display:inline-flex; align-items:center; padding:14px 24px; background:var(--color-orange); color:white; text-decoration:none; border-radius:var(--radius-full); line-height:1.7; font-weight:600; margin:8px 8px 8px 0; }
.zh-button:hover { background:var(--color-orange-hover); color:white; }
.zh-grid { row-gap:36px; }
.zh-page .home-feature { padding-bottom:0; }
.zh-mobile-stay { display:none; }
.zh-page a:focus-visible,.zh-page button:focus-visible { outline:3px solid var(--color-orange); outline-offset:4px; }
@media(max-width:767px) {
 .zh-page .article-hero { height:auto; min-height:540px; }
 .zh-page .article-hero__title { font-size:1.8rem; }
 .zh-page .article-hero__meta { bottom:32px; }
 .zh-page.home-page .hero__title { font-size:clamp(2rem,8vw,3rem); }
 .zh-page .home-tools-grid { grid-template-columns:1fr; }
 .zh-page .home-tools-grid a + a { border-left:0; border-top:1px solid var(--color-border); padding-left:0; }
 .zh-toc,.zh-stay { padding:20px; }
 .zh-mobile-stay { display:block; position:fixed; bottom:0; left:0; right:0; z-index:80; padding:10px 20px calc(10px + env(safe-area-inset-bottom)); background:var(--color-white); border-top:1px solid var(--color-border); text-align:center; }
 .zh-mobile-stay a { margin:0; width:100%; justify-content:center; }
 .zh-page--stay { padding-bottom:96px; }
 .zh-page .mobile-nav__lang { flex-wrap:wrap; }
}
