@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --nested-game-chrome-z-index: 60;
  --nested-game-brand-left: max(20px, calc((100vw - 1510px) / 2));
  --nested-game-home-left: var(--nested-game-brand-left);
}

.nested-game-chrome {
  position: fixed;
  top: 21px;
  left: var(--nested-game-brand-left);
  z-index: var(--nested-game-chrome-z-index);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  pointer-events: none;
}

.nested-game-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 30px !important;
  color: #e8eaed !important;
  font-family: "Sora", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72), 0 0 2px rgba(0, 0, 0, 0.85);
  pointer-events: auto;
}

.nested-game-brand-logo {
  display: block !important;
  width: auto !important;
  height: 30px !important;
  object-fit: contain !important;
}

.nested-game-brand-text {
  color: #e8eaed !important;
  font: inherit !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.nested-game-home-button {
  position: fixed !important;
  top: 104px !important;
  left: var(--nested-game-home-left) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 38px !important;
  margin-top: 0 !important;
  padding: 8px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  color: #f8fafc !important;
  background: rgba(7, 12, 20, 0.78) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  font-family: Inter, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.25rem !important;
  text-decoration: none !important;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
  pointer-events: auto;
}

.nested-game-home-button:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: #67e8f9 !important;
  background: rgba(7, 12, 20, 0.9) !important;
}

.nested-game-brand:hover {
  color: #e8eaed;
}

.nested-game-home-button:focus-visible,
.nested-game-brand:focus-visible {
  outline: 3px solid rgba(102, 240, 194, 0.72);
  outline-offset: 4px;
}

.nested-game-home-icon {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto;
}

@media (pointer: coarse), (max-width: 900px) {
  .nested-game-chrome {
    display: none;
  }
}
