/* pages.css — the Changelog, Privacy and Licences and Sources pages (generated by tools/build_pages.mjs, on
   poole.css + hyde.css like the blog) and the one-line footer that links them on the blog sidebar, the /raw/
   catalogue and the redirect hub. pages.js sets html[data-lang]; without it both languages show. */
html[data-lang="en"] .l-zh,html[data-lang="zh"] .l-en{display:none!important;}

/* the one-line footer */
/* 12 px, down to 10 px on the narrowest phones so the English line fits a 240 px box (the /raw/ catalogue at 320 px) */
.site-pages{margin:.5rem 0 0;font-size:clamp(10px,3.25vw,.75rem);line-height:1.5;white-space:nowrap;}
.site-pages a{text-decoration:underline;text-underline-offset:2px;}
.site-pages .sep{margin:0 .35em;opacity:.6;}

/* the pages */
.pg-main{padding-top:2rem;}
.pg-bar{display:flex;justify-content:flex-end;margin-bottom:.5rem;min-height:1.5rem;}
.pg-lang{font:inherit;font-size:.8rem;cursor:pointer;padding:.2rem .8rem;border-radius:1rem;
border:1px solid #162023;background:#fff;color:#162023;}
.pg-lang:hover{background:#162023;color:#fff;}
.pg-main h2{margin-top:1.6rem;font-size:1.15rem;}
.pg-main p,.pg-main li{font-size:.9rem;}
.pg-main code{font-size:.8rem;word-break:break-word;}
.pg-lede{color:#717171;}
.pg-note{font-size:.85rem;padding:.6rem .9rem;border-left:4px solid #162023;background:#f9f9f9;}
.pg-table{overflow-x:auto;margin:0 0 1rem;}
.pg-table table{font-size:.8rem;margin:0;}
.pg-table td,.pg-table th{text-align:left;vertical-align:top;}
.pg-table td code{white-space:normal;}
.pg-log{list-style:none;margin:0;padding:0;}
.pg-log li{padding:.5rem 0;border-bottom:1px solid #eee;}
.pg-log li:last-child{border-bottom:none;}
.pg-log-head{display:flex;gap:.8rem;align-items:baseline;font-size:.8rem;}
.pg-ver{font-weight:bold;color:#162023;}
.pg-log time{color:#9a9a9a;}
.pg-log p{margin:.2rem 0 0;}
.pg-foot{margin-top:2rem;text-align:center;font-size:.75rem;color:#9a9a9a;}
