/* Anagram Arena */

.aga-status {
  text-align: center;
  font-weight: 700;
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.aga-status--win { color: var(--color-success); background: rgba(74, 222, 128, 0.12); }
.aga-status--lose { color: var(--color-accent); background: rgba(238, 111, 168, 0.12); }
.aga-status--msg { color: var(--color-text); background: var(--color-bg-alt); }

.aga-clue {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}

.aga-slots, .aga-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.aga-slots { margin-bottom: 20px; }
.aga-tiles { margin-bottom: 20px; }

.aga-slot {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px dashed var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.aga-slot--filled { border-style: solid; border-color: var(--color-primary); background: var(--color-surface); cursor: pointer; }
.aga-slot:disabled { cursor: default; }

.aga-tile {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--color-border);
}
.aga-tile:hover:not(:disabled) { background: rgba(126, 87, 194, 0.18); }
.aga-tile--used { opacity: 0; pointer-events: none; box-shadow: none; }

.aga-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.aga-controls .btn:disabled { opacity: 0.4; cursor: default; }

.aga-found {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.aga-found-word {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(126, 87, 194, 0.18);
  color: var(--color-text);
  font-weight: 700;
}
