/* EVERYTHINGLE logo tile pinned to the top-left of every game page; links home.
   Same white-box style as the logo on Krillion's boat screen.
   --site-logo-space is the room a game's top-left controls need to leave beside it. */
:root { --site-logo-space: calc(clamp(150px, 13vw, 200px) + 28px); }
.site-logo {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 90;
  display: block;
  box-sizing: border-box;
  width: clamp(150px, 13vw, 200px);
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  line-height: 0;
  transition: transform .15s ease;
}
.site-logo:hover { transform: translateY(-1px); }
.site-logo:focus-visible { outline: 3px solid #17140f; outline-offset: 3px; }
.site-logo picture { display: contents; }
.site-logo img { display: block; width: 100%; height: auto; }

/* Below laptop width the game fills the screen, so a pinned corner tile would cover its
   header. Instead the logo sits in the page flow, centred above the game. */
@media (max-width: 1000px) {
  :root { --site-logo-space: 0px; }
  .site-logo {
    position: relative;
    top: auto;
    left: auto;
    flex: none;
    align-self: center;
    width: 132px;
    margin: 8px auto 4px;
    padding: 7px 9px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .14);
  }
}
