/* WikiNative links: one official purple in every interaction and history state. */
body.tilcayo,
body.signed-in,
body.signed-out {
    --color-link: #92278f;
    --color-link--hover: #92278f;
    --color-link--active: #92278f;
    --color-link--visited: #92278f;
    --color-link-red: #92278f;
    --color-link-red--hover: #92278f;
    --color-link-red--active: #92278f;
    --color-link-red--visited: #92278f;
    --color-progressive: #92278f;
    --color-progressive--hover: #92278f;
    --color-progressive--active: #92278f;
}
/* Important is intentional: Vector and extension link states otherwise override branding. */
body.tilcayo a:any-link,
body.signed-in a:any-link,
body.signed-out a:any-link {
    color: #92278f !important;
}
body.tilcayo a:any-link:where(:hover, :focus-visible),
body.signed-in a:any-link:where(:hover, :focus-visible),
body.signed-out a:any-link:where(:hover, :focus-visible) {
    text-decoration-color: #92278f;
}
body.tilcayo a:any-link:focus-visible,
body.signed-in a:any-link:focus-visible,
body.signed-out a:any-link:focus-visible {
    outline: 2px solid #92278f;
    outline-offset: 3px;
}
/* Navigation styled as buttons keeps a white surface so purple labels remain legible. */
body.tilcayo a:any-link:is(.wn-notice-action, .wnsso-btn, .co-loginhelp-btn, .ce-proposal-action, .mw-ui-button, .cdx-button--weight-primary),
body.signed-in a:any-link:is(.button, .wn-btn),
body.signed-out a:any-link:is(.button, .wn-btn) {
    background: #ffffff !important;
    border-color: #92278f !important;
}
body.tilcayo a:any-link:is(.wn-notice-action, .wnsso-btn, .co-loginhelp-btn, .ce-proposal-action, .mw-ui-button):hover,
body.signed-in a:any-link:is(.button, .wn-btn):hover,
body.signed-out a:any-link:is(.button, .wn-btn):hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}

/* Vector gives selected tabs and contents links their own important colour. */
body.tilcayo .vector-menu-tabs .mw-list-item.selected a:any-link,
body.tilcayo .vector-toc .vector-toc-list-item a.vector-toc-link:any-link {
    color: #92278f !important;
}
