.panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* На десктопе высота блока позиций не превышает левую колонку — список скроллится внутри. */
@media (min-width: 1101px) {
  .panel {
    position: relative;
  }

  .inner {
    position: absolute;
    inset: 0;
  }

  .body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    margin-right: -6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  }

  .body::-webkit-scrollbar {
    width: 6px;
  }

  .body::-webkit-scrollbar-track {
    background: transparent;
  }

  .body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
  }

  .body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
  }
}

.head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.total {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text-primary);
}

.totalUnit {
  font-size: 14px;
  color: var(--text-secondary);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 24px 0;
}

.pos {
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
}

.posTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.coin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.fee {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 4px 10px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badgeActive {
  color: var(--success);
  background: rgba(38, 161, 123, 0.14);
}

.badgeWarn {
  color: var(--error);
  background: rgba(255, 68, 102, 0.14);
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.label {
  font-size: 12px;
  color: var(--text-secondary);
}

.value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  text-align: right;
}

.success {
  color: var(--success);
}

.btn {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 28px 18px;
  border: 1px dashed var(--glass-border);
  border-radius: 14px;
  background: var(--bg-deep);
}

.emptyTitle {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.emptyText {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 280px;
}
