/* Title-strip texture for the Workout page: its own picture, separately for dark and light mode.
   Tune it in mgb-tune on that page ("Hero dark texture", "Hero light texture"); Publish saves here.
   Starts as a copy of the site default in tokens.css (section 3).
   Picture paths are from assets/css/, not from this folder: browsers read them from styles.css, which uses them. */
:root {
  --tex-hero-dark: url("pages/img/tune/tex-plate-dbell.webp");
  --tex-hero-dark-strength: 0.05;
  --tex-hero-dark-blend: screen;
  --tex-hero-dark-size: 1400px auto;
  --tex-hero-dark-size-phone: max(100vw, 556px) auto;
  --tex-hero-dark-x: 0px;
  --tex-hero-dark-y: -350px;
  --tex-hero-dark-x-phone: 0vw;
  --tex-hero-dark-y-phone: -25vw;
  --tex-hero-dark-size-wide: var(--tex-hero-dark-size);
  --tex-hero-dark-x-wide: calc(0px + max(0px, 50vw - 700px));
  --tex-hero-dark-y-wide: var(--tex-hero-dark-y);
  --tex-hero-dark-repeat-wide: repeat-y;
  --tex-hero-dark-mask-wide: linear-gradient(90deg, transparent max(0px, 50% - 700px), black calc(max(0px, 50% - 700px) + min(280px, max(0px, 100vw - 1400px))), black calc(100% - max(0px, 50% - 700px) - min(280px, max(0px, 100vw - 1400px))), transparent calc(100% - max(0px, 50% - 700px)));
  --tex-hero-dark-keys-wide: "fade";

  --tex-hero-light: url("pages/img/tune/tex-plate-dbell.webp");
  --tex-hero-light-strength: 0.07;
  --tex-hero-light-blend: multiply;
  --tex-hero-light-size: 1400px auto;
  --tex-hero-light-size-phone: max(100vw, 556px) auto;
  --tex-hero-light-x: 0px;
  --tex-hero-light-y: -350px;
  --tex-hero-light-x-phone: 0vw;
  --tex-hero-light-y-phone: -25vw;
  --tex-hero-light-size-wide: var(--tex-hero-light-size);
  --tex-hero-light-x-wide: calc(0px + max(0px, 50vw - 700px));
  --tex-hero-light-y-wide: var(--tex-hero-light-y);
  --tex-hero-light-repeat-wide: repeat-y;
  --tex-hero-light-mask-wide: linear-gradient(90deg, transparent max(0px, 50% - 700px), black calc(max(0px, 50% - 700px) + min(280px, max(0px, 100vw - 1400px))), black calc(100% - max(0px, 50% - 700px) - min(280px, max(0px, 100vw - 1400px))), transparent calc(100% - max(0px, 50% - 700px)));
  --tex-hero-light-keys-wide: "fade";
}
