.more-message {
  min-height: 1.5em;
  margin: 12px 0;
  color: #c4b5fd;
  font-weight: bold;
}

.game-card > button,
.fb-form button,
.inline-row button {
  padding: 10px 22px;
  font-size: 16px;
}

.small-btn {
  padding: 8px 14px !important;
  font-size: 14px !important;
}

h3 {
  color: #c4b5fd;
  margin: 22px 0 8px;
}

/* Canvas games */
.more-canvas {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 320 / 420;
  margin: 16px auto 0;
  border: 3px solid #6366f1;
  border-radius: 14px;
  background: #11152a;
  touch-action: none;
  user-select: none;
}

#hockeyCanvas {
  max-width: 420px;
  aspect-ratio: 400 / 300;
  border-color: #38bdf8;
}

/* 💬 FEEDBACK */
.fb-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 460px;
  margin: 14px auto 0;
  text-align: left;
}

.fb-form label {
  font-weight: bold;
  color: #cbd5e1;
  margin-top: 6px;
}

.fb-form input,
.fb-form textarea {
  padding: 10px 12px;
  border: 1px solid #6366f1;
  border-radius: 10px;
  background: #11152a;
  color: #f8fafc;
  font-family: inherit;
  font-size: 16px;
}

.fb-form button {
  align-self: center;
  margin-top: 8px;
}

.fb-list {
  list-style: none;
  padding: 0;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}

.fb-list li {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #312e81;
  border-radius: 12px;
  background: #11152a;
  overflow-wrap: anywhere;
}

.fb-list li p {
  margin: 4px 0 0;
  color: #e2e8f0;
}

.fb-list li strong {
  color: #fde047;
}

/* 🧪 INFINITE CRAFT */
.craft-slots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  font-size: 22px;
}

.game-card .craft-slot {
  min-width: 130px;
  min-height: 58px;
  padding: 10px 14px;
  border: 2px dashed #818cf8;
  border-radius: 14px;
  background: #1b2040;
  box-shadow: none;
  font-size: 16px;
  color: #c7d2fe;
}

.game-card .craft-slot:hover {
  transform: none;
  box-shadow: none;
  background: #262d5a;
}

.craft-plus {
  color: #a5b4fc;
  font-weight: bold;
}

.craft-pantry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  margin-top: 8px;
  border-radius: 14px;
  background: #0b1020;
}

.game-card .pantry-item {
  padding: 8px 6px;
  border: 1px solid #4f46e5;
  border-radius: 12px;
  background: #1b2040;
  box-shadow: none;
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.2;
  font-weight: normal;
}

.game-card .pantry-item:hover {
  transform: none;
  box-shadow: none;
  background: #262d5a;
}

.game-card .pantry-item.selected {
  border-color: #facc15;
  background: #3f3a1a;
}

.pantry-icon {
  display: block;
  font-size: 24px;
}

.pantry-name {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.game-card .pantry-item.new {
  animation: newItem 0.6s ease;
}

@keyframes newItem {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* 🏆 LEADERBOARD */
.inline-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.inline-row input {
  flex: 1 1 160px;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid #6366f1;
  border-radius: 10px;
  background: #11152a;
  color: #f8fafc;
  font-size: 16px;
}

.leader-list {
  max-width: 340px;
  margin: 0 auto;
  padding-left: 28px;
  text-align: left;
  color: #e2e8f0;
}

.leader-list li {
  padding: 5px 0;
}

.leader-list li span {
  display: inline-block;
  max-width: 70%;
  overflow-wrap: anywhere;
  vertical-align: top;
}

.leader-list li strong {
  float: right;
  color: #fde047;
}

[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .craft-slot {
    min-width: 100px !important;
  }
}
