body {
  font-family: 'Karla';
  background: #0f1115;
  color: #eaeaea;
  text-align: center;
  padding: 2rem;
}

input {
  width: 420px;
  padding: 10px;
  margin: 10px;
  background: #1c1f26;
  color: white;
  border: 1px solid #333;
}

button {
  padding: 10px 20px;
  cursor: pointer;
}

pre {
  text-align: left;
  margin: 20px auto;
  width: 80%;
  background: #16191f;
  padding: 15px;
  overflow-x: auto;
}

.logo {
  width: 120px;
}

#suitDock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 60px;
}

.suit-btn {
  width: 96px;
  height: 96px;
  opacity: 0.6;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.suit-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

.suit-btn.active {
  opacity: 1;
  outline: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
}

section {
  display: flex;
  justify-content: center;   /* horizontal */
  align-items: center;       /* vertical (optional) */
}

.item-card {
  background: #181a20;
  border-radius: 12px;
  padding: 10px;
  width: fit-content;
}

.card-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-header h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.card-content img.item {
  width: 96px;
  height: auto;
  cursor: pointer;
}

.item {
  padding: 6px;
  cursor: pointer;
}

.item.selected {
  outline: 2px solid rgba(255,255,255,0.25);
  border-radius: 8px;
}

#details {
  margin: 20px 0;
}

#stats {
  width: 450px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.upgrade-btn {
  background: #5552;
  color: white;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}

#dockContent {
  display: none;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  background: #181a20;
  padding: 10px;
}

.dock-img {
  height: 96px;
}
