/* Only the original title scene mounts these controls. No page-level toolbar. */
@font-face {
  font-family: 'Cymruera Game DOS';
  src: url('/version/20200825-121253/assets/fonts/web/Perfect_DOS_VGA_437_Win.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.cym-game-navigation[hidden], .cym-game-navigation [hidden] { display: none !important; }
.cym-game-navigation {
  position: fixed;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px;
  background: rgb(0 0 0 / 82%);
  color: #fff;
  font-family: 'Cymruera Game DOS', monospace;
  font-size: 18px;
  line-height: 1.15;
  touch-action: manipulation;
}
.cym-game-navigation * { box-sizing: border-box; }
.cym-game-menu-panel {
  width: 350px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  border: 2px solid #fff;
  padding: 14px;
  background: #080b12;
  box-shadow: 4px 4px 0 #000;
}
.cym-game-menu-panel h2 {
  font: inherit;
  font-size: 24px;
  font-weight: 400;
  color: #ffdf6b;
  margin: 0 0 14px;
  text-align: center;
  letter-spacing: 2px;
}
.cym-game-menu-sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cym-game-navigation a, .cym-game-navigation button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px;
  margin: 0;
  border: 1px solid #717786;
  border-radius: 0;
  background: #111827;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.cym-game-navigation a:hover, .cym-game-navigation button:hover,
.cym-game-navigation a:focus-visible, .cym-game-navigation button:focus-visible {
  outline: 2px solid #ffdf6b;
  outline-offset: 1px;
  color: #ffdf6b;
  background: #1c2638;
}
.cym-game-navigation a[aria-current='page'] { color: #ffdf6b; }
.cym-game-menu-identity {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 12px 0;
}
.cym-game-menu-identity a { min-width: 120px; }
.cym-game-menu-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 0;
  object-fit: cover;
  image-rendering: pixelated;
}
.cym-game-menu-avatar-fallback { display: grid; place-items: center; background: #26344c; }
.cym-game-menu-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cym-game-menu-back { width: 100%; }
/* Focus is painted on the PIXI button. Pointer events always reach that button. */
.cym-game-menu-keyboard {
  position: fixed;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
@media (max-height: 360px) {
  .cym-game-menu-panel { padding: 8px; }
  .cym-game-menu-panel h2 { font-size: 20px; margin-bottom: 8px; }
  .cym-game-menu-sites { gap: 5px; }
  .cym-game-navigation a, .cym-game-navigation button { min-height: 28px; }
  .cym-game-menu-identity { margin: 8px 0; }
}
