.diminet-proxy-board {
  direction: rtl;
  font-family: inherit;
}

.dpb-shell {
  background: #ffffff;
  border: 1px solid #f1c7a8;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(210, 111, 35, 0.08);
  overflow: hidden;
}

.dpb-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dpb-title {
  margin: 0;
  color: #7f3200;
  font-size: 24px;
  font-weight: 900;
}

.dpb-subtitle {
  margin: 6px 0 0;
  color: #95684c;
  font-size: 14px;
}

.dpb-updated {
  color: #a36d46;
  font-size: 13px;
  white-space: nowrap;
}

.dpb-alert,
.dpb-loading {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
}

.dpb-alert {
  background: #fff1ec;
  border: 1px solid #ffc6b1;
  color: #b53d14;
}

.dpb-loading {
  background: #fff7ef;
  border: 1px dashed #f1c7a8;
  color: #a95b21;
}

.dpb-table-wrap {
  display: block;
}

.dpb-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.dpb-table thead th {
  background: #faf4ef;
  color: #7e3d10;
  font-size: 15px;
  font-weight: 800;
  padding: 18px 16px;
  text-align: center;
}

.dpb-table thead th:first-child {
  border-top-right-radius: 18px;
}

.dpb-table thead th:last-child {
  border-top-left-radius: 18px;
}

.dpb-table tbody td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid #f2dac8;
  color: #5f351b;
  font-size: 15px;
  vertical-align: middle;
}

.dpb-table tbody tr:last-child td {
  border-bottom: none;
}

.dpb-server-cell {
  direction: ltr;
  text-align: center;
  font-weight: 500;
  color: #6a3512;
}

.dpb-ping-main {
  font-weight: 800;
  color: #ff6b2c;
}

.dpb-ping-sub {
  font-size: 12px;
  color: #99694a;
  margin-top: 3px;
}

.dpb-type-chip,
.dpb-connection-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid #f2b27f;
  background: #fff;
  color: #ed6f1a;
  font-weight: 700;
}

.dpb-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.dpb-status.is-online { color: #15a55a; }
.dpb-status.is-offline { color: #e4583b; }
.dpb-status.is-unknown { color: #99694a; }

.dpb-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dpb-btn {
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  min-width: 84px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  transition: .18s ease;
}

.dpb-btn:hover { transform: translateY(-1px); }

.dpb-btn--ghost {
  background: #fff;
  border: 1px solid #e8bf9b;
  color: #6f431f;
}

.dpb-btn--primary {
  background: linear-gradient(180deg, #f08a31 0%, #d96511 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 118, 34, 0.25);
}

.dpb-btn[disabled],
.dpb-btn.is-disabled {
  pointer-events: none;
  opacity: .48;
}

.dpb-footer {
  padding-top: 18px;
  display: flex;
  justify-content: center;
}

.dpb-load-more {
  min-width: 246px;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid #ef8d3d;
  background: #fff;
  color: #f07b21;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.dpb-mobile-wrap {
  display: none;
}

.dpb-card {
  background: #fff;
  border: 1px solid #f1d3bb;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(210, 111, 35, 0.08);
}

.dpb-card__head,
.dpb-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dpb-card__server {
  direction: ltr;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  color: #65310f;
}

.dpb-card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #9a6a49;
}

.dpb-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.dpb-info {
  padding: 10px 12px;
  border-radius: 14px;
  background: #faf5f1;
  border: 1px solid #f3dfcf;
}

.dpb-info span {
  display: block;
  font-size: 11px;
  color: #a06f4e;
  margin-bottom: 6px;
}

.dpb-info strong {
  display: block;
  font-size: 14px;
  color: #5a2f11;
}

@media (max-width: 900px) {
  .dpb-shell { padding: 16px; border-radius: 22px; }
  .dpb-table-wrap { display: none; }
  .dpb-mobile-wrap { display: block; }
  .dpb-title { font-size: 20px; }
  .dpb-subtitle, .dpb-updated { font-size: 12px; }
  .dpb-load-more { width: 100%; min-width: 0; }
}

@media (max-width: 520px) {
  .dpb-head { align-items: stretch; }
  .dpb-card__head, .dpb-card__actions { flex-direction: column; align-items: stretch; }
  .dpb-btn { width: 100%; font-size: 16px; }
  .dpb-card__grid { grid-template-columns: 1fr; }
}
