/* Settings page styling: same look as post-load.html */
.settings-card {
  margin-bottom: 24px;
}
.settings-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.settings-field {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
}
.settings-field b {
  color: #94a3b8;
  font-weight: 500;
  min-width: 120px;
  display: inline-block;
}
.settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.settings-button {
  width: auto;
  min-width: 160px;
  padding: 10px 18px;
  font-size: 14px;
}
.credit-add-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.credit-preset-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.credit-amount-btn {
  width: auto;
  min-width: 72px;
  padding: 8px 14px;
  font-size: 14px;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.credit-amount-btn:hover {
  background: #334155;
  color: #fff;
}
.credit-amount-btn.active {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 600;
  border-color: #38bdf8;
}
.custom-amount-row {
  margin-bottom: 14px;
}
.custom-amount-row input {
  max-width: 240px;
}
.credit-history-block {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.credit-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credit-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 14px;
}
.credit-history-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.credit-history-kind {
  font-weight: 600;
  color: #f1f5f9;
}
.credit-history-lane {
  color: #94a3b8;
  font-size: 13px;
}
.credit-history-date {
  color: #64748b;
  font-size: 12px;
}
.credit-history-amount {
  font-size: 15px;
  font-weight: 700;
}
.credit-history-amount.add {
  color: #4ade80;
}
.credit-history-amount.post {
  color: #f87171;
}
.credit-history-amount.refund {
  color: #fb923c;
}
.empty-history {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}
.settings-account-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.settings-account-links li a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 480px) {
  .settings-field b {
    min-width: 100px;
  }
  .credit-preset-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
