@layer zjt-enhance {
:root{--zjt-focus:var(--accent);--zjt-motion-duration:160ms;--zjt-reading-width:78ch}
:root{--zjt-hover:var(--accent);--zjt-soft:var(--bg)}
@supports(color:color-mix(in oklch,black,white)){:root{--zjt-hover:color-mix(in oklch,var(--accent) 85%,var(--ink));--zjt-soft:color-mix(in oklch,var(--panel) 96%,var(--ink))}}
.main>.panel:has(>.tools){container-type:inline-size}@container(max-width:560px){.tools{grid-template-columns:repeat(3,minmax(0,1fr))}.tools .tool-icon{width:28px;height:28px}}@container(min-width:561px){.tools{grid-template-columns:repeat(6,minmax(0,1fr))}}
.hero{background-image:url('hero.webp')}
.thumb picture{display:block}.thumb picture img{width:100%;height:100%;object-fit:cover}
.prose article>p,.prose article>ul,.prose article>ol{max-width:var(--zjt-reading-width,78ch)}
.prose article>pre{padding:14px;background:var(--zjt-soft);border:1px solid var(--line);border-radius:4px;line-height:1.6;white-space:pre;overflow:auto}
.prose article>blockquote{margin:16px 0;padding:4px 16px;border-inline-start:3px solid var(--accent);background:var(--zjt-soft)}
.prose h1,.prose h2,.prose h3{scroll-margin-top:calc(var(--zjt-header-height,100px) + var(--admin,0px) + 12px)}
:focus-visible{outline:2px solid var(--zjt-focus,#005FCC);outline-offset:3px}
@supports(content-visibility:auto){.zjt-render.home .main>.panel:last-child{content-visibility:auto;contain-intrinsic-size:auto 180px}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.zjt-motion .top nav a,.zjt-motion .story h3 a,.zjt-motion .heading a,.zjt-motion .tool-icon{transition:color var(--zjt-motion-duration,160ms),transform var(--zjt-motion-duration,160ms)}.zjt-motion .tools a:hover .tool-icon{transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){::view-transition-old(root),::view-transition-new(root){animation-duration:160ms}}
body:not(.zjt-motion) .top,body:not(.zjt-motion) .zjt-ad-motion i,body:not(.zjt-motion) .zjt-ad-motion:after{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}

.thumb picture{width:100%;height:100%}
.heading h2{padding-left:0;padding-inline-start:11px}.heading h2::before{left:auto;inset-inline-start:0}
}
