.level-progress-line {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.level-progress-line i,
.mini-progress {
  display: block;
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.level-progress-line b,
.mini-progress b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.train-card button,
.troop-list-card button {
  width: 100%;
  margin-top: 10px;
}

.train-controls {
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.train-controls input[type="range"] {
  padding: 0;
}

.train-controls input[type="number"] {
  text-align: center;
}

.mini-progress {
  margin: 10px 0 8px;
}

.auto-troop-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.auto-troop-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.auto-troop-row strong,
.auto-troop-row p {
  display: block;
  margin: 0 0 4px;
}

.auto-troop-row > button {
  width: 100%;
  margin: 0;
  padding: 8px 6px;
}

.auto-troop-row.unlocked {
  border-color: rgba(95, 194, 125, .28);
  background: rgba(95, 194, 125, .12);
}

.auto-troop-row.locked {
  color: #d7d1be;
  background: rgba(255, 255, 255, .04);
}

.troop-unlocked,
.troop-locked {
  margin-top: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 7px 8px;
}

.troop-unlocked {
  color: #d9f4d8;
  background: rgba(95, 194, 125, .12);
}

.troop-locked {
  color: #d7d1be;
  background: rgba(255, 255, 255, .06);
}

.tribe-compact-head .skill-heading {
  align-items: center;
}

.troop-manage-card {
  padding-bottom: 10px;
}

.troop-list-toolbar {
  display: grid;
  grid-template-columns: 1fr 68px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.troop-list-toolbar .skill-heading {
  min-width: 0;
}

.troop-list-toolbar strong,
.troop-list-toolbar span {
  display: block;
}

.troop-list-toolbar strong {
  font-size: 14px;
}

.troop-list-toolbar span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.troop-list-toolbar button {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 4px;
  font-size: 11px;
}

.troop-compact-meta {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.troop-manage-list {
  display: grid;
  gap: 8px;
}

.troop-manage-row {
  grid-template-columns: 1fr;
  gap: 8px;
}

.troop-row-main strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.troop-row-main em {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
}

.troop-row-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.troop-row-actions.locked {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.troop-row-actions button {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 4px;
  font-size: 11px;
}

.troop-row-actions button:disabled {
  opacity: .45;
}

.troop-row-actions [data-tribe-action="auto-slot"] {
  border: 1px solid rgba(95, 194, 125, .38);
  background: rgba(95, 194, 125, .16);
  color: #dfffe5;
  box-shadow: none;
}

.troop-row-actions [data-tribe-action="auto-slot"][data-enabled="true"] {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #d7d1be;
}
