/* ==========================================================================
   Strokes section colour — 2026-09-28
   strokes.html, stroke.html and stroke-test.html take the site's blue
   (the second colour of the home page hero) instead of the coral, so the
   red stroke drawings sit on a calmer ground. The shared header keeps the
   site coral; everything inside <main> is re-toned here by overriding the
   colour tokens the section's stylesheets read, and the footer of these
   three pages is blue too (the site-wide footer in hanzi-home.css stays
   coral, so the home page and every other page keep theirs). The red
   practice-grid lines and the red ink of the strokes are left as they are.
   Loaded last on those three pages.
   ========================================================================== */

/* Footer: blue on the strokes pages only */
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .site-footer.hz-footer {
  background:linear-gradient(135deg,var(--hc-blue),var(--hc-blue-deep));
}

body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main {
  --hc-coral:#6AA6FA;      --hc-coral-rgb:106,166,250;
  --hc-coral-deep:#3F7FD8; --hc-coral-deep-rgb:63,127,216;
  --hc-tint:#EEF4FF; --hc-tint-2:#DCE8FD; --hc-wash:#F4F8FF;
  --sp-line:#DDE5F0; --sp-line-soft:#E8EEF7; --sp-paper:#FBFCFE;
  --sp-lift:0 4px 0 #E4ECF7,0 22px 40px -28px rgba(63,127,216,.4);
}

/* The few corals written out in full in the section's stylesheets */
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-btn-light,
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-ask .sp-btn,
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .st-set.is-mixed .st-set-go { box-shadow:0 14px 26px -14px rgba(20,50,110,.5); }
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-ask { background:linear-gradient(135deg,var(--hc-coral),#2F6BC4); }
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .st-set.is-mixed {
  background:linear-gradient(150deg,var(--hc-coral),#2F6BC4);
  box-shadow:0 4px 0 #D3E0F5,0 24px 40px -24px rgba(63,127,216,.6);
}
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sd-chip-solid:hover { background:linear-gradient(170deg,var(--hc-coral-deep),#2A5FB0); }
body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-checks li::before {
  background:var(--hc-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7FD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
@media (hover:hover) and (pointer:fine) {
  body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-entry:hover,
  body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .sp-tool:hover,
  body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .st-set:hover {
    box-shadow:0 4px 0 #E4ECF7,0 28px 46px -24px rgba(63,127,216,.45);
  }
  body.dna-page.site-ui:is(.sp-strokes,.sd-page) .sp-main .st-set.is-mixed:hover {
    box-shadow:0 4px 0 #D3E0F5,0 30px 50px -24px rgba(63,127,216,.65);
  }
}
