/* Code with Byte · a very faint Byte logo mark in the console panel (light and dark).
   The logo file (img/byte-mark.svg) is used as-is; it only shapes a tinted layer, so the original stays white.
   It sits in the middle of the console output area (below Byte's world when there is one). */
.console-stage { position: relative; }
.console-stage .console { anchor-name: --cwb-console; }
.console-stage::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 50%; bottom: 22%; width: 104px; aspect-ratio: 1956 / 1514; transform: translateX(-50%);
  background: rgba(19, 21, 28, .07);
  -webkit-mask: url("img/byte-mark.svg") center / contain no-repeat; mask: url("img/byte-mark.svg") center / contain no-repeat;
}
/* browsers with anchor positioning: centred on the output area, both ways */
@supports (anchor-name: --a) {
  .console-stage::after { position-anchor: --cwb-console; left: anchor(center); top: anchor(center); bottom: auto; transform: translate(-50%, -50%); }
}
[data-theme="dark"] .console-stage::after { background: rgba(255, 255, 255, .07); }
@media (max-height: 560px) { .console-stage::after { display: none; } }
/* its size follows the console: full size when there is room, smaller as the console is dragged shorter, gone when it's closed
   (so it never spills over Byte's world or a drawing above the console) */
@supports (anchor-name: --a) and (height: anchor-size(height)) {
  .console-stage::after { width: auto; height: clamp(0px, calc((anchor-size(--cwb-console height) - 24px) * .65), 80px); }
}
/* and fainter by the same ratio (--cwb-mark is set by paw-prints.js from the console's height; 1 when it isn't there) */
.console-stage::after { opacity: var(--cwb-mark, 1); }
