/* Kept outside the play surface so touch and keyboard game input do not capture it. */
.portfolio-return {
    position: fixed;
    top: max(.75rem, env(safe-area-inset-top));
    left: max(.75rem, env(safe-area-inset-left));
    z-index: 100;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem .75rem;
    color: #b9faff;
    background: #07030fe6;
    border: 2px solid #bdbdbd;
    border-color: white #393939 #393939 white;
    font: 700 .75rem/1.4 monospace;
    text-decoration: none;
}
.portfolio-return:focus-visible { outline: 3px solid #ff2bd6; outline-offset: 3px; }
body:has(#hud:not(.hidden)):not(:has(#pause:not(.hidden))) .portfolio-return { display: none; }
