.bm-pool-action-panel {
  padding-bottom: 22px;
}

.bm-pool-claim-button {
  display: block;
  width: min(320px, calc(100% - 32px));
  min-height: 48px;
  margin: 4px auto 0;
  font-size: 15px;
}

.bm-pool-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 18px;
}

.bm-pool-result-row input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #cfd7dd;
  border-radius: 5px;
  padding: 0 11px;
  font: 13px SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
}

.bm-pool-import-body {
  padding: 18px;
}

.bm-pool-import-body label {
  display: grid;
  gap: 8px;
  color: #4c5963;
  font-size: 13px;
}

.bm-pool-import-body textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid #cfd7dd;
  border-radius: 5px;
  padding: 11px;
  font: 13px SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
}

.bm-pool-import-result {
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8fafb;
  color: var(--muted);
  font-size: 12px;
}

.bm-pool-pagination {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .bm-pool-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bm-pool-result-row {
    grid-template-columns: 1fr;
  }

  .bm-pool-result-row button {
    min-height: 42px;
  }

  .bm-claim-table thead {
    display: none;
  }

  .bm-claim-table,
  .bm-claim-table tbody,
  .bm-claim-table tr,
  .bm-claim-table td {
    display: block;
    width: 100%;
  }

  .bm-claim-table tr {
    padding: 10px 14px;
    border-bottom: 1px solid #edf0f2;
  }

  .bm-claim-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border: 0;
    white-space: normal;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .bm-claim-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
  }

  .bm-pool-pagination {
    align-items: flex-start;
  }
}
