*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: #111111;
  color: #ffffff;
}

.app-root {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  background: #111111;
}

/* Top bar */

.top-bar {
  flex: 0 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  gap: 8px;
  background: #181818;
  border-bottom: 1px solid #262626;
}

.top-button {
  min-width: 72px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 500;
  color: #f5f5f5;
  background: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.top-button:active {
  background: #4a4a4a;
}

/* Game iframe */

.game-frame {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  background: #000000;
}