#shaderInfoButton {
    position: fixed;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    background: #0009;
    color: #ffffffe1;
    font: 14px var(--interface-font);
    cursor: pointer;
}
#shaderInfoButton[aria-pressed="true"],
#shaderInfoButton:hover { background: #ffffff33; }
#shaderInfoButton:focus-visible { outline: 1px solid white; outline-offset: 2px; }
#shaderInfoButton:disabled { opacity: 0.4; cursor: default; }

#shaderInfoOverlay {
    position: fixed;
    z-index: 2;
    display: flex;
    box-sizing: border-box;
    padding: 8px;
    border-radius: var(--gallery-radius);
    background: transparent;
    opacity: var(--gallery-opacity);
    overflow: hidden;
    transition: background-color 500ms;
}
#shaderInfoOverlay:hover { background: #0008; }
#shaderInfoOverlay.gallery-hidden,
#shaderInfoButton.gallery-hidden { display: none; }
.shader-info-body {
    min-width: 0;
    min-height: 0;
    width: 100%;
    padding: 0;
    color: #ffffffe1;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-y: auto;
    font: 10px/1.4 monospace;
}
