/* Homepage cat mascot. Loaded only by the landing page, next to homepage.css. */
.mespy-home {
  /* A brown long-haired tabby. Deliberate exception to the site-tokens-only
     rule: a real cat's coat, the same in both themes. */
  --mh-cat-ear: #8C694C;
  --mh-cat-ear-inner: #D6B48C;
  --mh-cat-tabby: #714D2C;      /* stripes, top of the head */
  --mh-cat-dark: #34241A;       /* dark stripes, tail tip, open mouth */
  --mh-cat-gold: #B8844C;       /* base coat */
  --mh-cat-light: #CFA272;      /* tufts, belly */
  --mh-cat-cream: #E8D0B0;      /* muzzle, chest */
  --mh-cat-eye-closed: #4A3322;
  --mh-cat-eye: #1E1610;
  --mh-cat-nose: #AA6E5A;       /* also the tongue */
  --mh-cat-harness: #7656A8;    /* optional, see SHOW_HARNESS */
  /* The sleep "z" stays in the data blue, apart from the coat. */
  --mh-cat-z: var(--mh-blue);
  /* Room above the editor panel for the cat, see .mh-fit-stage; the hero's
     introduction uses it too (homepage-layout.css). Sprite body 13 rows x
     3px, its baseline on Run's top border, 13px below the stage's panel
     edge: 39 - 13 = 26px, plus a margin. */
  --mh-cat-room: 32px;
}
/* The editor's outer box (components/homepage-editor.html). The cat sticks
   out above the panel, so the room it needs there is always reserved: the
   deferred script adds it without moving the page, and the panel keeps its
   clipped rounded corners. */
.mespy-home .mh-fit-stage { position: relative; min-width: 0; padding-top: var(--mh-cat-room); }
.mespy-home .mh-cat {
  position: absolute;
  top: var(--mh-cat-y, 0px);
  left: var(--mh-cat-x, 0px);
  z-index: 1;
  line-height: 0;
  /* Decorative: never takes a click from the Run button or anything else. */
  pointer-events: none;
}
.mespy-home .mh-cat svg { display: block; }
@media print, (forced-colors: active) {
  .mespy-home .mh-cat { display: none; }
}
