body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  background: #f7f7f7;
  color: #222;
}

header, footer {
  background: #222;
  color: #fff;
  padding: 10px 20px;
}

nav a {
  color: #fff;
  margin-right: 10px;
  text-decoration: none;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.flashes {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  color: #b33;
}

#board pre {
  background: #f0f0f0;
  padding: 10px;
  border-radius: 4px;
  overflow: auto;
}

.profile-header {
  background: #f0f0f0;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.profile-posts ul,
.profile-games ul {
  list-style: none;
  padding-left: 0;
}

.profile-posts li,
.profile-games li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-item {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.post-content {
  margin-bottom: 10px;
}

.delete-btn {
  background: #c33;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.settings-section {
  margin-bottom: 30px;
}

.settings-section form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

.settings-section input {
  margin-bottom: 10px;
  padding: 8px;
}

.settings-section button {
  padding: 8px 12px;
}

button.danger {
  background: #c33;
  color: #fff;
  border: none;
  border-radius: 4px;
}


.game-create-section {
  background: #f0f0f0;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  max-width: 400px;
}

.game-create-section form {
  display: flex;
  flex-direction: column;
}

.game-create-section select,
.game-create-section input {
  margin-bottom: 10px;
  padding: 8px;
}

.game-list {
  list-style: none;
  padding-left: 0;
}

.game-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
