/*
 TAMIYOUZ Journal — Contrast Hardening v22 / 2026-10-28
 Measured article-wide text contrast on 11 live published posts (light/dark).
 Affects palette tokens and link foreground only. No templates, content, URLs, JS.
*/
/* Light mode editorial gold was #a47536 on #fff8eb (~3.84:1).
   Use deeper gold for ordinary body-sized text and inline resource links. */
html[data-tyz-theme="light"] body.tyz-premium-article-body:not(.postid-27) #tyz-premium-article{
 --jr21-gold:#78501f;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body:not(.postid-27)
#tyz-premium-article :is(.tyz-trend-tips,.tyz-smart-insight) > strong{
 color:#78501f!important;
 -webkit-text-fill-color:#78501f!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body:not(.postid-27)
#tyz-premium-article :is(.tyz-trend-more,.tyz-trend-crosslinks) a{
 color:#78501f!important;
 -webkit-text-fill-color:#78501f!important;
 text-decoration:underline!important;
 text-underline-offset:4px;
}
/* Comparison lab: legacy background remains a pale neutral even in dark mode.
   Match the link ink to that *actual* light surface, including bare 01 / 02 labels.
   The previous light-gold text on that light surface measured ~1.2:1. */
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:link,
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:visited,
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:not([href]){
 color:#20354c!important;-webkit-text-fill-color:#20354c!important;
 background:#eef3f8!important;background-color:#eef3f8!important;
 border-color:#aebfce!important;
 text-shadow:none!important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a :is(b,strong,span){
 color:#20354c!important;-webkit-text-fill-color:#20354c!important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:is(:hover,:focus-visible,:active){
 color:#fff5df!important;-webkit-text-fill-color:#fff5df!important;
 background:#1b3853!important;background-color:#1b3853!important;
 border-color:#d3a964!important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:is(:hover,:focus-visible,:active) :is(b,strong,span){
 color:#fff5df!important;-webkit-text-fill-color:#fff5df!important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body
#tyz-premium-article .tyz-ai26 .tyz3-jump a:focus-visible{
 outline:3px solid #e3ba7b!important;outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){
 body.tyz-premium-article-body #tyz-premium-article .tyz-ai26 .tyz3-jump a{
 transition:none!important;
 }
}
/* Never show pale foreground during a background-color transition on quick links. */
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-ai26 .tyz3-jump a,
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-ai26 .tyz3-jump a:link{
 transition:none!important;
}
